diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 30f9db44a..ca20382ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,31 +11,30 @@ permissions: pull-requests: write jobs: - core: uses: ./.github/workflows/core.yml with: - node_version: '18' - buf_version: 'latest' - go_version: '1.21' - + node_version: "20" + buf_version: "latest" + go_version: "1.21" + console: uses: ./.github/workflows/console.yml with: - node_version: '18' - buf_version: 'latest' + node_version: "20" + buf_version: "latest" version: uses: ./.github/workflows/version.yml with: - semantic_version: '19.0.2' + semantic_version: "19.0.2" dry_run: true compile: needs: [core, console, version] uses: ./.github/workflows/compile.yml with: - go_version: '1.21' + go_version: "1.21" core_cache_key: ${{ needs.core.outputs.cache_key }} console_cache_key: ${{ needs.console.outputs.cache_key }} core_cache_path: ${{ needs.core.outputs.cache_path }} @@ -46,26 +45,26 @@ jobs: needs: core uses: ./.github/workflows/core-unit-test.yml with: - go_version: '1.21' + go_version: "1.21" core_cache_key: ${{ needs.core.outputs.cache_key }} core_cache_path: ${{ needs.core.outputs.cache_path }} - + core-integration-test: needs: core uses: ./.github/workflows/core-integration-test.yml with: - go_version: '1.21' + go_version: "1.21" core_cache_key: ${{ needs.core.outputs.cache_key }} core_cache_path: ${{ needs.core.outputs.cache_path }} - + lint: needs: [core, console] uses: ./.github/workflows/lint.yml with: - go_version: '1.21' - node_version: '18' - buf_version: 'latest' - go_lint_version: 'v1.53.2' + go_version: "1.21" + node_version: "18" + buf_version: "latest" + go_lint_version: "v1.53.2" core_cache_key: ${{ needs.core.outputs.cache_key }} core_cache_path: ${{ needs.core.outputs.cache_path }} @@ -77,7 +76,7 @@ jobs: packages: write if: ${{ github.event_name == 'workflow_dispatch' }} with: - build_image_name: 'ghcr.io/zitadel/zitadel-build' + build_image_name: "ghcr.io/zitadel/zitadel-build" e2e: uses: ./.github/workflows/e2e.yml @@ -90,12 +89,13 @@ jobs: contents: write issues: write pull-requests: write - needs: [version, core-unit-test, core-integration-test, lint, container, e2e] + needs: + [version, core-unit-test, core-integration-test, lint, container, e2e] if: ${{ needs.version.outputs.published == 'true' && github.event_name == 'workflow_dispatch' }} secrets: GCR_JSON_KEY_BASE64: ${{ secrets.GCR_JSON_KEY_BASE64 }} with: build_image_name: ${{ needs.container.outputs.build_image }} - semantic_version: '19.0.2' - image_name: 'ghcr.io/zitadel/zitadel' + semantic_version: "19.0.2" + image_name: "ghcr.io/zitadel/zitadel" google_image_name: "europe-docker.pkg.dev/zitadel-common/zitadel-repo/zitadel" diff --git a/console/package.json b/console/package.json index a1be7a18c..5b677e6c2 100644 --- a/console/package.json +++ b/console/package.json @@ -25,7 +25,7 @@ "@angular/router": "^16.2.0", "@angular/service-worker": "^16.2.0", "@ctrl/ngx-codemirror": "^6.1.0", - "@grpc/grpc-js": "^1.8.14", + "@grpc/grpc-js": "^1.9.3", "@ngx-translate/core": "^14.0.0", "angular-oauth2-oidc": "^15.0.1", "angularx-qrcode": "^16.0.0", @@ -41,8 +41,8 @@ "libphonenumber-js": "^1.10.30", "material-design-icons-iconfont": "^6.1.1", "moment": "^2.29.4", - "opentype.js": "^1.3.4", "ngx-color": "^9.0.0", + "opentype.js": "^1.3.4", "rxjs": "~7.8.0", "tinycolor2": "^1.6.0", "tslib": "^2.4.1", @@ -62,17 +62,17 @@ "@bufbuild/buf": "^1.23.1", "@types/file-saver": "^2.0.2", "@types/google-protobuf": "^3.15.3", - "@types/jasmine": "~4.3.3", + "@types/jasmine": "~4.3.6", "@types/jasminewd2": "~2.0.10", "@types/jsonwebtoken": "^9.0.1", - "@types/node": "^18.15.11", + "@types/node": "^20.7.0", "@types/opentype.js": "^1.3.4", - "@types/qrcode": "^1.5.0", + "@types/qrcode": "^1.5.2", "@types/uuid": "^9.0.2", "@typescript-eslint/eslint-plugin": "^5.59.11", "@typescript-eslint/parser": "^5.60.1", "codelyzer": "^6.0.2", - "eslint": "^8.44.0", + "eslint": "^8.50.0", "jasmine-core": "~4.6.0", "jasmine-spec-reporter": "~7.0.0", "karma": "^6.4.2", @@ -80,9 +80,9 @@ "karma-coverage-istanbul-reporter": "^3.0.3", "karma-jasmine": "^5.1.0", "karma-jasmine-html-reporter": "^2.1.0", - "prettier": "^2.8.7", + "prettier": "^3.0.3", "prettier-plugin-organize-imports": "^3.2.2", "protractor": "~7.0.0", "typescript": "^4.9.5" } -} \ No newline at end of file +} diff --git a/console/src/app/guards/user.guard.ts b/console/src/app/guards/user.guard.ts index 8a037f242..c57b896ec 100644 --- a/console/src/app/guards/user.guard.ts +++ b/console/src/app/guards/user.guard.ts @@ -9,7 +9,10 @@ import { GrpcAuthService } from '../services/grpc-auth.service'; providedIn: 'root', }) export class UserGuard { - constructor(private authService: GrpcAuthService, private router: Router) {} + constructor( + private authService: GrpcAuthService, + private router: Router, + ) {} public canActivate( route: ActivatedRouteSnapshot, diff --git a/console/src/app/modules/accounts-card/accounts-card.component.ts b/console/src/app/modules/accounts-card/accounts-card.component.ts index ea2c3c301..617a41bf6 100644 --- a/console/src/app/modules/accounts-card/accounts-card.component.ts +++ b/console/src/app/modules/accounts-card/accounts-card.component.ts @@ -18,7 +18,11 @@ export class AccountsCardComponent implements OnInit { public sessions: Session.AsObject[] = []; public loadingUsers: boolean = false; public UserState: any = UserState; - constructor(public authService: AuthenticationService, private router: Router, private userService: GrpcAuthService) { + constructor( + public authService: AuthenticationService, + private router: Router, + private userService: GrpcAuthService, + ) { this.userService .listMyUserSessions() .then((sessions) => { diff --git a/console/src/app/modules/add-key-dialog/add-key-dialog.component.html b/console/src/app/modules/add-key-dialog/add-key-dialog.component.html index 050983c73..ed79c5940 100644 --- a/console/src/app/modules/add-key-dialog/add-key-dialog.component.html +++ b/console/src/app/modules/add-key-dialog/add-key-dialog.component.html @@ -18,7 +18,7 @@ {{ 'USER.MACHINE.CHOOSEDATEAFTER' | translate }}: - {{ dateControl.errors['matDatepickerMin'].min.toDate() | localizedDate : 'EEE dd. MMM' }} + {{ dateControl.errors['matDatepickerMin'].min.toDate() | localizedDate: 'EEE dd. MMM' }} diff --git a/console/src/app/modules/add-key-dialog/add-key-dialog.component.ts b/console/src/app/modules/add-key-dialog/add-key-dialog.component.ts index 84b2e4008..c072b974b 100644 --- a/console/src/app/modules/add-key-dialog/add-key-dialog.component.ts +++ b/console/src/app/modules/add-key-dialog/add-key-dialog.component.ts @@ -22,7 +22,10 @@ export class AddKeyDialogComponent { public type!: KeyType; public dateControl: UntypedFormControl = new UntypedFormControl('', []); - constructor(public dialogRef: MatDialogRef, @Inject(MAT_DIALOG_DATA) public data: any) { + constructor( + public dialogRef: MatDialogRef, + @Inject(MAT_DIALOG_DATA) public data: any, + ) { this.types = [KeyType.KEY_TYPE_JSON]; this.type = KeyType.KEY_TYPE_JSON; const today = new Date(); diff --git a/console/src/app/modules/add-member-roles-dialog/add-member-roles-dialog.component.html b/console/src/app/modules/add-member-roles-dialog/add-member-roles-dialog.component.html index d2bf16657..14d48a887 100644 --- a/console/src/app/modules/add-member-roles-dialog/add-member-roles-dialog.component.html +++ b/console/src/app/modules/add-member-roles-dialog/add-member-roles-dialog.component.html @@ -1,6 +1,6 @@ {{ 'MEMBER.EDITROLE' | translate }}
-

{{ 'MEMBER.EDITFOR' | translate : { value: data.user } }}

+

{{ 'MEMBER.EDITFOR' | translate: { value: data.user } }}

, @Inject(MAT_DIALOG_DATA) public data: any) { + constructor( + public dialogRef: MatDialogRef, + @Inject(MAT_DIALOG_DATA) public data: any, + ) { this.allRoles = Object.assign([], data.allRoles); this.selectedRoles = Object.assign([], data.selectedRoles); } diff --git a/console/src/app/modules/add-token-dialog/add-token-dialog.component.html b/console/src/app/modules/add-token-dialog/add-token-dialog.component.html index 6a97cb062..3cdd3067d 100644 --- a/console/src/app/modules/add-token-dialog/add-token-dialog.component.html +++ b/console/src/app/modules/add-token-dialog/add-token-dialog.component.html @@ -9,7 +9,7 @@ {{ 'USER.PERSONALACCESSTOKEN.ADD.CHOOSEDATEAFTER' | translate }}: - {{ dateControl.errors['matDatepickerMin'].min.toDate() | localizedDate : 'EEE dd. MMM' }} + {{ dateControl.errors['matDatepickerMin'].min.toDate() | localizedDate: 'EEE dd. MMM' }}
diff --git a/console/src/app/modules/add-token-dialog/add-token-dialog.component.ts b/console/src/app/modules/add-token-dialog/add-token-dialog.component.ts index a89491a71..d41cb3fc2 100644 --- a/console/src/app/modules/add-token-dialog/add-token-dialog.component.ts +++ b/console/src/app/modules/add-token-dialog/add-token-dialog.component.ts @@ -14,7 +14,10 @@ export class AddTokenDialogComponent { public startDate: Date = new Date(); public dateControl: UntypedFormControl = new UntypedFormControl('', []); - constructor(public dialogRef: MatDialogRef, @Inject(MAT_DIALOG_DATA) public data: any) { + constructor( + public dialogRef: MatDialogRef, + @Inject(MAT_DIALOG_DATA) public data: any, + ) { const today = new Date(); this.startDate.setDate(today.getDate() + 1); } diff --git a/console/src/app/modules/avatar/avatar.component.scss b/console/src/app/modules/avatar/avatar.component.scss index 86ee99cb2..742728c5b 100644 --- a/console/src/app/modules/avatar/avatar.component.scss +++ b/console/src/app/modules/avatar/avatar.component.scss @@ -17,7 +17,11 @@ outline: none; color: white; font-weight: bold; - font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif; + font-family: + 'Lato', + -apple-system, + BlinkMacSystemFont, + sans-serif; // box-shadow: 0 0 3px #0000001a; img { diff --git a/console/src/app/modules/changes/changes.component.html b/console/src/app/modules/changes/changes.component.html index 2504b19b9..1cf65b3db 100644 --- a/console/src/app/modules/changes/changes.component.html +++ b/console/src/app/modules/changes/changes.component.html @@ -5,7 +5,7 @@
  • - {{ hist.values[0].dates[0] | timestampToDate | localizedDate : 'dd. MMM YYYY' }} + {{ hist.values[0].dates[0] | timestampToDate | localizedDate: 'dd. MMM YYYY' }}
    @@ -28,8 +28,8 @@ {{ action.localizedMessage }} {{ dayelement.dates[j] | timestampToDate | localizedDate : 'HH:mm' }}{{ dayelement.dates[j] | timestampToDate | localizedDate: 'HH:mm' }}
    diff --git a/console/src/app/modules/changes/changes.component.ts b/console/src/app/modules/changes/changes.component.ts index 615449a14..d4ae9b030 100644 --- a/console/src/app/modules/changes/changes.component.ts +++ b/console/src/app/modules/changes/changes.component.ts @@ -70,7 +70,10 @@ export class ChangesComponent implements OnInit, OnDestroy { ); public changes!: ListChanges; private destroyed$: Subject = new Subject(); - constructor(private mgmtUserService: ManagementService, private authUserService: GrpcAuthService) {} + constructor( + private mgmtUserService: ManagementService, + private authUserService: GrpcAuthService, + ) {} ngOnInit(): void { this.init(); diff --git a/console/src/app/modules/client-keys/client-keys.component.html b/console/src/app/modules/client-keys/client-keys.component.html index f41c1672f..80c6d4268 100644 --- a/console/src/app/modules/client-keys/client-keys.component.html +++ b/console/src/app/modules/client-keys/client-keys.component.html @@ -52,14 +52,14 @@ {{ 'USER.MACHINE.CREATIONDATE' | translate }} - {{ key.details.creationDate | timestampToDate | localizedDate : 'fromNow' }} + {{ key.details.creationDate | timestampToDate | localizedDate: 'fromNow' }} {{ 'USER.MACHINE.EXPIRATIONDATE' | translate }} - {{ key.expirationDate | timestampToDate | localizedDate : 'fromNow' }} + {{ key.expirationDate | timestampToDate | localizedDate: 'fromNow' }} diff --git a/console/src/app/modules/display-json-dialog/display-json-dialog.component.html b/console/src/app/modules/display-json-dialog/display-json-dialog.component.html index 54f838f5a..1e38fd5c5 100644 --- a/console/src/app/modules/display-json-dialog/display-json-dialog.component.html +++ b/console/src/app/modules/display-json-dialog/display-json-dialog.component.html @@ -8,7 +8,7 @@
    {{ 'IAM.EVENTS.CREATIONDATE' | translate }} - {{ event.creationDate | timestampToDate | localizedDate : 'EEE dd. MMM, HH:mm' }} + {{ event.creationDate | timestampToDate | localizedDate: 'EEE dd. MMM, HH:mm' }}
    diff --git a/console/src/app/modules/display-json-dialog/display-json-dialog.component.ts b/console/src/app/modules/display-json-dialog/display-json-dialog.component.ts index 9bf57fc23..1e0a78129 100644 --- a/console/src/app/modules/display-json-dialog/display-json-dialog.component.ts +++ b/console/src/app/modules/display-json-dialog/display-json-dialog.component.ts @@ -16,7 +16,10 @@ export class DisplayJsonDialogComponent { public payload: any = ''; public opened$ = this.dialogRef.afterOpened().pipe(mapTo(true)); - constructor(public dialogRef: MatDialogRef, @Inject(MAT_DIALOG_DATA) public data: any) { + constructor( + public dialogRef: MatDialogRef, + @Inject(MAT_DIALOG_DATA) public data: any, + ) { this.event = data.event; if ((data.event as Event) && data.event.payload) { } diff --git a/console/src/app/modules/filter-org/filter-org.component.ts b/console/src/app/modules/filter-org/filter-org.component.ts index 1927a2380..6a1d677e6 100644 --- a/console/src/app/modules/filter-org/filter-org.component.ts +++ b/console/src/app/modules/filter-org/filter-org.component.ts @@ -24,7 +24,10 @@ export class FilterOrgComponent extends FilterComponent implements OnInit { public states: OrgState[] = [OrgState.ORG_STATE_ACTIVE, OrgState.ORG_STATE_INACTIVE, OrgState.ORG_STATE_REMOVED]; - constructor(router: Router, protected override route: ActivatedRoute) { + constructor( + router: Router, + protected override route: ActivatedRoute, + ) { super(router, route); } diff --git a/console/src/app/modules/filter/filter.component.ts b/console/src/app/modules/filter/filter.component.ts index 1c503acd8..ce2cc15c0 100644 --- a/console/src/app/modules/filter/filter.component.ts +++ b/console/src/app/modules/filter/filter.component.ts @@ -64,7 +64,10 @@ export class FilterComponent implements OnDestroy { this.destroy$.complete(); } - constructor(private router: Router, protected route: ActivatedRoute) { + constructor( + private router: Router, + protected route: ActivatedRoute, + ) { const changes$ = this.filterChanged.asObservable(); changes$.pipe(takeUntil(this.destroy$)).subscribe((queries) => { const filters: Array | undefined = queries diff --git a/console/src/app/modules/form-field/field/form-field.component.html b/console/src/app/modules/form-field/field/form-field.component.html index 245bc57f8..2ba38b9e2 100644 --- a/console/src/app/modules/form-field/field/form-field.component.html +++ b/console/src/app/modules/form-field/field/form-field.component.html @@ -20,7 +20,7 @@
    - {{ err.i18nKey | translate : err.params }} + {{ err.i18nKey | translate: err.params }}
    diff --git a/console/src/app/modules/idp-table/idp-table.component.html b/console/src/app/modules/idp-table/idp-table.component.html index 72801d58a..0ced33e75 100644 --- a/console/src/app/modules/idp-table/idp-table.component.html +++ b/console/src/app/modules/idp-table/idp-table.component.html @@ -107,14 +107,14 @@ {{ 'IDP.CREATIONDATE' | translate }} - {{ idp.details.creationDate | timestampToDate | localizedDate : 'dd. MMM, HH:mm' }} + {{ idp.details.creationDate | timestampToDate | localizedDate: 'dd. MMM, HH:mm' }} {{ 'IDP.CHANGEDATE' | translate }} - {{ idp.details.changeDate | timestampToDate | localizedDate : 'dd. MMM, HH:mm' }} + {{ idp.details.changeDate | timestampToDate | localizedDate: 'dd. MMM, HH:mm' }} diff --git a/console/src/app/modules/info-dialog/info-dialog.component.html b/console/src/app/modules/info-dialog/info-dialog.component.html index f244a1cc6..7b816e5ad 100644 --- a/console/src/app/modules/info-dialog/info-dialog.component.html +++ b/console/src/app/modules/info-dialog/info-dialog.component.html @@ -1,18 +1,18 @@ -{{ data.titleKey | translate : data.titleParam }} +{{ data.titleKey | translate: data.titleParam }}
    -

    {{ data.descriptionKey | translate : data.descriptionParam }}

    +

    {{ data.descriptionKey | translate: data.descriptionParam }}

    {{ data.warnSectionKey | translate }} -

    {{ data.hintKey | translate : { value: data.confirmation } }}

    +

    {{ data.hintKey | translate: { value: data.confirmation } }}

    - {{ data.confirmationKey | translate : { value: data.confirmation } }} + {{ data.confirmationKey | translate: { value: data.confirmation } }}
    diff --git a/console/src/app/modules/info-dialog/info-dialog.component.ts b/console/src/app/modules/info-dialog/info-dialog.component.ts index fb38f2537..408be6119 100644 --- a/console/src/app/modules/info-dialog/info-dialog.component.ts +++ b/console/src/app/modules/info-dialog/info-dialog.component.ts @@ -14,7 +14,10 @@ import { InfoSectionType } from '../info-section/info-section.component'; export class InfoDialogComponent { public confirm: string = ''; InfoSectionType: any = InfoSectionType; - constructor(public dialogRef: MatDialogRef, @Inject(MAT_DIALOG_DATA) public data: any) {} + constructor( + public dialogRef: MatDialogRef, + @Inject(MAT_DIALOG_DATA) public data: any, + ) {} public closeDialog(): void { this.dialogRef.close(false); diff --git a/console/src/app/modules/info-overlay/info-overlay.component.ts b/console/src/app/modules/info-overlay/info-overlay.component.ts index 3a4c21523..b823a111d 100644 --- a/console/src/app/modules/info-overlay/info-overlay.component.ts +++ b/console/src/app/modules/info-overlay/info-overlay.component.ts @@ -9,5 +9,8 @@ export const OVERLAY_DATA = new InjectionToken('OVERLAY_DATA'); styleUrls: ['./info-overlay.component.scss'], }) export class InfoOverlayComponent { - constructor(public workflowService: OverlayWorkflowService, @Inject(OVERLAY_DATA) public data: any) {} + constructor( + public workflowService: OverlayWorkflowService, + @Inject(OVERLAY_DATA) public data: any, + ) {} } diff --git a/console/src/app/modules/info-row/info-row.component.html b/console/src/app/modules/info-row/info-row.component.html index fbeabcd5a..6824d2e2d 100644 --- a/console/src/app/modules/info-row/info-row.component.html +++ b/console/src/app/modules/info-row/info-row.component.html @@ -21,14 +21,14 @@

    {{ 'USER.DETAILS.DATECREATED' | translate }}

    - {{ user.details.creationDate | timestampToDate | localizedDate : 'dd. MMMM YYYY, HH:mm' }} + {{ user.details.creationDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

    {{ 'USER.DETAILS.DATECHANGED' | translate }}

    - {{ user.details.changeDate | timestampToDate | localizedDate : 'dd. MMMM YYYY, HH:mm' }} + {{ user.details.changeDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

    @@ -97,14 +97,14 @@

    {{ 'ORG.PAGES.CREATIONDATE' | translate }}

    - {{ instance.details.creationDate | timestampToDate | localizedDate : 'dd. MMMM YYYY, HH:mm' }} + {{ instance.details.creationDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

    {{ 'ORG.PAGES.DATECHANGED' | translate }}

    - {{ instance.details.changeDate | timestampToDate | localizedDate : 'dd. MMMM YYYY, HH:mm' }} + {{ instance.details.changeDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

  • @@ -144,14 +144,14 @@

    {{ 'ORG.PAGES.CREATIONDATE' | translate }}

    - {{ org.details.creationDate | timestampToDate | localizedDate : 'dd. MMMM YYYY, HH:mm' }} + {{ org.details.creationDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

    {{ 'ORG.PAGES.DATECHANGED' | translate }}

    - {{ org.details.changeDate | timestampToDate | localizedDate : 'dd. MMMM YYYY, HH:mm' }} + {{ org.details.changeDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

    @@ -179,14 +179,14 @@

    {{ 'PROJECT.PAGES.CREATEDON' | translate }}

    - {{ project.details.creationDate | timestampToDate | localizedDate : 'dd. MMMM YYYY, HH:mm' }} + {{ project.details.creationDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

    {{ 'PROJECT.PAGES.LASTMODIFIED' | translate }}

    - {{ project.details.changeDate | timestampToDate | localizedDate : 'dd. MMMM YYYY, HH:mm' }} + {{ project.details.changeDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

    @@ -219,14 +219,14 @@

    {{ 'PROJECT.PAGES.CREATEDON' | translate }}

    - {{ grantedProject.details.creationDate | timestampToDate | localizedDate : 'dd. MMMM YYYY, HH:mm' }} + {{ grantedProject.details.creationDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

    {{ 'PROJECT.PAGES.LASTMODIFIED' | translate }}

    - {{ grantedProject.details.changeDate | timestampToDate | localizedDate : 'dd. MMMM YYYY, HH:mm' }} + {{ grantedProject.details.changeDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

    @@ -252,14 +252,14 @@

    {{ 'APP.PAGES.DATECREATED' | translate }}

    - {{ app.details.creationDate | timestampToDate | localizedDate : 'dd. MMMM YYYY, HH:mm' }} + {{ app.details.creationDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

    {{ 'APP.PAGES.DATECHANGED' | translate }}

    - {{ app.details.changeDate | timestampToDate | localizedDate : 'dd. MMMM YYYY, HH:mm' }} + {{ app.details.changeDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

    @@ -305,14 +305,14 @@

    {{ 'IDP.DETAIL.DATECREATED' | translate }}

    - {{ idp.details.creationDate | timestampToDate | localizedDate : 'dd. MMMM YYYY, HH:mm' }} + {{ idp.details.creationDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

    {{ 'IDP.DETAIL.DATECHANGED' | translate }}

    - {{ idp.details.changeDate | timestampToDate | localizedDate : 'dd. MMMM YYYY, HH:mm' }} + {{ idp.details.changeDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

    diff --git a/console/src/app/modules/machine-keys/machine-keys.component.html b/console/src/app/modules/machine-keys/machine-keys.component.html index 322992816..49cd48855 100644 --- a/console/src/app/modules/machine-keys/machine-keys.component.html +++ b/console/src/app/modules/machine-keys/machine-keys.component.html @@ -52,14 +52,14 @@ {{ 'USER.MACHINE.CREATIONDATE' | translate }} - {{ key.details?.creationDate | timestampToDate | localizedDate : 'fromNow' }} + {{ key.details?.creationDate | timestampToDate | localizedDate: 'fromNow' }} {{ 'USER.MACHINE.EXPIRATIONDATE' | translate }} - {{ key.expirationDate | timestampToDate | localizedDate : 'fromNow' }} + {{ key.expirationDate | timestampToDate | localizedDate: 'fromNow' }} diff --git a/console/src/app/modules/members-table/members-table.component.html b/console/src/app/modules/members-table/members-table.component.html index f92b59867..7f69806bc 100644 --- a/console/src/app/modules/members-table/members-table.component.html +++ b/console/src/app/modules/members-table/members-table.component.html @@ -99,7 +99,7 @@ diff --git a/console/src/app/modules/memberships-table/memberships-datasource.ts b/console/src/app/modules/memberships-table/memberships-datasource.ts index 21de06081..28e3c1a3e 100644 --- a/console/src/app/modules/memberships-table/memberships-datasource.ts +++ b/console/src/app/modules/memberships-table/memberships-datasource.ts @@ -13,7 +13,10 @@ export class MembershipsDataSource extends DataSource { private loadingSubject: BehaviorSubject = new BehaviorSubject(false); public loading$: Observable = this.loadingSubject.asObservable(); - constructor(private auth: GrpcAuthService, private service: ManagementService) { + constructor( + private auth: GrpcAuthService, + private service: ManagementService, + ) { super(); } diff --git a/console/src/app/modules/metadata/metadata-dialog/metadata-dialog.component.html b/console/src/app/modules/metadata/metadata-dialog/metadata-dialog.component.html index 2b6871645..5c04eb96d 100644 --- a/console/src/app/modules/metadata/metadata-dialog/metadata-dialog.component.html +++ b/console/src/app/modules/metadata/metadata-dialog/metadata-dialog.component.html @@ -1,7 +1,7 @@

    {{ 'METADATA.TITLE' | translate }}

    -

    {{ ts | timestampToDate | localizedDate : 'dd. MMM, HH:mm' }}

    +

    {{ ts | timestampToDate | localizedDate: 'dd. MMM, HH:mm' }}

    {{ 'METADATA.DESCRIPTION' | translate }}

    diff --git a/console/src/app/modules/name-dialog/name-dialog.component.ts b/console/src/app/modules/name-dialog/name-dialog.component.ts index bd05e1ea7..7baa65b2a 100644 --- a/console/src/app/modules/name-dialog/name-dialog.component.ts +++ b/console/src/app/modules/name-dialog/name-dialog.component.ts @@ -11,7 +11,10 @@ import { }) export class NameDialogComponent { public name: string = ''; - constructor(public dialogRef: MatDialogRef, @Inject(MAT_DIALOG_DATA) public data: any) { + constructor( + public dialogRef: MatDialogRef, + @Inject(MAT_DIALOG_DATA) public data: any, + ) { this.name = data.name ?? ''; } diff --git a/console/src/app/modules/nav-toggle/nav-toggle.component.html b/console/src/app/modules/nav-toggle/nav-toggle.component.html index 7454498bf..81b1b216d 100644 --- a/console/src/app/modules/nav-toggle/nav-toggle.component.html +++ b/console/src/app/modules/nav-toggle/nav-toggle.component.html @@ -1,4 +1,4 @@ - diff --git a/console/src/app/modules/warn-dialog/warn-dialog.component.html b/console/src/app/modules/warn-dialog/warn-dialog.component.html index b3ecbd276..17c21f28b 100644 --- a/console/src/app/modules/warn-dialog/warn-dialog.component.html +++ b/console/src/app/modules/warn-dialog/warn-dialog.component.html @@ -1,18 +1,18 @@ -{{ data.titleKey | translate : data.titleParam }} +{{ data.titleKey | translate: data.titleParam }}
    -

    {{ data.descriptionKey | translate : data.descriptionParam }}

    +

    {{ data.descriptionKey | translate: data.descriptionParam }}

    {{ data.warnSectionKey | translate }} -

    {{ data.hintKey | translate : { value: data.confirmation } }}

    +

    {{ data.hintKey | translate: { value: data.confirmation } }}

    - {{ data.confirmationKey | translate : { value: data.confirmation } }} + {{ data.confirmationKey | translate: { value: data.confirmation } }}
    diff --git a/console/src/app/modules/warn-dialog/warn-dialog.component.ts b/console/src/app/modules/warn-dialog/warn-dialog.component.ts index 070c9d52f..701fe8f39 100644 --- a/console/src/app/modules/warn-dialog/warn-dialog.component.ts +++ b/console/src/app/modules/warn-dialog/warn-dialog.component.ts @@ -14,7 +14,10 @@ import { InfoSectionType } from '../info-section/info-section.component'; export class WarnDialogComponent { public confirm: string = ''; InfoSectionType: any = InfoSectionType; - constructor(public dialogRef: MatDialogRef, @Inject(MAT_DIALOG_DATA) public data: any) {} + constructor( + public dialogRef: MatDialogRef, + @Inject(MAT_DIALOG_DATA) public data: any, + ) {} public closeDialog(): void { this.dialogRef.close(false); diff --git a/console/src/app/pages/actions/actions.component.html b/console/src/app/pages/actions/actions.component.html index b7c3ab3c3..a951aa70c 100644 --- a/console/src/app/pages/actions/actions.component.html +++ b/console/src/app/pages/actions/actions.component.html @@ -4,7 +4,7 @@

    {{ 'FLOWS.DESCRIPTION' | translate }}

    {{ 'FLOWS.ACTIONSMAX' | translate : { value: maxActions } }} + >{{ 'FLOWS.ACTIONSMAX' | translate: { value: maxActions } }} diff --git a/console/src/app/pages/actions/actions.component.scss b/console/src/app/pages/actions/actions.component.scss index 5092052ee..104c37257 100644 --- a/console/src/app/pages/actions/actions.component.scss +++ b/console/src/app/pages/actions/actions.component.scss @@ -150,7 +150,10 @@ border-radius: 0.5rem; padding: 0 0.5rem; background-color: $primary-color; - box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12); + box-shadow: + 0 5px 5px -3px rgba(0, 0, 0, 0.2), + 0 8px 10px 1px rgba(0, 0, 0, 0.14), + 0 3px 14px 2px rgba(0, 0, 0, 0.12); i { margin-right: 0.5rem; diff --git a/console/src/app/pages/app-create/app-create.component.html b/console/src/app/pages/app-create/app-create.component.html index ad12e1bc3..3ea6614d8 100644 --- a/console/src/app/pages/app-create/app-create.component.html +++ b/console/src/app/pages/app-create/app-create.component.html @@ -9,7 +9,7 @@ > -
    +