Max Peintner
fc08229679
chore: december upgrades ( #2887 )
2021-12-21 13:49:30 +00:00
Max Peintner
dee3d6b3ae
chore(console): december dependencies ( #2877 )
...
* cli, core
* material cdk
* deps
* lock
* audit
* downgrade stylelint
2021-12-21 13:15:12 +00:00
Max Peintner
db355facee
fix(console): org create missing module, layout ( #2870 )
...
* fix: org create module
* rm comment
2021-12-20 10:56:03 +01:00
Silvan
278a278a5b
fix(authz): retry search memberships if no memberships found ( #2869 )
2021-12-17 16:28:41 +01:00
Livio Amstutz
57368d151b
fix: assert roles when using refresh token ( #2868 )
2021-12-17 16:11:18 +01:00
Livio Amstutz
8b0c3e63d6
chore(deps): update github.com/duo-labs/webauthn ( #2861 )
2021-12-17 13:36:24 +01:00
Livio Amstutz
27f87df676
fix: setup step 21 ( #2864 )
2021-12-17 10:11:57 +00:00
Livio Amstutz
28d7acdf99
fix: template removed events on projections ( #2863 )
2021-12-17 08:31:39 +00:00
Max Peintner
cc04067da3
fix: max width container, text ellipsis overflow ( #2862 )
2021-12-17 07:48:20 +00:00
Fabi
c5d6325897
feat: text query ( #2735 )
...
* feat: change mail template to new query side
* feat: adminapi message text
* feat: adminapi message text
* feat: adminapi message text
* feat: message texts
* feat: admin texts
* feat: tests
* feat: tests
* feat: custom login text on adminapi
* feat: custom login text
* feat: custom login text
* feat: message text prepare test
* feat: login text texts
* feat: custom login text
* merge main
* fix go.sum
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-12-16 15:21:37 +01:00
Fabi
a43e1fc34a
feat: reset projections and remove failed events ( #2770 )
...
* feat: change failed events to new projection
* feat: change failed events to new projection
* feat: change current sequences to new projection
* feat: add tests
* Update internal/api/grpc/admin/failed_event.go
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* Update internal/api/grpc/admin/view.go
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* fix: truncate
* fix reset
* fix reset
* Rename V1.102__queries.sql to V1.103__queries.sql
* improve current_sequence and truncate view tables
* check sub tables of view are tables
* Update internal/query/current_sequence_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* fixes and use squirrel
* missing error handling
* lock before reset
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
Co-authored-by: Silvan <silvan.reusser@gmail.com>
2021-12-16 14:44:26 +01:00
Silvan
d2ea9a1b8c
feat: member queries ( #2796 )
...
* refactor(domain): add user type
* fix(projections): start with login names
* fix(login_policy): correct handling of user domain claimed event
* fix(projections): add members
* refactor: simplify member projections
* add migration for members
* add metadata to member projections
* refactor: login name projection
* fix: set correct suffixes on login name projections
* test(projections): login name reduces
* fix: correct cols in reduce member
* test(projections): org, iam, project members
* member additional cols and conds as opt,
add project grant members
* fix(migration): members
* fix(migration): correct database name
* migration version
* migs
* better naming for member cond and col
* split project and project grant members
* prepare member columns
* feat(queries): membership query
* test(queries): membership prepare
* fix(queries): multiple projections for latest sequence
* fix(api): use query for membership queries in auth and management
* feat: org member queries
* fix(api): use query for iam member calls
* fix(queries): org members
* fix(queries): project members
* fix(queries): project grant members
* fix(query): member queries and user avatar column
* member cols
* fix(queries): membership stmt
* fix user test
* fix user test
* fix(membership): correct display name
* fix(projection): additional member manipulation events
* additional member tests
* fix(projections): additional events of idp links
* fix: use query for memberships (#2797 )
* fix(api): use query for memberships
* remove comment
* handle err
* refactor(projections): idp user link user aggregate type
* fix(projections): handle old user events
* fix(api): add asset prefix
* no image for iam members
2021-12-16 13:25:38 +00:00
Max Peintner
fb43b13232
feat(console): set email verified on change, user create ( #2847 )
...
* feat: set email verified on change
* user create
2021-12-15 10:23:53 +00:00
Silvan
a533872c66
fix(crdb): version 21.2.3 ( #2848 )
2021-12-15 09:34:52 +00:00
Livio Amstutz
ae840f364c
fix(queries): authn keys ( #2820 )
...
* begin authn keys
* single table for state change
* add key type
* begin authn keys query
* query
* tests
* fix merge
* remove wrong migration version
* improve filter
* Update projection.go
* cleanup
2021-12-14 10:57:20 +01:00
Livio Amstutz
79f7c1198b
feat: display login succeeded page only for native apps ( #2839 )
2021-12-14 09:47:49 +01:00
Silvan
2265fffd8e
feat(queries): user membership ( #2768 )
...
* refactor(domain): add user type
* fix(projections): start with login names
* fix(login_policy): correct handling of user domain claimed event
* fix(projections): add members
* refactor: simplify member projections
* add migration for members
* add metadata to member projections
* refactor: login name projection
* fix: set correct suffixes on login name projections
* test(projections): login name reduces
* fix: correct cols in reduce member
* test(projections): org, iam, project members
* member additional cols and conds as opt,
add project grant members
* fix(migration): members
* fix(migration): correct database name
* migration version
* migs
* better naming for member cond and col
* split project and project grant members
* prepare member columns
* feat(queries): membership query
* test(queries): membership prepare
* fix(queries): multiple projections for latest sequence
* fix(api): use query for membership queries in auth and management
* fix(query): member queries and user avatar column
* member cols
* fix(queries): membership stmt
* fix user test
* fix user test
2021-12-14 08:19:02 +01:00
Silvan
2cdb297138
fix(crdb): version 21.2.2 ( #2836 )
2021-12-13 10:14:15 +00:00
Max Peintner
d1cb7fdc9f
fix: new context component ( #2823 )
2021-12-10 16:14:24 +01:00
Livio Amstutz
2f7d8ca557
fix: client secret verification (for introspection) ( #2825 )
...
* fix: client secret verification (for introspection)
* revert change for ProjectIDAndOriginsByClientID
2021-12-10 09:25:17 +00:00
Livio Amstutz
43f15953c3
feat: allow global org users to create org and self delete ( #2759 )
...
* fix: grant PROJECT_OWNER_VIEWER_GLOBAL org.create permission
* Update authz.yaml
* feat: delete my user
* console things
* lint
* signout after deletion
* stylelint rule
* Update authz.yaml
* Update authz.yaml
* setup step
* role SELF_MANAGEMENT_GLOBAL setup
* fix: change default role on global org
* Apply suggestions from code review
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
* Update console/src/assets/i18n/it.json
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2021-12-09 08:41:21 +00:00
Silvan
7ea93bd5b6
fix(migration): set database name ( #2819 )
2021-12-08 17:17:50 +00:00
Silvan
5b1267ae93
fix(eventstore): add index to reduce db workload ( #2813 )
2021-12-08 17:18:54 +01:00
Livio Amstutz
75f3067d42
chore(deps): replace "github.com/ghodss/yaml" with "sigs.k8s.io/yaml" ( #2812 )
2021-12-08 16:26:12 +01:00
Livio Amstutz
9967a3ee5e
chore(deps): bump dependencies ( #2811 )
2021-12-08 16:25:28 +01:00
Livio Amstutz
65a6fb638b
fix: add authnkeys projection ( #2801 )
...
* begin authn keys
* single table for state change
* add key type
* rename migration
* format imports
* fix test
2021-12-08 16:16:48 +01:00
Silvan
c9face4ea4
feat(queries): login policy idp links ( #2767 )
...
* fix(idp): set type in projection
* correct table
* user idp links
* refactor: user idp link query
* add not null constraint
* refactor: idp user links
* rename file
* fix(idp): correct resource owner
* refactor: rename test
* fix(query): implement idp login policy links
* unify naming of idp links
* test prepare
* fix(api): convert idp type
* rename migration
2021-12-08 14:49:19 +01:00
Max Peintner
7bf7379a05
feat(console): codemirror code editor for actions ( #2736 )
...
* feat: codemirror code editor
* cleanup
* lint
* mat import
* lint
2021-12-08 10:48:23 +01:00
Livio Amstutz
211dc7c21f
fix: add workaround for org check (if projection is not up-to-date) ( #2800 )
2021-12-07 15:54:33 +01:00
Silvan
303d4945a7
feat(queries): user IDP links ( #2751 )
2021-12-07 08:33:52 +01:00
Livio Amstutz
2ad03285f1
fix: user projection ( #2795 )
...
* fix: first- and lastname changes on user
* add reset migration
2021-12-06 17:22:59 +01:00
Livio Amstutz
f0a77e80bf
fix: add keys to projections ( #2728 )
...
* fix: add keys to projections
* change to multiple tables
* merge
* change migration version
* merge
* Update migrations/cockroach/V1.98__keys.sql
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update migrations/cockroach/V1.98__keys.sql
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* check keys
Co-authored-by: Silvan <silvan.reusser@gmail.com>
2021-12-06 16:57:35 +01:00
Livio Amstutz
81efd86a8d
fix: improve db call when only count is required (on views) ( #2769 )
...
* fix: improve db call when only count is required (old views)
* Update query.go
2021-12-06 16:28:49 +01:00
Livio Amstutz
a8eed4a215
fix: audience and empty app name ( #2775 )
2021-12-03 14:24:29 +01:00
Silvan
45695d3198
fix(projection): handle old event in feature ( #2773 )
2021-12-02 19:16:20 +01:00
Silvan
983382fcec
fix: member projections ( #2771 )
...
* fix(projections): start member projections
* fix(projection): member roles as string array
* fix member tests
2021-12-02 15:08:33 +01:00
Silvan
7a5cb80569
fix(projections): delete app on remove project event ( #2772 )
...
* fix(projections): delete app on remove project event
* test(projection): project removed event in app
* more effitient mig
2021-12-02 15:07:45 +01:00
Silvan
b43362ad15
fix(projections): add member ( #2699 )
...
* refactor(domain): add user type
* fix(projections): start with login names
* fix(login_policy): correct handling of user domain claimed event
* fix(projections): add members
* refactor: simplify member projections
* add migration for members
* add metadata to member projections
* refactor: login name projection
* fix: set correct suffixes on login name projections
* test(projections): login name reduces
* fix: correct cols in reduce member
* test(projections): org, iam, project members
* member additional cols and conds as opt,
add project grant members
* fix(migration): members
* fix(migration): correct database name
* migration version
* migs
* better naming for member cond and col
* split project and project grant members
2021-12-02 09:31:44 +01:00
Silvan
61f2883719
fix(operator): update cockroach to 21.2.1 ( #2766 )
2021-12-01 15:09:35 +00:00
Max Peintner
524f8e7a84
fix: move org create into parent routing module ( #2765 )
2021-12-01 14:42:15 +01:00
Silvan
30c130f102
fix(projections): add base users ( #2733 )
...
* fix(projections): add base users
* add user v1 events
2021-11-30 08:57:51 +01:00
Livio Amstutz
d7417b6ef6
fix: filter of users uniqueness ( #2753 )
2021-11-29 18:38:11 +01:00
Livio Amstutz
7d45ae3c6c
fix: filter of domain claimed users ( #2752 )
2021-11-29 17:36:24 +01:00
Max Peintner
209ea09e30
fix: enable auth form ( #2754 )
2021-11-29 17:13:56 +01:00
Max Peintner
33ae935bf6
fix(console): angular 13, grpc web 1.3.0, dependencies ( #2688 )
...
* cli core, migrations
* material
* input directive
* fresh lock
* update oidc lib
* use angular-eslint next for ng 13
* clean lock
* change qrcode lib, env
* eslint
* deps
* grpc libs update, grpc web 1.0.3, rev env
* remove grpc-web from build/zitadel/Dockerfile
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-11-29 10:31:56 +01:00
Silvan
77a3f848e5
docs(api): additional openapi v2 information ( #2739 )
2021-11-29 08:29:53 +01:00
dependabot[bot]
144e6e4b57
chore(deps): bump github.com/minio/minio-go/v7 from 7.0.15 to 7.0.16 ( #2749 )
...
* chore(deps): bump github.com/minio/minio-go/v7 from 7.0.15 to 7.0.16
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go ) from 7.0.15 to 7.0.16.
- [Release notes](https://github.com/minio/minio-go/releases )
- [Commits](https://github.com/minio/minio-go/compare/v7.0.15...v7.0.16 )
---
updated-dependencies:
- dependency-name: github.com/minio/minio-go/v7
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* add genproto again
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-11-29 07:46:27 +01:00
Silvan
3473156c7e
fix(app): move queries to query package ( #2612 )
...
* fix: move queries to query package
* fix(auth): switch project role requests to query pkg
* refactor: delete unused project role code
* remove repo
* implement sql queries
* fix(database): oidc config change type to int2
* fix(queries): implement app queries
* refactor: simplify code
* fix: correct app query
* Update app.go
* fix token check
* fix mock
* test: app prepares
* test: oidc compliance
* test: OIDCOriginAllowList
* fix: converter
* resolve unsupported oidc version
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-11-26 07:57:05 +01:00
Max Peintner
a9035def0f
fix: disable user action if viewer ( #2737 )
2021-11-25 11:27:20 +01:00
dependabot[bot]
f7743834b0
chore(deps): bump algoliasearch-helper from 3.5.5 to 3.6.2 in /docs ( #2734 )
...
Bumps [algoliasearch-helper](https://github.com/algolia/algoliasearch-helper-js ) from 3.5.5 to 3.6.2.
- [Release notes](https://github.com/algolia/algoliasearch-helper-js/releases )
- [Changelog](https://github.com/algolia/algoliasearch-helper-js/blob/develop/CHANGELOG )
- [Commits](https://github.com/algolia/algoliasearch-helper-js/compare/3.5.5...3.6.2 )
---
updated-dependencies:
- dependency-name: algoliasearch-helper
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-25 10:07:57 +01:00