Commit Graph

3089 Commits

Author SHA1 Message Date
Fabi
5e39a5f813
fix: delete org domain (#234) 2020-06-17 17:23:39 +02:00
Max Peintner
b5376b2e5a
feat(console): add and remove org domains, show userLoginNames (#235)
* org domains, user login names

* switch user to userview, regen proto
2020-06-17 17:11:36 +02:00
Livio Amstutz
e7b139ba2c
fix: preferred login name (#231)
* fix: add preferred login name to my user sessions and get user info from view

* fix: my user in auth
2020-06-17 16:43:53 +02:00
Max Peintner
4688543d07
feat(console): getuserbyid, fix password policy validation, read iam (#233)
* remove displayname, show policy desc on patternerr

* provide password complexity string, org create

* user getuserbyid in userdetail, remove displayname

* show multiple org domains

* show zitadel project warnings, read iam

* add missing ngondestroy impl
2020-06-17 14:30:21 +02:00
Livio Amstutz
1c59d18fee
fix: improvements for login and oidc (#227)
* add csrf

* caching

* caching

* caching

* caching

* security headers

* csp and security headers

* error handler csp

* select user with display name

* csp

* user selection styling

* username to loginname

* regenerate grpc

* regenerate

* change to login name
2020-06-17 08:06:40 +02:00
Max Peintner
dfe6d0deb4
feat(console): profile initializers, contributors for grants (#229)
* resourceowner header, i18n

* password policy validators, roles required field

* use angular pattern instead of custom validator

* user detail fixes, mfa qr code, add org

* use mgmt for mfa list

* fetch owned projects

* search project

* seperate owned from granted projects

* lint

* fix granted project grid

* refactor project detail

* disable zitadel apps

* refactor project contributors

* changed i18n

* hide meta nav

* mobile meta layout

* refactor contributor name

* refactor org contributors

* org i18n, org member detail view

* fix uninitialized phone, email

* fix: create role, add contributors to granted pjs

* initialize address

* contributor 18n

* add tab module
2020-06-17 07:41:16 +02:00
Fabi
6fa62ccd0a
feat: fixes (#228)
* feat: user login names

* fix: user login names

* fix: generate login name
2020-06-17 07:25:04 +02:00
Max Peintner
f2cdae9ea3
feat(console): org managers, refactor, bugfixes (#226)
* resourceowner header, i18n

* password policy validators, roles required field

* use angular pattern instead of custom validator

* user detail fixes, mfa qr code, add org

* use mgmt for mfa list

* fetch owned projects

* search project

* seperate owned from granted projects

* lint

* fix granted project grid

* refactor project detail

* disable zitadel apps

* refactor project contributors

* changed i18n

* hide meta nav

* mobile meta layout

* refactor contributor name

* refactor org contributors

* org i18n, org member detail view
2020-06-16 14:52:07 +02:00
Fabi
7a6ca24625
feat: multiple domains (#188)
* check uniqueness on create and register user

* change user email, reserve release unique email

* usergrant unique aggregate

* usergrant uniqueness

* validate UserGrant

* fix tests

* domain is set on username in all orgs

* domain in admin

* org domain sql

* zitadel domain org name

* org domains

* org iam policy

* default org iam policy

* SETUP

* load login names

* login by login name

* login name

* fix: merge master

* fix: merge master

* Update internal/user/repository/eventsourcing/user.go

Co-authored-by: Livio Amstutz <livio.a@gmail.com>

* fix: fix unique domains

* fix: rename env variable

Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2020-06-16 11:40:18 +02:00
Fabi
64b14b4e19
fix: update profile (#223)
* fix: update profile

* Update management.proto

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2020-06-16 07:03:31 +02:00
Michael Waeger
1dd82ab1b7
Changes (#195)
* Changes added

* Reading of events for applications changed.

* Proto changed

* Tests added

* Added more tests.

* Struct for Data expanded with additional fields.

* refactoring

* Changes from review.

* Merge in to Master

* Changes from review.

* fix: generate proto

Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
2020-06-15 16:50:09 +02:00
Fabi
8dd6082b17
feat: add project creator role on register user (#222)
* feat: add project creator role on register user

* fix: better error message

* fix: tests
2020-06-15 14:57:19 +02:00
Fabi
e63179514c
fix: projects (#221)
* feat: projects and project grants seperated

* fix: tests

* fix: add mock
2020-06-15 14:50:39 +02:00
Fabi
c4eaeee7af
fix: org member in setup (#213) 2020-06-11 16:43:22 +02:00
Livio Amstutz
e57d4b1ed4
fix: terminate usersession (#212) 2020-06-11 16:34:54 +02:00
Livio Amstutz
44d41b8d97
fix: failed events (#211)
* fix: add iam roles to permissions

* fix: show state initial on usersearch

* fix: search project roles returns only roles of project

* fix: add project member owner on project create

* fix: create new object oon failed event

* feat: parse error body on chat message

* feat: remove comment

* fix: set policy eventstore in admin

* fix failed events

* fix resend for password set

* fix: create user with correct resource owner

Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
2020-06-11 14:59:57 +02:00
Fabi
ddf9434282
fix: Fixes (#210)
* fix: add iam roles to permissions

* fix: show state initial on usersearch

* fix: search project roles returns only roles of project

* fix: add project member owner on project create

* fix: create new object oon failed event

* feat: parse error body on chat message

* feat: remove comment

* fix: set policy eventstore in admin
2020-06-11 13:49:03 +02:00
Fabi
43dc925f16
fix: bugs (#208)
* fix: add iam roles to permissions

* fix: show state initial on usersearch

* fix: search project roles returns only roles of project

* fix: add project member owner on project create

* fix: create new object oon failed event

* feat: parse error body on chat message

* feat: remove comment
2020-06-11 13:27:25 +02:00
Fabi
2c97794538
feat: login errors (#204)
* feat: nice error messages

* feat: nice error messages

* fix: add project type

* fix: message ids

* handle error messages in login

* add some better error messages

* fix: better error messages on login

* fix: better error messages on login

* fix: add internal errors

* fix: tests
2020-06-11 13:22:24 +02:00
Livio Amstutz
fb3a5c94a0
fix: secrets to env vars mapping (#209) 2020-06-11 11:21:29 +02:00
Max Peintner
a35afd2b88
feat(console): granted project detail (#203)
* granted project detail

* support for grantedProjects

* getGrantedProjectGrantByIDs

* fix grant members bindings

* seperate granted from owned project detail

* lint

* dont show apps on granted projects
2020-06-10 15:52:56 +02:00
Fabi
9965beee9c
fix: add project id on project grant (#202)
* fix: add project id on project grant

* fix: get granted project grant member
2020-06-10 14:28:15 +02:00
Fabi
652a408c99
fix: project type (#201) 2020-06-10 13:24:55 +02:00
Max Peintner
2d369fbcd3
fix(console): refactoring (#197)
* return error from changes

* project member context, org-policies, state

* project type seperation

* chore(deps): bump grpc from 1.24.2 to 1.24.3 in /console (#183)

Bumps [grpc](https://github.com/grpc/grpc-node) from 1.24.2 to 1.24.3.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/grpc@1.24.2...grpc@1.24.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump google-proto-files from 1.1.2 to 2.1.0 in /console (#176)

Bumps [google-proto-files](https://github.com/googleapis/nodejs-proto-files) from 1.1.2 to 2.1.0.
- [Release notes](https://github.com/googleapis/nodejs-proto-files/releases)
- [Changelog](https://github.com/googleapis/nodejs-proto-files/blob/master/CHANGELOG.md)
- [Commits](https://github.com/googleapis/nodejs-proto-files/compare/v1.1.2...v2.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump karma-coverage-istanbul-reporter in /console (#169)

Bumps [karma-coverage-istanbul-reporter](https://github.com/mattlewis92/karma-coverage-istanbul-reporter) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/releases)
- [Changelog](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/compare/v3.0.2...v3.0.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* update packages

* update deps

* lint

* replace assets

* add key, creationdate for roles

* project grant members

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-10 12:59:12 +02:00
Fabi
e0fb19b4e9
fix: add project type (#199) 2020-06-10 12:39:25 +02:00
Christian Jakob
654bf09ed1
Autodeploydev (#200)
* fix: autodeploy

* added version condition
2020-06-10 12:38:13 +02:00
Fabi
207842be91
fix: fix some requests (#198)
* fix: alway do permission check

* fix: alway do permission check

* fix: add project query to applications search request

* fix: add email template to statik

* fix: org members
2020-06-10 10:47:50 +02:00
Max Peintner
ef9b03cc84
fix: console build (#194)
* grpc gen, headers

* add auth headers

* resolve build errors

* lint

* project grant changes

* project detail

* owned projects

* fix undefined
2020-06-09 17:12:35 +02:00
Fabi
25b97b1bcc
fix: projectorgs (#193)
* fix: get my project orgs

* fix: get project orgs
2020-06-09 16:20:14 +02:00
Fabi
17f0eea4a1
feat: Notification translation (#192)
* feat: translate emails

* feat: translate emails

* fix: add notification statik to build

* fix: add codes to templates
2020-06-09 15:11:42 +02:00
Fabi
e87fca28e7
feat: Check zitadel project (#191)
* feat: check if zitadel project is changed

* feat: check if zitadel project is changed
2020-06-09 14:41:09 +02:00
Livio Amstutz
9cd7f69e61
add caos to admin and auth proto package (#190) 2020-06-09 09:22:37 +02:00
Livio Amstutz
5e931a3c13
fix: console env directory (#189)
* fix: serve console env from os (not statik)

* ZITADEL_CONSOLE_ENV_PATH for (local) overwrite possibility

* name EnvOverwritePath

* fix: console env directory

* fix mount path

* fix default dir
2020-06-09 08:44:55 +02:00
Livio Amstutz
0da6dc1d66
fix: serve console env from os (not statik) (#187)
* fix: serve console env from os (not statik)

* ZITADEL_CONSOLE_ENV_PATH for (local) overwrite possibility

* name EnvOverwritePath
2020-06-09 07:38:44 +02:00
dependabot[bot]
c0f18832e7
chore(deps): bump grpc-web from 1.0.7 to 1.1.0 in /console (#168)
Bumps [grpc-web](https://github.com/grpc/grpc-web) from 1.0.7 to 1.1.0.
- [Release notes](https://github.com/grpc/grpc-web/releases)
- [Changelog](https://github.com/grpc/grpc-web/blob/master/CHANGELOG.md)
- [Commits](https://github.com/grpc/grpc-web/compare/1.0.7...1.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-08 15:21:26 +02:00
dependabot[bot]
55e899efe5
chore(deps): bump @types/uuid from 7.0.0 to 8.0.0 in /console (#170)
Bumps [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid) from 7.0.0 to 8.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-08 15:20:00 +02:00
dependabot[bot]
03d6f046f9
chore(deps-dev): bump typescript from 3.7.5 to 3.8.3 in /console (#171)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.7.5 to 3.8.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.7.5...v3.8.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-08 15:19:29 +02:00
dependabot[bot]
f0bce9e90e
chore(deps-dev): bump ts-node from 8.6.2 to 8.10.2 in /console (#172)
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 8.6.2 to 8.10.2.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v8.6.2...v8.10.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-08 15:19:02 +02:00
dependabot[bot]
6dcebb131c
chore(deps-dev): bump @angular/language-service in /console (#173)
Bumps [@angular/language-service](https://github.com/angular/angular/tree/HEAD/packages/language-service) from 9.1.0 to 9.1.9.
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/master/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/9.1.9/packages/language-service)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-08 15:18:24 +02:00
dependabot[bot]
aaff99b097
chore(deps-dev): bump karma-jasmine-html-reporter in /console (#175)
Bumps [karma-jasmine-html-reporter](https://github.com/dfederm/karma-jasmine-html-reporter) from 1.5.2 to 1.5.4.
- [Release notes](https://github.com/dfederm/karma-jasmine-html-reporter/releases)
- [Commits](https://github.com/dfederm/karma-jasmine-html-reporter/compare/v1.5.2...v1.5.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-08 15:07:52 +02:00
dependabot[bot]
6acae44cfc
chore(deps-dev): bump @types/node from 13.7.4 to 14.0.11 in /console (#184)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.7.4 to 14.0.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-08 15:06:18 +02:00
Livio Amstutz
2acad11196
fix deployment.yaml env (#186) 2020-06-08 08:33:54 +02:00
dependabot[bot]
9ae39dc123
chore(deps): bump github.com/stretchr/testify from 1.6.0 to 1.6.1 (#185)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.6.0...v1.6.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-08 08:31:24 +02:00
dependabot-preview[bot]
49252f793f
chore(deps): bump github.com/grpc-ecosystem/grpc-gateway (#159)
Bumps [github.com/grpc-ecosystem/grpc-gateway](https://github.com/grpc-ecosystem/grpc-gateway) from 1.14.5 to 1.14.6.
- [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases)
- [Changelog](https://github.com/grpc-ecosystem/grpc-gateway/blob/master/CHANGELOG.md)
- [Commits](https://github.com/grpc-ecosystem/grpc-gateway/compare/v1.14.5...v1.14.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-08 08:29:14 +02:00
Fabi
d25cddaa28
fiX: deploy (#182) 2020-06-05 20:41:28 +02:00
Christian Jakob
3b969ae836
pod ip variable (#181) 2020-06-05 20:21:30 +02:00
Fabi
8135b6d2ec
sonyflake fix (#180) 2020-06-05 19:56:40 +02:00
dependabot-preview[bot]
6e67a2a857
chore(deps): bump github.com/golang/protobuf from 1.4.1 to 1.4.2 (#129)
Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/golang/protobuf/releases)
- [Commits](https://github.com/golang/protobuf/compare/v1.4.1...v1.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-05 14:27:46 +02:00
dependabot-preview[bot]
28320ad7d3
chore(deps): bump github.com/lib/pq from 1.5.2 to 1.6.0 (#156)
Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.5.2 to 1.6.0.
- [Release notes](https://github.com/lib/pq/releases)
- [Commits](https://github.com/lib/pq/compare/v1.5.2...v1.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-05 14:15:20 +02:00
dependabot-preview[bot]
5a7389a227
chore(deps): bump google.golang.org/protobuf from 1.22.0 to 1.24.0 (#158)
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go) from 1.22.0 to 1.24.0.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash)
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.22.0...v1.24.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-05 14:07:37 +02:00