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
db9aa5d9dc
admin: remove delete views
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-18 12:40:28 +01:00
Jens Langhammer
dae60b5a08
*: replace ReadOnlyModelViewSet with List/Retrieve/Delete viewsets
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-18 12:11:07 +01:00
Jens Langhammer
ac78e3e2ec
root: further cleanup in asgi logger
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-18 01:27:52 +01:00
Jens Langhammer
77a484e698
stages/*: fix warning for user settings API
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-18 01:11:13 +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
a6123cfbe4
flows: add API for user's stage settings
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-18 00:33:12 +01:00
Jens Langhammer
07142cab8b
core: add API for user source settings
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-18 00:32:40 +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
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
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
5b0d875a42
admin: re-add property-mapping test template
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 19:28:45 +01:00
Jens Langhammer
c70f6e3122
events: fix Schema for query params for top_per_user
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 18:33:12 +01:00
Jens Langhammer
56260cd23f
root: fix concurrency logging issues
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 18:20:00 +01:00
Jens Langhammer
4b33971155
release: 2021.3.4
2021-03-16 19:17:50 +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
9d339d8b11
policies: fix error when clearing policy cache when no policies are cached
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-13 21:10:13 +01:00
Jens Langhammer
4e86aa3f59
sources/oauth: fix error on user enrollment when no enrollment flow is defined
...
fixes #636
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-13 21:08:31 +01:00
Jens Langhammer
e67f235a9f
website: add docs for compose configuration options
2021-03-12 16:43:31 +01:00
Jens Langhammer
d99451b45c
outposts: improve logs for outpost connection
2021-03-11 17:50:57 +01:00
Jens Langhammer
f8dc32b387
events: don't fail on boot when geoip can't be opened
2021-03-11 16:38:14 +01:00
Jens Langhammer
e0298141cf
web: backport fix: add missing background filter
...
# Conflicts:
# authentik/core/templates/login/base_full.html
2021-03-10 23:23:25 +01:00
Jens Langhammer
d5de12b69e
release: 2021.3.3
2021-03-09 18:03:53 +01:00
Jens Langhammer
34a3d81eff
stages/authenticator_*: add API for authenticator devices
2021-03-09 10:38:07 +01:00
Jens Langhammer
d150851ff5
root: fix date settings
2021-03-08 15:24:11 +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
3f0e4bb654
stages/authenticator_static: fix error when disable static tokens
2021-03-08 10:26:03 +01:00
Jens Langhammer
cbc86d674d
web: fix Colours for user settings in dark mode
2021-03-06 23:00:29 +01:00
Jens Langhammer
c6de4e47d7
providers/oauth2: allow protected_resource_view when method is OPTIONS
2021-03-05 16:57:37 +01:00
Jens Langhammer
de4b3d6290
providers/oauth2: always set CORS headers on provider info view
2021-03-05 14:27:16 +01:00
Jens Langhammer
0fe009d37c
stages/authenticator_webauthn: add missing migration
2021-03-05 14:14:37 +01:00
Jens Langhammer
d53c82eee2
core: fix link on login template
2021-03-04 09:39:13 +01:00
Jens Langhammer
e1e0b0cf7d
release: 2021.3.2
2021-03-04 09:33:25 +01:00
Jens Langhammer
32655567da
sources/ldap: fix sync for Users without pwdLastSet
2021-03-03 22:54:05 +01:00
Jens Langhammer
ff5f5f65e8
web: fix date display issue
2021-03-03 21:53:30 +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
3319547a0e
outposts: improve error handling for kubernetes outpost
2021-03-03 20:27:38 +01:00
Jens Langhammer
1a00730cdd
core: cleanup output for backup task
2021-03-03 20:11:55 +01:00
Jens Langhammer
466723573c
api: fix types for config API
2021-03-03 20:05:43 +01:00
Jens Langhammer
ea784d47f4
admin: fix mismatched Swagger schema
2021-03-03 17:44:47 +01:00
Jens Langhammer
77d5ba2862
events: fix typo in events API
2021-03-03 16:54:59 +01:00
Jens Langhammer
f4580a1097
api: remove legacy messages API as its WS only
2021-03-03 15:02:20 +01:00
Jens Langhammer
c002c4b610
api: make pagination required
2021-03-03 10:37:03 +01:00
Jens Langhammer
28cd08bbba
core: make user settings use vertical tabs
2021-03-03 10:05:12 +01:00
Jens Langhammer
3cb0575a1e
root: fix swagger pagination not matching API
2021-03-03 09:28:22 +01:00
Jens Langhammer
e2a771bdaa
docs: update screenshot in captcha stage
2021-03-02 22:25:00 +01:00
Jens Langhammer
23de9df2a5
stages/authenticator_validate: cleanup
2021-03-02 22:20:54 +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
8c41d2f4cb
stages/authenticator_webauthn: add views to update and delete devices
2021-03-02 21:26:31 +01:00
Jens Langhammer
dc4a7c35da
core: fix errors on user token views
2021-03-02 21:16:03 +01:00
Jens Langhammer
e8c9b70ae8
sources/ldap: check pwdLastSet when syncing Users
2021-03-02 21:05:02 +01:00
Jens Langhammer
74d240dfd4
admin: use spinner-button for modal forms
2021-03-02 20:37:23 +01:00
Jens Langhammer
373793ce9a
policies: show more information when provider fails to resolve application
2021-03-02 16:58:55 +01:00
Jens Langhammer
792fa45dca
providers/oauth2: add logout URL to Setup URLs API
2021-03-02 15:11:18 +01:00
Jens Langhammer
743aaea15e
policies: improve logging
2021-03-02 15:04:31 +01:00
Jens Langhammer
38d9533afd
root: update screenshots
2021-03-02 12:15:32 +01:00
Jens Langhammer
7538af5e09
docs: fix download links for compose
2021-03-02 10:07:46 +01:00
Jens Langhammer
2e659c1ab0
release: 2021.3.1-rc1
2021-03-02 09:41:09 +01:00
Jens Langhammer
7fb95dfabf
stages/password: improve logging
2021-03-02 09:40:32 +01:00
Jens Langhammer
83cc5d24f2
stages/password: improve logging
2021-03-02 09:30:29 +01:00
Jens Langhammer
3045cf1aef
web: make user password-reset button use action button
2021-03-01 20:41:54 +01:00
Jens Langhammer
c65b2944b3
stages/reputation: add API for user and IP Score
2021-03-01 20:22:37 +01:00
Jens Langhammer
2ae5a81c15
stages/deny: add deny stage
2021-03-01 20:16:54 +01:00
Jens Langhammer
ed8b78600e
stages/authenticator_validate: add configuration stage to configure Authenticator
2021-03-01 19:23:59 +01:00
Jens Langhammer
644a03e40e
lib: don't order_by on widget because PolicyBindingModel, order in form
2021-03-01 19:23:09 +01:00
Jens Langhammer
88ce93ab04
policies: fix tests creating policies with empty names
2021-03-01 19:22:35 +01:00
Jens Langhammer
03d38557e5
stages/*: simplify __str__ of classes
2021-03-01 18:30:47 +01:00
Jens Langhammer
37b59bb5b9
lib: sort GroupedModelChoiceField by name
...
closes #602
2021-03-01 18:30:27 +01:00
Jens Langhammer
ce7aae16c9
stages/password: fix ?next param for password change
2021-03-01 17:17:44 +01:00
Jens Langhammer
fd9ba97479
core: remove source's ui_additional_info
2021-03-01 16:57:51 +01:00
Jens Langhammer
ca4ead8fd8
events: fix event creation with anonymous user
2021-03-01 12:04:27 +01:00
Jens Langhammer
a81f981471
lib: fix being unable to set authentik. options
2021-03-01 11:11:00 +01:00
Jens Langhammer
d6fd2b0afa
sources/saml: add Metadata API
2021-03-01 10:50:45 +01:00
Jens Langhammer
1149a8d9a4
flows: fix tests for diagram
2021-02-28 11:01:34 +01:00
Jens Langhammer
9b3e94c7c8
flows: fix flow diagram showing policy after stage and not before
2021-02-28 10:28:37 +01:00
Jens Langhammer
7f65ae3f92
Merge branch 'master' into stage-challenge
...
# Conflicts:
# web/package-lock.json
2021-02-28 00:47:18 +01:00
Jens Langhammer
0958740b51
providers/saml: fix Autosubmit Challenge
2021-02-28 00:09:08 +01:00
Jens Langhammer
05a5b5b675
stages/prompt: fix fields not being sorted correctly
2021-02-27 21:03:57 +01:00
Jens Langhammer
ffcf064f83
Merge branch 'version-2021.2'
...
# Conflicts:
# authentik/policies/group_membership/forms.py
# web/package.json
# web/src/constants.ts
# web/src/elements/buttons/TokenCopyButton.ts
2021-02-27 18:29:30 +01:00
Jens Langhammer
5725e54334
release: 2021.2.6-stable
2021-02-27 18:16:46 +01:00
Jens Langhammer
c20856ca17
web: fix colourstyles not being included in common_styles
...
# Conflicts:
# authentik/events/geo.py
# web/src/elements/buttons/TokenCopyButton.ts
2021-02-27 18:16:32 +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
fe290aa214
sources/ldap: fix password setter on users which are not LDAP
2021-02-27 17:04:16 +01:00
Jens Langhammer
a2e69bd250
sources/ldap: fix API error when source has not synced yet
2021-02-27 17:04:16 +01:00
Jens Langhammer
d2a35eb8de
admin: fix missing success_url for clean views
2021-02-27 17:04:16 +01:00
Jens Langhammer
3437d8b4b0
flows: handle error when app cannot be found during import
2021-02-27 17:04:16 +01:00
Jens Langhammer
b862bf4284
providers/oauth2: fix error when no login event could be found
2021-02-27 17:04:16 +01:00
Jens Langhammer
de22a367b1
events: fix error when event can't be loaded into rule task
2021-02-27 17:04:15 +01:00
Jens Langhammer
17ab895652
flows: fix glob pattern for doc flows
2021-02-27 17:04:06 +01:00
Jens Langhammer
a4d5815e1b
policies: sort groups in groupmembership policy and binding
...
closes #595
# Conflicts:
# authentik/policies/group_membership/forms.py
2021-02-27 17:02:34 +01:00
Jens Langhammer
4cbfaaa72b
sources/ldap: fix password setter on users which are not LDAP
2021-02-27 16:49:59 +01:00
Jens Langhammer
92943f08d9
sources/ldap: fix API error when source has not synced yet
2021-02-27 16:29:36 +01:00
Jens Langhammer
10ef1c7e93
admin: fix missing success_url for clean views
2021-02-27 16:27:42 +01:00
Jens Langhammer
02c762c268
flows: handle error when app cannot be found during import
2021-02-27 16:26:06 +01:00
Jens Langhammer
d2dfc6d63b
Merge branch 'master' into stage-challenge
2021-02-27 16:04:57 +01:00
Jens Langhammer
a18240fcd7
providers/oauth2: fix error when no login event could be found
2021-02-27 16:02:07 +01:00
Jens Langhammer
9af1d6f63b
events: fix error when event can't be loaded into rule task
2021-02-27 15:22:43 +01:00
Jens Langhammer
e94abfc986
flows: fix glob pattern for doc flows
2021-02-27 13:23:16 +01:00
Jens Langhammer
5c652c1f79
policies: sort groups in groupmembership policy and binding
...
closes #595
2021-02-27 13:19:38 +01:00
Jens Langhammer
c62ef4ae81
stages/identification: don't pass entire application
2021-02-26 16:44:45 +01:00
Jens Langhammer
3df81ca6f0
root: don't use failfast
2021-02-26 15:39:50 +01:00
Jens Langhammer
2335ccddaa
root: add fallback URL for websocket
2021-02-26 15:12:58 +01:00
Jens Langhammer
477e30f542
core: fix path for blank avatar when avatars are disabled
2021-02-26 15:07:30 +01:00
Jens Langhammer
7bf3d7e10a
Merge branch 'master' into stage-challenge
...
# Conflicts:
# Pipfile.lock
2021-02-26 12:02:49 +01:00
Jens Langhammer
1bef659b10
stages/captcha: remove dependency on captcha app
2021-02-26 10:13:58 +01:00
Jens Langhammer
fbf2fe2404
stages/authenticator_validate: fix webauthn validation
2021-02-25 21:00:32 +01:00
Jens Langhammer
b968adffc1
stages/authenticator_totp: fix error when disabling device
2021-02-25 21:00:18 +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
890e0e9054
*: remove unused templates and code, move avatar to User model
2021-02-25 19:58:23 +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
5aabaebd96
root: fix request_id not being logged for actual asgi requests
2021-02-24 09:45:52 +01:00
Jens Langhammer
c1caf84d92
events: fix user QuerySet being passed
2021-02-24 09:44:05 +01:00
Jens Langhammer
86c069fe64
admin: fix policy list not having a refresh button
2021-02-24 09:43:57 +01:00
Jens Langhammer
ce0140ef67
events: pass Event's user to Notification policy engine when present
2021-02-24 09:43:50 +01:00
Jens Langhammer
bba43c5109
sources/oauth: fix buttons not being ak-root-link
2021-02-24 09:23:44 +01:00
Jens Langhammer
9049593ff5
sources/oauth: fix buttons not being ak-root-link
2021-02-24 09:23:19 +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
e8259791f0
stages/authenticator_webauthn: fix rp_id and origin generation
2021-02-23 23:39:00 +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
53adcd9157
core: fix user-settings not loading sources
2021-02-23 22:55:08 +01:00
Jens Langhammer
c5a2bb8914
admin: fix success_urls
2021-02-23 22:55:01 +01:00
Jens Langhammer
66e5958283
core: fix user-settings not loading sources
2021-02-23 22:53:17 +01:00
Jens Langhammer
9db445c3ee
admin: fix success_urls
2021-02-23 22:53:05 +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
5904070bb2
flows: add ensure_csrf_cookie() to flow shell view
2021-02-22 18:42:15 +01:00
Jens Langhammer
217595bb01
tests: start fixing selenium tests
2021-02-21 23:39:02 +01:00
Jens Langhammer
20e0fe3941
web: move ak-form-element to separate file
2021-02-21 23:09:08 +01:00
Jens Langhammer
fb9880bff4
web: add loading animation to flowexecutor
2021-02-21 22:01:35 +01:00
Jens Langhammer
76c572cf7c
stages/authenticator_webauthn: migrate to SPA
2021-02-21 20:53:23 +01:00
Jens Langhammer
0904fea109
flows: fix migration for e2e tests
2021-02-21 20:47: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
dc680a3385
flows: set pending_user in ChallengeStageView
2021-02-21 18:58:08 +01:00
Jens Langhammer
88e5b22d16
flows: add get_pending_user() for WithUserInfoChallenge
2021-02-21 18:35:21 +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
a8681ac88f
root: fix typo
2021-02-21 00:22:14 +01:00
Jens Langhammer
c1e6786ea1
stages/password: Migrate to SPA
2021-02-21 00:14:42 +01:00
Jens Langhammer
1c8d101fc3
stages/identification: remove templates
2021-02-20 23:47:18 +01:00
Jens Langhammer
7a9140bdcd
core: move UILoginButtonSerializer into core
2021-02-20 23:42:35 +01:00
Jens Langhammer
511f94fc7f
*: cleanup code, return errors in challenge_invalid, fixup rendering
2021-02-20 23:34:10 +01:00
Jens Langhammer
548b1ead2f
flows: challenge error response in challenge format
2021-02-20 20:28:57 +01:00
Jens Langhammer
33f67140f2
stages/identification: move user validation to serializer
2021-02-20 20:16:20 +01:00
Jens Langhammer
e0ae92ccc7
stages/*: update tests for new response
2021-02-20 19:41:48 +01:00
Jens Langhammer
bdb86d7119
*: replace shortcuts.reverse with urls.reverse
2021-02-20 19:13:50 +01:00
Jens Langhammer
a1a3d316e3
stages/identification: implement challenge
2021-02-20 18:28:11 +01:00
Jens Langhammer
0e975757b8
core: remove UILoginButton's icon_path
2021-02-20 18:26:43 +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
dde303f13a
admin: remove dead code
2021-02-20 00:27:22 +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
9b12895fab
admin: remove unneeded code
2021-02-19 19:32:46 +01:00
Jens Langhammer
93478a55d7
web: migrate Stage List to web
2021-02-19 19:29:17 +01:00
Jens Langhammer
a76cbf8b70
flows: separate flows api into smaller files
2021-02-19 19:14:16 +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
8008918d8b
admin: remove PolicyBinding list
2021-02-19 17:37:19 +01:00
Jens Langhammer
75d0bd01c2
admin: remove StageBinding list
2021-02-19 17:19:48 +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
38bd05867d
web: migrate Policy list to web
2021-02-19 17:05:02 +01:00
Jens Langhammer
79089d8981
policies: add bound count to api
2021-02-19 16:53:30 +01:00
Jens Langhammer
47bde052ca
policies: add types action to policy API, use MetaNameSerializer
2021-02-19 16:34:33 +01:00
Jens Langhammer
bd6a473d4f
flows: add cached as action to flow API
2021-02-19 16:34:12 +01:00
Jens Langhammer
277b4336d3
stages/authenticator_validate: update autocomplete for code input
2021-02-19 16:00:59 +01:00
Jens Langhammer
b229b2f40d
Merge branch 'master' into stage-challenge
...
# Conflicts:
# authentik/stages/authenticator_validate/stage.py
# authentik/stages/identification/stage.py
2021-02-18 14:04:35 +01:00
Jens Langhammer
e4f0613fab
*: replace tuple and set from typing with normal
2021-02-18 13:53:57 +01:00
Jens Langhammer
ecff810021
*: replace List from typing with normal list
2021-02-18 13:45:46 +01:00
Jens Langhammer
fdde97cbbf
*: replace Dict from typing with normal dict
2021-02-18 13:41:03 +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
4cfcc48b23
admin: migrate certificate-keypair list to web
2021-02-16 23:16:52 +01:00
Jens Langhammer
60c244c31d
core: add User.uid for globally unique user ID
2021-02-16 23:04:48 +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
a647917074
providers/saml: use redirect binding first
2021-02-16 21:35:19 +01:00
Jens Langhammer
099197ba8c
providers/saml: fix AuthnRequestsSigned and WantAssertionsSigned not loaded correctly
2021-02-16 21:30:15 +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
6bcdf36ca6
admin: add ?provider for ApplicationCreateView
2021-02-16 20:00:52 +01:00
Jens Langhammer
0b75a0028b
providers/saml: fix error when getting metadata of provider with no application
2021-02-16 19:58:04 +01:00
Jens Langhammer
0901d7461e
providers/saml: fix redirect error
2021-02-16 19:28:18 +01:00
Jens Langhammer
61772b75ff
providers/saml: fix managed mappings not being set on import
2021-02-16 19:20:52 +01:00
Jens Langhammer
61604adf9a
root: fix request_id not being logged for actual asgi requests
2021-02-16 19:14:08 +01:00
Jens Langhammer
5ae030997a
providers/saml: fix missing import
2021-02-15 09:25:22 +01:00
Jens Langhammer
35e8a0c374
admin: fix ?next for Flow list
2021-02-14 18:39:36 +01:00
Jens Langhammer
bbd088a957
events: fix geoip case when not configured
2021-02-12 10:43:00 +01:00
Jens Langhammer
5417d0a90c
*: bump pyright version
2021-02-12 10:19:38 +01:00
Jens Langhammer
417b5d61a4
root: add initial geoip implementation
2021-02-12 09:52:14 +01:00
Jens Langhammer
e550216f85
events: fix user QuerySet being passed
2021-02-11 23:36:22 +01:00
Jens Langhammer
1afb4a7a76
policies: add ability to directly assign groups in bindings
2021-02-11 20:36:48 +01:00
Jens Langhammer
391eb9d469
admin: fix policy list not having a refresh button
2021-02-11 20:17:45 +01:00
Jens Langhammer
494f094fa1
events: pass Event's user to Notification policy engine when present
2021-02-11 19:56:39 +01:00
Jens Langhammer
aa0f5df218
policies/*: cleanup api and forms, use correct inheritance
2021-02-11 19:50:02 +01:00
Jens Langhammer
7da90ff7e4
release: 2021.2.3-stable
2021-02-10 20:47:33 +01:00
Jens Langhammer
61b5714652
docs: update release notes
2021-02-10 20:47:06 +01:00
Jens Langhammer
d2df426489
core: fix tokens using wrong lookup
2021-02-10 20:32:54 +01:00
Jens Langhammer
a367d8515f
core: add source endpoint
2021-02-10 20:12:07 +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
d15e50025c
root: log runtime in milliseconds
2021-02-09 23:33:25 +01:00
Jens Langhammer
0af66a26ab
crypto: move certificate and key data to separate api calls to create events
2021-02-09 21:47:00 +01:00
Jens Langhammer
bf754369d9
providers/proxy: fix certificates without key being selectable
2021-02-09 21:11:44 +01:00
Jens Langhammer
02dc112f8f
outposts: fix ProxyProvider update not triggering outpost update
2021-02-09 20:59:39 +01:00
Jens Langhammer
2d4e7ebab5
admin: remove unnecessary success_urls
2021-02-09 20:58:46 +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
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
ad91abe9de
admin: remove old sources view
2021-02-09 16:17:48 +01:00
Jens Langhammer
fa30755241
web: make ActionButton's method configurable
2021-02-09 16:14:51 +01:00
Jens Langhammer
552f8c6a9a
sources/*: switch API to use slug in URL
2021-02-09 16:08:30 +01:00
Jens Langhammer
2acdcf74e1
sources/ldap: add API for sync status
2021-02-09 10:21:59 +01:00
Jens Langhammer
52016e0806
policies: skip cache on debug request
2021-02-08 22:14:23 +01:00
Jens Langhammer
e555bdd42b
lib: fix stacktrace for general expressions
2021-02-08 22:14:13 +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
43bab840ec
web: fix sidebar being active when stage prompts is selected
2021-02-08 19:08:39 +01:00
Jens Langhammer
f020b79384
admin: remove old code
2021-02-08 19:07:25 +01:00
Jens Langhammer
820f658b49
web: add outpost list page
2021-02-08 19:04:19 +01:00
Jens Langhammer
5d460a2537
admin: remove outposts list
2021-02-08 19:02:39 +01:00
Jens Langhammer
efc46f52e6
outposts: move health to API
2021-02-08 19:01:10 +01:00
Jens Langhammer
fe4b2d1a34
providers/oauth2: add authorized scopes to AUTHORIZE_APPLICATION event
2021-02-08 11:51:38 +01:00
Jens Langhammer
f8abe3e210
providers/oauth2: add unofficial groups attribute to default profile claim
2021-02-08 11:50:26 +01:00
Jens Langhammer
3ced67b151
sources/*: simplify source api
2021-02-08 10:25:59 +01:00
Jens Langhammer
cd5631ec76
admin: fix link in source list
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
6869b3c16a
admin: add button to generate certificate-key pair
2021-02-07 16:15:55 +01:00
Jens Langhammer
bfc8e9200f
providers/saml: split views into separate files
2021-02-07 13:39:33 +01:00
Jens Langhammer
c4311abc9f
web: fix link to provider list on overview page
2021-02-06 22:46:09 +01:00
Jens Langhammer
ec42869e00
policies: add debug flag to PolicyRequest to prevent alerts from testing policies
2021-02-06 21:45:38 +01:00
Jens Langhammer
45963c2ffc
admin: improve layout for policy testing
2021-02-06 21:43:14 +01:00
Jens Langhammer
7af883d80c
root: add dedicated live and readiness views
2021-02-06 21:07:05 +01:00
Jens Langhammer
4a5374d03f
admin: remove provider list view
2021-02-06 20:54:50 +01:00
Jens Langhammer
3b536f6e55
admin: fix property-mapping views redirecting to invalid URL
2021-02-06 20:54:12 +01:00
Jens Langhammer
6aa13a8666
providers/saml: force-set friendly_name to empty string for managed mappings
2021-02-06 20:52:52 +01:00
Jens Langhammer
33cdbd7776
release: 2021.2.1-rc1
2021-02-06 20:10:50 +01:00
Jens Langhammer
db7e9f9b95
sources/ldap: set default group property mapping
2021-02-06 19:17:39 +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
0f5e6d0d8c
api: add dark theme for API Browser
2021-02-06 18:09:24 +01:00
Jens Langhammer
6aa6615608
web: add view page for SAML Provider
2021-02-06 18:07:13 +01:00
Jens Langhammer
91d6a3c8c7
providers/*: simplify provider API
2021-02-06 17:31:29 +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
32cf960053
sources/ldap: add property_mappings_group to make group mapping more customisable
2021-02-06 15:27:07 +01:00
Jens Langhammer
83bf639926
sources/ldap: use both entryDN and dn (for active-directory)
2021-02-05 15:17:57 +01:00
Jens Langhammer
2717742bd2
sources/ldap: don't remove users from group which were not synced from AD
2021-02-05 15:17:20 +01:00
Jens Langhammer
ef70e93bbd
Merge branch 'master' into ldap-groupOfNames
2021-02-05 14:52:39 +01:00
Jens Langhammer
478d3430eb
sources/ldap: use openldap tests for entire sync
2021-02-05 14:29:22 +01:00
Jens Langhammer
9c1ade59e9
sources/ldap: add more flatten to user sync, start adding tests for OpenLDAP
2021-02-05 13:36:27 +01:00
Jens Langhammer
fadf746234
managed: allow for matching on multiple interfaces
2021-02-05 13:18:44 +01:00
Jens Langhammer
397dfc29f1
sources/ldap: change default object filters to use objectClass= instead of objectCategory
2021-02-05 11:43:39 +01:00
Jens Langhammer
b0e3b8b39d
sources/ldap: use entryDN attribute from ldap3 as opposed to implicit DN attribute
2021-02-05 11:43:13 +01:00
Jens Langhammer
1f8130e685
events: improve information sent in notification emails
2021-02-04 21:44:59 +01:00
Jens Langhammer
e639d8ab56
sources/ldap: add case when group does not have uniqueness attribute
2021-02-04 21:18:49 +01:00
Jens Langhammer
005b4d8dda
sources/ldap: fix linting issues
2021-02-04 20:36:05 +01:00
Jens Langhammer
de2d8b2d85
providers/oauth2: pass application to configuration error event
2021-02-04 20:35:37 +01:00
Jens Langhammer
7d107991a2
sources/ldap: fix count for membership, fix wrong attribute being searched
2021-02-04 20:22:28 +01:00
Jens Langhammer
14dc420747
sources/ldap: rewrite group membership syncing
2021-02-04 20:06:42 +01:00
Jens L
89dc4db30b
sources/ldap: load operational attributes ( #526 )
2021-02-04 12:37:55 +01:00
Jens Langhammer
cc3fccb27e
sources/ldap: use dn attribute for distinguishedName, ignore users with no distinguishedName
...
closes #527
2021-02-04 12:10:57 +01:00
Jens Langhammer
add20de8de
providers/*: fix api linting issues
2021-02-04 10:27:55 +01:00
Jens Langhammer
53f002a123
events: allow searching by event id
2021-02-04 10:09:19 +01:00
Jens Langhammer
c7c387eb38
providers/*: add assigned application name and slug
2021-02-04 10:09:19 +01:00
Jens Langhammer
1b3760a4b7
events: don't log successful system tasks
2021-02-04 10:09:18 +01:00
Jens Langhammer
1101810fea
admin: show more details for policy testing
2021-02-03 22:09:46 +01:00
Jens Langhammer
1ab5289e2e
admin: add test view for property mappings
2021-02-03 21:58:56 +01:00
Jens Langhammer
4b24b185f2
admin: fix context not being passed correctly to policy test view
2021-02-03 21:40:03 +01:00
Jens Langhammer
ea0ba5ae30
stages/password: use form.add_error
2021-02-03 21:39:03 +01:00
Jens Langhammer
b74c08620a
admin: add link to changelog to update events
2021-02-03 21:19:51 +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
cfed41439e
events: add send_once flag to send webhooks only once
2021-02-02 19:34:55 +01:00
Jens Langhammer
3ac148d01c
events: only title for slack webhook
2021-02-02 19:18:51 +01:00
Jens Langhammer
3e696d6ac8
flows: use global logger for stored plans
2021-02-02 17:29:03 +01:00
Jens Langhammer
0114bc0d6a
flows: fix lint errors
2021-02-02 17:02:02 +01:00
Jens Langhammer
c60934f9b1
flows: fix benchmark using wrong context
2021-02-02 16:27:21 +01:00
Jens Langhammer
09bdcfaab0
flows: optimise logging
2021-02-02 16:27:03 +01:00
Jens Langhammer
624206281e
policies: optimise logging
2021-02-02 16:12:41 +01:00
Jens Langhammer
3d112e7688
root: use filtering_bound_logger for speed improvements
2021-02-02 15:43:44 +01:00
Jens Langhammer
3c4ff65a01
stages/consent: fix wrong widget for expire
2021-02-02 15:01:33 +01:00
Jens Langhammer
3926ee9eb6
core: clear application cache upon application creation
2021-01-30 18:12:14 +01:00
Jens Langhammer
7fbf915e0a
policies: fix application cached not being cleared correctly
2021-01-30 18:12:01 +01:00
Jens Langhammer
5af9e8c05d
core: improve application caching
2021-01-30 18:03:44 +01:00
Jens Langhammer
d8ae56ed19
providers/saml: fix imported provider not saving properties correctly
2021-01-30 12:33:27 +01:00
Jens Langhammer
3e3f29973b
release: 2021.1.4-stable
2021-01-29 10:29:06 +01:00
Jens Langhammer
2f3a086f29
docs: update veeam docs for group mapping
2021-01-28 23:34:51 +01:00
Jens Langhammer
239af7048a
providers/saml: import SAML Provider with all autogenerated mappings
2021-01-28 23:32:36 +01:00
Jens Langhammer
188ef0f58f
core: only cache Applications API when no filtering is done
2021-01-28 23:16:51 +01:00
Jens Langhammer
5ef4354723
providers/saml: make NameID configurable using a Property Mapping
2021-01-28 22:50:13 +01:00
Jens Langhammer
66a8b52c7c
providers/saml: update default OIDs for default property mappings
2021-01-28 22:44:44 +01:00
Jens Langhammer
c1563f4cff
lib: fix ak_is_group_member checking wrong groups
2021-01-28 22:30:59 +01:00
Jens Langhammer
da37b42bcf
admin: fix providers not showing SAML Import on empty state
2021-01-28 22:16:50 +01:00
Jens Langhammer
f4bb22138c
providers/saml: add support for WindowsDomainQualifiedName, add docs for NameID
2021-01-28 22:00:40 +01:00
Jens Langhammer
c0199933c8
events: fix email template for notifications
2021-01-27 13:22:43 +01:00
Jens Langhammer
5c3f410016
release: 2021.1.3-stable
2021-01-27 10:50:48 +01:00
Jens Langhammer
b1591618ae
admin: handle FlowNonApplicableException during flow plan
2021-01-27 09:57:26 +01:00
Jens Langhammer
55bcc254c1
flows: fix FlowNonApplicableException not being Sentry Ignored
2021-01-27 09:57:18 +01:00
Jens Langhammer
7d844d1821
release: 2021.1.2-stable
2021-01-18 11:15:11 +01:00
Jens Langhammer
3d3a0cd9e3
events: create event when system task fails
2021-01-18 10:09:14 +01:00
Jens Langhammer
204792b750
stages/email: fix email task not falling back to use_global_settings
2021-01-17 23:31:58 +01:00
Jens Langhammer
8ffa3e5885
policies: fix logic error for sync mode
2021-01-17 23:31:34 +01:00
Jens Langhammer
677a181b9c
release: 2021.1.1-stable
2021-01-17 22:36:16 +01:00
Jens Langhammer
4b551add1a
stages/password: catch importerror during authentic()
2021-01-17 20:23:22 +01:00
Jens Langhammer
e6f897c7e6
policies: detect when running in a daemon process and run policies sync
2021-01-17 20:09:53 +01:00
Jens Langhammer
65c9d4bf4c
policies: use custom context for fork instead of changing global context
2021-01-17 20:09:53 +01:00
Jens Langhammer
6e88e52d78
outposts: add message to outpost_service_connection_monitor task
2021-01-17 20:09:53 +01:00
Jens Langhammer
6e69edf1af
core: increase application cache duration
...
# Conflicts:
# authentik/core/api/applications.py
2021-01-17 19:17:47 +01:00
Jens Langhammer
08e7ef3c1e
core: increase application cache duration
2021-01-17 19:04:54 +01:00
Jens Langhammer
cf76652a4c
release: 2021.1.1-rc2
2021-01-17 17:40:43 +01:00
Jens Langhammer
49d40d4337
admin: fix linting
2021-01-17 17:35:00 +01:00
Jens Langhammer
94182f88a4
release: 2021.1.1-rc1
2021-01-17 17:25:47 +01:00
Jens Langhammer
1c25f4f09b
core: use tabs for user settings
2021-01-17 17:25:15 +01:00
Jens Langhammer
aad3b43ac3
core: cache applications API
2021-01-16 22:38:09 +01:00
Jens Langhammer
60f52f102a
outposts: optimise signals to not always trigger
2021-01-16 22:14:37 +01:00
Jens Langhammer
f3ccb5341d
outpost: improve logging
2021-01-16 22:13:57 +01:00
Jens Langhammer
cb73210447
events: don't log permission creation
2021-01-16 22:03:06 +01:00
Jens Langhammer
f959212692
events: make notifications filterable
2021-01-16 19:08:07 +01:00
Jens Langhammer
2d2a404028
providers/oauth2: improve error handling and event creation
2021-01-16 18:27:10 +01:00
Jens Langhammer
4baf9e4a22
web: fix unread count, use white-space pre
2021-01-16 18:04:09 +01:00
Jens Langhammer
4f28a89e63
policies: improve recording of error messages during policy process
2021-01-16 16:38:57 +01:00
Jens Langhammer
f8b4b92e8d
policies: pass direct exception from expression policies
2021-01-16 15:41:59 +01:00
Jens Langhammer
c1fbfc63ab
core: use version in qs for static files to ensure latest are loaded
2021-01-16 14:15:42 +01:00
Jens Langhammer
192dbe05c4
events: triggers -> rules
2021-01-16 14:15:23 +01:00
Jens Langhammer
d637bd0bf9
events: improve infinite loop detection
2021-01-15 11:27:18 +01:00
Jens Langhammer
a2bddc6d91
policies: fix engine tests checking wrong key
2021-01-15 11:27:07 +01:00