Jens Langhammer
|
11334cf638
|
web: re-cleanup imports not being absolute
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-09-06 19:02:40 +02:00 |
|
Jens Langhammer
|
417156d659
|
web/elements: fix automatic slug not working on newly opened forms
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-08-18 19:36:56 +02:00 |
|
Jens L
|
504338ea66
|
web/admin: application wizard (part 1) (#2745)
* initial
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* remove log
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* start oauth
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* use form for all type wizard pages
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* more oauth
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* basic wizard actions
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* make resets work
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* add hint in provider wizard
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* render correct icon in empty state in table page
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* improve empty state
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* more
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* add more pages
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* fix
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* add group PK to service account creation response
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* use wizard-level isValid prop
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* re-add old buttons
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-06-26 00:46:40 +02:00 |
|
Jens L
|
a8c04f96d2
|
web: use absolute imports with path rewrite instead of relative imports (#3149)
|
2022-06-25 17:44:17 +02:00 |
|
Jens L
|
1c62a3db6e
|
core: user paths (#3085)
* init
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* add user_path_template
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* add to sources and flow
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* add outposts & api
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* dark theme for treeview
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* add search
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* add docs and tests for validation
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* add to user write stage
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* add web ui
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: improve error handling
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-06-15 12:12:26 +02:00 |
|
Jens Langhammer
|
d25a051eae
|
web/elements: fix used_by refreshing for all elements when using DeleteBulkForm
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-05-24 22:12:35 +02:00 |
|
Jens L
|
508cec2fd5
|
web: migrate dropdowns to wizards (#2633)
* web/admin: add basic wizards for providers
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: add dark mode for wizard
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/admin: migrate policies to wizard
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* start source
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* policies: sanitze_dict when returning log messages during tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* Revert "web/admin: migrate policies to wizard"
This reverts commit d8b7f62d3e .
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
# Conflicts:
# web/src/locales/zh-Hans.po
# web/src/locales/zh-Hant.po
# web/src/locales/zh_TW.po
* web: rewrite wizard to be element based
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* further cleanup
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* update sources
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: migrate property mappings
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* migrate stages
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* migrate misc dropdowns
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* migrate outpost integrations
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-04-02 19:48:17 +02:00 |
|
Jens Langhammer
|
3184a64482
|
web: live-convert to slug in fields where only slugs are allowed
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-03-26 18:49:08 +01:00 |
|
Jens Langhammer
|
abc73deda0
|
web/elements: fix error with blank SearchSelect elements in forms
closes #2469
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-03-11 20:36:54 +01:00 |
|
Jens L
|
4f4f954693
|
core: customisable user settings (#2397)
* tenants: add user_settings flow, add basic flow and basic new executor
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/user: use flow PromptStage instead of custom stage
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/flows: add tenant to StageHost interface
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/user: fix form missing component
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/user: re-add success message
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/user: improve support for multiple error messages
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* stages/prompt: allow expressions in prompt placeholders
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* stages/prompt: add tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* flows: always set pending user
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* flows: never cache stage configuration flow plans
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* stages/user_write: fix error when pending user is anonymous user
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/admin: add checkbox for prompt placeholder expression
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* website/docs: add prompt expression docs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* stages/prompt: add ak-locale field type
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* tenants: fix default policy
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/user: add function to do global refresh
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/flows: fix rendering of ak-locale
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* tenants: fix default policy, add error handling to placeholder, fix locale attribute
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* add tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-03-03 00:13:06 +01:00 |
|
Jens Langhammer
|
fb60cefb72
|
web/flows: fix rendering of help text on prompt stages
closes #2310
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-02-26 17:56:08 +01:00 |
|
Jens Langhammer
|
61f7db314a
|
web/admin: use searchable select field for users and groups in policy binding form
closes #2285
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-02-26 17:49:04 +01:00 |
|
Jens Langhammer
|
f246da6b73
|
outposts/proxy: fix error checking for type assertion
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-26 14:57:32 +01:00 |
|
Jens Langhammer
|
4a56b5e827
|
web: fix background for modals on light theme
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-26 14:53:23 +01:00 |
|
Jens Langhammer
|
f93f7e635b
|
web: fix styling for modals, ensure correct classes are used
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-25 20:30:35 +01:00 |
|
Jens Langhammer
|
c77f804b77
|
web/user: fix user details not rendering when loading to a different user settings tab and then switching
closes #1664
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-22 20:13:52 +01:00 |
|
Jens Langhammer
|
7b8cde17e6
|
web/admin: show warning when deleting currently logged in user
closes #1937
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-15 10:11:35 +01:00 |
|
Jens Langhammer
|
e587c53e18
|
web: remove deprecated rollup-plugin-node-resolve
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-04 22:34:48 +01:00 |
|
dependabot[bot]
|
73733b20b6
|
build(deps): bump @trivago/prettier-plugin-sort-imports from 2.0.4 to 3.0.0 in /web (#1684)
* build(deps): bump @trivago/prettier-plugin-sort-imports in /web
Bumps [@trivago/prettier-plugin-sort-imports](https://github.com/trivago/prettier-plugin-sort-imports) from 2.0.4 to 3.0.0.
- [Release notes](https://github.com/trivago/prettier-plugin-sort-imports/releases)
- [Changelog](https://github.com/trivago/prettier-plugin-sort-imports/blob/master/CHANGELOG.md)
- [Commits](https://github.com/trivago/prettier-plugin-sort-imports/commits)
---
updated-dependencies:
- dependency-name: "@trivago/prettier-plugin-sort-imports"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* web: update prettier config
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-10-28 09:48:51 +02:00 |
|
Jens Langhammer
|
f341479732
|
web: make table pagination size user-configurable
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-10-14 12:48:52 +02:00 |
|
Jens L
|
aef9d27706
|
stages/authenticator_sms: Add SMS Authenticator Stage (#1577)
* stages/authenticator_sms: initial implementation
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/admin: add initial stage UI
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/elements: clear invalid state when old input was invalid but new input is correct
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* stages/authenticator_sms: add more logic
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/user: add basic SMS settings
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* stages/authenticator_sms: initial working version
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* stages/authenticator_sms: add tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/flows: optimise totp password manager entry on authenticator_validation stage
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/elements: add grouping support for table
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/admin: allow sms class in authenticator stage
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/admin: add grouping to more pages
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* stages/authenticator_validate: add SMS support
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* api: add throttling for flow executor based on session key and pending user
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: fix style issues
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* ci: add workflow to compile backend translations
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-10-11 17:51:49 +02:00 |
|
Jens Langhammer
|
b0e416e9f0
|
web/elements: fix model form always loading when viewport check is disabled
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-10-05 11:23:45 +02:00 |
|
Jens Langhammer
|
c0a0b52fbb
|
web/elements: fix initialLoad not being done when viewportCheck was disabled
closes #1497
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-29 21:36:44 +02:00 |
|
Jens Langhammer
|
d0bfb99859
|
web/elements: improve error handling on forms
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-24 12:19:56 +02:00 |
|
Jens Langhammer
|
da7635ae5c
|
web: sort imports
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-21 11:33:51 +02:00 |
|
Jens Langhammer
|
a92a0fb60a
|
web: migrate to lit 2
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-21 11:19:26 +02:00 |
|
Jens Langhammer
|
663dffd8be
|
web/admin: fix error in firefox when creating token
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-19 00:28:40 +02:00 |
|
Jens Langhammer
|
c15d0c3d17
|
web: fix text colour in delete form in dark mode
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-19 00:14:50 +02:00 |
|
Jens Langhammer
|
92ce5f0931
|
web: improve error display when only {'detail'} is returned
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-02 19:55:37 +02:00 |
|
Jens Langhammer
|
0ccec96490
|
core: make user optional in token creation
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-25 21:21:51 +02:00 |
|
Jens Langhammer
|
8022d0801d
|
web/elements: add support for datetime-local
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-25 21:14:32 +02:00 |
|
Jens Langhammer
|
16cfa8cae2
|
web/admin: add ServiceAccount creation form
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-24 20:13:08 +02:00 |
|
Jens Langhammer
|
b74681f22c
|
Merge branch 'master' into publish-api-to-npm
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
# Conflicts:
# web/package-lock.json
# web/src/pages/sources/oauth/OAuthSourceForm.ts
|
2021-08-23 09:40:52 +02:00 |
|
Jens Langhammer
|
6533f48912
|
web: add topMost attribute to ak-loading-overlay to force it over codemirror
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-21 19:26:06 +02:00 |
|
Jens Langhammer
|
2024dac39a
|
web: lock overflow when showing loading overlay on modals
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-21 19:19:23 +02:00 |
|
Jens Langhammer
|
00a666856d
|
web: expand parent FormGroup when containing element has error
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-21 15:24:31 +02:00 |
|
Jens Langhammer
|
1d4b941a3b
|
web: migrate to @goauthentik/api
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-15 21:32:28 +02:00 |
|
Jens Langhammer
|
d1403f6f7d
|
web: implement bulk-delete form
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-12 23:21:29 +02:00 |
|
Jens Langhammer
|
9430a2eea2
|
web/elements: add bulk delete form
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-12 21:42:52 +02:00 |
|
Jens Langhammer
|
cdf57d7eea
|
web/elements: add support for dot-notation in input names
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-11 19:48:19 +02:00 |
|
Jens Langhammer
|
b237f2ddfb
|
web/elements: fix loading overlay not being removed on error
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-11 17:44:09 +02:00 |
|
Jens Langhammer
|
f9e826d553
|
web: improve loading indication for modals
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-11 00:00:07 +02:00 |
|
Jens Langhammer
|
34fe250fb0
|
web/elements: fix resetForm is not a function
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-10 23:22:25 +02:00 |
|
Jens Langhammer
|
6fe5175f21
|
core: add UserSelfSerializer and separate method for users to update themselves with limited fields
rework user settings page to better use form
closes #1227
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-05 17:42:19 +02:00 |
|
Jens Langhammer
|
2c60ec50be
|
web: re-format with prettier
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-03 17:52:21 +02:00 |
|
Jens Langhammer
|
6a4ddcaba7
|
web/admin: don't use form.reset() for ModelForms, reset instance
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-07-03 18:26:50 +02:00 |
|
Jens Langhammer
|
2c9b596f01
|
web/admin: run explicit update after loading instance
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-07-03 16:41:42 +02:00 |
|
Jens Langhammer
|
dd53e7e9b1
|
web/admin: fix ModelForm not re-loading after being reset
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-07-02 21:21:11 +02:00 |
|
Jens L
|
34ae9e6dab
|
API: add endpoint to show by what objects an object is used (#995)
* core: add used_by API to show what objects are affected before deletion
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/elements: add support for used_by API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: add authentik_used_by_shadows to shadow other models
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: implement used_by API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* *: fix duplicate imports
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: add action field to used_by api
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: add UI for used_by action
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: add notice to tenant form
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: fix naming in used_by
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: check length for used_by
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: fix used_by for non-pk models
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* *: improve __str__ on models
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: add support for many to many in used_by
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-10 11:58:12 +02:00 |
|
Jens Langhammer
|
a36e3aa3a4
|
web: rename Form.reset to resetForm to prevent t.form is not a function error
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-06 19:28:16 +02:00 |
|