Jens L
|
4a91a7d2e2
|
web: re-organise frontend and cleanup common code (#3572)
* fix repo in api client
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: re-organise files to match their interface
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: include version in script tags
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* cleanup maybe broken
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* revert rename
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: get rid of Client.ts
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* move more to common
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* more moving
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* format
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* unfuck files that vscode fucked, thanks
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* move more
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* finish moving (maybe)
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* ok more moving
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* fix more stuff that vs code destroyed
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* get rid "web" prefix for virtual package
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* fix locales
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* use custom base element
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* fix css file
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* don't run autoDetectLanguage when importing locale
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* fix circular dependencies
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: fix build
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-09-15 00:05:21 +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 Langhammer
|
6d9579d3e6
|
web/elements: rework treeview parents
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-06-15 20:06:01 +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
|
8d49705c87
|
web/admin: add set password button to user view page
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-05-22 16:46:38 +02:00 |
|
Jens Langhammer
|
263bcae050
|
web/admin: improve empty state
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
# Conflicts:
# web/src/elements/table/TablePage.ts
# web/src/pages/applications/ApplicationListPage.ts
|
2022-05-19 10:21:46 +02:00 |
|
Jens Langhammer
|
778065f468
|
core: add flag to globally disable impersonation
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-04-17 16:52:55 +02:00 |
|
Jens Langhammer
|
88d5aec618
|
web/admin: fix links which look like labels
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-25 16:13:30 +01:00 |
|
Jens Langhammer
|
3e22740eac
|
core: add API endpoint to directly set user's password
closes #2040
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-03 13:31:58 +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
|
340a9bc8ee
|
core: fix error when using invalid key-values in attributes query
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-09 19:53:47 +01:00 |
|
Jens Langhammer
|
109283b189
|
web: use ak-label for boolean values
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-28 21:12:53 +01:00 |
|
Jens Langhammer
|
465898c7d0
|
web/elements: add new API to store attributes in URL, use for table and tabs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-18 21:16:00 +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 Langhammer
|
94ae52b576
|
web/admin: don't require username nor name for activate/deactivate toggles
closes #1491
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-29 09:42:59 +02:00 |
|
Jens Langhammer
|
79b92e764e
|
*: fix typos in code
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-25 00:01:11 +02:00 |
|
Jens Langhammer
|
e681654af7
|
web/admin: add notice for recovery
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-24 11:50:52 +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
|
f6e0f0282d
|
core: fix tokens not being viewable but superusers
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-09-19 16:11:20 +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
|
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
|
557724768a
|
core: add API to directly send recovery link to user
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-10 13:54:59 +02:00 |
|
Jens Langhammer
|
1a17ce24f9
|
web: use single delete button with checkbox and icon-based action buttons
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-05 12:30:43 +02:00 |
|
Jens Langhammer
|
ddd5047cc3
|
web: better label table actions
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-05 10:40:44 +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
|
320dab3425
|
core: only show Reset password link when recovery flow is configured
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-07-04 12:59:41 +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
|
dde1dabf97
|
web: pass 2 migration
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 17:53:59 +02:00 |
|
Jens Langhammer
|
6f8d129dea
|
web/admin: migrate remaining forms
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-11 12:44:50 +02:00 |
|
Jens Langhammer
|
0d370ef0a9
|
web/admin: filter out service accounts by default
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-04 18:23:13 +02:00 |
|
Jens Langhammer
|
c5e2635903
|
core: improve messaging when creating a recovery link for a user when no recovery flow exists
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-16 10:09:46 +02:00 |
|
Jens Langhammer
|
182256c53e
|
web/admin: migrate GroupForm to use TableModal instead of select multiple
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-10 20:23:48 +02:00 |
|
Jens Langhammer
|
ff40ab0c49
|
web/elements: fix font colour for confirmation form in dark mode
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-04 20:54:03 +02:00 |
|
Jens Langhammer
|
597bd472ea
|
web/admin: fix inconsistent button levels for events lists
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-04 19:07:42 +02:00 |
|
Jens Langhammer
|
c1d93bfd7c
|
web: fix TableColumn sort fields being translated
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-04 16:56:16 +02:00 |
|
Jens Langhammer
|
5923edc69a
|
web: translate sidebar and more list pages
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-03 19:59:22 +02:00 |
|
Jens Langhammer
|
25300c1928
|
web: initial migration to lingui
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-03 19:44:56 +02:00 |
|
Jens Langhammer
|
526af26536
|
web/admin: migrate user forms to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-03-29 16:16:27 +02:00 |
|
Jens L
|
fe7f23238c
|
Static SPA (#648)
* core: initial migration to /if
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: move jsi18n to api
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* tests: fix static URLs in tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: add new html files to rollup
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: fix rollup config and nginx config
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: add Impersonation support to user API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: add banner for impersonation
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* tests: fix test_user function for new User API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* flows: add background to API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: set background from flow API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: make root view login_required for redirect
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* flows: redirect to root-redirect instead of if-admin direct
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* api: add header to prevent Authorization Basic prompt in browser
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: redirect to root when user/me request fails
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-03-22 13:44:17 +01:00 |
|
Jens Langhammer
|
fb20ae7e1a
|
web: sort users by last_login
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-03-20 18:39:12 +01:00 |
|
Jens Langhammer
|
4525a43e63
|
web: add initial user view page with consent
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-03-20 16:42:32 +01:00 |
|
Jens Langhammer
|
077abdb602
|
web: remove gettext from icons
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-03-20 16:36:54 +01:00 |
|
Jens Langhammer
|
93bd95436f
|
admin: remove user enable/disable views
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-03-18 13:09:00 +01:00 |
|
Jens Langhammer
|
48443e3e09
|
web/pages: use DeleteForm for all lists
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-03-18 12:32:03 +01:00 |
|
Jens Langhammer
|
5f024eb1f7
|
web: use API as dedicated module
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-03-16 21:32:39 +01:00 |
|