authentik-automation[bot]
7b9505242e
web: add pretty names for lifecycle review events in event logs (cherry-pick #20264 to version-2026.2) ( #20268 )
...
web: add pretty names for lifecycle review events in event logs (#20264 )
Co-authored-by: Dominic R <dominic@sdko.org >
2026-02-13 18:30:37 +01:00
Alexander Tereshkin
2f2488b326
enterprise/lifecycle: implement Object Lifecycle Management ( #20015 )
...
Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com >
Co-authored-by: Jens L. <jens@beryju.org >
Co-authored-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
Co-authored-by: Dominic R <dominic@sdko.org >
Co-authored-by: Dewi Roberts <dewi@goauthentik.io >
Co-authored-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com >
2026-02-10 18:33:06 +01:00
Jens L.
611b3b72e6
web/admin: fix rendering for configuration_warning event ( #20050 )
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2026-02-05 16:52:05 +01:00
Teffen Ellis
742472c60c
web/admin: Register stage elements. Fix linter warnings ( #19948 )
...
* Register stage elements.
* Clean up warnings.
* Fix duplicate form actions.
* Normalize attribute casing.
* Fix permissions tab nesting.
* Fix ARIA warnings, click handlers on menus.
* Fix clipboard permissions on Safari.
2026-02-03 07:53:35 +00:00
Dominic R
f1089bded8
web: refactor TOTP clipboard handlers and secret parsing ( #19953 )
...
* web: refactor TOTP clipboard handlers and secret parsing
* Clean up duplicate clipboard write functions. Flesh out labels.
* Fix token form ARIA.
* Skip model loading when form is hidden and viewport check is enabled.
- Fixes runtime error after changing forms which modify their own slug, such as tokens.
* Fix types, labels.
---------
Co-authored-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com >
2026-02-03 07:19:21 +01:00
Teffen Ellis
388f4262b5
web: Captcha Refinements, Part 2 ( #19757 )
...
* Move inline styles into separate file.
* Fix preferred order of captcha vendor discovery.
* Clean up mutation and resize observer lifecycle.
* Flesh out controllers.
* Tidy refresh.
* Fix incompatibilities with Storybook.
* Flesh out captcha stories.
* Bump package.
* Flesh out stories.
* Move inline styles into separate file.
* Fix preferred order of captcha vendor discovery.
* Clean up mutation and resize observer lifecycle.
* Flesh out controllers.
* Tidy refresh.
* Remove unused.
* Bump package.
2026-01-30 16:18:24 +01:00
Teffen Ellis
299dde1915
web: Fix development theme overrides ( #19826 )
...
web: Fix development theme overrides.
2026-01-30 01:52:22 +01:00
Teffen Ellis
6d18f91a6c
web: Session UI Config Lifecycle ( #19788 )
2026-01-28 18:52:39 +01:00
Dominic R
33594c9cb4
admin/files: add centralized theme variable support for file URLs ( #19657 )
...
* Revert "admin/files: support %(theme)s variable in media file paths (#19108 )"
This reverts commit 1a963d27c8 .
* admin/files: add centralized theme variable support for file URLs
Overview:
Adds support for `%(theme)s` placeholder in file paths, which allows theme-specific assets (like logos, backgrounds, icons) to be served based on the user's current theme (light/dark).
This replaces the previous implementation (reverted in this PR) which only handled theme substitution in the Go file backend and instead uses the new approach which centralizes theme logic and works across both backends.
Testing:
Try out the following for the file and s3 backend:
* Ensure themed images load
* Ensure non-themed images load
Motivation:
Internal
* brands: fix tests
* admin/files: s3 backend: fix tests
.xyz is a known MIME type for chemical/molecular structure files
* admin/files: api: fix tests
* core: fix tests
* admin/files: manager: fix tests
* admin/files: Support themed urls for passthrough backend
* admin/files: Create and use ThemedUrlsSerializer
* root: Regenerate
* core: Add read_only=True since it's a computed field from the model
* root: Regenerate
* web: Use the ThemedUrlsSerializer
* web, core: Fix frontend build
* core: Lint
* admin/files: Fix tests following CodeQL
* flows, providers: fix tests
2026-01-27 08:09:42 -05:00
Jens L.
9a806f7e49
enterprise/audit: Expanded Diff ( #19726 )
...
* add cleanup for tests
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* make .get classmethod
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add flag to include more data
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add UI
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix flag tests
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2026-01-26 14:30:37 +01:00
Jens L.
20bd928cfc
web/common: add dev middleware to show warnings for consecutive identical requests ( #19671 )
...
* web/common: add dev middleware to show warnings for consecutive identical requests
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* clear requests list on hashchange
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* Tidy behavior. Add tracing.
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
Co-authored-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com >
2026-01-23 01:50:05 +01:00
Teffen Ellis
9290e55aa7
web: Reduce Sentry Development Errors ( #19504 )
2026-01-21 20:59:12 +01:00
Dominic R
66d6d88ae7
web/forms: fix forms not resetting state when modal closes ( #19562 )
...
* web/forms: fix forms not resetting state when modal closes
Overview:
Forms were not properly resetting their state when closing modals, which caused stale values to persist when reopening forms. This affected all forms with @state() decorated properties.
Testing:
1. Create any item (user, token, application, etc.), close modal
2. Click Create again, form should show default/empty values
3. Edit an item, cancel, click Create - form should be empty
4. Edit an item, cancel, edit same item - should show correct data
Motivation:
Form inputs retained values from previous create/edit operations.
* Fix linter errors, types.
* Add property accessors, types.
---------
Co-authored-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com >
2026-01-21 07:15:14 +01:00
Teffen Ellis
c2db63a60f
web: UI Locale Fixes ( #19235 )
...
* Add fallback weights to accept language header.
* Fix context cache lifecycle, compatibility.
* Fix stale locale on API provided values.
* Update locale after changing user settings.
* Remove legacy XLF files.
* Apply suggestion from @BeryJu
Signed-off-by: Jens L. <jens@beryju.org >
---------
Signed-off-by: Jens L. <jens@beryju.org >
Co-authored-by: Jens L. <jens@goauthentik.io >
2026-01-13 18:56:28 +01:00
Teffen Ellis
d949564cc6
web: Images styles, theming ( #19233 )
...
* Fix referencing of theme directly from element, rather than the root.
* Fix low-resolution icon scaling.
2026-01-12 14:33:07 -05:00
Teffen Ellis
2c813cbe03
web: Merge branch -- Stale notifications, synchronized context objects, rendering fixes ( #19141 )
...
* web: Fix stale notifications.
* Fix overlap of API and notifications drawers.
* Fix issues surrounding duplicate context controller values.
* Clean up drawer events, alignment.
* Export parts. Fix z-index, colors.
* Fix formatting, alignment. repeated renders.
* Fix indent.
* Fix progress bar fade out, positioning, labels.
* Fix clickable area.
* Ignore clickable icons.
* Clean up logging.
* Fix width.
* Move event listeners into decorator.
* Fix double counting of notifications.
* Fix ARIA lables.
* Fix empty state ARIA.
* Fix order of locale updating.
* Fix rebase.
* web: fix notification count update
* Update selector.
* web: Fix CAPTCHA locale.
* Clean up logging.
---------
Co-authored-by: macmoritz <tratarmoritz@gmail.com >
2026-01-05 15:54:50 -05:00
Teffen Ellis
7085743cac
web: Token Form Fixes ( #19121 )
...
* Fix autofocus attribute.
* web: Fix label alignment, focus handlers, edit states.
* Tidy date functions.
* Use Dates over strings.
2026-01-01 19:03:57 -05:00
Dominic R
d5869674b7
web: Fix stale flow background ( #19015 )
2025-12-29 17:30:12 +00:00
Teffen Ellis
342d9eb726
web: Locale selector UI fixes ( #18972 )
...
* Fix alignment, focus.
* Clean up.
* Tidy click area.
* Fix compatibility mode.
* Fix alignment.
* Fix issues surrounding labels, alignment, consistency.
* Update web/src/common/ui/locale/format.ts
Signed-off-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com >
* Tidy hover states.
* Tidy.
* Clean up parsing.
* Tidy comments, usage.
* Always use script naming over region.
* Remove unused.
* Spacing.
---------
Signed-off-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com >
2025-12-23 18:40:02 +00:00
Jens L.
162e05ff9d
events: notifications live update ( #18980 )
...
* this has been broken for a while but no one noticed...? cc @rissson
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* send WS broadcast for new notifications
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add tests
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* better layout
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix e2e tests
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2025-12-21 23:02:56 +01:00
Ken Sternberg
1143de97d0
web/maintenance: no unknown tag names ( #18944 )
...
* web: Add InvalidationFlow to Radius Provider dialogues
## What
- Bugfix: adds the InvalidationFlow to the Radius Provider dialogues
- Repairs: `{"invalidation_flow":["This field is required."]}` message, which was *not* propagated
to the Notification.
- Nitpick: Pretties `?foo=${true}` expressions: `s/\?([^=]+)=\$\{true\}/\1/`
## Note
Yes, I know I'm going to have to do more magic when we harmonize the forms, and no, I didn't add the
Property Mappings to the wizard, and yes, I know I'm going to have pain with the *new* version of
the wizard. But this is a serious bug; you can't make Radius servers with *either* of the current
dialogues at the moment.
* This (temporary) change is needed to prevent the unit tests from failing.
\# What
\# Why
\# How
\# Designs
\# Test Steps
\# Other Notes
* Revert "This (temporary) change is needed to prevent the unit tests from failing."
This reverts commit dddde09be5 .
* website: fix bad escaping of URLs in release notes
## What
Fixes bad escaping of URLs in the release notes that resulted in mangled output.
v2024.6.4 had entries that looked like this:
```
##### `GET` /providers/google_workspace/{#123;id}#125;/
```
v2025.4.md had entries that looked like this:
```
##### `GET` /policies/unique_password/{#125;#123;policy_uuid}/
```
A couple of straightforward search-and-replaces has fixed the issue.
## Notes
Two of the release notes had bad escaping of URLs. I'm not sure how the error was made or got past,
but it was obvious when visiting the page.
@Beryju suggested that the bug is due to our using `{...}` to symbolize parameters in a URL while
Docusaurus wants to interpret `{...}` as an internal template instruction, resulting in odd
behavior. In either case, docusarus interpreted the hashtagged entries as links to unrelated issues
in Github (the same two issues, which were "bump version of pylint" and "bump version of sentry"),
which could be very confusing.
The inconsistencies between the two releases, and the working releases, suggests that the error was
introduced manually.
* web/maintenance: lint pass to fix broken or unrecognized tag names
# What
This code removes two places in the code that referenced obsolete tag names.
In AkWizardFormPage, the case was a tag that was defined but never used. It, in turn, referenced a tag that did not exist.
In AkApplicationWizard’s ProviderChoices, we referenced eight custom components that did not exist and were never defined anywhere in the code. The references to `renderers` were obsolete; despite being defined they were never used. (This lack of use was covered up by lots of `export`s discarding Typescript’s check against unused field.)
- [x] The code has been formatted
# Why
- WizardFormPage references ‘ak-wizard-form’, which does not exist
- No other component imports, inherits, or extends WizardFormPage. It only exists by itself.
``` shell
$ rg 'WizardFormPage'
src/elements/wizard/WizardFormPage.ts
39:export class WizardFormPage extends WizardPage {
```
- The objects referenced here in these renderers do not exist.
- Without them, the priority ordering code becomes much simpler
- No LocalTypeCreate calls are needed; just use the default API TypeCreate types now
<!-- -->
./src/admin/applications/wizard/steps/ProviderChoices.ts
Unknown tag <ak-application-wizard-authentication-by-oauth>. Did you mean <ak-application-wizard-application-step>?
19: html`<ak-application-wizard-authentication-by-oauth></ak-appl
no-unknown-tag-name
Unknown tag <ak-application-wizard-authentication-by-saml-configuration>. Did you mean <ak-application-wizard-application-step>?
24: html`<ak-application-wizard-authentication-by-saml-configuration></ak-appl
no-unknown-tag-name
* A better way to prioritise, without losing the original script.
* further streamlining the priority order.
* Making it harder to add bad provider models to the application wizard.
* Prettier has opinions.
* Adding these to the tagname maps so lit-analyze can validate their uses.
* Made testing for valid returns from the server generic. Suggestion from @GirlBossRush
2025-12-19 08:20:33 -08:00
Teffen Ellis
17489fa695
web: Fix background refreshing too frequently. ( #18764 )
2025-12-12 13:34:20 -05:00
Marcelo Elizeche Landó
15b93a5e9d
stages/identification: Add WebAuthn conditional UI (passkey autofill) support ( #18377 )
...
* add passkey_login to identification stage
* handle passkey auth in identification stage
* Add passkey settings in identification stage in the admin UI
* Add UI changes for basic passkey conditional login
* Fix linting
* rework
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* update tests
* update admin form
* allow passing stage to validate_challenge_webauthn
* update flows/tests/test_inspector.py
* update for new field
* Fix linting
* update go solvers for identification challenge
* Refactor tests
* Skip mfa validation if user already authenticated via passkey at identification stage
* Add skip_if_passkey_authenticated option to authenticator validate stage and UI
* Add e2e test for passkey login conditional ui
* add policy
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* Remove skip_if_passkey_authenticated
* fix blueprint
* Set backend so password stage policy knows user is already authenticated
* Set backend so password stage policy knows user is already authenticated
* fix linting
* slight tweaks
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* simplify e2e test
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
Signed-off-by: Marcelo Elizeche Landó <marcelo@goauthentik.io >
Co-authored-by: Jens Langhammer <jens@goauthentik.io >
2025-12-11 11:49:05 -03:00
Teffen Ellis
2a2da34eab
web: Locale selector ( #18560 )
...
* web: Locale selector
* Fix label, hover state.
* Persist locale to session. Fix stale render. Update middleware.
* Fix background color.
2025-12-10 15:51:17 -05:00
Alexander Tereshkin
7e9e0a87f7
enterprise/reports: add users and events export ( #18088 )
...
* enterprise: add users and events export (reports app)
* enterprise/reports: replace assert with AsertionError so that the assumption check is not lost when compiling to optimised byte code
* enterprise/reports: use ConditionalInheritance with ExportMixin to make reduce coupling of enterprise with the rest of authentik
* enterprise/reports: use custom iterative File to save data export instead of accessing default_storage directly, so all the FileField.save logic can run correctly (e.g. creating directories)
* enterprise/reports: change app label to simply "authentik_reports"
* wip
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
* update for new file api
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
* lint
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
* Apply suggestions from code review
Signed-off-by: Dominic R <dominic@sdko.org >
* wip
* sources/oauth: save returned oauth refresh tokens and add slack provider (#18501 )
* sources/oauth: save returned oauth refresh tokens
* Update authentik/sources/oauth/models.py
Co-authored-by: Jens L. <jens@goauthentik.io >
Signed-off-by: Connor Peshek <connor@connorpeshek.me >
* lint
* add tests
* fix proper id setting
* update id test
---------
Signed-off-by: Connor Peshek <connor@connorpeshek.me >
Co-authored-by: connor peshek <connorpeshek@unknown1641287c8f5d.attlocal.net >
Co-authored-by: Jens L. <jens@goauthentik.io >
Co-authored-by: connor peshek <connorpeshek@connors-MacBook-Pro.local >
* core: custom avatar url improvements (#10525 )
Co-authored-by: Dominic R <dominic@sdko.org >
* website/integrations: add salesforce (#18516 )
Co-authored-by: connor peshek <connorpeshek@connors-MacBook-Pro.local >
Co-authored-by: dewi-tik <dewi@goauthentik.io >
Co-authored-by: Dominic R <dominic@sdko.org >
* endpoints: implement endpoint stage (#18468 )
* endpoints: implement endpoint stage
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* format
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix mismatched label
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix url in mdm config
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* rephrase
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* and API & UI
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add deprecated support and deprecate gdtc
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add stage mode
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fixup
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* rework stage slightly, add frontend
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* include jwks, add iat and exp
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix tests
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* set kid
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* include device details in event list
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* format
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* implement device summary
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add remaining tables
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* revert sanitize
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix uuid format issues
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* web/flows: update default background image (#18540 )
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* website/integrations: add hoop.dev (#17868 )
Co-authored-by: iops <iops@syneforge.com >
Co-authored-by: Dominic R <dominic@sdko.org >
* website: Docusaurus 3.9.2 (#18506 )
* endpoints/stage: v2, better error handling, more settings (#18545 )
* add options, idle fallback
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* delete other device tokens during enroll
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* better error handling
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* website: Glossary (#16007 )
* website: Glossary
fix minor issues
wip
Apply suggestion from @dominic-r
Signed-off-by: Dominic R <dominic@sdko.org >
anchor to param
wip
wip
at least the lockfile changes now
sure
a-z first as tana asked
idk why i switched in the first place
wip
wip
lock
lockfiles are hard
wip
please work
no have?
Revert "no have?"
This reverts commit 743dbc1bc2900eedcc2c93af248e6afdec3688a3.
* changed to sentence-case capitalization
---------
Co-authored-by: Tana M Berry <tana@goauthentik.io >
* web/i18n: Locale Context Merge Branch (#18426 )
* web: Update fonts to Patternfly 5 variants.
* Fix order of heading override.
* web: Flesh out locale context.
* Fix Han pattern.
* Remove comment.
* Add additional regional codes.
* Clarify comment.
* Fix typos.
* web/i18n: Add locale-specific font overrides.
* Fix stale session in locale lifecycle.
* core, web: Fix Han language codes.
* Fix warnings about invalid BCP language code.
* Build translations.
* Add locale relative labels.
* Add locale translations for Finnish and Portuguese.
* Fix XLIFF errors.
* Clean up labels.
* Tidy regions.
* Match region comment.
* Update extracted values.
* Fix locale switch not triggering on source language.
* Split labels.
* Clean up labels.
* providers/scim: cache ServiceProviderConfig (#18047 )
* Update authentik/enterprise/reports/api/reports.py
Co-authored-by: Jens L. <jens@beryju.org >
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com >
* enterprise/reports: got rid of unnecessary method-level import
* enterprise/reports: celan up code duplication in data export generation (invoke viewset.filter_queryset directly instead of replicating it)
* enterprise/reports: add check for app label when switching on content types
* enterprise/reports: make hyperlink field on Notification larger so it can fit the security token in the export file URL
* enterprise/reports: add is_superuser back in users export
* enterprise/reports: split tests into multiple files
* Apply suggestions from code review
Signed-off-by: Dewi Roberts <dewi@goauthentik.io >
* Fixed prettier issue
* Update web/src/admin/events/DataExportListPage.ts
Co-authored-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com >
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com >
* Update web/src/admin/events/DataExportListPage.ts
Co-authored-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com >
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com >
* Update web/src/admin/events/EventListPage.ts
Co-authored-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com >
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com >
* Update web/src/admin/reports/ExportButton.ts
Co-authored-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com >
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com >
* Update web/src/admin/reports/ExportButton.ts
Co-authored-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com >
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com >
* Update web/src/admin/users/UserListPage.ts
Co-authored-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com >
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com >
* Update web/src/elements/notifications/NotificationDrawer.ts
Co-authored-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com >
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com >
* Update web/src/elements/sidebar/SidebarItem.css
Co-authored-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com >
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com >
* enterprise/reports: resolve code review merge errors
* enterprise/reports: remove the export button from the dom flow (by settings display:none) when there's no license
* enterprise/reports: improve docs
* include notification link in email
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* format
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* enterprise/reports: remove assignment assertion in ExportButton.ts
* cleanup tests after perm update
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
Signed-off-by: Dominic R <dominic@sdko.org >
Signed-off-by: Connor Peshek <connor@connorpeshek.me >
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
Signed-off-by: Alexander Tereshkin <96586+atereshkin@users.noreply.github.com >
Signed-off-by: Dewi Roberts <dewi@goauthentik.io >
Co-authored-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
Co-authored-by: Dominic R <dominic@sdko.org >
Co-authored-by: Connor Peshek <connor@connorpeshek.me >
Co-authored-by: connor peshek <connorpeshek@unknown1641287c8f5d.attlocal.net >
Co-authored-by: Jens L. <jens@goauthentik.io >
Co-authored-by: connor peshek <connorpeshek@connors-MacBook-Pro.local >
Co-authored-by: Konrad Mösch <konrad@moesch.org >
Co-authored-by: dewi-tik <dewi@goauthentik.io >
Co-authored-by: shcherbak <ju.shcherbak@gmail.com >
Co-authored-by: iops <iops@syneforge.com >
Co-authored-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com >
Co-authored-by: Tana M Berry <tana@goauthentik.io >
Co-authored-by: Jens L. <jens@beryju.org >
2025-12-09 09:35:41 -05:00
Simonyi Gergő
f7e23295ed
core: add digraph group hierarchy ( #17050 )
...
* move imports
* core: add digraph group hierarchy
* move to permissions from Group or User to Role
* set group parents on frontend
* do not serialize `GroupParentageNode` directly
* core: enforce unique group name on database level
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* use group parents in LDAP provider
* add user-role relationship control to frontend
* move materialized view to be more discoverable
* add guardian to mypy exceptions
* make `Role` a `ManagedModel`
* fixup! make `Role` a `ManagedModel`
* simplify `get_objects_for_user`
* fix flaky unit test
* rename `django-guardian` fork to `ak-guardian`
* add tests around users/groups/roles
* remove unused guardian config variable
* simplify guardian file structure
* clean up frontend
* initial docs
* remove `mode` from `InitialPermissions`
This is no longer needed, since users no longer directly have permissions.
* fixup! Merge branch 'main' into core/add-digraph-group-hierarchy
* clean up docs for managing permissions
* addendums from docs review
* fixup! Merge branch 'main' into core/add-digraph-group-hierarchy
* tweaks
* dewi and tana edits to docs
* tweak
* truly final tweaks, for now
* relabel Role Permissions table
* clarify button label
* fixup! Merge branch 'main' into core/add-digraph-group-hierarchy
* fixup! Merge branch 'main' into core/add-digraph-group-hierarchy
* merge migrations
* fixup! Merge branch 'main' into core/add-digraph-group-hierarchy
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
Co-authored-by: Jens Langhammer <jens@goauthentik.io >
Co-authored-by: Tana M Berry <tana@goauthentik.io >
2025-12-08 12:04:04 +01:00
Jens L.
475ab76a5e
endpoints: fix UI bugs, add user binding, etc ( #18609 )
...
* fix serializer for device user binding
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix missing import
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* don't expire enrollment tokens by default
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* slightly better config modal error handling
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add ability to bind to device
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add text when authenticating to device
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* prevent error when no authz flow is set
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add device to token log
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* address comments
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* rework config
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix expiring default
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* don't require page refresh for enrollment token to show up
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* make config
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix tests
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2025-12-08 01:13:29 +01:00
dependabot[bot]
8e87585fce
web: Bump types, fix ESLint errors ( #17546 )
...
* Fix config.
* Fix linter.
* Fix ts ignore comments.
* Fix empty functions
* Fix unnamed functions.
* Fix unused parameters.
* Fix define before use.
* Remove unused.
* Replace esbuild-copy-plugin with `fs` module.
---------
Co-authored-by: Teffen Ellis <teffen@goauthentik.io >
2025-12-06 20:21:29 +00:00
Jens L.
31186baf25
flows: refresh unauthenticated tabs ( #18621 )
...
* flows: implement signaling
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add flag
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* better flag configuration
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* format
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* Update web/src/flow/FlowExecutor.ts
Co-authored-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com >
Signed-off-by: Jens L. <jens@beryju.org >
* format
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
Signed-off-by: Jens L. <jens@beryju.org >
Co-authored-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com >
2025-12-05 16:03:16 +01:00
Teffen Ellis
fe7a8894d3
web/i18n: Locale Context Merge Branch ( #18426 )
...
* web: Update fonts to Patternfly 5 variants.
* Fix order of heading override.
* web: Flesh out locale context.
* Fix Han pattern.
* Remove comment.
* Add additional regional codes.
* Clarify comment.
* Fix typos.
* web/i18n: Add locale-specific font overrides.
* Fix stale session in locale lifecycle.
* core, web: Fix Han language codes.
* Fix warnings about invalid BCP language code.
* Build translations.
* Add locale relative labels.
* Add locale translations for Finnish and Portuguese.
* Fix XLIFF errors.
* Clean up labels.
* Tidy regions.
* Match region comment.
* Update extracted values.
* Fix locale switch not triggering on source language.
* Split labels.
* Clean up labels.
2025-12-03 06:30:07 +00:00
Jens L.
5ccd66ddca
endpoints: implement endpoint stage ( #18468 )
...
* endpoints: implement endpoint stage
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* format
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix mismatched label
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix url in mdm config
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* rephrase
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* and API & UI
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add deprecated support and deprecate gdtc
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add stage mode
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fixup
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* rework stage slightly, add frontend
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* include jwks, add iat and exp
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix tests
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* set kid
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* include device details in event list
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* format
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* implement device summary
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add remaining tables
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* revert sanitize
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix uuid format issues
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2025-12-02 19:19:14 +01:00
Teffen Ellis
a8e765257e
web: Update Deprecated NPM Packages ( #18335 )
...
* core: Bump packages.
* Bump Live Reload dependencies.
* Bump tsconfig.
* Bum ESLint config deps. Fix formatting.
* Bump Prettier deps. Fix ESlint config.
* Bump live reload deps. Fix linter.
* Bump website deps.
* web: Update dependencies. Fix Playwright issues.
* Fix deprecations.
* Fix linter warnings.
* Fix override, run audit.
* Fix import path.
* Tidy types.
* Format.
* Update ignore patterns.
* Fix import path.
* Update deps. Clean up workspace linting.
* Update deps, options.
* Hide icons in navbar.
* Format.
* Remove deprecated option.
* Use relative packages.
* Add scripts. Tidy.
* Bump engines.
* Clarify order.
* Clarify order. Install base deps.
* Format.
* Fix stale user during tests.
* Fix runtime errors.
* Fix redirect during tests, UI change.
* web: Fix danger button hover background color.
* web: Adjust colors, padding.
* web: Fix sidebar colors, padding.
* Fix alignment.
* Fix background contrast.
2025-11-24 13:31:42 -05:00
Teffen Ellis
7bb593da22
web: Lit Session Context ( #17903 )
...
web: Flesh out client-side session context.
2025-11-13 02:15:32 +00:00
Teffen Ellis
e426f88401
web: Fix application of global styles in style roots. ( #17444 )
...
* web: Separate global styles from element roots.
* web: Flesh out style strategy plugin, fixes for imported styles.
* web: Clean up applying of dark theme.
web: unminify.
* web: Fix alignment, rendering on high contrast.
web: Apply footer resize.
web: Fix application of global styles in style roots.
web: Fix missing layout attribute.
web: Normalize background alignment.
web: Fix layout issues, color overrides.
web: Fix alignment, colors, jank.
web: Separate method into function.
web: Clean up alignment, reflow.
web: Fix colors, compatibility mode.
web: Add content left/right support.
web: Fix colors, compatibility mode overrides.
* Fix issue where missing config throws runtime error.
* web: Refactor.
* Update tests.
* web: Fix Storybook imports.
* Fix order of theme application.
* web: Fix storybook asset paths.
* web: Flesh out tests surrounding source buttons, fix alignment,
contrast.
* Update tests, clarify errors.
* Update test selectors, assertions.
* Clarify redirect handling.
* Adjust user check.
* Update logs.
* web: Fix selector timing.
* Fix alignment.
* Fix selectors, timing.
* Log current URL content.
* Refine shadow selector, add delay.
* Replace IDs with named elements.
* Fix overlay color.
* Fix footer padding.
* Fix contrast.
* Add selectable name to button.
* Fix alignment, mobile layout.
* web: Spread exported parts to stages.
* Fix z-index order.
* Tidy colors, behaviors, layout.
* Fix overflow scroll.
* Clean up duplicate color styles.
* Clarify selector order. Fix overrides, color contrast.
* Attempt to read JSON multiple times.
* Clarify error.
* web: Fix timeouts, URL changes.
* web: Fix disabled styles.
* Fix color flip.
* Fix selector.
* Fix issue where hidden tables will alter test URLs.
* Use DOM to look for connection, rather than API. Update selectors.
* Immediately navigate to tab.
* Upgrade Dex.
* Ensure Dex redirects.
* Use same host during tests.
* web: Update package-lock.json
* Add delay.
2025-11-11 15:49:00 -05:00
Teffen Ellis
efc8822469
web: Make Spotlight optional. ( #17904 )
...
Co-authored-by: Jens Langhammer <jens@goauthentik.io >
2025-11-11 12:37:50 +01:00
Teffen Ellis
42b96e82bb
web/a11y: User library -- fix issues surrounding element focus, ARIA labeling. ( #17522 )
...
* web/a11y: Fix issues surrounding element focus, aria labeling.
* web: Fix focus
* web: Fix nested focus
* web: Fix menu visibility when anchor positioning is not supported.
* web: Fix icon fallback behavior, labels.
* web: Fix flickering, descriptions.
* web: Fix excess width on mobile.
* web: Fix rendering artifacts on mobile.
* web: Remove aria-controls behavior.
- This is buggy, similar to aria-owns, and may cause crashes.
* web: Fix tabpanel focus attempting to scroll page.
* web: Fix issues surrounding consistent tab panel parameter testing.
* web: add shared helpers.
* web: Tidy comments.
2025-10-29 13:59:27 -04:00
Teffen Ellis
0237ec2723
web/a11y: Prefers more field contrast ( #17279 )
...
* web/a11y: Prefers more field contrast
* web: Fix issue where Lit Analyzer cannot parse newer CSS.
* web: Remove commented out code.
* web: Move styles into separate files, remove Lit Analyzer warnings.
* web: Fix nested pointer event detection.
* web: Fix contrast ratios, alignment, placeholders.
2025-10-28 01:12:37 -04:00
Teffen Ellis
06fcbfd5af
web: Fix table row click handler. ( #17697 )
2025-10-24 19:26:42 +00:00
Jens L.
056e4ca7c4
web/flow: small layout fixes ( #17551 )
...
* web: Fix colors, compatibility mode overrides.
* web: Fix alignment, rendering on high contrast.
* web: Apply footer resize.
---------
Co-authored-by: Teffen Ellis <teffen@goauthentik.io >
2025-10-20 16:47:54 +02:00
dependabot[bot]
a1269ac5d1
web: bump typescript from 5.8.3 to 5.9.3 in /web ( #17168 )
...
* web: bump typescript from 5.8.3 to 5.9.3 in /web
Bumps [typescript](https://github.com/microsoft/TypeScript ) from 5.8.3 to 5.9.3.
- [Release notes](https://github.com/microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml )
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.8.3...v5.9.3 )
---
updated-dependencies:
- dependency-name: typescript
dependency-version: 5.9.3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix up ish
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* web: Fix typing.
* web: assign array type.
---------
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jens Langhammer <jens@goauthentik.io >
Co-authored-by: Teffen Ellis <teffen@goauthentik.io >
2025-10-16 19:43:48 -04:00
Teffen Ellis
472b7c6626
web: User library UI fixes ( #17376 )
...
* web: Remove duplicate styles.
* web: Touch up contrast.
* web: Shrink searchbar.
* web: Flesh out library fixes.
* web: Refine layout.
* web: Touch up multi column.
* web: Fix header alignment.
* web: Fix up search behavior.
* web: Fix alignment with multiple columns.
* web: Wrap styles.
* web: Remove color override.
- note: I think this is deprecated.
* Fix up menu styles.
* web: Revert expansion component changes.
* web: rename.
* web: use row as default.
* web: Remove unused.
* web: Fix icon sizing.
* web: Fix sizing.
* slightly bigger cards
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix rac alignment
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* ok a bit bigger
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* web: Adjust border.
* web: Fix properties.
* tweaks
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* web: Fix multi-line alignment.
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
Co-authored-by: Jens Langhammer <jens@goauthentik.io >
2025-10-13 17:14:01 +02:00
Teffen Ellis
cf16079d0f
web: Minimal mobile flow, revisions ( #17310 )
...
* web: Fix colors, labels, resizing.
* web: Fix missing monospace font.
2025-10-08 01:50:36 +00:00
Teffen Ellis
091b10ddc4
web: Minimal mobile flow ( #17280 )
...
* web: Flesh out minimal mobile layout.
* web: Clean up contrast.
* web: Tidy classes. Add part selectors.
2025-10-07 20:25:06 +00:00
Teffen Ellis
f1d92bc4d4
web: Responsive toolbar flow ( #17278 )
...
* web: Allow toolbars to overflow.
* web: Fix table toolbar wrapping.
* web: Remove extra space.
* web: Use consistent padding.
2025-10-07 14:42:03 +02:00
Teffen Ellis
90d5cf2836
web/a11y: Flow Stages ( #17273 )
...
* web/a11y: Flow cards.
* web: Fix preferred contrast.
* web: Tidy labels, border.
* web: Fix compatibility mode selectors.
2025-10-06 19:02:07 -04:00
Teffen Ellis
88402e3d13
web/a11y: Flow inspector. ( #17271 )
...
* web/a11y: Flow inspector.
* web: Flesh out fieldset contrast colors.
* web: Fix card ARIA.
* web: Fix alignment, ARIA tree.
* web: Fix contrast. Tidy.
2025-10-06 17:03:33 -04:00
Teffen Ellis
d25f140be3
web/a11y: Accessible scrollbars. ( #17253 )
2025-10-06 17:58:52 +02:00
Teffen Ellis
f412079fcb
web: Flow fixes -- Captchas, form states, compatibility mode. ( #17226 )
...
* web: Fix text color priority.
* web: Fix centering/width in compatibility mode.
* web: Fix avatar and username alignment in compatibility mode.
* web: Invalidate captcha after submission failure.
* web: Fix grid column size. Add ARIA labels to flow executors.
* web: Fix horizontal tab alignment on pages without vertical tabs.
2025-10-04 01:33:06 +02:00
Teffen Ellis
5cdc5e8d2b
web: Fix tab theme consistency, table overflow. ( #17222 )
2025-10-03 01:25:29 +02:00
Teffen Ellis
2e8a1d80a3
web: Fix numeric values in search select inputs, search input fixes ( #16928 )
...
* web: Fix numeric values in search select inputs.
* web: Fix ARIA attributes on menu items.
* web: Fix issues surrounding nested modal actions, selectors, labels.
* web: Prepare group forms for testing, ARIA, etc.
* web: Clarify when spinner buttons are busy.
* web: Fix dark theme toggle input visibility.
* web: Fix issue where tests complete before optional search inputs load.
* web: Add user creation tests, group creation. Flesh out fixtures.
2025-10-02 03:04:38 +00:00