Silvan
56df515e5f
chore: use pgx v5 ( #7577 )
...
* chore: use pgx v5
* chore: update go version
* remove direct pq dependency
* remove unnecessary type
* scan test
* map scanner
* converter
* uint8 number array
* duration
* most unit tests work
* unit tests work
* chore: coverage
* go 1.21
* linting
* int64 gopfertammi
* retry go 1.22
* retry go 1.22
* revert to go v1.21.5
* update go toolchain to 1.21.8
* go 1.21.8
* remove test flag
* go 1.21.5
* linting
* update toolchain
* use correct array
* use correct array
* add byte array
* correct value
* correct error message
* go 1.21 compatible
2024-03-27 15:48:22 +02:00
Livio Spring
7494a7b6d9
feat(api): add possibility to retrieve user schemas ( #7614 )
...
This PR extends the user schema service (V3 API) with the possibility to ListUserSchemas and GetUserSchemaByID.
The previously started guide is extended to demonstrate how to retrieve the schema(s) and notes the generated revision property.
2024-03-22 13:26:13 +00:00
Elio Bischof
385a55bd21
feat: limit audit trail ( #6744 )
...
* feat: enable limiting audit trail
* support AddExclusiveQuery
* fix invalid condition
* register event mappers
* fix NullDuration validity
* test query side for limits
* lint
* acceptance test audit trail limit
* fix acceptance test
* translate limits not found
* update tests
* fix linting
* add audit log retention to default instance
* fix tests
* update docs
* remove todo
* improve test name
2023-10-25 11:42:00 +00:00
Tim Möhlmann
c71bf85b7a
feat(api/v2): store user agent details in the session ( #6711 )
...
This change adds the ability to set and get user agent data, such as fingerprint, IP, request headers and a description to the session. All fields are optional.
Closes #6028
2023-10-12 12:16:59 +00:00
Silvan
99e1c654a3
feat(storage): read only transactions for queries ( #6415 )
...
* fix: tests
* bastle wie en grosse
* fix(database): scan as callback
* fix tests
* fix merge failures
* remove as of system time
* refactor: remove unused test
* refacotr: remove unused lines
2023-08-22 10:49:22 +00:00
Livio Spring
14b8cf4894
feat(api): add OIDC session service ( #6157 )
...
This PR starts the OIDC implementation for the API V2 including the Implicit and Code Flow.
Co-authored-by: Livio Spring <livio.a@gmail.com>
Co-authored-by: Tim Möhlmann <tim+github@zitadel.com>
Co-authored-by: Stefan Benz <46600784+stebenz@users.noreply.github.com>
2023-07-10 13:27:00 +00:00
Silvan
e38abdcdf3
perf: query data AS OF SYSTEM TIME
( #5231 )
...
Queries the data in the storage layser at the timestamp when the call hit the API layer
2023-02-27 22:36:43 +01:00
Livio Amstutz
9ab566fdeb
fix(query): keys ( #2755 )
...
* fix: add keys to projections
* change to multiple tables
* query keys
* query keys
* fix race condition
* fix timer reset
* begin tests
* tests
* remove migration
* only send to keyChannel if not nil
2022-01-12 13:22:04 +01:00
Silvan
6d94975a85
fix(queries): actions prepare funcs ( #2689 )
...
* chore(queries): test suite for prepare stmt funcs
* test(queries): prepare project funcs
* refactor: add comments
* test: simlify expected sql, added possibility to add args to expected queries
* test(queries): prepare funcs in org
* chore(backend): correct modules
* test(queries): org domain prepare funcs
* test: correct name
* refactor: file name
* refactor: add table to login policy columns
* chore(prepare_test): only add row to result if columns
* test(queries): login policy prepare funcs
* chore: add comments for configs
* test(queries): prepare idp funcs
* fix(queries): add table to password complexity policy cols
* test(queries): password complexity policy prepare funcs
* fix(queries): add table to password age policy cols
* test(queries): password age policy prepare func
* fix(queries): set cols on lockout policy
* test(queries): lockout policy prepare funs
* fix(queries): set table on privacy policy cols
* test(queries): privacy policy prepare funcs
* fix(queries): set table on org iam policy cols
* fix(queries): correct table in org iam policy cols
* test(queries): org iam policy prepare funcs
* test(queries): prepare project grant funcs
* refactor(queries): prepareProjectRoleQuery as func
* test(queries): prepare project role funcs
* test(queries): project grant check for nulls in joins
* fix(queries): allow null values in project grant
* refactor(queries): make toQuery private
* test(queries): action prepare funcs
* refactor: rename prepareFlowQuery to prepareFlowsQuery
* test: generic count only if count in cols
* refactor: remove param in prepareFlowQuery
* fix(queries): correct left joins in action flows
* test(queries): action flow prepare funcs
2021-11-16 14:04:22 +01:00
Silvan
54fe34d502
test(queries): login policy prepare funcs ( #2649 )
...
* chore(queries): test suite for prepare stmt funcs
* test(queries): prepare project funcs
* refactor: add comments
* test: simlify expected sql, added possibility to add args to expected queries
* test(queries): prepare funcs in org
* chore(backend): correct modules
* test(queries): org domain prepare funcs
* test: correct name
* refactor: file name
* refactor: add table to login policy columns
* chore(prepare_test): only add row to result if columns
* test(queries): login policy prepare funcs
2021-11-15 16:04:08 +01:00
Silvan
8d4b2dcc75
test(queries): org prepare funcs ( #2647 )
...
* chore(queries): test suite for prepare stmt funcs
* test(queries): prepare project funcs
* refactor: add comments
* test: simlify expected sql, added possibility to add args to expected queries
* test(queries): prepare funcs in org
* chore(backend): correct modules
2021-11-15 12:52:49 +00:00
Silvan
f927f4af02
test(queries): suite for prepare stmt funcs ( #2644 )
...
* chore(queries): test suite for prepare stmt funcs
* test(queries): prepare project funcs
* refactor: add comments
* test: simlify expected sql, added possibility to add args to expected queries
2021-11-15 10:04:46 +01:00