Commit Graph

1120 Commits

Author SHA1 Message Date
Jens Langhammer b1c9126832 web/admin: only show plex servers you own
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-04 22:51:52 +02:00
Jens Langhammer 99d161e212 Merge branch 'master' into outpost-ldap
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

# Conflicts:
#	authentik/core/api/users.py
#	authentik/policies/event_matcher/migrations/0013_alter_eventmatcherpolicy_app.py
2021-05-04 21:02:20 +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 a335ca0895 web/admin: use history.replaceState in Tabs to prevent double history entries
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-04 18:13:20 +02:00
Jens Langhammer e6431593f7 web/admin: auto-select keypair in oauth provider creation when only 1 keypair exists
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-04 17:09:04 +02:00
Jens Langhammer 928c2bf0d6 web/admin: add launch button to application view page
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-04 17:08:46 +02:00
Jens Langhammer 0440ad7c09 web/admin: add missing plex source view
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-04 12:09:35 +02:00
Jens Langhammer 3ebc531ae2 web/admin/sources: fix userMatchingMode not being configurable
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-04 12:02:16 +02:00
Jens Langhammer d330e9ee7f web/flows: fix rendering for plex login
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-03 22:08:25 +02:00
Jens Langhammer 6fc38436f4 sources/plex: set better defaults on model
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-03 21:23:13 +02:00
Jens Langhammer e56c3fc54c Merge branch 'master' into plex-auth 2021-05-03 18:28:53 +02:00
Jens Langhammer 4523550422 stages/invitation: add single_use flag to delete invitation after use
closes #821

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-03 09:52:38 +02:00
Jens Langhammer 01d29134b9 sources/plex: add API to redeem token
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-02 16:47:20 +02:00
Jens Langhammer 55250e88e5 sources/*: rewrite UILoginButton to return challenge instead
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-02 16:46:27 +02:00
Jens Langhammer f1b100c8a5 sources/plex: initial plex source implementation
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-02 14:43:51 +02:00
Jens Langhammer 40a885aaaa web/admin: add collapse button to sidebar header on mobile viewport
closes #813

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-02 12:48:45 +02:00
Jens Langhammer c317efa14c Merge branch 'master' into outpost-ldap 2021-05-01 00:26:55 +02:00
Jens Langhammer 34c45900c2 stages/identification: allow selection of no user fields to only allow login via sources
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-30 01:07:37 +02:00
Jens Langhammer bf7d110af3 Merge branch 'version-2021.4'
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

# Conflicts:
#	.github/workflows/release.yml
#	helm/README.md
#	helm/values.yaml
#	website/docs/installation/kubernetes.md
2021-04-29 23:50:52 +02:00
Jens Langhammer 4e5eeacf0a release: 2021.4.5 2021-04-29 23:03:09 +02:00
Jens Langhammer b55cb2b40c Merge branch 'master' into outpost-ldap 2021-04-29 20:13:47 +02:00
Jens L 2a409215d3
outpost: forwardAuth mode (#790) 2021-04-29 18:17:10 +02:00
Jens Langhammer a6e528d209 core: fix text color of error pages not being white
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-29 15:18:28 +02:00
Jens Langhammer bb2c4423b0 core: fix text color of error pages not being white
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-29 15:17:10 +02:00
Jens Langhammer 8b3923200d web: fix text-colour for form help text
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-28 22:43:40 +02:00
Jens Langhammer 580e88c6fc web: ignore network errors for sentry
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-28 22:41:55 +02:00
Jens Langhammer d82c01aa61 web/admin: don't show docker certs as required
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-28 22:41:50 +02:00
Jens Langhammer 50f0c11c0b web/flows: fix redirect loop when sentry is enabled
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-28 22:41:21 +02:00
Jens Langhammer 58712828a4 web/flows/identification: fix phrasing account recovery
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-28 22:40:16 +02:00
Jens Langhammer b2b9093c95 web: don't enable ShadyDOM on selenium
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-28 22:40:16 +02:00
Jens Langhammer afa2afe1d4 web/flows: include ShadyDOM, always enable ShadyDOM for flow interface
improve compatibility with password managers and iOS

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-28 22:40:16 +02:00
Jens Langhammer f54ead2b45 web: fix text-colour for form help text
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-28 21:55:01 +02:00
Jens L c4e4e17f93
providers/oauth2: add access_code_validity (#795)
closes #794

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-28 21:03:43 +02:00
Jens Langhammer 5769eb277c website/admin: fix sessionDuration not updated on UserLoginStageForm
closes #793

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-28 09:16:04 +02:00
Jens Langhammer 4d858c64e0 Merge branch 'master' into outpost-ldap 2021-04-27 17:08:26 +02:00
Jens Langhammer 69af788b0f web: ignore network errors for sentry
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-27 15:54:57 +02:00
Jens Langhammer ceace0282b web/admin: don't show docker certs as required
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-27 15:43:40 +02:00
Jens Langhammer e36fb6641e Merge branch 'master' into outpost-ldap 2021-04-27 09:27:11 +02:00
Jens Langhammer 1d5958a78f providers/ldap: add search_group to limit who can do search requests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-26 23:25:03 +02:00
Jens Langhammer 21c7787eed web/flows: fix redirect loop when sentry is enabled
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-26 17:45:09 +02:00
Jens Langhammer b3c8ffb96c outposts/ldap: use authorization_flow instead of separate field
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-26 15:09:41 +02:00
Jens Langhammer b35d9ae8b0 outposts: fix type not being configurable
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-26 14:45:14 +02:00
Jens Langhammer dcd80c6d63 outposts/ldap: fix linting
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-26 12:24:46 +02:00
Jens Langhammer d741ed430a web/admin: add UI for LDAP Provider
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-26 12:12:02 +02:00
Jens Langhammer b59b9314e4 web/flows/identification: fix phrasing account recovery
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-25 18:50:19 +02:00
Jens Langhammer 502ac51fa7 web: don't enable ShadyDOM on selenium
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-25 01:29:01 +02:00
Jens Langhammer 4bc6fd28d4 web/flows: include ShadyDOM, always enable ShadyDOM for flow interface
improve compatibility with password managers and iOS

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-24 23:32:46 +02:00
Jens Langhammer 5f58a4566c release: 2021.4.4 2021-04-24 21:03:29 +02:00
Jens Langhammer 5112ef9331 web/admin: fix error when updating identification stage
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-23 14:27:23 +02:00
Jens Langhammer c1ab5c5556 web: fix title not being loaded from config
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

#770
2021-04-22 23:50:37 +02:00
Jens Langhammer 799d186510 web/flows: fix Sentry not being loaded correctly
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-22 20:48:22 +02:00
Jens Langhammer 71e4936dc3 web/admin: fix error when me() returns 403
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-22 19:52:01 +02:00
Jens Langhammer 9d3b6f7a4d web: only report http errors for 500 and above
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-22 19:51:32 +02:00
Jens Langhammer 003df44a34 web/admin: adjust phrasing of cards on overview page
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-22 14:07:30 +02:00
Jens Langhammer 0891e43040 web/admin: fix invalid group member count
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-22 10:36:10 +02:00
Jens Langhammer 1f49aea48d web/admin: fix mismatched required tags
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-22 10:33:36 +02:00
Jens Langhammer 499b52df6a root: update urls to github org
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-21 22:46:48 +02:00
Jens Langhammer 0e35bb18c7 web/admin: fix display for user supseruser status
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-21 11:18:55 +02:00
Jens Langhammer 7346ccf2b7 web/admin: add description for fields in proxy provider form
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-21 10:18:00 +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 73950b72e5 web/admin: improve phrasing for Policy bindings
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-20 23:16:17 +02:00
Jens Langhammer 7ccf8bcdc8 web/admin: only pre-select items when creating a new object
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-20 20:32:47 +02:00
Jens Langhammer 5955394c1d web: send response info when response is thrown
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-20 17:32:38 +02:00
Jens Langhammer dc75d7b7f0 sources/oauth: fix error whilst fetching user profile when source uses fixed URLs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-20 17:25:59 +02:00
Jens Langhammer 34a191f216 web/admin: fix link to providers on overview page
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-20 16:35:21 +02:00
Jens Langhammer e20bb7d636 release: 2021.4.3 2021-04-20 09:15:07 +02:00
Jens Langhammer 14d702450a core: add parameter to output property mapping test formatted
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-19 18:32:36 +02:00
Jens Langhammer 0a1a2a035e web/admin: fix *Test Forms not having a default for codemirrors
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-19 18:25:16 +02:00
Jens Langhammer 8a6879afa5 core: add superuser_full_list to applications list, shows all applications when superuser
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-19 16:07:30 +02:00
Jens Langhammer dd2cd09637 web/admin: fix undefined being shown when viewing application
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-18 19:04:10 +02:00
Jens Langhammer caa5dc1d14 web/admin: improve default selection for property-mappings
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-18 14:21:05 +02:00
Jens Langhammer f328b21e89 providers/oauth2: Set CORS Headers for token endpoint, check Origin header against redirect URLs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-18 14:20:50 +02:00
Jens Langhammer 52abd959eb sources/oauth: save null instead of empty string for sources without configurable URLs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 21:15:06 +02:00
Jens Langhammer 766c4873a0 web/admin: add ability to add users to a group whilst creating a group
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 19:56:49 +02:00
Jens Langhammer 240136154b web/admin: fix default for codemirror
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 19:37:13 +02:00
Jens Langhammer 78dd7b0341 web/admin: fix group member table order
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 19:36:55 +02:00
Jens Langhammer 0021a93952 web/admin: fix non-matching provider type being selected when creating an OAuth Source
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 19:17:08 +02:00
Jens Langhammer 4add0bbe86 web/admin: fix provider type resetting when changing provider type
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 19:06:56 +02:00
Jens Langhammer 60615c9f3e release: 2021.4.2 2021-04-17 15:26:59 +02:00
Jens Langhammer 262a9fa2a0 flows: annotate flows executor 404 error
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 12:01:04 +02:00
Jens Langhammer 7c858c9626 web/admin: fix errors in user profile when non-superuser
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 12:01:04 +02:00
Jens Langhammer ada49c077a web/admin: fix error when user doesn't have permissions to read source
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 12:01:04 +02:00
Jens Langhammer 5e67f68f2b 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-17 12:01:03 +02:00
Jens Langhammer c476503594 web: fix background-color on router outlet on light mode
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 11:59:37 +02:00
Jens Langhammer bd8447d5a7 release: 2021.4.1 2021-04-14 09:46:16 +02:00
Jens Langhammer 7a562fe8c0 Merge branch 'master' into version-2021.4 2021-04-13 20:02:25 +02:00
Jens Langhammer 6821679fbc *: add support for bearer authentication on API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-13 20:01:30 +02:00
Jens Langhammer 513d3c1c31 web: add support for PII for sentry, add user feedback dialog
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-13 18:35:26 +02:00
Jens Langhammer 8b66fa55a6 web/elements: center header if no description is shown
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-13 17:46:03 +02:00
Jens Langhammer 55bb9b6643 web/admin: show banner when backend and frontend versions mismatch
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-13 16:52:02 +02:00
Jens Langhammer fd0ad20031 release: 2021.4.1-rc2 2021-04-12 20:03:21 +02:00
Jens Langhammer cd1b0c67ea web: fix text colour on initial load when not in dark mode
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-12 12:25:44 +02:00
Jens Langhammer a0daaabfde web: replace full pf with components for loading animation
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-11 22:02:48 +02:00
Jens Langhammer ea7ecb50c0 web: disable loading of roboto fonts
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-11 21:52:01 +02:00
Jens Langhammer e7626d0716 Revert "release: 2021.4.1-rc1"
This reverts commit 2397cb162a.
2021-04-11 21:04:25 +02:00
Jens Langhammer 633029be3f web/admin: fix missing css from ApplicationViewPage
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-11 19:44:29 +02:00
Jens Langhammer 4147fbb839 web/elements: fix height when using PageHeader with Image
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-11 19:38:24 +02:00
Jens Langhammer 430e3c576c web: always set css variables
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-11 19:00:29 +02:00
Jens Langhammer d6f60ad9ec web/admin: remove sidebar box shadow
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-11 18:56:34 +02:00
Jens Langhammer de6f663688 web/admin: classify no connected workers as error
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-11 18:48:24 +02:00
Jens Langhammer fe17c3aa34 web/admin: add tab to show events of a user
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-11 18:46:26 +02:00
Jens Langhammer 07b2525278 web/elements: use same icon for changelog
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-11 18:40:48 +02:00
Jens Langhammer 9f758d19ba web/admin: use less generic slot names for ak-tabs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-11 18:40:01 +02:00
Jens Langhammer 4216577565 web/elements: make provider clickable for user's oauth codes
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-11 18:24:27 +02:00
Jens Langhammer f3396226e8 web/admin: make username in events log clickable
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-11 17:51:17 +02:00
Jens Langhammer ae7959ff51 web: fix header colour for notification drawer in dark mode
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-11 17:41:26 +02:00
Jens Langhammer 2397cb162a release: 2021.4.1-rc1 2021-04-11 16:18:20 +02:00
Jens Langhammer bf253643a6 web/elements: fix page header in firefox
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-11 13:49:53 +02:00
Jens Langhammer ab4569e5d6 web/admin: fix application form's provider selection not working
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-11 13:49:35 +02:00
Jens Langhammer fb53dc826a web/elements: fix TokenCopyButton error case
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-11 13:03:20 +02:00
Jens Langhammer 335c5a0b80 web/elements: use ActionButton as base for TokeCopyButton
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-11 00:52:51 +02:00
Jens Langhammer 5522c94b65 web/admin: fix OutpostDeploymentModal not being closable
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-10 23:31:11 +02:00
Jens Langhammer f156c0f05d web/admin: fix header hight for inherited objects
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-10 20:58:45 +02:00
Jens Langhammer 5d64b0cafd web/admin: make provider in application list a link
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-10 20:51:22 +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 c44aa2a204 web/elements: add TableModal for selecting objects in a modal
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-10 20:13:40 +02:00
Jens Langhammer c133f16371 web/elements: move table search to table
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-10 20:13:19 +02:00
Jens Langhammer ca2a4ffb59 web/elements: render ChipGroup when checkboxes are enabled
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-10 20:12:57 +02:00
Jens Langhammer 75bc7c1cbd web/elements: add Chip and ChipGroup
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-10 20:12:32 +02:00
Jens Langhammer 7c761ff3d9 web/elements: add close button to notification drawer for mobile
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-10 17:43:07 +02:00
Jens Langhammer f6b8dc5cea web/admin: move SidebarHamburger into PageHeader
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-10 17:42:15 +02:00
Jens Langhammer 6f7fb4c919 web/elements: add PageHeader element to replace page
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-10 17:09:40 +02:00
Jens Langhammer f3aea29324 web/admin: add additional explanation what stages do
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-10 12:52:17 +02:00
Jens Langhammer f5921f8480 web/admin: add additional explanation what policies do
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-10 12:37:08 +02:00
Jens Langhammer c82cd4fbcf web/admin: fix CSS for outpost deployment modal, fix URL
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-10 12:20:45 +02:00
Jens Langhammer 83bb3f8b0b web/elements: disable lineNumbers in codemirror for firefox
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-09 18:57:34 +02:00
Jens Langhammer c887139367 web/elements: add ak-label for status to replace simple icons
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-09 17:09:38 +02:00
Jens Langhammer 34b8a97ae9 web/admin: add custom rendering for inbuilt sources
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-09 16:30:53 +02:00
Jens Langhammer 43ad4f58ac web/elements: fix height of branding on firefox in certain screen sizes
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-09 15:54:41 +02:00
Jens Langhammer 23f269d676 web/admin: add note that attributes are yaml/json
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-09 14:30:49 +02:00
Jens Langhammer e7346317bb web/elements: fix codemirror error on reset
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-09 14:19:31 +02:00
Jens Langhammer 5a5a32ff83 web/elements: fix checkbox not being sent correctly
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-09 11:58:52 +02:00
Jens Langhammer 963af1ac1e web/admin: adjust label for ldap password sync
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-09 11:24:13 +02:00
Jens Langhammer d37c33d941 sources/ldap: only save sync state in TaskInfo, return TaskInfo in API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-08 23:33:41 +02:00
Jens Langhammer dbc75428a0 web/admin: add button to open application from list
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-08 22:51:24 +02:00
Jens Langhammer e33a1ea0c7 web/admin: fix ApplicationForm setting wrong field
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-08 22:51:13 +02:00
Jens Langhammer 4a74d16388 web/admin: fix default icon for application list
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-08 22:28:36 +02:00
Jens Langhammer 3c47555276 web/admin: Show inbuilt authentik db as source in sources list
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-08 22:25:57 +02:00
Jens Langhammer c5abecf578 web/admin: add provider create button to application form
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-08 22:16:59 +02:00
Jens Langhammer 8793bb1358 web: fix color of form-group header in dark mode
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-08 22:13:45 +02:00
Jens L a2a35e49a9
improved out-of-box experience (#704) 2021-04-06 20:25:22 +02:00
Jens Langhammer fb409a73a1 web/elements: Fix display in deleteform when object has no name
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-06 17:36:42 +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 b09943e106 web/admin: fix error when editing stages from BoundStageList
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-06 17:15:53 +02:00
Jens Langhammer d5169504ea web/admin: add button to create prompt on PromptStageForm
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-06 16:58:28 +02:00
Jens Langhammer e678e3553b web/admin: fix default order for *bindingForms
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-06 16:57:11 +02:00
Jens Langhammer 4b2119510c web/admin: open flow execution in new tab
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-06 16:56:03 +02:00
Jens Langhammer e903582f96 web/admin: fix default for PolicyBindingForm
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-06 12:11:59 +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 5fc052a384 web: remove test page
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-06 11:49:48 +02:00
Jens Langhammer b98b4f2ae7 web/admin: add backup status card
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-05 20:40:30 +02:00
Jens Langhammer d48badbca3 web/admin: show ldap sync status on overview page
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-05 20:36:31 +02:00
Jens Langhammer f0ef2eea4f admin: sort tasks api
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-05 19:21:19 +02:00
dependabot[bot] a6608c140e
build(deps): bump chart.js from 2.9.4 to 3.0.2 in /web (#696)
* build(deps): bump chart.js from 2.9.4 to 3.0.2 in /web

Bumps [chart.js](https://github.com/chartjs/Chart.js) from 2.9.4 to 3.0.2.
- [Release notes](https://github.com/chartjs/Chart.js/releases)
- [Commits](https://github.com/chartjs/Chart.js/compare/v2.9.4...v3.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

* web/elements/chart: upgrade to chart.js 3

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-04-05 11:28:22 +02:00
Jens Langhammer d0230c0b54 web: fix misc strings not being translated properly
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-05 01:12:13 +02:00
Jens Langhammer a9336d0983 web: allow for non-path elements in hash, store current tab page in hash
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-05 01:04:14 +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 e06d729fe5 web: SpinnerSize -> PFSize, add size prop for modal button
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 22:04:46 +02:00
Jens Langhammer a66b832154 web/admin: fix policies of oauth/saml source not being configurable
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 21:03:57 +02:00
Jens Langhammer b2189374e2 web/admin: remove divider from cert form
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 20:57:33 +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 002c048d0b web/elements: rewrite SpinnerButton to promises, fix spinner button with forms after errors
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 20:42:50 +02:00
Jens Langhammer 52029f55e4 web: fix form error text not being red in dark mode
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 20:26:00 +02:00
Jens Langhammer 85121de9d7 web/admin: only set ?writeOnly when editing an object
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 20:11:57 +02:00
Jens Langhammer 93b362570d web/elements: add ?writeOnly flag for passwords etc
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 20:07:46 +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 e2f01ce740 web: replace spaces after icons with nbsp
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 19:01:00 +02:00
Jens Langhammer d4982b276c web: fix mismatched css files between static and SSR
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 18:35:16 +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 469b6b64bc web/admin: link EventInfoPage on EventListPage
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 16:51:43 +02:00
Jens Langhammer c0bdb2407a web/admin: fix card title on oauth source settings
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 16:46:36 +02:00
Jens Langhammer 596431cae7 web/admin: replace paper-input on user settings
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 16:45:38 +02:00
Jens Langhammer 6b085a58be web/elements: fix width for vertical tabs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 16:44:29 +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 d83756b4d9 web/admin: use expandable for Task list
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 16:20:49 +02:00
Jens Langhammer 16d989dbfa core: fix schema for Challenge's type enum
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 16:15:58 +02:00
Jens Langhammer 9517c890b5 if/*: show loading animation before full JS is loaded
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 16:10:08 +02:00
Jens Langhammer 5b5d7e4997 web/admin: add edit button to application view page
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 14:01:42 +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 97ea859315 web/admin: default FlowStageBinding's order to 0
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 13:19:52 +02:00
Jens Langhammer 616b1f4a05 web: sort groups from groupBy<T>
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 13:19:34 +02:00
Jens Langhammer d1cde64214 stages/email: add support for custom template to API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 13:19:22 +02:00
Jens Langhammer d061868fdc web/elements: show form without stack in modal
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 12:18:10 +02:00
Jens Langhammer 8a7c414031 web/*: fix defaults for booleans to use first()
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 00:41:13 +02:00
Jens Langhammer 46e0571ed0 web/admin: only show http basic fields for proxy provider when enabled
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 00:30:02 +02:00
Jens Langhammer 1835981f3d web/*: add loading indicator to select inputs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 00:24:06 +02:00
Jens Langhammer 87fdb591ce web/admin: fix unlocalised strings
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 00:10:56 +02:00
Jens Langhammer 195951a61a web/elements: fix ActionButton
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 23:23:29 +02:00
Jens Langhammer 1f781eb78a web/elements: make ak-spinner-button work with ModalForm
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 23:09:52 +02:00
Jens Langhammer 1b63e461cc web/api: log requests to console
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 23:06:57 +02:00
Jens Langhammer a7f751f3b3 web/admin: fix expression info not being localised
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 20:53:52 +02:00
Jens Langhammer ed18e623db web/admin: fix edit button on user page
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 20:37:32 +02:00
Jens Langhammer b37470b3de web: activate pseudo-locale using querystring
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 20:34:16 +02:00
Jens Langhammer e246071aac core: fix user metrics not accepting detail
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 20:33:59 +02:00
Jens Langhammer 4554c468bc web/elements: fully translate table
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 20:01:29 +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 fc1caf1469 api: remove js i18n catalog
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 19:07:54 +02:00
Jens Langhammer 44d33ed96e web: add basic lingui
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 19:07:11 +02:00
Jens Langhammer 650b084c72 web: migrate to babel
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 18:20:17 +02:00
Jens Langhammer 82c2a202cb web/admin/providers/oauth2: only show client secret when clientType is not public
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 15:09:52 +02:00
Jens Langhammer aaa1f92945 web/admin/providers/oauth2: add generated defaults for clientId and secret
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 14:51:05 +02:00
Jens Langhammer 66d7d598fb web/elements: remove modalbutton logic
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 14:34:46 +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 94a5a6c4c0 web/elements: fix race condition in codemirror
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 12:08:46 +02:00
Jens Langhammer a291063b9c web/admin/providers: use form groups
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 12:08:35 +02:00
Jens Langhammer 43f37e4776 web: add first() to improve defaults
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 11:41:11 +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 aaebd01058 admin: finalise migration
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 01:20:20 +02:00
Jens Langhammer d7698343ae stages/authenticator_validate: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 01:15:32 +02:00
Jens Langhammer 0b057ccb34 stages/authenticator_webauthn: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 01:06:41 +02:00
Jens Langhammer 995f3a13d1 stages/authenticator_static: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 01:03:43 +02:00
Jens Langhammer ab7f4c5ba2 stages/authenticator_totp: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 01:01:59 +02:00
Jens Langhammer be4288fb46 stages/consent: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 00:55:17 +02:00
Jens Langhammer 75d8641a38 stages/dummy: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 00:49:15 +02:00
Jens Langhammer 1d72019645 stages/deny: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 00:48:15 +02:00
Jens Langhammer c1c47c5f30 stages/email: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 00:46:40 +02:00
Jens Langhammer fc47af12be stages/invitation: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 00:42:41 +02:00
Jens Langhammer a9bee998f2 stages/password: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 00:22:23 +02:00
Jens Langhammer 31226e3c75 stages/prompt: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 00:10:59 +02:00
Jens Langhammer f7aabe8ca9 stages/user_delete: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 00:04:20 +02:00
Jens Langhammer 8ac82b97d3 stages/user_write: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 23:54:00 +02:00
Jens Langhammer 128af67011 stages/user_logout: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 23:52:55 +02:00
Jens Langhammer fb9a4ec461 stages/user_login: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 23:51:39 +02:00
Jens Langhammer 2a261cfaf8 stages/identification: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 23:45:50 +02:00
Jens Langhammer 224ad46a21 stages/captcha: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 23:45:39 +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 0f76e80341 admin: remove policies views
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 17:15:48 +02:00
Jens Langhammer 6acfbb7d66 policies/reputation: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 17:09:30 +02:00
Jens Langhammer fcdc064cac policies/password: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 17:09:19 +02:00
Jens Langhammer 0c92f4a74d policies/hibp: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 16:57:55 +02:00
Jens Langhammer ac136ec5f6 policies/expiry: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 16:49:37 +02:00
Jens Langhammer f75f6a8404 policies/expression: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 16:42:30 +02:00
Jens Langhammer 415bb4cc88 policies/event_matcher: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 16:37:51 +02:00
Jens Langhammer 6a3e1da986 policies/dummy: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 16:31:53 +02:00
Jens Langhammer 7fad2b6563 sources/oauth: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 15:42:07 +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 07702afe68 sources/saml: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 13:12:31 +02:00
Jens Langhammer 0aa21c007a web/elements: delegate requestUpdate in proxyform
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 13:11:47 +02:00
Jens Langhammer c659e40df7 web/elements: make form sync slug field with name field
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 12:56:03 +02:00
Jens Langhammer ffacd4d021 web/admin: fix oauth2 provider rsaKey being required
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 12:48:21 +02:00
Jens Langhammer 54ad6b8dd9 web/admin: fix flows not showing slug
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 12:48:09 +02:00
Jens Langhammer 70fc4c0d88 sources/ldap: migrate to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 12:12:14 +02:00
Jens Langhammer 75d67e0e05 web/elements: add formgroup
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 11:47:03 +02:00
Jens Langhammer ed2e9b88e7 Merge branch 'master' into new-forms-part-3
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-01 23:02:22 +02:00
Jens Langhammer dd88d9254e Merge branch 'next'
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

# Conflicts:
#	web/src/interfaces/AdminInterface.ts
2021-04-01 20:46:06 +02:00
Jens Langhammer 7e63a18d37 providers/saml: fix unittests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-01 20:05:50 +02:00
Jens Langhammer b9e718f5b8 web: build polyfills into separate file, load first
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-01 19:55:32 +02:00
Jens Langhammer 5eb9b95ab5 providers/saml: migrate import to API, add API tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-01 19:28:12 +02:00
Jens Langhammer 4e3701ca8d web/admin: migrate provider forms
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-01 15:39:59 +02:00
Jens Langhammer d3f2f987e0 providers/saml: migrate saml property mappings to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-31 23:38:40 +02:00
Jens Langhammer 221e6190c8 sources/ldap: migrate property mappings to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-31 23:08:40 +02:00
Jens Langhammer 6a69425688 providers/oauth2: migrate scope mapping to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-31 23:07:57 +02:00
Jens Langhammer 656fe00302 outposts: migrate service connections to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-31 22:47:41 +02:00
Jens Langhammer 884c91062d web/elements: fix error when resetting a proxyform
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-31 22:34:48 +02:00
Jens Langhammer a7d9857a69 web/elements: fix codemirror not being updateable without focus
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-31 22:32:28 +02:00
Jens Langhammer f814f7792c web/elements: add ProxyForm to instantiate forms based on string type
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-31 22:27:59 +02:00
Jens Langhammer e264e10ad6 web/elements: improve codemirror mismatching value
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-31 22:18:40 +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 3124b0f39c web/elements: add support for non-field errors
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-31 19:13:56 +02:00
Jens Langhammer c92a2ecbf5 web/admin: fix hideManaged toggle for propertymapping list
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-31 16:47:39 +02:00
Jens Langhammer d248b30eb3 policies: fix serializers for bindings
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-31 16:26:52 +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
Jens Langhammer b15aca80ca web: add utils for grouping
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-31 15:57:59 +02:00
Jens Langhammer 25e043afea web/admin: migrate FlowStageBinding form to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-31 15:46:48 +02:00
Jens Langhammer 0395c84270 web/admin: fix flow execute button
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-31 15:00:54 +02:00
Jens Langhammer e66c46ff59 Merge branch 'master' into new-forms-part-2 2021-03-31 14:16:24 +02:00
Jens L 46f4493f04
policies: configurable engine mode (#682)
* policies: add policy_engine_mode field, defaults to MODE_ALL

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* *: add policy_engine_mode to API

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* *: add policy_engine_mode to forms

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* policies: update default for new objects

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* docs: add to release notes

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-31 14:14:56 +02:00
Jens Langhammer f9382ed32e web/admin: fix linting errors
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-30 23:18:07 +02:00
Jens Langhammer c0cfd75a2e web/admin: add UserTokenForm
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-30 22:51:26 +02:00
Jens Langhammer 7a583cb7e6 web/admin: move user settings into separate folder
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-30 22:22:11 +02:00
Jens Langhammer cb0b5f7146 web/admin: migrate prompts to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-30 22:12:06 +02:00
Jens Langhammer 8a3b1ae29d web/admin: migrate invitations to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-30 22:11:30 +02:00
Jens Langhammer 717282b4b7 web/elements: fix error resetting form with codemirror
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-30 19:56:00 +02:00
Jens Langhammer 9c65fd814b web: fix saving for CodeMirror not returning an object
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-30 18:20:48 +02:00
Jens Langhammer 58a7d67922 web/admin: migrate property mapping test to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-30 17:53:43 +02:00
Jens Langhammer b1fb2982ef web/admin: port policy test form
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-30 17:53:26 +02:00
Jens Langhammer b3b8e71caa web/flows: fix challenge type
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-30 14:34:20 +02:00
Jens Langhammer 3686cba6b4 root: fix build for static files during e2e
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-30 14:06:11 +02:00
Jens Langhammer 54c50f6446 policies: add test API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 23:40:36 +02:00
Jens Langhammer 09aa5d6350 web/admin: migrate outposts to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 23:12:31 +02:00
Jens Langhammer e5ff416c2d outposts: add API for default config
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 22:52:08 +02:00
Jens Langhammer 7a93b9e565 web/user: use ak form element for webauthn device
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 22:31:12 +02:00
Jens Langhammer 3945dc9f3f web/admin: fix execute button on flow view
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 22:30:57 +02:00
Jens Langhammer e96d2fa666 web/admin: migrate flows to web forms
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 22:24:46 +02:00
Jens Langhammer 3a2f285a87 flows: add API to debug-execute a flow and import flow
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 22:21:04 +02:00
Jens Langhammer 03ff495011 web/admin: migrate application form to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 21:39:53 +02:00
Jens Langhammer 7d74e1d2c4 *: revert to drf-yasg upstream
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 21:04:54 +02:00
Jens Langhammer 81ac53ff0a web/admin: migrate events notification rules to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 19:22:22 +02:00
Jens Langhammer 6c999d10c3 web/elements: trigger refresh on successful modalform submit
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 19:20:21 +02:00
Jens Langhammer 1e58941323 web/admin: migrate Event Transport to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 19:06:00 +02:00
Jens Langhammer bffa51f7df web: cleanup required attr
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 18:25:59 +02:00
Jens Langhammer d5281d2023 web: set name on ak-form-element-horizontal for error messages
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 18:24:56 +02:00
Jens Langhammer 5b8e3b4189 web: improve error handling
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 18:18:25 +02:00
Jens Langhammer fc17580d9a web: only show message on server error
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 17:36:52 +02:00
Jens Langhammer dfff2a1134 web/admin: migrate crypto/certificatekeypair to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 17:35:13 +02:00
Jens Langhammer a9db538c63 web/admin: fix missing css for descriptor list in cert list
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 16:23:43 +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 Langhammer fac8d53163 web/admin: fix message when object is created
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 15:57:38 +02:00
Jens Langhammer 0804b5e6c5 web: shrink flow build by not including router
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 15:53:56 +02:00
Jens Langhammer 583b6cc20b web/admin: remove site-shell
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 14:42:28 +02:00
Jens Langhammer d71d45b958 web/admin: use shadowroot for codemirror, remove styles
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 12:21:00 +02:00
Jens Langhammer 1b496dd472 web/admin: use new group form for create
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 12:02:58 +02:00
Jens Langhammer 12bfa404c8 web: rudimentary lazy loading for modals
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 11:59:30 +02:00
Jens Langhammer 76e571ea0a web: use custom-element as wrapper
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 10:09:43 +02:00
Jens Langhammer 768d72ec24 web/admin: implement groupform using webcomponents
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-28 22:07:11 +02:00
Jens Langhammer d358dc1182 Merge branch 'next' into new-forms 2021-03-28 20:25:08 +02:00
Jens Langhammer 956d868106 web: cleanup routes
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-28 16:10:28 +02:00
Jens Langhammer 926636c331 web: fix error handling in forms for non-server errors
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 23:39:31 +01:00
Jens Langhammer 2e6a264f98 web: migrate group forms
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 23:38:53 +01:00
Jens Langhammer 95ecad8382 Merge branch 'next' into new-forms
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

# Conflicts:
#	web/src/api/legacy.ts
#	web/src/main.ts
#	web/src/pages/users/UserSettingsPage.ts
2021-03-27 23:21:16 +01:00
Jens Langhammer 035771de81 web: add middleware that shows message for failed API requests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 23:18:51 +01:00
Jens Langhammer 1a53bc3de5 web: use FlowURLManager for cancel links
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 23:18:11 +01:00
Jens Langhammer e621eb7455 web: cleanup message API, use enum for level
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 23:11:44 +01:00
Jens Langhammer 1bc48d2bea stages/dummy: fix missing component
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 22:35:36 +01:00
Jens Langhammer 9bab708e6e web/flows/authenticator_validate: auto-select TOTP device when password manager prefills it
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 22:32:15 +01:00
Jens Langhammer 103e0f3b06 web: add default title
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 22:24:09 +01:00
Jens Langhammer c8608db4ee web: cleanup entrypoints
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 22:06:42 +01:00
Jens Langhammer 869f18483f web: fix flow's policy and stage count missing
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 22:02:01 +01:00
Jens Langhammer 2e58982419 web/elements: fix detection of inner forms, catch errors and don't close modal
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-25 22:08:09 +01:00
Jens Langhammer 72cca0473a web/elements: throw error in form
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-25 22:07:54 +01:00
Jens Langhammer 02212406c4 web: start migrating: groups form
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-25 21:39:49 +01:00
Jens Langhammer 2fade4e604 web/elements: add ModalForm
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-25 14:27:16 +01:00
Jens Langhammer 469ba3a391 web/flows: fix WebAuthn register stage
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-25 10:07:23 +01:00
Jens Langhammer 0b3980e564 web: fix URLs for FlowURLManager
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-25 10:07:10 +01:00
Jens Langhammer cfcf7aa2ae web: separate forms into dedicated file
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-25 09:52:19 +01:00
Jens Langhammer fe4791c216 web: initial implementation of new forms
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-25 00:05:11 +01:00
Jens Langhammer 6e46124c94 web/admin/user: fix user source connection lookups
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-24 21:40:08 +01:00
Jens Langhammer 1275f22599 web: add API Drawer
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-24 21:16:03 +01:00
Jens Langhammer 533a719914 sources/oauth: migrate to webcomponents
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-24 20:35:00 +01:00
Jens Langhammer a085632b8e stages/authenticator_*: migrate remaining stages to webcomponents
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-24 20:13:31 +01:00
Jens Langhammer 1ef5a8e6c5 stages/password: migrate settings to webcomponents
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-24 19:48:24 +01:00
Jens Langhammer ab5d6dbea1 sources/authenticator_webauthn: rewrite to webcomponent
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-24 18:00:37 +01:00
Jens Langhammer 3698c6431c flow: pass Query on FlowExecutorSolve to prevent redirect issues
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-24 14:12:49 +01:00
Jens Langhammer 5b8b973345 flows: revert to sever-side redirects for security, pass querystring from client during flow plan
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 22:35:50 +01:00
Jens Langhammer d44dc00757 web: only set background during initial load
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 21:58:12 +01:00
Jens Langhammer 37655e1e21 web/flow: fix deep redirects not working properly
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 20:05:35 +01:00
Jens Langhammer a1f961db97 web/flow: fix styling of loading between stages
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 19:52:00 +01:00
Jens Langhammer de6fa63d21 web: detect deep links in flow interface and redirect locally
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 18:04:21 +01:00
Jens Langhammer cfe7bc8155 flows: migrate access denied message to webcompoennts
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 17:55:13 +01:00
Jens Langhammer bd74e07ce1 flows: move <ak-message-container> outside of flow executor
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 16:18:00 +01:00
Jens Langhammer 45c1072291 web: add execute button to flow view page
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 16:06:08 +01:00
Jens Langhammer 33787d0685 web: remove pf-c-card-aggregate
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 16:05:37 +01:00
Jens Langhammer 068d281b19 web: use constants for custom event names
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 15:16:56 +01:00
Jens Langhammer 56344cadeb web: add confirmation form for simple write-requests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 15:07:45 +01:00
Jens Langhammer 3c2d541d60 web: refresh status card on ak-refresh event
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 15:04:09 +01:00
Jens Langhammer 6961089425 flows: add API to clear cache
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 10:37:41 +01:00
Jens Langhammer 863124efbb web: fix UserChart not showing authorizations
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 23:15:38 +01:00
Jens Langhammer ddf09a4cf5 web: fix styling during initial challenge load
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 20:49:11 +01:00
Jens Langhammer 012a045c8e web: make default background-color darker to prevent flashbang
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 20:48:58 +01:00
Jens Langhammer 6ce3d2916b web: remove version from queryargs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 18:30:04 +01:00
Jens Langhammer 450bb9040d web: fix pluralisation in sidebar
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 17:08:41 +01:00
Jens Langhammer 8a451bb5f6 web: fix FlowExecutor not setting title
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 14:39:51 +01: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 556a0d5d84 web: wrap hidden inputs in form to prevent warning
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-21 18:19:20 +01:00
Jens Langhammer 25c82d80f5 flows: use full ShadowDom for flowContainer
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-21 17:51:23 +01:00
Jens Langhammer 68449a0d21 web: fix buttons being shown over ak-loading backdrop
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-21 15:01:48 +01:00
Jens Langhammer bb9fbb55b6 core: use a single column for flow executor flow
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-21 14:53:02 +01:00
Jens Langhammer 1414322f71 root: optimise images
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-20 23:35:05 +01:00
Jens Langhammer 18594c4886 web: fix WebAuthn not working when using the retry button
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-20 23:17:41 +01:00
Jens Langhammer 3eacd8b754 web: fix SpinnerButton not showing successful status correctly
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-20 20:47:53 +01:00
Jens Langhammer 3d45956f15 web: fix display of scopes
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-20 19:05:10 +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 5c85c3315d web: add user info
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-20 17:54:25 +01:00
Jens Langhammer d0529e76ba web: show user metrics
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-20 17:30:10 +01:00
Jens Langhammer 3668850e8f web: add user authorization codes and refresh codes
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-20 16:47:39 +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 b6087c0f10 web: fix CodeMirror styles missing for SAML Source/Provider
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-20 15:59:10 +01:00
Jens Langhammer 972972a4d9 web: add Changelog Tab for sources and providers
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-20 15:52:57 +01:00
Jens Langhammer 45a397bd77 web: fix card titles
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-20 15:38:09 +01:00
Jens Langhammer 2de869d9c3 web: add ObjectChangelog element to show changelog for a single object
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-18 18:12:04 +01:00
Jens Langhammer 080282a0bc events: add better filters to event API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-18 18:11:38 +01:00
Jens Langhammer 14f2522c3e events: improve logging for geoip
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-18 15:16:43 +01:00
Jens Langhammer 01fc63fc98 web: set document title on navigation
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-18 14:48:02 +01:00
Jens Langhammer a57d524273 flows: add API for flow export
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-18 14:36:00 +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 013a192485 web: Improve error handling in deleteform
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-18 11:16:13 +01:00
Jens Langhammer bc37480f0d web: simplify DeleteForm
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-18 01:49:01 +01:00
Jens Langhammer a95b6e0e61 web: implement initial DeleteForm
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-18 01:43:12 +01:00
Jens Langhammer f1f706dd0d web: migrate user settings to SPA
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-18 01:03:07 +01:00
Jens Langhammer e6cb60b793 web/siteshell: fix missing stylesheets
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 22:26:51 +01:00
Jens Langhammer 706ffb56f7 web/pages/library: fix layout for applications without icon
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 22:25:11 +01:00
Jens Langhammer 8cadee28c1 web: don't navigate on siteshell failure
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 22:23:35 +01:00
Jens Langhammer ef58020fd4 web: move MessageContainer to document
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 22:23:24 +01:00
Jens Langhammer a54fa7c9b1 web: fix display issues with challenges using pending_user_avatar
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 22:19:31 +01:00
Jens Langhammer a8d411a77b outposts: fix integration test failing occasionally
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 22:02:13 +01:00
Jens Langhammer 5f6f5dbfc4 web: revert to use full pf in skeleton to improve FMP
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 21:20:47 +01:00
Jens Langhammer a8c1fd1e4e web: fix styling for flow stages
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 20:07:03 +01:00
Jens Langhammer 14d990df7f web: replace pf-icon-arrow
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 19:51:52 +01:00
Jens Langhammer 93e8f9cb36 web: fix notification drawer, add button to show event
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 19:49:08 +01:00
Jens Langhammer 04d2e769bb web: fix codemirror not being loaded
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 19:30:33 +01:00
Jens Langhammer 820f4be02f web: fix application view
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 19:28:36 +01:00
Jens Langhammer 0ef040e5b6 web: fix provider view
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 19:18:15 +01:00
Jens Langhammer d2bbf2965d web: fix source pages
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 19:03:53 +01:00
Jens Langhammer bf32cf3265 web: add fullHeight toggle to empty state, add dark empty state
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 18:49:55 +01:00
Jens Langhammer 5f0192ee48 web: fix dark mode for admin overview page
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 18:38:39 +01:00
Jens Langhammer 91e1ded3bf web: fix border-colour for expanded table
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 18:38:22 +01:00
Jens Langhammer fdbb9803b5 web: fix search field on tablepages
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 18:00:26 +01:00
Jens Langhammer 83abc20300 web: fix library display
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 18:00:17 +01:00
Jens Langhammer 88cf0b2cdc web: move colour styles to css file
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 17:51:24 +01:00
Jens Langhammer 16950dbc54 web: fix missing notification trigger icon
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 17:38:41 +01:00
Jens Langhammer 43bf9e6c21 web: remove common_styles
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 17:29:51 +01:00
Jens Langhammer 2698d9d23a web: remove COMMON_STYLES from message
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 13:23:33 +01:00
Jens Langhammer 6eb0583eeb web: move form element
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 12:11:56 +01:00
Jens Langhammer abbec501f7 web: fix linting errors
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-16 22:31:48 +01:00
Jens Langhammer 67629ce0b7 web: load missing flow css files and adopt them
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-16 22:02:58 +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
Jens Langhammer db99225c65 web: add default icon for empty state
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-16 20:39:07 +01:00
Jens Langhammer 56a7e1e2f0 web: fix size for spinner on table
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-16 20:08:25 +01:00
Jens Langhammer 4b33971155 release: 2021.3.4 2021-03-16 19:17:50 +01:00
Jens Langhammer 78f3abc64f web: use sections in sidebar, adjust colouring
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-16 17:34:19 +01:00
Jens Langhammer e45bc3834a web: use ShadowDom for all elements, embed smaller CSS in skeleton
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-16 17:24:02 +01:00
Jens Langhammer 07ca82e599 admin: include git build hash in gh-* tags and show build hash in admin overview
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-16 14:42:01 +01:00
Jens Langhammer a9339589bb web: fix outpost health display
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-16 14:02:50 +01:00
Jens Langhammer c8ed650f1c web: fix system task index
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-16 14:02:04 +01:00
Jens Langhammer b63b789f77 web: prevent duplicate messages 2021-03-12 12:41:17 +01:00
Jens Langhammer a63702ef90 web: add close button to messages 2021-03-12 12:27:57 +01:00
Jens Langhammer 899cf392f4 web: improve compatibility with password managers 2021-03-11 22:04:59 +01:00
Jens Langhammer 828f2f8b92 web: use loadingState for autosubmitStage 2021-03-11 15:39:59 +01:00
Jens Langhammer 734399755d web: improve layout of expanded event info 2021-03-11 15:15:17 +01:00
Jens Langhammer d8f106b976 web: improve styling for application list 2021-03-11 10:56:22 +01:00
Jens Langhammer 9a524dd671 web: show related edit button for bound stages and policies 2021-03-11 10:12:22 +01:00
Jens Langhammer 0b4be70c00 web: fix path for fallback flow view 2021-03-10 23:15:25 +01:00
Jens Langhammer d5de12b69e release: 2021.3.3 2021-03-09 18:03:53 +01:00
Jens Langhammer 132b990f10 web: fix Source icons not being displayed on firefox 2021-03-09 13:06:17 +01:00
Jens Langhammer 43a4217497 web: add optional checkboxes to table 2021-03-09 10:38:07 +01:00
Jens Langhammer e0ec5826ca web: add edit button to LibraryView when user is superuser 2021-03-09 10:38:07 +01:00
Jens Langhammer 5413a01360 web: fix drawer not updating after marking notification as seen 2021-03-09 10:38:07 +01:00
Jens Langhammer ff276fcc58 web: fix layout for search 2021-03-08 12:55:13 +01:00
Jens L 2852fa3c5e
web: use generated API Client (#616)
* api: fix types for config API

* api: remove broken swagger UI

* admin: re-fix system task enum

* events: make event optional

* events: fix Schema for notification transport test

* flows: use APIView for Flow Executor

* core: fix schema for Metrics APIs

* web: rewrite to use generated API client

* web: generate API Client in CI

* admin: use x_cord and y_cord to prevent yaml issues

* events: fix linting errors

* web: don't lint generated code

* core: fix fields not being required in TypeSerializer

* flows: fix missing permission_classes

* web: cleanup

* web: fix rendering of graph on Overview page

* web: cleanup imports

* core: fix missing background image filter

* flows: fix flows not advancing properly

* stages/*: fix warnings during get_challenge

* web: send Flow response as JSON instead of FormData

* web: fix styles for horizontal tabs

* web: add base chart class and custom chart for application view

* root: generate ts client for e2e tests

* web: don't attempt to connect to websocket in selenium tests

* web: fix UserTokenList not being included in the build

* web: fix styling for static token list

* web: fix CSRF Token missing

* stages/authenticator_static: fix error when disable static tokens

* core: fix display issue when updating user info

* web: fix Flow executor not showing spinner when redirecting
2021-03-08 11:14:00 +01:00
Jens Langhammer 1c6d498621 web: fix Flow executor not showing spinner when redirecting
# Conflicts:
#	web/src/pages/generic/FlowExecutor.ts
2021-03-08 10:26:42 +01:00
Jens Langhammer a59d78a7c7 web: fix styling for static token list 2021-03-08 10:25:56 +01:00
Jens Langhammer cbc86d674d web: fix Colours for user settings in dark mode 2021-03-06 23:00:29 +01:00
Jens Langhammer e1e0b0cf7d release: 2021.3.2 2021-03-04 09:33:25 +01:00
Jens Langhammer bb63d08682 web: fix submit in Modal reloading page in firefox 2021-03-03 23:01:47 +01:00
Jens Langhammer 32e5ebb8a3 release: 2021.3.1 2021-03-03 20:53:43 +01:00
Jens Langhammer dd31191845 Merge branch 'master' into version-2021.3 2021-03-03 20:48:02 +01:00
Jens Langhammer 9e3d1f0baa web: fix circular dependency 2021-03-03 11:38:30 +01:00
Jens Langhammer 5218332bce web: improve error handing for fetch in AdminLoginChart 2021-03-03 10:06:54 +01:00
Jens Langhammer 28cd08bbba core: make user settings use vertical tabs 2021-03-03 10:05:12 +01:00
Jens Langhammer 662d117b66 root: replace ghcr with harbor for expiry 2021-03-03 00:07:42 +01:00
Jens Langhammer b2449757f9 web/stages/authenticator_validate: only show back button when multiple challenges 2021-03-02 22:30:21 +01:00
Jens Langhammer d420719649 release: 2021.3.1-rc2 2021-03-02 21:41:30 +01:00
Jens Langhammer 0018fbacd3 Merge branch 'master' into version-2021.3
# Conflicts:
#	web/src/constants.ts
2021-03-02 21:39:30 +01:00
Jens Langhammer 3941590d0c web: fix missing create buttons on user token list 2021-03-02 21:16:14 +01:00
Jens Langhammer 74d240dfd4 admin: use spinner-button for modal forms 2021-03-02 20:37:23 +01:00
Jens Langhammer 5c0ec7554b web: fix lists not being paginated 2021-03-02 15:12:26 +01:00
Jens Langhammer 792fa45dca providers/oauth2: add logout URL to Setup URLs API 2021-03-02 15:11:18 +01:00