fix: remove legacy events (#10464)

# Which Problems Are Solved

Some events that are now unused are clogging the event queue from time
to time.

# How the Problems Are Solved

Remove the events described in #10458

# Additional Changes

- Updated `stringer` and `enumer` in Makefile target `core_generate_all`
to resolve generated files compilation issues

# Notes
It looks like there are a lot of changes, but most of it is fixing
translation files. I suggest doing a review per-commit

# Additional Context

- Closes #10458
- Depends on https://github.com/zitadel/zitadel/pull/10513
This commit is contained in:
Marco A.
2025-08-19 15:22:34 +02:00
committed by GitHub
parent 4dad13cbcd
commit e8a9cd6964
58 changed files with 242 additions and 729 deletions
+6 -18
View File
@@ -11,8 +11,9 @@ import "zitadel/feature/v2/feature.proto";
option go_package = "github.com/zitadel/zitadel/pkg/grpc/feature/v2;feature";
message SetInstanceFeaturesRequest{
reserved 2, 3, 6, 8;
reserved "oidc_trigger_introspection_projections", "oidc_legacy_introspection", "actions", "web_key";
reserved 2, 3, 6, 8, 11;
reserved "oidc_trigger_introspection_projections", "oidc_legacy_introspection", "actions", "web_key", "disable_user_token_event";
optional bool login_default_org = 1 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "true";
@@ -57,13 +58,6 @@ message SetInstanceFeaturesRequest{
}
];
optional bool disable_user_token_event = 11 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "true";
description: "Do not push user token meta-event user.token.v2.added to improve performance on many concurrent single (machine-)user logins";
}
];
optional bool enable_back_channel_logout = 12 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "true";
@@ -112,8 +106,9 @@ message GetInstanceFeaturesRequest {
}
message GetInstanceFeaturesResponse {
reserved 3, 4, 7, 9;
reserved "oidc_trigger_introspection_projections", "oidc_legacy_introspection", "actions", "web_key";
reserved 3, 4, 7, 9, 12;
reserved "oidc_trigger_introspection_projections", "oidc_legacy_introspection", "actions", "web_key", "disable_user_token_event";
zitadel.object.v2.Details details = 1;
FeatureFlag login_default_org = 2 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
@@ -157,13 +152,6 @@ message GetInstanceFeaturesResponse {
}
];
FeatureFlag disable_user_token_event = 12 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "true";
description: "Do not push user token meta-event user.token.v2.added to improve performance on many concurrent single (machine-)user logins";
}
];
FeatureFlag enable_back_channel_logout = 13 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "true";
+6 -18
View File
@@ -11,8 +11,9 @@ import "zitadel/feature/v2/feature.proto";
option go_package = "github.com/zitadel/zitadel/pkg/grpc/feature/v2;feature";
message SetSystemFeaturesRequest{
reserved 2, 3, 6;
reserved "oidc_trigger_introspection_projections", "oidc_legacy_introspection", "actions";
reserved 2, 3, 6, 9;
reserved "oidc_trigger_introspection_projections", "oidc_legacy_introspection", "actions", "disable_user_token_event";
optional bool login_default_org = 1 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "true";
@@ -50,13 +51,6 @@ message SetSystemFeaturesRequest{
}
];
optional bool disable_user_token_event = 9 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "true";
description: "Do not push user token meta-event user.token.v2.added to improve performance on many concurrent single (machine-)user logins";
}
];
optional bool enable_back_channel_logout = 10 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "true";
@@ -91,8 +85,9 @@ message ResetSystemFeaturesResponse {
message GetSystemFeaturesRequest {}
message GetSystemFeaturesResponse {
reserved 3, 4, 7;
reserved "oidc_trigger_introspection_projections", "oidc_legacy_introspection", "actions";
reserved 3, 4, 7, 10;
reserved "oidc_trigger_introspection_projections", "oidc_legacy_introspection", "actions", "disable_user_token_event";
zitadel.object.v2.Details details = 1;
FeatureFlag login_default_org = 2 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
@@ -129,13 +124,6 @@ message GetSystemFeaturesResponse {
}
];
FeatureFlag disable_user_token_event = 10 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "true";
description: "Do not push user token meta-event user.token.v2.added to improve performance on many concurrent single (machine-)user logins";
}
];
FeatureFlag enable_back_channel_logout = 11 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "true";