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
|
29d3db5112
|
web/admin: lint bound group under policies
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-06-19 21:22:47 +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 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
|
4daad4b514
|
web/admin: always show group/user policy options and display disclaimer
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-02-23 23:31:03 +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
|
8d1fd48003
|
web/admin: allow flow edit on flow view page
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-19 10:20:31 +01:00 |
|
Jens Langhammer
|
b30ffd1318
|
web/admin: make user clickable for bound policies list
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-18 20:43:45 +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
|
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
|
b2f077645a
|
web: fix lint error
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-23 18:38:35 +02:00 |
|
Jens Langhammer
|
a9af40f85c
|
web/admin: improve delete modal for stage bindings and policy bindings
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-23 17:46:51 +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
|
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 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
|
a113778ca7
|
web/admin: fix css for dropdown toggles which are secondary
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-02 20:42:31 +02:00 |
|
Jens Langhammer
|
06caaa7c80
|
web/admin: fix BoundPoliciesList's policy edit button
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-02 20:29:34 +02:00 |
|
Jens Langhammer
|
166b98fa34
|
web/admin: fix BoundPoliciesList's edit policy button not working
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-02 18:00:26 +02:00 |
|
Jens Langhammer
|
ba5374f6e1
|
web: mass update API calls
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 18:24:15 +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
|
ff9ff18c11
|
web/admin: migrate more forms
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-11 12:05:30 +02:00 |
|
Jens Langhammer
|
fec098a823
|
web/admin: only allow policies to be bound to sources as users/groups cannot be checked
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-20 23:30:37 +02:00 |
|
Jens Langhammer
|
a13d89fcde
|
web/admin: fix BoundPoliciesList using wrong key
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-06 17:24:50 +02:00 |
|
Jens Langhammer
|
20de845f2b
|
web/admin: fix inconsistent modal size from BoundPoliciesList
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-06 12:11:48 +02:00 |
|
Jens Langhammer
|
1a0a62975c
|
web/admin: rework policybindingform
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-04 22:56:28 +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
|
bd514dcce6
|
web: fix untranslated table columns
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-04 16:22:29 +02:00 |
|
Jens Langhammer
|
67fef02d71
|
web: fix minor issues
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-04 13:41:18 +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
|
8d2aecd687
|
web/admin: remove left-over ak-modal-buttons
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-03 14:32:19 +02:00 |
|
Jens Langhammer
|
42cb55d78a
|
*: rename objectType to component to get rid of lookup tables
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-03 11:32:17 +02:00 |
|
Jens Langhammer
|
448dd7ed54
|
core: change TypeCreateSerializer to component
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-02 23:17:30 +02:00 |
|
Jens Langhammer
|
83fc22005c
|
*: remove swagger parameters from functions that don't accept them
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-02 13:39:22 +02:00 |
|
Jens Langhammer
|
e476186cbc
|
web/admin: migrate policybinding form
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-03-31 19:41:42 +02:00 |
|
Jens Langhammer
|
c71009fea9
|
web/admin: move BoundPoliciesList to pages
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-03-31 16:04:04 +02:00 |
|