mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-24 13:48:45 +00:00
fix(console): table pagination, diverse optimizations, lint workspace (#1563)
* show app redirect issues, action layout * refactor pagination * tos, privacy * new paginator everywhere * layout width and table optim * lint pt1 * lint config, ts * stylelint * chore(deps-dev): bump @angular/cli from 11.2.7 to 11.2.8 in /console (#1566) * fix: remove app name check on ChangeAPIApplication (#1561) * fix: remove app name check on ChangeAPIApplication * fix APIConfigInvalid message * chore(workflow): ignore tags for docs and codecov flows (#1564) * chore(deps-dev): bump @angular/cli from 11.2.7 to 11.2.8 in /console Bumps [@angular/cli](https://github.com/angular/angular-cli) from 11.2.7 to 11.2.8. - [Release notes](https://github.com/angular/angular-cli/releases) - [Commits](https://github.com/angular/angular-cli/compare/v11.2.7...v11.2.8) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Livio Amstutz <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump jasmine-spec-reporter from 6.0.0 to 7.0.0 in /console (#1573) * fix: remove app name check on ChangeAPIApplication (#1561) * fix: remove app name check on ChangeAPIApplication * fix APIConfigInvalid message * chore(workflow): ignore tags for docs and codecov flows (#1564) * chore(deps-dev): bump jasmine-spec-reporter in /console Bumps [jasmine-spec-reporter](https://github.com/bcaudan/jasmine-spec-reporter) from 6.0.0 to 7.0.0. - [Release notes](https://github.com/bcaudan/jasmine-spec-reporter/releases) - [Changelog](https://github.com/bcaudan/jasmine-spec-reporter/blob/master/CHANGELOG.md) - [Commits](https://github.com/bcaudan/jasmine-spec-reporter/compare/v6.0.0...v7.0.0) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Livio Amstutz <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @angular-devkit/build-angular from 0.1102.7 to 0.1102.8 in /console (#1574) * fix: remove app name check on ChangeAPIApplication (#1561) * fix: remove app name check on ChangeAPIApplication * fix APIConfigInvalid message * chore(workflow): ignore tags for docs and codecov flows (#1564) * chore(deps-dev): bump @angular-devkit/build-angular in /console Bumps [@angular-devkit/build-angular](https://github.com/angular/angular-cli) from 0.1102.7 to 0.1102.8. - [Release notes](https://github.com/angular/angular-cli/releases) - [Commits](https://github.com/angular/angular-cli/commits) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Livio Amstutz <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Max Peintner <[email protected]> * chore(deps): bump @types/file-saver from 2.0.1 to 2.0.2 in /console (#1576) * fix: remove app name check on ChangeAPIApplication (#1561) * fix: remove app name check on ChangeAPIApplication * fix APIConfigInvalid message * chore(workflow): ignore tags for docs and codecov flows (#1564) * chore(deps): bump @types/file-saver from 2.0.1 to 2.0.2 in /console Bumps [@types/file-saver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/file-saver) from 2.0.1 to 2.0.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/file-saver) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Livio Amstutz <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @angular/language-service from 11.2.8 to 11.2.9 in /console (#1567) * fix: remove app name check on ChangeAPIApplication (#1561) * fix: remove app name check on ChangeAPIApplication * fix APIConfigInvalid message * chore(workflow): ignore tags for docs and codecov flows (#1564) * chore(deps-dev): bump @angular/language-service in /console Bumps [@angular/language-service](https://github.com/angular/angular/tree/HEAD/packages/language-service) from 11.2.8 to 11.2.9. - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/master/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/11.2.9/packages/language-service) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Livio Amstutz <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * update protobuf, libphone * chore(deps): bump rxjs from 6.6.3 to 6.6.7 in /console (#1488) Bumps [rxjs](https://github.com/reactivex/rxjs) from 6.6.3 to 6.6.7. - [Release notes](https://github.com/reactivex/rxjs/releases) - [Changelog](https://github.com/ReactiveX/rxjs/blob/6.6.7/CHANGELOG.md) - [Commits](https://github.com/reactivex/rxjs/compare/6.6.3...6.6.7) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @types/jasmine from 3.6.3 to 3.6.9 in /console (#1485) Bumps [@types/jasmine](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jasmine) from 3.6.3 to 3.6.9. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jasmine) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Max Peintner <[email protected]> * chore(deps-dev): bump jasmine-core from 3.6.0 to 3.7.1 in /console (#1445) Bumps [jasmine-core](https://github.com/jasmine/jasmine) from 3.6.0 to 3.7.1. - [Release notes](https://github.com/jasmine/jasmine/releases) - [Changelog](https://github.com/jasmine/jasmine/blob/main/RELEASE.md) - [Commits](https://github.com/jasmine/jasmine/compare/v3.6.0...v3.7.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Max Peintner <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
co-authored by
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Livio Amstutz
parent
b0681a0bbe
commit
56b527060b
@@ -352,11 +352,13 @@ export class ManagementService {
|
||||
return this.grpcService.mgmt.listLoginPolicyMultiFactors(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public addMultiFactorToLoginPolicy(req: AddMultiFactorToLoginPolicyRequest): Promise<AddMultiFactorToLoginPolicyResponse.AsObject> {
|
||||
public addMultiFactorToLoginPolicy(req: AddMultiFactorToLoginPolicyRequest):
|
||||
Promise<AddMultiFactorToLoginPolicyResponse.AsObject> {
|
||||
return this.grpcService.mgmt.addMultiFactorToLoginPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public removeMultiFactorFromLoginPolicy(req: RemoveMultiFactorFromLoginPolicyRequest): Promise<RemoveMultiFactorFromLoginPolicyResponse.AsObject> {
|
||||
public removeMultiFactorFromLoginPolicy(req: RemoveMultiFactorFromLoginPolicyRequest):
|
||||
Promise<RemoveMultiFactorFromLoginPolicyResponse.AsObject> {
|
||||
return this.grpcService.mgmt.removeMultiFactorFromLoginPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
@@ -365,11 +367,13 @@ export class ManagementService {
|
||||
return this.grpcService.mgmt.listLoginPolicySecondFactors(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public addSecondFactorToLoginPolicy(req: AddSecondFactorToLoginPolicyRequest): Promise<AddSecondFactorToLoginPolicyResponse.AsObject> {
|
||||
public addSecondFactorToLoginPolicy(req: AddSecondFactorToLoginPolicyRequest):
|
||||
Promise<AddSecondFactorToLoginPolicyResponse.AsObject> {
|
||||
return this.grpcService.mgmt.addSecondFactorToLoginPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public removeSecondFactorFromLoginPolicy(req: RemoveSecondFactorFromLoginPolicyRequest): Promise<RemoveSecondFactorFromLoginPolicyResponse.AsObject> {
|
||||
public removeSecondFactorFromLoginPolicy(req: RemoveSecondFactorFromLoginPolicyRequest):
|
||||
Promise<RemoveSecondFactorFromLoginPolicyResponse.AsObject> {
|
||||
return this.grpcService.mgmt.removeSecondFactorFromLoginPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
@@ -378,7 +382,8 @@ export class ManagementService {
|
||||
return this.grpcService.mgmt.getLoginPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public updateCustomLoginPolicy(req: UpdateCustomLoginPolicyRequest): Promise<UpdateCustomLoginPolicyResponse.AsObject> {
|
||||
public updateCustomLoginPolicy(req: UpdateCustomLoginPolicyRequest):
|
||||
Promise<UpdateCustomLoginPolicyResponse.AsObject> {
|
||||
return this.grpcService.mgmt.updateCustomLoginPolicy(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
@@ -921,7 +926,7 @@ export class ManagementService {
|
||||
nickName?: string,
|
||||
displayName?: string,
|
||||
preferredLanguage?: string,
|
||||
gender?: Gender
|
||||
gender?: Gender,
|
||||
): Promise<UpdateHumanProfileResponse.AsObject> {
|
||||
const req = new UpdateHumanProfileRequest();
|
||||
req.setUserId(userId);
|
||||
@@ -1009,7 +1014,8 @@ export class ManagementService {
|
||||
return this.grpcService.mgmt.reactivateUser(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public addProjectRole(projectId: string, roleKey: string, displayName: string, group: string): Promise<AddProjectRoleResponse.AsObject> {
|
||||
public addProjectRole(projectId: string, roleKey: string, displayName: string, group: string):
|
||||
Promise<AddProjectRoleResponse.AsObject> {
|
||||
const req = new AddProjectRoleRequest();
|
||||
req.setProjectId(projectId);
|
||||
req.setRoleKey(roleKey);
|
||||
@@ -1026,7 +1032,8 @@ export class ManagementService {
|
||||
return this.grpcService.mgmt.resendHumanEmailVerification(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public resendHumanInitialization(userId: string, newemail: string): Promise<ResendHumanInitializationResponse.AsObject> {
|
||||
public resendHumanInitialization(userId: string, newemail: string):
|
||||
Promise<ResendHumanInitializationResponse.AsObject> {
|
||||
const req = new ResendHumanInitializationRequest();
|
||||
if (newemail) {
|
||||
req.setEmail(newemail);
|
||||
@@ -1049,14 +1056,16 @@ export class ManagementService {
|
||||
return this.grpcService.mgmt.setHumanInitialPassword(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public sendHumanResetPasswordNotification(id: string, type: SendHumanResetPasswordNotificationRequest.Type): Promise<any> {
|
||||
public sendHumanResetPasswordNotification(id: string, type: SendHumanResetPasswordNotificationRequest.Type):
|
||||
Promise<any> {
|
||||
const req = new SendHumanResetPasswordNotificationRequest();
|
||||
req.setUserId(id);
|
||||
req.setType(type);
|
||||
return this.grpcService.mgmt.sendHumanResetPasswordNotification(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public listUsers(limit: number, offset: number, queriesList?: UserSearchQuery[], sortingColumn?: UserFieldName): Promise<ListUsersResponse.AsObject> {
|
||||
public listUsers(limit: number, offset: number, queriesList?: UserSearchQuery[], sortingColumn?: UserFieldName):
|
||||
Promise<ListUsersResponse.AsObject> {
|
||||
const req = new ListUsersRequest();
|
||||
const query = new ListQuery();
|
||||
if (limit) {
|
||||
@@ -1149,7 +1158,8 @@ export class ManagementService {
|
||||
return this.grpcService.mgmt.bulkRemoveUserGrant(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public listAppChanges(appId: string, projectId: string, limit: number, sequence: number): Promise<ListAppChangesResponse.AsObject> {
|
||||
public listAppChanges(appId: string, projectId: string, limit: number, sequence: number):
|
||||
Promise<ListAppChangesResponse.AsObject> {
|
||||
const req = new ListAppChangesRequest();
|
||||
const query = new ChangeQuery();
|
||||
req.setAppId(appId);
|
||||
@@ -1180,7 +1190,8 @@ export class ManagementService {
|
||||
return this.grpcService.mgmt.listOrgChanges(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public listProjectChanges(projectId: string, limit: number, sequence: number): Promise<ListProjectChangesResponse.AsObject> {
|
||||
public listProjectChanges(projectId: string, limit: number, sequence: number):
|
||||
Promise<ListProjectChangesResponse.AsObject> {
|
||||
const req = new ListProjectChangesRequest();
|
||||
req.setProjectId(projectId);
|
||||
const query = new ChangeQuery();
|
||||
@@ -1196,7 +1207,8 @@ export class ManagementService {
|
||||
return this.grpcService.mgmt.listProjectChanges(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public listUserChanges(userId: string, limit: number, sequence: number): Promise<ListUserChangesResponse.AsObject> {
|
||||
public listUserChanges(userId: string, limit: number, sequence: number):
|
||||
Promise<ListUserChangesResponse.AsObject> {
|
||||
const req = new ListUserChangesRequest();
|
||||
req.setUserId(userId);
|
||||
const query = new ChangeQuery();
|
||||
@@ -1297,7 +1309,8 @@ export class ManagementService {
|
||||
return this.grpcService.mgmt.updateProject(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public updateProjectGrant(grantId: string, projectId: string, rolesList: string[]): Promise<UpdateProjectGrantResponse.AsObject> {
|
||||
public updateProjectGrant(grantId: string, projectId: string, rolesList: string[]):
|
||||
Promise<UpdateProjectGrantResponse.AsObject> {
|
||||
const req = new UpdateProjectGrantRequest();
|
||||
req.setRoleKeysList(rolesList);
|
||||
req.setGrantId(grantId);
|
||||
@@ -1324,7 +1337,8 @@ export class ManagementService {
|
||||
return this.grpcService.mgmt.reactivateProject(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public listProjectGrants(projectId: string, limit: number, offset: number): Promise<ListProjectGrantsResponse.AsObject> {
|
||||
public listProjectGrants(projectId: string, limit: number, offset: number):
|
||||
Promise<ListProjectGrantsResponse.AsObject> {
|
||||
const req = new ListProjectGrantsRequest();
|
||||
req.setProjectId(projectId);
|
||||
const query = new ListQuery();
|
||||
@@ -1345,7 +1359,8 @@ export class ManagementService {
|
||||
return this.grpcService.mgmt.listProjectGrantMemberRoles(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public addProjectMember(projectId: string, userId: string, rolesList: string[]): Promise<AddProjectMemberResponse.AsObject> {
|
||||
public addProjectMember(projectId: string, userId: string, rolesList: string[]):
|
||||
Promise<AddProjectMemberResponse.AsObject> {
|
||||
const req = new AddProjectMemberRequest();
|
||||
req.setProjectId(projectId);
|
||||
req.setUserId(userId);
|
||||
@@ -1353,7 +1368,8 @@ export class ManagementService {
|
||||
return this.grpcService.mgmt.addProjectMember(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public updateProjectMember(projectId: string, userId: string, rolesList: string[]): Promise<UpdateProjectMemberResponse.AsObject> {
|
||||
public updateProjectMember(projectId: string, userId: string, rolesList: string[]):
|
||||
Promise<UpdateProjectMemberResponse.AsObject> {
|
||||
const req = new UpdateProjectMemberRequest();
|
||||
req.setProjectId(projectId);
|
||||
req.setUserId(userId);
|
||||
@@ -1444,7 +1460,8 @@ export class ManagementService {
|
||||
return this.grpcService.mgmt.deactivateApp(req, null).then(resp => resp.toObject());
|
||||
}
|
||||
|
||||
public regenerateOIDCClientSecret(appId: string, projectId: string): Promise<RegenerateOIDCClientSecretResponse.AsObject> {
|
||||
public regenerateOIDCClientSecret(appId: string, projectId: string):
|
||||
Promise<RegenerateOIDCClientSecretResponse.AsObject> {
|
||||
const req = new RegenerateOIDCClientSecretRequest();
|
||||
req.setAppId(appId);
|
||||
req.setProjectId(projectId);
|
||||
|
||||
Reference in New Issue
Block a user