From 8bdf84f12e0747c4d1600cb8ef7fc75b71e80a23 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 2 Jan 2025 00:59:15 +0100 Subject: [PATCH 1/3] fix source selector Signed-off-by: Jens Langhammer --- web/src/admin/providers/oauth2/OAuth2Sources.ts | 2 +- web/src/admin/providers/proxy/ProxyProviderFormForm.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/admin/providers/oauth2/OAuth2Sources.ts b/web/src/admin/providers/oauth2/OAuth2Sources.ts index 69743223ecaa..f8dcb910b507 100644 --- a/web/src/admin/providers/oauth2/OAuth2Sources.ts +++ b/web/src/admin/providers/oauth2/OAuth2Sources.ts @@ -4,7 +4,7 @@ import { DualSelectPair } from "@goauthentik/elements/ak-dual-select/types"; import { OAuthSource, SourcesApi } from "@goauthentik/api"; const sourceToSelect = (source: OAuthSource) => [ - source.pk, + source.slug, `${source.name} (${source.slug})`, source.name, source, diff --git a/web/src/admin/providers/proxy/ProxyProviderFormForm.ts b/web/src/admin/providers/proxy/ProxyProviderFormForm.ts index 3749ebce093c..99449eae6d19 100644 --- a/web/src/admin/providers/proxy/ProxyProviderFormForm.ts +++ b/web/src/admin/providers/proxy/ProxyProviderFormForm.ts @@ -291,7 +291,7 @@ export function renderForm( ${showHttpBasic ? renderHttpBasic(provider) : nothing} Date: Thu, 2 Jan 2025 01:08:15 +0100 Subject: [PATCH 2/3] fix service connection health not updating fully Signed-off-by: Jens Langhammer --- web/src/admin/outposts/ServiceConnectionListPage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/admin/outposts/ServiceConnectionListPage.ts b/web/src/admin/outposts/ServiceConnectionListPage.ts index d9556c37ba2f..d922fa22f386 100644 --- a/web/src/admin/outposts/ServiceConnectionListPage.ts +++ b/web/src/admin/outposts/ServiceConnectionListPage.ts @@ -46,7 +46,7 @@ export class OutpostServiceConnectionListPage extends TablePage { return new OutpostsApi(DEFAULT_CONFIG) .outpostsServiceConnectionsAllStateRetrieve({ From e5dbfbe11ff3bf69f01473a90f049906138de273 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 2 Jan 2025 02:03:53 +0100 Subject: [PATCH 3/3] fix logo alt not translated Signed-off-by: Jens Langhammer --- web/src/admin/AdminInterface/AboutModal.ts | 2 +- web/src/elements/sidebar/SidebarBrand.ts | 3 ++- web/src/flow/FlowExecutor.ts | 2 +- web/src/standalone/api-browser/index.ts | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/web/src/admin/AdminInterface/AboutModal.ts b/web/src/admin/AdminInterface/AboutModal.ts index 0877fc54d195..7df4fe980a1f 100644 --- a/web/src/admin/AdminInterface/AboutModal.ts +++ b/web/src/admin/AdminInterface/AboutModal.ts @@ -74,7 +74,7 @@ export class AboutModal extends WithLicenseSummary(WithBrandConfig(ModalButton)) authentik Logo
diff --git a/web/src/elements/sidebar/SidebarBrand.ts b/web/src/elements/sidebar/SidebarBrand.ts index d5df0eefdbe0..67abd1a74db2 100644 --- a/web/src/elements/sidebar/SidebarBrand.ts +++ b/web/src/elements/sidebar/SidebarBrand.ts @@ -3,6 +3,7 @@ import { AKElement } from "@goauthentik/elements/Base"; import { WithBrandConfig } from "@goauthentik/elements/Interface/brandProvider"; import { themeImage } from "@goauthentik/elements/utils/images"; +import { msg } from "@lit/localize"; import { CSSResult, TemplateResult, css, html } from "lit"; import { customElement } from "lit/decorators.js"; @@ -89,7 +90,7 @@ export class SidebarBrand extends WithBrandConfig(AKElement) {
authentik Logo
diff --git a/web/src/flow/FlowExecutor.ts b/web/src/flow/FlowExecutor.ts index 669053b5a71b..e857cbc8ba3c 100644 --- a/web/src/flow/FlowExecutor.ts +++ b/web/src/flow/FlowExecutor.ts @@ -515,7 +515,7 @@ export class FlowExecutor extends Interface implements StageHost { DefaultBrand.brandingLogo, ), )}" - alt="authentik Logo" + alt="${msg("authentik Logo")}" />
${until(this.renderChallenge())} diff --git a/web/src/standalone/api-browser/index.ts b/web/src/standalone/api-browser/index.ts index 3272c63d09c7..7d0e113f7c26 100644 --- a/web/src/standalone/api-browser/index.ts +++ b/web/src/standalone/api-browser/index.ts @@ -8,6 +8,7 @@ import { DefaultBrand } from "@goauthentik/elements/sidebar/SidebarBrand"; import { themeImage } from "@goauthentik/elements/utils/images"; import "rapidoc"; +import { msg } from "@lit/localize"; import { CSSResult, TemplateResult, css, html } from "lit"; import { customElement, property, state } from "lit/decorators.js"; import { ifDefined } from "lit/directives/if-defined.js"; @@ -102,7 +103,7 @@ export class APIBrowser extends Interface { >