zitadel/internal
Tim Möhlmann 26d1563643
feat(api): feature flags (#7356)
* feat(api): feature API proto definitions

* update proto based on discussion with @livio-a

* cleanup old feature flag stuff

* authz instance queries

* align defaults

* projection definitions

* define commands and event reducers

* implement system and instance setter APIs

* api getter implementation

* unit test repository package

* command unit tests

* unit test Get queries

* grpc converter unit tests

* migrate the V1 features

* migrate oidc to dynamic features

* projection unit test

* fix instance by host

* fix instance by id data type in sql

* fix linting errors

* add system projection test

* fix behavior inversion

* resolve proto file comments

* rename SystemDefaultLoginInstanceEventType to SystemLoginDefaultOrgEventType so it's consistent with the instance level event

* use write models and conditional set events

* system features integration tests

* instance features integration tests

* error on empty request

* documentation entry

* typo in feature.proto

* fix start unit tests

* solve linting error on key case switch

* remove system defaults after discussion with @eliobischof

* fix system feature projection

* resolve comments in defaults.yaml

---------

Co-authored-by: Livio Spring <livio.a@gmail.com>
2024-02-28 10:55:54 +02:00
..
actions feat: support whole config as env (#6336) 2024-02-16 16:04:42 +00:00
activity fix: add https status to activity log (#6978) 2023-11-28 16:56:29 +01:00
admin/repository/eventsourcing fix(setup): init projections (#7194) 2024-01-25 17:28:20 +01:00
api feat(api): feature flags (#7356) 2024-02-28 10:55:54 +02:00
auth/repository feat(api): feature flags (#7356) 2024-02-28 10:55:54 +02:00
auth_request/repository refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
authz fix: correctly respect maxFailureCount (#7143) 2024-01-04 15:46:25 +00:00
command feat(api): feature flags (#7356) 2024-02-28 10:55:54 +02:00
config refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
crypto fix(setup): init projections (#7194) 2024-01-25 17:28:20 +01:00
database fix: db MaxOpenConns setting (#7360) 2024-02-09 13:43:01 +01:00
domain feat(api): feature flags (#7356) 2024-02-28 10:55:54 +02:00
eventstore feat(api): feature flags (#7356) 2024-02-28 10:55:54 +02:00
feature feat(api): feature flags (#7356) 2024-02-28 10:55:54 +02:00
form refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
i18n refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
iam refactor: cleanup unused code (#7130) 2024-01-02 14:26:31 +00:00
id chore(Makefile): add go generate target (#6944) 2023-11-22 10:56:43 +00:00
idp fix: use configured binding on SAML IDPs and make sure CSP doesn't block POST binding (#7341) 2024-02-05 14:45:15 +00:00
integration feat(api): feature flags (#7356) 2024-02-28 10:55:54 +02:00
logstore perf: project quotas and usages (#6441) 2023-09-15 16:58:45 +02:00
migration fix(setup): init projections (#7194) 2024-01-25 17:28:20 +01:00
net perf: project quotas and usages (#6441) 2023-09-15 16:58:45 +02:00
notification fix(smtp): support UTF-8 subjects (#7432) 2024-02-22 15:11:55 +01:00
org refactor: cleanup unused code (#7130) 2024-01-02 14:26:31 +00:00
project refactor: cleanup unused code (#7130) 2024-01-02 14:26:31 +00:00
protoc merge main into next 2023-10-19 12:34:00 +02:00
qrcode docs(legal): Updated agreements and policies v2 (#3823) 2022-06-15 08:30:58 +02:00
query feat(api): feature flags (#7356) 2024-02-28 10:55:54 +02:00
renderer refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
repository feat(api): feature flags (#7356) 2024-02-28 10:55:54 +02:00
static docs: Contribution guidelines (#7443) 2024-02-26 13:11:09 +00:00
statik chore: initial version of a devcontainer (#6352) 2023-08-15 10:49:05 +02:00
telemetry refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
test feat: protos refactoring 2021-03-09 10:30:11 +01:00
user fix(auth): optimise user sessions (#7199) 2024-01-30 15:17:54 +00:00
view/repository fix: add RollbackUnlessCommitted for gorm transactions (#7197) 2024-01-10 23:02:50 +00:00
webauthn refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
zerrors refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00