3102 Commits

Author SHA1 Message Date
Elio Bischof
cccccd005c
feat: call webhooks at least once (#5454)
* feat: call webhooks at least once

* self review

* feat: improve notification observability

* feat: add notification tracing

* test(e2e): test at-least-once webhook delivery

* fix webhook notifications

* dedicated quota notifications handler

* fix linting

* fix e2e test

* wait less in e2e test

* fix: don't ignore failed events in handlers

* fix: don't ignore failed events in handlers

* faster requeues

* question

* fix retries

* fix retries

* retry

* don't instance ids query

* revert handler_projection

* statements can be nil

* cleanup

* make unit tests pass

* add comments

* add comments

* lint

* spool only active instances

* feat(config): handle inactive instances

* customizable HandleInactiveInstances

* call inactive instances quota webhooks

* test: handling with and w/o inactive instances

* omit retrying noop statements

* docs: describe projection options

* enable global handling of inactive instances

* self review

* requeue quota notifications every 5m

* remove caos_errors reference

* fix comment styles

* make handlers package flat

* fix linting

* fix repeating quota notifications

* test with more usage

* debug log channel init failures
2023-03-28 22:09:06 +00:00
Miguel Cabrerizo
3c3e51045b
fix: remove hardcoded texts (#5360)
fix: remove hardcoded texts
2023-03-28 20:02:21 +00:00
Miguel Cabrerizo
1b9cea0e0c
feat: add Help/Support e-mail for instance/org (#5445)
feat: help and support email in privacy policy
2023-03-28 21:36:52 +02:00
Stefan Benz
12a7c4b994
fix: correct conditions for user update after actions in post authent… (#5535)
Correct conditions on when the user gets updated through actions in post-authentication, with an added boolean for checking if anything changed in the actions.
2023-03-28 12:53:21 +00:00
Tim Möhlmann
25c3c17986
chore: upgrade to oidc v2 release (#5437)
* chore: upgrade to oidc v2 release

* fix tests

* fix build errors after rebase

* pin oidc v2.1.0

* pin oidc v2.1.1 (include bugfix)

* pin oidc v2.1.2 (include bugfix)

* pin oidc v2.2.1 (bugfix)

include fix zitadel/oidc#349

* fix: refresh token handling

* simplify cognitive complexity

* fix: handle error

---------

Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-03-28 11:28:56 +00:00
Max Peintner
542271b467
feat(console): Active Directory / LDAP, cleanup idp component routing (#5506)
feat(console): LDAP
2023-03-28 07:38:17 +00:00
Max Peintner
a14bfff0bb
docs: add refresh token section to angular guide (#5534)
docs: angular example changes
2023-03-27 15:53:22 +02:00
Elio Bischof
62bd606593
feat: enable handling projections for inactive instances (#5523)
* fix: don't ignore failed events in handlers

* question

* fix retries

* don't instance ids query

* statements can be nil

* make unit tests pass

* add comments

* spool only active instances

* feat(config): handle inactive instances

* customizable HandleInactiveInstances

* test: handling with and w/o inactive instances

* docs: describe projection options

* enable global handling of inactive instances

* accept NowFunc, not Clock interface

* add comment about stringer usage

* remove enum stringer implementations

* fix enum format types

* Update internal/eventstore/repository/mock/repository.mock.impl.go

Co-authored-by: Silvan <silvan.reusser@gmail.com>

---------

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2023-03-27 12:34:01 +00:00
Stefan Benz
41ff0bbc63
feat: ldap provider login (#5448)
Add the logic to configure and use LDAP provider as an external IDP with a dedicated login GUI.
2023-03-24 15:18:56 +00:00
TG
a8bfcc166e
docs: Fix typo in ratelimits (#5531)
Update ratelimits.md

Fixed typo

Co-authored-by: Florian Forster <florian@zitadel.com>
2023-03-24 14:18:34 +00:00
Fabi
4486bf8529
docs: typos in production checklist (#5155)
* docs: typos and consistent starts of checklist

* docs: typos and consistent starts of checklist

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

* Update docs/docs/self-hosting/manage/productionchecklist.md

Co-authored-by: Florian Forster <florian@zitadel.com>

---------

Co-authored-by: Florian Forster <florian@zitadel.com>
2023-03-24 15:10:03 +01:00
Miguel Cabrerizo
9b2bf3c2de
fix(console): shortcut arrangement start page (#5161)
feat: shortcut arrangement start page

Co-authored-by: Max Peintner <max@caos.ch>
2023-03-24 14:46:47 +01:00
Mauro Küpfer
6567d81060
docs: fix port number in nextjs tutorial (#5533)
Co-authored-by: Mauro Kuepfer <mauro.kuepfer@leuchterag.ch>
2023-03-24 08:55:52 +00:00
Fabi
cf1ac30970
fix: remove unnecessary cancel button as cancel is not possible (#5511)
* fix: remove unnecessary cancel button as cancel is not possible

* fix: add missing tranlation

* fix: add missing tranlation

* docs: missing translations

---------

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2023-03-24 08:00:56 +00:00
Livio Spring
1cf84b5a56
fix: map metadata correctly in actions (#5526) 2023-03-23 14:28:53 +01:00
Miguel Cabrerizo
b0ae24ccca
fix: project list 1st row show thin gray line (#5339)
Co-authored-by: Florian Forster <florian@zitadel.com>
Co-authored-by: Max Peintner <max@caos.ch>
2023-03-23 12:19:24 +00:00
Livio Spring
fca6dd9613
fix: reduce correct type for jwt idps (#5519) 2023-03-22 15:46:59 +00:00
Max Peintner
e9df06df38
fix(console): initialize provider options (#5520)
fix: provider options initializer
2023-03-22 08:53:07 +00:00
mffap
9257cf7086
docs(playground): save to clipboard (#5488)
* docs(playground): permanent link

* add scope urn:zitadel:iam:org:project:roles

* remove window

* remove copy

* move to top right of card, fresh lockfile

* remove scope

* copy to clipboard

* browser only

* cleanup

* try with plausible css

* remove plausible plugin

* remove plausible window

* fix plausible in preview

* plausible script

---------

Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Florian Forster <florian@zitadel.com>
2023-03-22 07:19:19 +00:00
tharuta
a8fe15829e
feat: internationalization Japanese (recreated) (#5513)
japanese translation

---------

Co-authored-by: Max Peintner <max@caos.ch>
2023-03-22 07:30:46 +01:00
Max Peintner
9b41758af0
fix(console): delete provider, refactor add and update methods (#5515)
fix: provider deletion
2023-03-21 17:48:35 +01:00
Livio Spring
a6c471b2e4
fix: possible nil pointer in actions (#5510) v2.22.2 2023-03-21 11:19:49 +01:00
Livio Spring
4ca50e0802
fix: check for empty applicationID on assertRoles (#5509)
* fix: check for empty applicationID on assertRoles

* remove unintended added file
v2.22.1
2023-03-21 08:59:44 +01:00
mffap
4baa503fcc
docs(metrics): fix typos (#5504)
* docs(metrics): fix typos

* tone
2023-03-20 12:44:04 +01:00
Max Peintner
63c3d05ffd
docs: fix urls on homepage (#5501)
fix: add urls on homepage
2023-03-20 09:11:15 +01:00
Silvan
a3b36a0138
refactor(changes): use queries.SearchEvents (#5388)
* refactor(changes): use `queries.SearchEvents`

---------

Co-authored-by: Livio Spring <livio.a@gmail.com>
v2.22.0
2023-03-17 09:14:06 +00:00
Elio Bischof
09abf06d4d
refactor: rename config structs (#5459) 2023-03-16 17:24:30 +00:00
Livio Spring
1896f13952
fix: use idToken for mapping when using old configs (#5458)
* fix: use idToken for mapping when using old configs

* fix events and add tests
2023-03-16 16:47:22 +01:00
Livio Spring
a8a2edadc2
fix: use correct resource owner in checkExternalUserLogin (#5457) 2023-03-16 13:14:08 +00:00
mffap
52dc8431ab
docs: update security policies (#5452)
* docs(legal): vulnerability disclosure policy

* update security.md

* exception

* add link to sidebar

* Apply suggestions from code review

Co-authored-by: Florian Forster <florian@zitadel.com>

* use main for release channel

* review

* fallback emails

* typos, wording

---------

Co-authored-by: Florian Forster <florian@zitadel.com>
2023-03-16 08:52:12 +01:00
Max Peintner
f0e0191c7b
refactor(console): common idp provider styles (#5450)
common idp provider styles
2023-03-16 06:53:46 +00:00
SwitchUpCB
7c79120443
docs: update configure.mdx (#5419)
* docs: update configure.mdx

fix spelling
stylistic improvements
code block consistency

* add additional changes

natural phrases

* address suggestion r1132148559

improve clarity

---------

Co-authored-by: Florian Forster <florian@zitadel.com>
2023-03-15 21:36:00 +00:00
Elio Bischof
fecd197bf2
fix: open dialogs (#5451) 2023-03-15 14:40:35 +00:00
Max Peintner
bc116247ea
feat(console): azure ad provider (#5440)
azure ad provider for console
2023-03-15 13:53:50 +01:00
mffap
a7f65ccb35
docs(legal): support services editorial changes (#5447) 2023-03-15 10:39:40 +02:00
Max Peintner
636ebc07a9
docs: nextjs example changes (#5438)
updates nextjs example docs
2023-03-15 09:10:46 +01:00
Max Peintner
0d832ef67f
feat(console): gitlab, gitlab self hosted - templates (#5422)
gitlab provider
2023-03-15 07:49:32 +00:00
mffap
0aaaf209be
docs(manage): update instance settings (#5421)
* docs(manage): update instance settings

* password reset

* disable email

* phone number

* Apply suggestions from code review

Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>

---------

Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
2023-03-15 07:09:07 +00:00
Livio Spring
5a307afe62
feat: add azure provider templates (#5441)
Adds possibility to manage and use Microsoft Azure template based providers
2023-03-15 07:48:37 +01:00
Elio Bischof
93e1fe0056
fix(console): better error messages (#5409)
* fix(console): better error messages

* fix: fix i18n error labels

* rollout cnsl-i18n-errors

* move errors to form-field

* fix: form control errors

* rollout validators

* translate

* replace variables

* lint

* self review

* fix confirm validation

* use help observable

* fix validation errors

* cleanup

* custom validator for idp templates

* lint

* validate on blur

* remove element

---------

Co-authored-by: Max Peintner <max@caos.ch>
2023-03-14 21:29:45 +00:00
Elio Bischof
e00cc187fa
fix: make user creation errors helpful (#5382)
* fix: make user creation errors helpful

* fix linting and unit testing errors

* fix linting

* make zitadel config reusable

* fix human validations

* translate ssr errors

* make zitadel config reusable

* cover more translations for ssr

* handle email validation message centrally

* fix unit tests

* fix linting

* align signatures

* use more precise wording

* handle phone validation message centrally

* fix: return specific profile errors

* docs: edit comments

* fix unit tests

---------

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2023-03-14 19:20:38 +00:00
Silvan
9ff810eb92
fix(roles): remove org.create permission from org owner (#5444)
Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-03-14 16:48:39 +00:00
Stefan Benz
f99cf50f69
fix: add authURLParams to urls for external idps (#5404)
add authURL parameters to urls for external IDPs, depended on the contents of the authRequest

---------

Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-03-14 15:42:29 +00:00
Max Peintner
1f302fce96
chore(console): dependencies (#5435)
deps
2023-03-14 14:44:02 +01:00
Max Peintner
77595cd723
feat(console): Github Enterprise Server (#5410)
github enterprise server console template
2023-03-13 18:59:11 +01:00
Livio Spring
c0843e6b4c
feat: add gitlab provider templates (#5405)
* feat(api): add google provider template

* refactor reduce functions

* handle removed event

* linting

* fix projection

* feat(api): add generic oauth provider template

* feat(api): add github provider templates

* feat(api): add github provider templates

* fixes

* proto comment

* fix filtering

* requested changes

* feat(api): add generic oauth provider template

* remove wrongly committed message

* increase budget for angular build

* fix linting

* fixes

* fix merge

* fix merge

* fix projection

* fix merge

* updates from previous PRs

* enable github providers in login

* fix merge

* fix test and add github styling in login

* cleanup

* feat(api): add gitlab provider templates

* fix: merge

* fix display of providers in login

* implement gitlab in login and make prompt `select_account` optional since gitlab can't handle it

* fix merge

* fix merge and add tests for command side

* requested changes

* requested changes

* Update internal/query/idp_template.go

Co-authored-by: Silvan <silvan.reusser@gmail.com>

* fix merge

* requested changes

---------

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2023-03-13 17:34:29 +01:00
Max Peintner
f55877eb70
feat(console): GitHub identity provider template (#5403)
Github idp template for console
2023-03-13 10:01:09 +00:00
Silvan
eb4f7c5d7c
fix(auth): update user grants before check (#5406) 2023-03-13 08:03:49 +01:00
Max Peintner
0c704966a2
feat(console): OAuth provider template (#5377)
implements oauth template for console
Co-authored-by: Elio Bischof <elio@zitadel.com>
2023-03-10 15:28:18 +00:00
Livio Spring
1ec6c451ca
chore: update stable to 2.19.4 (#5269)
* chore: update stable to 2.19.3

* 2.19.4
2023-03-10 15:31:10 +01:00