Commit Graph

364 Commits

Author SHA1 Message Date
Jens Langhammer 19eea68e0f web: use vertical list for related application links 2021-03-01 17:23:00 +01:00
Jens Langhammer 0478ae3da8 web: add missing SAML Source display page 2021-03-01 10:49:00 +01:00
Jens Langhammer 9c33f4858f web: fix more height issues and sidebar not correctly activating 2021-03-01 10:32:25 +01:00
Jens Langhammer 30a1b65e94 web: fix BoundPoliciesList not showing policy correctly 2021-02-28 10:19:19 +01:00
Jens Langhammer 0958740b51 providers/saml: fix Autosubmit Challenge 2021-02-28 00:09:08 +01:00
Jens Langhammer cbb0681f95 web/stages/consent: use data- attribute for permission id 2021-02-27 22:54:20 +01:00
Jens Langhammer a1af93f8be web: disable CaptureConsoleIntegration 2021-02-27 22:09:10 +01:00
Jens Langhammer b9a9da4ec7 web/stages/prompt: render later so fields aren't cached 2021-02-27 21:05:20 +01:00
Jens Langhammer 0fb17eee43 web: fix URLs for clear buttons 2021-02-27 21:00:55 +01:00
Jens Langhammer a33c7d7786 web: fix admin url for Prompt 2021-02-27 21:00:33 +01:00
Jens Langhammer c08d9762d9 web: add button to edit stage on flow BoundStageList 2021-02-27 20:45:59 +01:00
Jens Langhammer d43e6e5736 web: fix styling on dark mode for band on flow 2021-02-27 20:45:46 +01:00
Jens Langhammer 402afa1e85 Merge branch 'master' into stage-challenge
# Conflicts:
#	web/src/elements/buttons/SpinnerButton.ts
2021-02-27 18:10:08 +01:00
Jens Langhammer 5b4e75000b web: fix colourstyles not being included in common_styles 2021-02-27 17:38:21 +01:00
Jens Langhammer 1a052913e9 web: add sentry CaptureConsole 2021-02-27 17:18:42 +01:00
Jens Langhammer eccea8eba0 web/stages/authenticator_totp: fix enter button triggering copy button 2021-02-25 22:43:42 +01:00
Jens Langhammer ab200a1dfb web: add hidden input with totp config url 2021-02-25 21:43:00 +01:00
Jens Langhammer ca122b20c9 web: fix spacing for messages 2021-02-25 21:23:31 +01:00
Jens Langhammer 74b407ebc7 web: add button to copy TOTP URL
closes #591
2021-02-25 21:22:57 +01:00
Jens Langhammer c275992f7b web: re-enable fallback to siteshell for now 2021-02-25 20:55:22 +01:00
Jens Langhammer 4e2c686db1 Merge branch 'master' into stage-challenge
# Conflicts:
#	Pipfile.lock
2021-02-25 20:13:17 +01:00
Jens Langhammer 9e6a7bf16b stages/captcha: migrated to SPA 2021-02-25 19:58:38 +01:00
Jens Langhammer cf7e7c44ff stages/password: fix recovery link not being shown in SPA 2021-02-25 15:09:48 +01:00
Jens Langhammer 0f169f176d stages/authenticator_validate: implement validation, add button to go back to device picker 2021-02-25 12:07:32 +01:00
Jens Langhammer 007676b400 stages/authenticator_validate: fix post from code form 2021-02-24 20:39:39 +01:00
Jens Langhammer 5977c09b05 Merge branch 'version-2021.2'
# Conflicts:
#	authentik/admin/templates/administration/policy/list.html
#	web/src/pages/outposts/OutpostListPage.ts
2021-02-24 10:20:48 +01:00
Jens Langhammer e81d3dad3e release: 2021.2.5-stable 2021-02-24 09:54:06 +01:00
Jens Langhammer 7b60bca297 web: fix SiteShell breaking links when handlers are updated twice 2021-02-24 09:45:08 +01:00
Jens Langhammer a07d7456c8 web: fix outpost edit/delete buttons 2021-02-24 09:44:55 +01:00
Jens Langhammer d99a415502 web: fix library not being full height, again 2021-02-24 09:23:40 +01:00
Jens Langhammer e74c098b7a web: fix library not being full height, again 2021-02-24 09:21:16 +01:00
Jens Langhammer 2a0f940a42 Merge branch 'master' into stage-challenge 2021-02-23 23:43:51 +01:00
Jens Langhammer 8aa067795a web: replace default flow background for 2021.3 2021-02-23 23:43:37 +01:00
Jens Langhammer 3cdb81c5ba stages/authenticator_validate: create challenge per device, implement class switcher 2021-02-23 23:43:13 +01:00
Jens Langhammer 55af786852 Merge branch 'master' into stage-challenge 2021-02-23 23:17:03 +01:00
Jens Langhammer 7101c7987c Merge branch 'version-2021.2' 2021-02-23 23:02:05 +01:00
Jens Langhammer bd48955f39 release: 2021.2.4-stable 2021-02-23 23:00:43 +01:00
Jens Langhammer 574438b51e web: fix /-/user/ not loading 2021-02-23 22:46:11 +01:00
Jens Langhammer 8878fac4e7 stages/authenticator_validate: send challenge for each device 2021-02-23 18:25:58 +01:00
Jens Langhammer 3894895d32 stages/authenticator_validate: start rewrite to SPA 2021-02-23 13:50:47 +01:00
Jens Langhammer 451c117ea4 stages/authenticator_webauthn: fix incorrect response being sent 2021-02-22 19:54:05 +01:00
Jens Langhammer 388c8c8bec web: fix autofocus in ak-form-element 2021-02-22 19:26:50 +01:00
Jens Langhammer 2dd8119abe web: fix linting 2021-02-21 23:26:16 +01:00
Jens Langhammer 20e0fe3941 web: move ak-form-element to separate file 2021-02-21 23:09:08 +01:00
Jens Langhammer 0fa97de06e web/stages: fix cancel URL 2021-02-21 22:10:32 +01:00
Jens Langhammer 38da13fea3 web: use ak-spinner everywhere 2021-02-21 22:01:48 +01:00
Jens Langhammer fb9880bff4 web: add loading animation to flowexecutor 2021-02-21 22:01:35 +01:00
Jens Langhammer acc790f590 stages/authenticator_webauthn: fix formatting of card 2021-02-21 21:42:40 +01:00
Jens Langhammer 76c572cf7c stages/authenticator_webauthn: migrate to SPA 2021-02-21 20:53:23 +01:00
Jens Langhammer 6df89e7abf stages/authenticator_static: migrate to SPA 2021-02-21 19:34:49 +01:00
Jens Langhammer 21afda6dc2 stages/authenticator_totp: migrate to SPA 2021-02-21 19:10:50 +01:00
Jens Langhammer 74c0ed27ba web: fix /-/user/ not loading 2021-02-21 19:03:43 +01:00
Jens Langhammer 27cd10e072 stages/prompt: migrate to SPA 2021-02-21 18:27:34 +01:00
Jens Langhammer d35f524865 core: remove old templates 2021-02-21 14:59:37 +01:00
Jens Langhammer ca223fa4df providers/saml: migrate to challenge for submit 2021-02-21 14:36:22 +01:00
Jens Langhammer 14962eb6cc stages/email: migrate to SPA 2021-02-21 13:42:55 +01:00
Jens Langhammer b9f409d6d9 stages/consent: migrate to SPA 2021-02-21 13:15:45 +01:00
Jens Langhammer c1e6786ea1 stages/password: Migrate to SPA 2021-02-21 00:14:42 +01:00
Jens Langhammer 511f94fc7f *: cleanup code, return errors in challenge_invalid, fixup rendering 2021-02-20 23:34:10 +01:00
Jens Langhammer 8787dc23d0 web: fix linting errors 2021-02-20 19:59:24 +01:00
Jens Langhammer e0ae92ccc7 stages/*: update tests for new response 2021-02-20 19:41:48 +01:00
Jens Langhammer a1a3d316e3 stages/identification: implement challenge 2021-02-20 18:28:11 +01:00
Jens Langhammer 672b86ef88 web: fix old Links 2021-02-20 18:27:19 +01:00
Jens Langhammer a3c9d5873c web: fix URL for flows cached count 2021-02-20 18:27:03 +01:00
Jens Langhammer 391ee10cb8 Merge branch 'master' into stage-challenge
# Conflicts:
#	authentik/api/v2/urls.py
2021-02-20 12:51:10 +01:00
Jens Langhammer 4f374c0c01 web: add 404 page, don't auto-redirect to home 2021-02-20 00:28:00 +01:00
Jens Langhammer 264c678eaa web: migrate user token list to web 2021-02-20 00:20:01 +01:00
Jens Langhammer 854d94056e web: migrate remaining list views to web 2021-02-20 00:19:53 +01:00
Jens Langhammer 9d4c22c706 web: show header while loading application info 2021-02-19 23:34:06 +01:00
Jens Langhammer 93478a55d7 web: migrate Stage List to web 2021-02-19 19:29:17 +01:00
Jens Langhammer 6597d5bd28 web: migrate Token List to web 2021-02-19 19:09:30 +01:00
Jens Langhammer fd28f37c0d web: migrate User list to web 2021-02-19 18:43:57 +01:00
Jens Langhammer d219f65e7a web: migrate System Task list to web 2021-02-19 18:12:23 +01:00
Jens Langhammer 865f652476 web: migrate Outpost Service Connection to web 2021-02-19 17:49:34 +01:00
Jens Langhammer 029c6cd182 web: migrate Group list to web 2021-02-19 17:18:09 +01:00
Jens Langhammer 71f771c22c core: add types API to propertymapping 2021-02-19 17:10:30 +01:00
Jens Langhammer 0993d5ce4a web: reset retryDelay for WS connection after successful connect 2021-02-19 17:10:16 +01:00
Jens Langhammer 38bd05867d web: migrate Policy list to web 2021-02-19 17:05:02 +01:00
Jens Langhammer 44e51970e1 web: update for new cached actions 2021-02-19 16:37:50 +01:00
Jens Langhammer cd23053007 web: fix height on table pages 2021-02-19 16:22:52 +01:00
Jens Langhammer 6e11fd0f2e web: fix application library not being full height 2021-02-19 16:13:55 +01:00
Jens Langhammer 277b4336d3 stages/authenticator_validate: update autocomplete for code input 2021-02-19 16:00:59 +01:00
Jens Langhammer 1c1f9b6cb8 web: fix SiteShell not being full height 2021-02-19 15:34:21 +01:00
Jens Langhammer eb01b42425 flows: mount executor under api, implement initial challenge design 2021-02-17 23:52:49 +01:00
Jens L 8708e487ae
stages: add WebAuthn stage (#550)
* core: add User.uid for globally unique user ID

* admin: fix ?next for Flow list

* stages: add initial webauthn implementation

* web: add ak-flow-submit event to submit flow stage

* web: show error message for webauthn registration

* admin: fix next param not redirecting correctly

* stages/webauthn: remove form

* stages/webauthn: add API

* web: update flow diagram on ak-refresh

* stages/webauthn: add initial authentication

* stages/webauthn: initial authentication implementation

* web: cleanup webauthn utils

* stages: rename otp_* to authenticator and move webauthn to authenticator

* docs: fix broken links

* stages/authenticator_*: fix template paths

* stages/authenticator_validate: add device classes

* stages/authenticator_webauthn: implement django_otp.devices

* stages/authenticator_*: update default stage names

* web: add button to create stage on flow page

* web: don't minify HTML, remove nbsp

* admin: fix typo in stage list

* stages/*: use common base class for stage serializer

* stages/authenticator_*: create default objects after rename

* tests/e2e: adjust stage order
2021-02-17 20:49:58 +01:00
Jens Langhammer 06870b4f64 web: improve styling on model info 2021-02-16 23:19:01 +01:00
Jens Langhammer 4cfcc48b23 admin: migrate certificate-keypair list to web 2021-02-16 23:16:52 +01:00
Jens Langhammer d122bddae2 web: update flow diagram on ak-refresh 2021-02-16 22:54:14 +01:00
Jens Langhammer 69e6221906 web: port flow list 2021-02-16 22:52:54 +01:00
Jens Langhammer 68eefd083e web: fix linting errors 2021-02-16 22:35:55 +01:00
Jens Langhammer baa2ed5ecc web: fix download button for SAML Metadata download 2021-02-16 21:04:03 +01:00
Jens Langhammer f8ba623fc1 web: add more related links, add policy/user/group support for bindings 2021-02-16 20:52:59 +01:00
Jens Langhammer 416d949d80 web: add button to create application on provider page 2021-02-16 20:00:34 +01:00
Jens Langhammer 8bd147b205 web: fix spacing on boudstagelist 2021-02-16 17:03:37 +01:00
Jens Langhammer be292729a5 web: fix SiteShell breaking links when handlers are updated twice 2021-02-13 18:11:29 +01:00
Jens Langhammer 1649c478b6 web: fix outpost edit/delete buttons 2021-02-12 11:56:54 +01:00
Jens Langhammer 7da90ff7e4 release: 2021.2.3-stable 2021-02-10 20:47:33 +01:00
Jens Langhammer e6c75ed173 web: fix untranslated strings 2021-02-10 20:21:04 +01:00
Jens Langhammer a353c6956e web: fix missing source create button 2021-02-10 20:13:12 +01:00
Jens Langhammer 2b7a22a29a core: add providers/types endpoint 2021-02-10 20:11:54 +01:00
Jens Langhammer c621f62d92 release: 2021.2.2-stable 2021-02-10 13:33:23 +01:00
Jens Langhammer a7d0a50859 events: rename context.token to context.secret 2021-02-09 20:10:43 +01:00
Jens Langhammer 71c9108f89 events: rename token_view to secret_view 2021-02-09 18:20:28 +01:00
Jens Langhammer f8bcdb26b3 web: PBResponse -> AKResponse 2021-02-09 17:04:55 +01:00
Jens Langhammer 45f1d95bf9 sources/oauth: add callback URL to api 2021-02-09 16:58:19 +01:00
Jens Langhammer 5dab198c47 web: add new sources view 2021-02-09 16:24:27 +01:00
Jens Langhammer fa30755241 web: make ActionButton's method configurable 2021-02-09 16:14:51 +01:00
Jens Langhammer 101f916247 web: add source list page 2021-02-09 10:22:49 +01:00
Jens Langhammer ddb8610032 web: fix modalbutton for non-fetched sites 2021-02-09 10:00:33 +01:00
Jens Langhammer 22ad850e6c web: fix overflow on modalbutton 2021-02-09 09:57:59 +01:00
Jens Langhammer c1254f6212 web: update SiteShell to not use innerHTML 2021-02-08 23:16:20 +01:00
Jens Langhammer c8120c0d3e web: fix ModalButton working in global scope, causing issues on 2nd use 2021-02-08 23:10:45 +01:00
Jens Langhammer b3bd979ecd release: 2021.2.1-stable 2021-02-08 21:34:05 +01:00
Jens Langhammer db113c5e8f Merge branch 'master' into version-2021.2 2021-02-08 21:33:58 +01:00
Jens Langhammer 78bcb90a1e outposts: ensure Outpost API is backwards compatible 2021-02-08 19:51:46 +01:00
Jens Langhammer b64ecbde22 web: fix linting 2021-02-08 19:42:49 +01:00
Jens Langhammer 43bab840ec web: fix sidebar being active when stage prompts is selected 2021-02-08 19:08:39 +01:00
Jens Langhammer 820f658b49 web: add outpost list page 2021-02-08 19:04:19 +01:00
Jens Langhammer fe4b2d1a34 providers/oauth2: add authorized scopes to AUTHORIZE_APPLICATION event 2021-02-08 11:51:38 +01:00
Jens Langhammer 3ced67b151 sources/*: simplify source api 2021-02-08 10:25:59 +01:00
Jens Langhammer 1e934aa5d5 release: 2021.2.1-rc2 2021-02-07 19:04:43 +01:00
Jens Langhammer d93927755a Merge branch 'master' into version-2021.2 2021-02-07 19:04:37 +01:00
Jens Langhammer bf9826873e web: fix outpost item in sidebar being active on service connection views 2021-02-07 18:21:13 +01:00
Jens Langhammer c4311abc9f web: fix link to provider list on overview page 2021-02-06 22:46:09 +01:00
Jens Langhammer 33cdbd7776 release: 2021.2.1-rc1 2021-02-06 20:10:50 +01:00
Jens Langhammer 18bc54214d web: increase height of multi-select 2021-02-06 19:19:57 +01:00
Jens Langhammer 91282c7bd8 web: add page for Proxy Provider 2021-02-06 18:57:25 +01:00
Jens Langhammer 830b8bcd5b web: add page for OAuth2 Provider 2021-02-06 18:39:15 +01:00
Jens Langhammer 6aa6615608 web: add view page for SAML Provider 2021-02-06 18:07:13 +01:00
Jens L a6ac82c492
*: rewrite managed objects, use nullable text flag instead of boolean as uid (#533) 2021-02-06 15:56:21 +00:00
Jens Langhammer 1f8130e685 events: improve information sent in notification emails 2021-02-04 21:44:59 +01:00
Jens Langhammer 580d59e921 web: add EventInfoPage 2021-02-04 21:28:01 +01:00
Jens Langhammer 9f478bb46a web: fix type warnings 2021-02-04 21:10:13 +01:00
Jens Langhammer 7a16f97908 web: add ak-expand for event list to show full context 2021-02-04 20:59:18 +01:00
Jens Langhammer dd8c1eeb52 web: add ak-expand 2021-02-04 20:56:40 +01:00
Jens Langhammer 7e2a471903 web: fix linting issues 2021-02-04 10:22:14 +01:00
Jens Langhammer 9ca9e67ffa web: fix pagination not working correctly sometimes, fix pagination not showing when changing pages 2021-02-04 10:09:19 +01:00
Jens Langhammer 178417fe67 web: start implementing provider list 2021-02-04 10:09:19 +01:00
Jens Langhammer 1ab5289e2e admin: add test view for property mappings 2021-02-03 21:58:56 +01:00
Jens Langhammer ac24fc9ce3 web: add javascript mode to codemirror 2021-02-03 21:58:30 +01:00
Jens Langhammer 44686de74e docs: prepare 2021.2 releases 2021-02-03 21:29:13 +01:00
Jens L e25d03d8f4
Managed objects (#519)
* managed: add base manager and Ops

* core: use ManagedModel for Token and PropertyMapping

* providers/saml: implement managed objects for SAML Provider

* sources/ldap: migrate to managed

* providers/oauth2: migrate to managed

* providers/proxy: migrate to managed

* *: load .managed in apps

* managed: add reconcile task, run on startup

* providers/oauth2: fix import path for managed

* providers/saml: don't set FriendlyName when mapping is none

* *: use ObjectManager in tests to ensure objects exist

* ci: use vmImage ubuntu-latest

* providers/saml: add new mapping for username and user id

* tests: remove docker proxy

* tests/e2e: use updated attribute names

* docs: update SAML docs

* tests/e2e: fix remaining saml cases

* outposts: make tokens as managed

* *: make PropertyMapping SerializerModel

* web: add page for property-mappings

* web: add codemirror to common_styles because codemirror

* docs: fix member-of in nextcloud

* docs: nextcloud add admin

* web: fix refresh reloading data two times

* web: add loading lock to table to prevent double loads

* web: add ability to use null in QueryArgs (value will be skipped)

* web: add hide option to property mappings

* web: fix linting
2021-02-03 21:18:31 +01:00
Jens Langhammer 4d7e64c48c web: adjust trace sample rate 2021-02-02 15:50:29 +01:00
Jens Langhammer 7c0c453d9f web: fix new provider dropdown being cut off 2021-01-30 12:38:33 +01:00
Jens Langhammer 3e3f29973b release: 2021.1.4-stable 2021-01-29 10:29:06 +01:00
Jens Langhammer ac7b0ac965 web: fix site-shell being cut off when not full height 2021-01-28 22:17:20 +01:00
Jens Langhammer 5c3f410016 release: 2021.1.3-stable 2021-01-27 10:50:48 +01:00
Jens Langhammer 6f1fb9ca43 release: 2021.1.2-stable 2021-01-18 11:14:55 +01:00
Jens Langhammer 677a181b9c release: 2021.1.1-stable 2021-01-17 22:36:16 +01:00
Jens Langhammer 217cca822d web: fix sidebar overlaying background 2021-01-17 20:09:53 +01:00