From 0edf4296c4e4fe4339d2a397f1e4ddb4d164da72 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 24 May 2022 22:12:31 +0200 Subject: [PATCH] web/elements: fix used_by refreshing for all elements when using DeleteBulkForm Signed-off-by: Jens Langhammer --- web/src/elements/forms/DeleteBulkForm.ts | 18 +++++---- web/src/locales/de.po | 40 +++++++++++++++++++ web/src/locales/en.po | 40 +++++++++++++++++++ web/src/locales/es.po | 40 +++++++++++++++++++ web/src/locales/fr_FR.po | 40 +++++++++++++++++++ web/src/locales/pl.po | 40 +++++++++++++++++++ web/src/locales/pseudo-LOCALE.po | 40 +++++++++++++++++++ web/src/locales/tr.po | 40 +++++++++++++++++++ web/src/locales/zh-Hans.po | 40 +++++++++++++++++++ web/src/locales/zh-Hant.po | 40 +++++++++++++++++++ web/src/locales/zh_TW.po | 40 +++++++++++++++++++ .../policies/reputation/ReputationListPage.ts | 2 +- 12 files changed, 412 insertions(+), 8 deletions(-) diff --git a/web/src/elements/forms/DeleteBulkForm.ts b/web/src/elements/forms/DeleteBulkForm.ts index 37494674e..1daa4dffd 100644 --- a/web/src/elements/forms/DeleteBulkForm.ts +++ b/web/src/elements/forms/DeleteBulkForm.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators.js"; +import { customElement, property, state } from "lit/decorators.js"; import { until } from "lit/directives/until.js"; import PFList from "@patternfly/patternfly/components/List/list.css"; @@ -33,6 +33,9 @@ export class DeleteObjectsTable extends Table { @property({ attribute: false }) usedBy?: (item: T) => Promise; + @state() + usedByData: Map = new Map(); + static get styles(): CSSResult[] { return super.styles.concat(PFList); } @@ -68,15 +71,16 @@ export class DeleteObjectsTable extends Table { } renderExpanded(item: T): TemplateResult { + const handler = async () => { + if (!this.usedByData.has(item) && this.usedBy) { + this.usedByData.set(item, await this.usedBy(item)); + } + return this.renderUsedBy(this.usedByData.get(item) || []); + }; return html`
${this.usedBy - ? until( - this.usedBy(item).then((usedBy) => { - return this.renderUsedBy(usedBy); - }), - html``, - ) + ? until(handler(), html``) : html``}
`; diff --git a/web/src/locales/de.po b/web/src/locales/de.po index 2882c40de..e412c6876 100644 --- a/web/src/locales/de.po +++ b/web/src/locales/de.po @@ -1551,6 +1551,11 @@ msgstr "{0} löschen" msgid "Deny the user access" msgstr "Dem Benutzer den Zugang verweigern" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Deprecated. Instead of using this field, configure the JWKS data/URL in Sources." +msgstr "" + #: src/pages/applications/ApplicationForm.ts #: src/pages/property-mappings/PropertyMappingScopeForm.ts #: src/pages/system-tasks/SystemTaskListPage.ts @@ -2457,6 +2462,7 @@ msgstr "Interne Konten ausblenden" #: src/pages/outposts/OutpostForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/saml/SAMLProviderForm.ts #: src/pages/sources/ldap/LDAPSourceForm.ts @@ -2719,9 +2725,14 @@ msgstr "Aussteller" msgid "Issuer mode" msgstr "Ausstellermodus" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "JSON Web Key URL. Keys from the URL will be used to validate JWTs from this source." +msgstr "" + #~ msgid "JWT Algorithm" #~ msgstr "JWT Algorithmus" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts msgid "JWTs signed by certificates configured here can be used to authenticate to the provider." msgstr "" @@ -2904,6 +2915,7 @@ msgstr "Wird geladen" #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts @@ -3026,6 +3038,10 @@ msgstr "Langlaufende Operationen, die Authentik im Hintergrund ausführt." msgid "MFA Devices" msgstr "Multifaktor-Authentifzierungs Geräte" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Machine-to-Machine authentication settings" +msgstr "" + #: src/flows/stages/authenticator_static/AuthenticatorStaticStage.ts msgid "Make sure to keep these tokens in a safe place." msgstr "Bewahren Sie diese Tokens an einem sicheren Ort auf." @@ -3509,6 +3525,22 @@ msgstr "OAuth-Aktualisierungscodes" #~ msgid "OAuth/OIDC" #~ msgstr "" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC JWKS" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC JWKS URL" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC Well-known URL" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC well-known configuration URL. Can be used to automatically configure the URLs above." +msgstr "" + #: src/pages/admin-overview/cards/SystemStatusCard.ts msgid "OK" msgstr "OK" @@ -4065,6 +4097,10 @@ msgstr "RSA-SHA384" msgid "RSA-SHA512" msgstr "RSA-SHA512" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "Raw JWKS data." +msgstr "" + #: src/pages/sources/plex/PlexSourceForm.ts msgid "Re-authenticate with plex" msgstr "Mit Plex erneut authentifizieren" @@ -5646,6 +5682,10 @@ msgstr "Vorübergehend" msgid "Transports" msgstr "Zustellungsarten" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Trusted OIDC Sources" +msgstr "" + #: src/interfaces/locale.ts msgid "Turkish" msgstr "Türkisch" diff --git a/web/src/locales/en.po b/web/src/locales/en.po index b2ec2d539..b3bd88cd5 100644 --- a/web/src/locales/en.po +++ b/web/src/locales/en.po @@ -1569,6 +1569,11 @@ msgstr "Delete {0}" msgid "Deny the user access" msgstr "Deny the user access" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Deprecated. Instead of using this field, configure the JWKS data/URL in Sources." +msgstr "Deprecated. Instead of using this field, configure the JWKS data/URL in Sources." + #: src/pages/applications/ApplicationForm.ts #: src/pages/property-mappings/PropertyMappingScopeForm.ts #: src/pages/system-tasks/SystemTaskListPage.ts @@ -2496,6 +2501,7 @@ msgstr "Hide service-accounts" #: src/pages/outposts/OutpostForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/saml/SAMLProviderForm.ts #: src/pages/sources/ldap/LDAPSourceForm.ts @@ -2768,10 +2774,15 @@ msgstr "Issuer" msgid "Issuer mode" msgstr "Issuer mode" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "JSON Web Key URL. Keys from the URL will be used to validate JWTs from this source." +msgstr "JSON Web Key URL. Keys from the URL will be used to validate JWTs from this source." + #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #~ msgid "JWT Algorithm" #~ msgstr "JWT Algorithm" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts msgid "JWTs signed by certificates configured here can be used to authenticate to the provider." msgstr "JWTs signed by certificates configured here can be used to authenticate to the provider." @@ -2956,6 +2967,7 @@ msgstr "Loading" #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts @@ -3078,6 +3090,10 @@ msgstr "Long-running operations which authentik executes in the background." msgid "MFA Devices" msgstr "MFA Devices" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Machine-to-Machine authentication settings" +msgstr "Machine-to-Machine authentication settings" + #: src/flows/stages/authenticator_static/AuthenticatorStaticStage.ts msgid "Make sure to keep these tokens in a safe place." msgstr "Make sure to keep these tokens in a safe place." @@ -3567,6 +3583,22 @@ msgstr "OAuth Refresh Codes" #~ msgid "OAuth/OIDC" #~ msgstr "OAuth/OIDC" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC JWKS" +msgstr "OIDC JWKS" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC JWKS URL" +msgstr "OIDC JWKS URL" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC Well-known URL" +msgstr "OIDC Well-known URL" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC well-known configuration URL. Can be used to automatically configure the URLs above." +msgstr "OIDC well-known configuration URL. Can be used to automatically configure the URLs above." + #: src/pages/admin-overview/cards/SystemStatusCard.ts msgid "OK" msgstr "OK" @@ -4137,6 +4169,10 @@ msgstr "RSA-SHA384" msgid "RSA-SHA512" msgstr "RSA-SHA512" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "Raw JWKS data." +msgstr "Raw JWKS data." + #: src/pages/sources/plex/PlexSourceForm.ts msgid "Re-authenticate with plex" msgstr "Re-authenticate with plex" @@ -5766,6 +5802,10 @@ msgstr "Transient" msgid "Transports" msgstr "Transports" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Trusted OIDC Sources" +msgstr "Trusted OIDC Sources" + #: src/interfaces/locale.ts msgid "Turkish" msgstr "Turkish" diff --git a/web/src/locales/es.po b/web/src/locales/es.po index 309b0e02b..bb21c3a70 100644 --- a/web/src/locales/es.po +++ b/web/src/locales/es.po @@ -1542,6 +1542,11 @@ msgstr "Eliminar {0}" msgid "Deny the user access" msgstr "Denegar el acceso al usuario" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Deprecated. Instead of using this field, configure the JWKS data/URL in Sources." +msgstr "" + #: src/pages/applications/ApplicationForm.ts #: src/pages/property-mappings/PropertyMappingScopeForm.ts #: src/pages/system-tasks/SystemTaskListPage.ts @@ -2448,6 +2453,7 @@ msgstr "Ocultar cuentas de servicio" #: src/pages/outposts/OutpostForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/saml/SAMLProviderForm.ts #: src/pages/sources/ldap/LDAPSourceForm.ts @@ -2712,9 +2718,14 @@ msgstr "Emisor" msgid "Issuer mode" msgstr "Modo emisor" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "JSON Web Key URL. Keys from the URL will be used to validate JWTs from this source." +msgstr "" + #~ msgid "JWT Algorithm" #~ msgstr "algoritmo JWT" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts msgid "JWTs signed by certificates configured here can be used to authenticate to the provider." msgstr "" @@ -2897,6 +2908,7 @@ msgstr "Cargando" #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts @@ -3019,6 +3031,10 @@ msgstr "Operaciones de larga ejecución que authentik se ejecuta en segundo plan msgid "MFA Devices" msgstr "Dispositivos de MFA" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Machine-to-Machine authentication settings" +msgstr "" + #: src/flows/stages/authenticator_static/AuthenticatorStaticStage.ts msgid "Make sure to keep these tokens in a safe place." msgstr "Asegúrese de guardar estas fichas en un lugar seguro." @@ -3502,6 +3518,22 @@ msgstr "Códigos de actualización de OAuth" #~ msgid "OAuth/OIDC" #~ msgstr "" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC JWKS" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC JWKS URL" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC Well-known URL" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC well-known configuration URL. Can be used to automatically configure the URLs above." +msgstr "" + #: src/pages/admin-overview/cards/SystemStatusCard.ts msgid "OK" msgstr "DE ACUERDO" @@ -4058,6 +4090,10 @@ msgstr "RSA-SHA384" msgid "RSA-SHA512" msgstr "RSA-SHA512" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "Raw JWKS data." +msgstr "" + #: src/pages/sources/plex/PlexSourceForm.ts msgid "Re-authenticate with plex" msgstr "Vuelva a autenticarse con plex" @@ -5640,6 +5676,10 @@ msgstr "transitorio" msgid "Transports" msgstr "Transportes" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Trusted OIDC Sources" +msgstr "" + #: src/interfaces/locale.ts msgid "Turkish" msgstr "turco" diff --git a/web/src/locales/fr_FR.po b/web/src/locales/fr_FR.po index 42cef8dc1..c961db8e5 100644 --- a/web/src/locales/fr_FR.po +++ b/web/src/locales/fr_FR.po @@ -1554,6 +1554,11 @@ msgstr "Supprimer {0}" msgid "Deny the user access" msgstr "Refuser l'accès à l'utilisateu" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Deprecated. Instead of using this field, configure the JWKS data/URL in Sources." +msgstr "" + #: src/pages/applications/ApplicationForm.ts #: src/pages/property-mappings/PropertyMappingScopeForm.ts #: src/pages/system-tasks/SystemTaskListPage.ts @@ -2474,6 +2479,7 @@ msgstr "Cacher les comptes de service" #: src/pages/outposts/OutpostForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/saml/SAMLProviderForm.ts #: src/pages/sources/ldap/LDAPSourceForm.ts @@ -2741,10 +2747,15 @@ msgstr "Émetteur" msgid "Issuer mode" msgstr "Mode de l'émetteur" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "JSON Web Key URL. Keys from the URL will be used to validate JWTs from this source." +msgstr "" + #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #~ msgid "JWT Algorithm" #~ msgstr "Algorithme JWT" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts msgid "JWTs signed by certificates configured here can be used to authenticate to the provider." msgstr "" @@ -2928,6 +2939,7 @@ msgstr "Chargement en cours" #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts @@ -3050,6 +3062,10 @@ msgstr "Opérations de longue durée qu'Authentik exécute en arrière-plan." msgid "MFA Devices" msgstr "" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Machine-to-Machine authentication settings" +msgstr "" + #: src/flows/stages/authenticator_static/AuthenticatorStaticStage.ts msgid "Make sure to keep these tokens in a safe place." msgstr "" @@ -3536,6 +3552,22 @@ msgstr "Code de rafraîchissement OAuth" #~ msgid "OAuth/OIDC" #~ msgstr "" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC JWKS" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC JWKS URL" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC Well-known URL" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC well-known configuration URL. Can be used to automatically configure the URLs above." +msgstr "" + #: src/pages/admin-overview/cards/SystemStatusCard.ts msgid "OK" msgstr "" @@ -4096,6 +4128,10 @@ msgstr "RSA-SHA384" msgid "RSA-SHA512" msgstr "RSA-SHA512" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "Raw JWKS data." +msgstr "" + #: src/pages/sources/plex/PlexSourceForm.ts msgid "Re-authenticate with plex" msgstr "Se ré-authentifier avec Plex" @@ -5698,6 +5734,10 @@ msgstr "Transitoire" msgid "Transports" msgstr "Transports" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Trusted OIDC Sources" +msgstr "" + #: src/interfaces/locale.ts msgid "Turkish" msgstr "" diff --git a/web/src/locales/pl.po b/web/src/locales/pl.po index 31c236130..57dd05479 100644 --- a/web/src/locales/pl.po +++ b/web/src/locales/pl.po @@ -1539,6 +1539,11 @@ msgstr "Usuń {0}" msgid "Deny the user access" msgstr "Odmów użytkownikowi dostępu" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Deprecated. Instead of using this field, configure the JWKS data/URL in Sources." +msgstr "" + #: src/pages/applications/ApplicationForm.ts #: src/pages/property-mappings/PropertyMappingScopeForm.ts #: src/pages/system-tasks/SystemTaskListPage.ts @@ -2445,6 +2450,7 @@ msgstr "Ukryj konta serwisowe" #: src/pages/outposts/OutpostForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/saml/SAMLProviderForm.ts #: src/pages/sources/ldap/LDAPSourceForm.ts @@ -2709,9 +2715,14 @@ msgstr "Wystawca" msgid "Issuer mode" msgstr "Tryb wystawcy" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "JSON Web Key URL. Keys from the URL will be used to validate JWTs from this source." +msgstr "" + #~ msgid "JWT Algorithm" #~ msgstr "Algorytm JWT" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts msgid "JWTs signed by certificates configured here can be used to authenticate to the provider." msgstr "" @@ -2894,6 +2905,7 @@ msgstr "Ładowanie" #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts @@ -3016,6 +3028,10 @@ msgstr "Długotrwałe operacje, które authentik wykonuje w tle." msgid "MFA Devices" msgstr "Urządzenia MFA" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Machine-to-Machine authentication settings" +msgstr "" + #: src/flows/stages/authenticator_static/AuthenticatorStaticStage.ts msgid "Make sure to keep these tokens in a safe place." msgstr "Upewnij się, że przechowujesz te tokeny w bezpiecznym miejscu." @@ -3499,6 +3515,22 @@ msgstr "Kody odświeżania OAuth" #~ msgid "OAuth/OIDC" #~ msgstr "" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC JWKS" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC JWKS URL" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC Well-known URL" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC well-known configuration URL. Can be used to automatically configure the URLs above." +msgstr "" + #: src/pages/admin-overview/cards/SystemStatusCard.ts msgid "OK" msgstr "OK" @@ -4055,6 +4087,10 @@ msgstr "RSA-SHA384" msgid "RSA-SHA512" msgstr "RSA-SHA512" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "Raw JWKS data." +msgstr "" + #: src/pages/sources/plex/PlexSourceForm.ts msgid "Re-authenticate with plex" msgstr "Ponowne uwierzytelnienie za pomocą plex" @@ -5637,6 +5673,10 @@ msgstr "przejściowy" msgid "Transports" msgstr "Transporty" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Trusted OIDC Sources" +msgstr "" + #: src/interfaces/locale.ts msgid "Turkish" msgstr "Turecki" diff --git a/web/src/locales/pseudo-LOCALE.po b/web/src/locales/pseudo-LOCALE.po index 7e33fc84c..e40521dca 100644 --- a/web/src/locales/pseudo-LOCALE.po +++ b/web/src/locales/pseudo-LOCALE.po @@ -1555,6 +1555,11 @@ msgstr "" msgid "Deny the user access" msgstr "" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Deprecated. Instead of using this field, configure the JWKS data/URL in Sources." +msgstr "" + #: src/pages/applications/ApplicationForm.ts #: src/pages/property-mappings/PropertyMappingScopeForm.ts #: src/pages/system-tasks/SystemTaskListPage.ts @@ -2482,6 +2487,7 @@ msgstr "" #: src/pages/outposts/OutpostForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/saml/SAMLProviderForm.ts #: src/pages/sources/ldap/LDAPSourceForm.ts @@ -2750,10 +2756,15 @@ msgstr "" msgid "Issuer mode" msgstr "" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "JSON Web Key URL. Keys from the URL will be used to validate JWTs from this source." +msgstr "" + #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #~ msgid "JWT Algorithm" #~ msgstr "" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts msgid "JWTs signed by certificates configured here can be used to authenticate to the provider." msgstr "" @@ -2938,6 +2949,7 @@ msgstr "" #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts @@ -3060,6 +3072,10 @@ msgstr "" msgid "MFA Devices" msgstr "" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Machine-to-Machine authentication settings" +msgstr "" + #: src/flows/stages/authenticator_static/AuthenticatorStaticStage.ts msgid "Make sure to keep these tokens in a safe place." msgstr "" @@ -3549,6 +3565,22 @@ msgstr "" #~ msgid "OAuth/OIDC" #~ msgstr "" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC JWKS" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC JWKS URL" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC Well-known URL" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC well-known configuration URL. Can be used to automatically configure the URLs above." +msgstr "" + #: src/pages/admin-overview/cards/SystemStatusCard.ts msgid "OK" msgstr "" @@ -4117,6 +4149,10 @@ msgstr "" msgid "RSA-SHA512" msgstr "" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "Raw JWKS data." +msgstr "" + #: src/pages/sources/plex/PlexSourceForm.ts msgid "Re-authenticate with plex" msgstr "" @@ -5736,6 +5772,10 @@ msgstr "" msgid "Transports" msgstr "" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Trusted OIDC Sources" +msgstr "" + #: src/interfaces/locale.ts msgid "Turkish" msgstr "" diff --git a/web/src/locales/tr.po b/web/src/locales/tr.po index 2a68d1ede..d39a54326 100644 --- a/web/src/locales/tr.po +++ b/web/src/locales/tr.po @@ -1542,6 +1542,11 @@ msgstr "{0} Sil" msgid "Deny the user access" msgstr "Kullanıcı erişimini engelle" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Deprecated. Instead of using this field, configure the JWKS data/URL in Sources." +msgstr "" + #: src/pages/applications/ApplicationForm.ts #: src/pages/property-mappings/PropertyMappingScopeForm.ts #: src/pages/system-tasks/SystemTaskListPage.ts @@ -2448,6 +2453,7 @@ msgstr "Hizmet hesaplarını gizle" #: src/pages/outposts/OutpostForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/saml/SAMLProviderForm.ts #: src/pages/sources/ldap/LDAPSourceForm.ts @@ -2713,9 +2719,14 @@ msgstr "Yayımcı" msgid "Issuer mode" msgstr "Yayımcı kipi" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "JSON Web Key URL. Keys from the URL will be used to validate JWTs from this source." +msgstr "" + #~ msgid "JWT Algorithm" #~ msgstr "JWT Algoritması" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts msgid "JWTs signed by certificates configured here can be used to authenticate to the provider." msgstr "" @@ -2898,6 +2909,7 @@ msgstr "Yükleniyor" #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts @@ -3020,6 +3032,10 @@ msgstr "authentik'in arka planda yürüttüğü uzun süreli işlemler." msgid "MFA Devices" msgstr "MFA Cihazları" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Machine-to-Machine authentication settings" +msgstr "" + #: src/flows/stages/authenticator_static/AuthenticatorStaticStage.ts msgid "Make sure to keep these tokens in a safe place." msgstr "Bu belirteçleri güvenli bir yerde tuttuğunuzdan emin olun." @@ -3504,6 +3520,22 @@ msgstr "OAuth Yenile Kodları" #~ msgid "OAuth/OIDC" #~ msgstr "" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC JWKS" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC JWKS URL" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC Well-known URL" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC well-known configuration URL. Can be used to automatically configure the URLs above." +msgstr "" + #: src/pages/admin-overview/cards/SystemStatusCard.ts msgid "OK" msgstr "OK" @@ -4060,6 +4092,10 @@ msgstr "RSA-SHA384" msgid "RSA-SHA512" msgstr "RSA-SHA512" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "Raw JWKS data." +msgstr "" + #: src/pages/sources/plex/PlexSourceForm.ts msgid "Re-authenticate with plex" msgstr "plex ile yeniden kimlik doğrulama" @@ -5642,6 +5678,10 @@ msgstr "Geçici" msgid "Transports" msgstr "Aktarıcılar" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Trusted OIDC Sources" +msgstr "" + #: src/interfaces/locale.ts msgid "Turkish" msgstr "Türkçe" diff --git a/web/src/locales/zh-Hans.po b/web/src/locales/zh-Hans.po index 65ef32c00..4df433201 100644 --- a/web/src/locales/zh-Hans.po +++ b/web/src/locales/zh-Hans.po @@ -1537,6 +1537,11 @@ msgstr "删除 {0}" msgid "Deny the user access" msgstr "拒绝用户访问" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Deprecated. Instead of using this field, configure the JWKS data/URL in Sources." +msgstr "" + #: src/pages/applications/ApplicationForm.ts #: src/pages/property-mappings/PropertyMappingScopeForm.ts #: src/pages/system-tasks/SystemTaskListPage.ts @@ -2434,6 +2439,7 @@ msgstr "隐藏服务账户" #: src/pages/outposts/OutpostForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/saml/SAMLProviderForm.ts #: src/pages/sources/ldap/LDAPSourceForm.ts @@ -2697,9 +2703,14 @@ msgstr "颁发者" msgid "Issuer mode" msgstr "Issuer 模式" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "JSON Web Key URL. Keys from the URL will be used to validate JWTs from this source." +msgstr "" + #~ msgid "JWT Algorithm" #~ msgstr "JWT 算法" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts msgid "JWTs signed by certificates configured here can be used to authenticate to the provider." msgstr "此处配置的证书签名的 JWT 可以用于此提供程序的身份验证。" @@ -2880,6 +2891,7 @@ msgstr "正在加载" #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts @@ -3001,6 +3013,10 @@ msgstr "authentik 在后台执行的长时间运行的操作。" msgid "MFA Devices" msgstr "MFA 设备" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Machine-to-Machine authentication settings" +msgstr "" + #: src/flows/stages/authenticator_static/AuthenticatorStaticStage.ts msgid "Make sure to keep these tokens in a safe place." msgstr "确保将这些令牌保存在安全的地方。" @@ -3481,6 +3497,22 @@ msgstr "OAuth 刷新代码" #~ msgid "OAuth/OIDC" #~ msgstr "OAuth/OIDC" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC JWKS" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC JWKS URL" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC Well-known URL" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC well-known configuration URL. Can be used to automatically configure the URLs above." +msgstr "" + #: src/pages/admin-overview/cards/SystemStatusCard.ts msgid "OK" msgstr "好的" @@ -4029,6 +4061,10 @@ msgstr "RSA-SHA384" msgid "RSA-SHA512" msgstr "RSA-SHA512" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "Raw JWKS data." +msgstr "" + #: src/pages/sources/plex/PlexSourceForm.ts msgid "Re-authenticate with plex" msgstr "使用 Plex 重新验证身份" @@ -5601,6 +5637,10 @@ msgstr "暂时的" msgid "Transports" msgstr "传输" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Trusted OIDC Sources" +msgstr "" + #: src/interfaces/locale.ts msgid "Turkish" msgstr "土耳其语" diff --git a/web/src/locales/zh-Hant.po b/web/src/locales/zh-Hant.po index 77d550803..7c773f82d 100644 --- a/web/src/locales/zh-Hant.po +++ b/web/src/locales/zh-Hant.po @@ -1539,6 +1539,11 @@ msgstr "删除 {0}" msgid "Deny the user access" msgstr "拒绝用户访问" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Deprecated. Instead of using this field, configure the JWKS data/URL in Sources." +msgstr "" + #: src/pages/applications/ApplicationForm.ts #: src/pages/property-mappings/PropertyMappingScopeForm.ts #: src/pages/system-tasks/SystemTaskListPage.ts @@ -2437,6 +2442,7 @@ msgstr "隐藏服务账户" #: src/pages/outposts/OutpostForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/saml/SAMLProviderForm.ts #: src/pages/sources/ldap/LDAPSourceForm.ts @@ -2700,9 +2706,14 @@ msgstr "Issuer" msgid "Issuer mode" msgstr "Issuer mode" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "JSON Web Key URL. Keys from the URL will be used to validate JWTs from this source." +msgstr "" + #~ msgid "JWT Algorithm" #~ msgstr "JWT 算法" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts msgid "JWTs signed by certificates configured here can be used to authenticate to the provider." msgstr "此处配置的证书签名的 JWT 可以用于此提供程序的身份验证。" @@ -2884,6 +2895,7 @@ msgstr "正在加载" #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts @@ -3005,6 +3017,10 @@ msgstr "authentik 在后台执行的长时间运行的操作。" msgid "MFA Devices" msgstr "MFA 设备" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Machine-to-Machine authentication settings" +msgstr "" + #: src/flows/stages/authenticator_static/AuthenticatorStaticStage.ts msgid "Make sure to keep these tokens in a safe place." msgstr "确保将这些令牌保存在安全的地方。" @@ -3485,6 +3501,22 @@ msgstr "OAuth 刷新代码" #~ msgid "OAuth/OIDC" #~ msgstr "OAuth/OIDC" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC JWKS" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC JWKS URL" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC Well-known URL" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC well-known configuration URL. Can be used to automatically configure the URLs above." +msgstr "" + #: src/pages/admin-overview/cards/SystemStatusCard.ts msgid "OK" msgstr "OK" @@ -4034,6 +4066,10 @@ msgstr "RSA-SHA384" msgid "RSA-SHA512" msgstr "RSA-SHA512" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "Raw JWKS data." +msgstr "" + #: src/pages/sources/plex/PlexSourceForm.ts msgid "Re-authenticate with plex" msgstr "使用 plex 重新进行身份验证" @@ -5608,6 +5644,10 @@ msgstr "暂时的" msgid "Transports" msgstr "传输" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Trusted OIDC Sources" +msgstr "" + #: src/interfaces/locale.ts msgid "Turkish" msgstr "土耳其语" diff --git a/web/src/locales/zh_TW.po b/web/src/locales/zh_TW.po index 4c5b36e8f..3582d0ccb 100644 --- a/web/src/locales/zh_TW.po +++ b/web/src/locales/zh_TW.po @@ -1539,6 +1539,11 @@ msgstr "删除 {0}" msgid "Deny the user access" msgstr "拒绝用户访问" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Deprecated. Instead of using this field, configure the JWKS data/URL in Sources." +msgstr "" + #: src/pages/applications/ApplicationForm.ts #: src/pages/property-mappings/PropertyMappingScopeForm.ts #: src/pages/system-tasks/SystemTaskListPage.ts @@ -2437,6 +2442,7 @@ msgstr "隐藏服务账户" #: src/pages/outposts/OutpostForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/saml/SAMLProviderForm.ts #: src/pages/sources/ldap/LDAPSourceForm.ts @@ -2700,9 +2706,14 @@ msgstr "Issuer" msgid "Issuer mode" msgstr "Issuer mode" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "JSON Web Key URL. Keys from the URL will be used to validate JWTs from this source." +msgstr "" + #~ msgid "JWT Algorithm" #~ msgstr "JWT 算法" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts msgid "JWTs signed by certificates configured here can be used to authenticate to the provider." msgstr "此处配置的证书签名的 JWT 可以用于此提供程序的身份验证。" @@ -2884,6 +2895,7 @@ msgstr "正在加载" #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/oauth2/OAuth2ProviderForm.ts +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts #: src/pages/providers/proxy/ProxyProviderForm.ts @@ -3005,6 +3017,10 @@ msgstr "authentik 在后台执行的长时间运行的操作。" msgid "MFA Devices" msgstr "MFA 设备" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Machine-to-Machine authentication settings" +msgstr "" + #: src/flows/stages/authenticator_static/AuthenticatorStaticStage.ts msgid "Make sure to keep these tokens in a safe place." msgstr "确保将这些令牌保存在安全的地方。" @@ -3485,6 +3501,22 @@ msgstr "OAuth 刷新代码" #~ msgid "OAuth/OIDC" #~ msgstr "OAuth/OIDC" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC JWKS" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC JWKS URL" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC Well-known URL" +msgstr "" + +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "OIDC well-known configuration URL. Can be used to automatically configure the URLs above." +msgstr "" + #: src/pages/admin-overview/cards/SystemStatusCard.ts msgid "OK" msgstr "OK" @@ -4034,6 +4066,10 @@ msgstr "RSA-SHA384" msgid "RSA-SHA512" msgstr "RSA-SHA512" +#: src/pages/sources/oauth/OAuthSourceForm.ts +msgid "Raw JWKS data." +msgstr "" + #: src/pages/sources/plex/PlexSourceForm.ts msgid "Re-authenticate with plex" msgstr "使用 plex 重新进行身份验证" @@ -5608,6 +5644,10 @@ msgstr "暂时的" msgid "Transports" msgstr "传输" +#: src/pages/providers/oauth2/OAuth2ProviderForm.ts +msgid "Trusted OIDC Sources" +msgstr "" + #: src/interfaces/locale.ts msgid "Turkish" msgstr "土耳其语" diff --git a/web/src/pages/policies/reputation/ReputationListPage.ts b/web/src/pages/policies/reputation/ReputationListPage.ts index df4306fa0..4de9faf21 100644 --- a/web/src/pages/policies/reputation/ReputationListPage.ts +++ b/web/src/pages/policies/reputation/ReputationListPage.ts @@ -1,4 +1,4 @@ -import getUnicodeFlagIcon from "country-flag-icons/unicode/index.js"; +import getUnicodeFlagIcon from "country-flag-icons/unicode"; import { t } from "@lingui/macro";