zitadel/internal/query
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
..
projection fix(projection): add idp login policy link (#2590) 2021-11-02 10:00:48 +00:00
action_flow_test.go fix(queries): actions prepare funcs (#2689) 2021-11-16 14:04:22 +01:00
action_flow.go fix(queries): actions prepare funcs (#2689) 2021-11-16 14:04:22 +01:00
action_test.go fix(queries): actions prepare funcs (#2689) 2021-11-16 14:04:22 +01:00
action.go fix(queries): actions prepare funcs (#2689) 2021-11-16 14:04:22 +01:00
converter.go feat: jwt as idp (#2363) 2021-09-14 15:15:01 +02:00
current_sequence.go fix(projection): add org domain (#2383) 2021-10-08 10:24:22 +02:00
features.go feat: feature query (#2578) 2021-10-29 16:33:00 +02:00
iam_idp_config_model.go feat: jwt as idp (#2363) 2021-09-14 15:15:01 +02:00
iam_idp_configs_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_member_model.go fix(eventstore): sub queries (#1805) 2021-07-06 13:55:57 +02:00
iam_members_model.go fix: Remove user with cascading memberships (#1811) 2021-06-07 07:20:47 +02:00
iam_model.go feat: Lockout policy (#2121) 2021-08-11 06:36:32 +00:00
iam_policy_label_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_login_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_org_iam_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_password_age_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_password_complexity_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_password_lockout_model.go feat: Lockout policy (#2121) 2021-08-11 06:36:32 +00:00
idp_config_model.go feat: jwt as idp (#2363) 2021-09-14 15:15:01 +02:00
idp_configs_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
idp_test.go test(queries): idp prepare funcs (#2650) 2021-11-16 09:03:12 +01:00
idp.go fix(queries): actions prepare funcs (#2689) 2021-11-16 14:04:22 +01:00
jwt_config_model.go feat: jwt as idp (#2363) 2021-09-14 15:15:01 +02:00
lockout_policy_test.go test(queries): policies prepare funcs (#2651) 2021-11-16 08:24:30 +00:00
lockout_policy.go test(queries): policies prepare funcs (#2651) 2021-11-16 08:24:30 +00:00
login_policy_test.go test(queries): login policy prepare funcs (#2649) 2021-11-15 16:04:08 +01:00
login_policy.go test(queries): login policy prepare funcs (#2649) 2021-11-15 16:04:08 +01:00
member_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
member.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
members_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
oidc_config_model.go feat: Extend oidc idp with oauth endpoints (#1980) 2021-07-06 14:39:48 +00:00
org_domain_test.go test(queries): org domain prepare funcs (#2648) 2021-11-15 14:44:14 +01:00
org_domain.go fix(queries): actions prepare funcs (#2689) 2021-11-16 14:04:22 +01:00
org_iam_policy_test.go test(queries): policies prepare funcs (#2651) 2021-11-16 08:24:30 +00:00
org_iam_policy.go test(queries): policies prepare funcs (#2651) 2021-11-16 08:24:30 +00:00
org_member_model.go fix: Remove user with cascading memberships (#1811) 2021-06-07 07:20:47 +02:00
org_policy_label_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_login_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_org_iam_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_password_age_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_password_complexity_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_password_lockout_model.go feat: Lockout policy (#2121) 2021-08-11 06:36:32 +00:00
org_test.go test(queries): org prepare funcs (#2647) 2021-11-15 12:52:49 +00:00
org.go fix(queries): actions prepare funcs (#2689) 2021-11-16 14:04:22 +01:00
password_age_policy_test.go test(queries): policies prepare funcs (#2651) 2021-11-16 08:24:30 +00:00
password_age_policy.go test(queries): policies prepare funcs (#2651) 2021-11-16 08:24:30 +00:00
password_complexity_policy_test.go test(queries): policies prepare funcs (#2651) 2021-11-16 08:24:30 +00:00
password_complexity_policy.go test(queries): policies prepare funcs (#2651) 2021-11-16 08:24:30 +00:00
policy_label_model.go feat: label policy (#1708) 2021-06-04 14:53:51 +02:00
policy_login_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
policy_org_iam_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
policy_password_age_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
policy_password_complexity_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
policy_password_lockout_model.go feat: Lockout policy (#2121) 2021-08-11 06:36:32 +00:00
prepare_test.go fix(queries): actions prepare funcs (#2689) 2021-11-16 14:04:22 +01:00
privacy_policy_test.go test(queries): policies prepare funcs (#2651) 2021-11-16 08:24:30 +00:00
privacy_policy.go test(queries): policies prepare funcs (#2651) 2021-11-16 08:24:30 +00:00
project_grant_test.go fix(queries): project grant and role prepare funcs (#2659) 2021-11-16 08:44:56 +00:00
project_grant.go fix(queries): actions prepare funcs (#2689) 2021-11-16 14:04:22 +01:00
project_role_test.go fix(queries): project grant and role prepare funcs (#2659) 2021-11-16 08:44:56 +00:00
project_role.go fix(queries): actions prepare funcs (#2689) 2021-11-16 14:04:22 +01:00
project_test.go test(queries): org prepare funcs (#2647) 2021-11-15 12:52:49 +00:00
project.go fix(queries): actions prepare funcs (#2689) 2021-11-16 14:04:22 +01:00
query.go feat(queries): use org projection (#2342) 2021-09-29 13:20:57 +02:00
search_query_test.go feat(queries): use org projection (#2342) 2021-09-29 13:20:57 +02:00
search_query.go fix(queries): actions prepare funcs (#2689) 2021-11-16 14:04:22 +01:00
user_model.go fix(eventstore): sub queries (#1805) 2021-07-06 13:55:57 +02:00
user.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00