zitadel/internal/notification/handlers
Elio Bischof 8c85318fbd
fix: restrict languages in console (#6964)
* feat: return 404 or 409 if org reg disallowed

* fix: system limit permissions

* feat: add iam limits api

* feat: disallow public org registrations on default instance

* add integration test

* test: integration

* fix test

* docs: describe public org registrations

* avoid updating docs deps

* fix system limits integration test

* silence integration tests

* fix linting

* ignore strange linter complaints

* review

* improve reset properties naming

* redefine the api

* use restrictions aggregate

* test query

* simplify and test projection

* test commands

* fix unit tests

* move integration test

* support restrictions on default instance

* also test GetRestrictions

* self review

* lint

* abstract away resource owner

* fix tests

* configure supported languages

* fix allowed languages

* fix tests

* default lang must not be restricted

* preferred language must be allowed

* change preferred languages

* check languages everywhere

* lint

* test command side

* lint

* add integration test

* add integration test

* restrict supported ui locales

* lint

* lint

* cleanup

* lint

* allow undefined preferred language

* fix integration tests

* update main

* fix env var

* ignore linter

* ignore linter

* improve integration test config

* reduce cognitive complexity

* compile

* fix(console): switch back to saved language

* feat(API): get allowed languages

* fix(console): only make allowed languages selectable

* warn when editing not allowed languages

* check for duplicates

* remove useless restriction checks

* review

* revert restriction renaming

* fix language restrictions

* lint

* generate

* allow custom texts for supported langs for now

* fix tests

* cleanup

* cleanup

* cleanup

* lint

* unsupported preferred lang is allowed

* fix integration test

* allow unsupported preferred languages

* lint

* load languages for tests

* cleanup

* lint

* cleanup

* get allowed only on admin

* cleanup

* reduce flakiness on very limited postgres

* simplify langSvc

* refactor according to suggestions in pr

* lint

* set first allowed language as default

* selectionchange for language in msg texts

* initialize login texts

* init message texts

* lint

---------

Co-authored-by: peintnermax <max@caos.ch>
2023-12-07 08:43:23 +00:00
..
mock feat: restrict languages (#6931) 2023-12-05 11:12:01 +00:00
already_handled.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
commands.go fix: use triggering origin for notification links (#6628) 2023-10-10 13:20:53 +00:00
config_filesystem.go feat: call webhooks at least once (#5454) 2023-03-28 22:09:06 +00:00
config_log.go feat: call webhooks at least once (#5454) 2023-03-28 22:09:06 +00:00
config_smtp.go feat: add reply-to header in email notification (#6393) 2023-08-29 09:08:24 +02:00
config_twilio.go feat: call webhooks at least once (#5454) 2023-03-28 22:09:06 +00:00
ctx.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
gen_mock.go fix: use triggering origin for notification links (#6628) 2023-10-10 13:20:53 +00:00
handlers_integration_test.go perf: project quotas and usages (#6441) 2023-09-15 16:58:45 +02:00
origin.go fix(notification): get origin from all relevant events and fix nil pointer (#6726) 2023-10-19 10:34:52 +02:00
queries.go feat: restrict languages (#6931) 2023-12-05 11:12:01 +00:00
quota_notifier_test.go fix: restrict languages in console (#6964) 2023-12-07 08:43:23 +00:00
quota_notifier.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
telemetry_pusher_integration_test.go fix: restrict languages in console (#6964) 2023-12-07 08:43:23 +00:00
telemetry_pusher.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
translator.go feat: restrict languages (#6931) 2023-12-05 11:12:01 +00:00
user_notifier_test.go feat: restrict languages (#6931) 2023-12-05 11:12:01 +00:00
user_notifier.go perf(oidc): optimize the introspection endpoint (#6909) 2023-11-21 13:11:38 +01:00