Jens Langhammer
72836ecd9d
outposts: default to currently running namespace if possible
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-09 18:44:32 +02:00
Jens Langhammer
251a97c77e
Merge branch 'next' into version-2021.5
2021-05-09 18:13:52 +02:00
Jens Langhammer
7f7046f0e4
outposts: lowercase k8s object names
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-09 18:13:21 +02:00
Jens Langhammer
cd3f02fd3b
release: 2021.5.1-rc3
2021-05-09 17:25:48 +02:00
Jens Langhammer
d3feab9463
release: 2021.5.1-rc2
2021-05-09 16:43:36 +02:00
Jens Langhammer
70c25692eb
release: 2021.5.1-rc1
2021-05-09 16:07:50 +02:00
Jens Langhammer
a6a8eddf7c
providers/proxy: create ingress for forward_auth /akprox path
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-09 12:40:44 +02:00
Jens Langhammer
8c0a87b710
outposts: improve logging for outpost controller
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-09 12:34:44 +02:00
Jens Langhammer
5cad59a9f8
providers/proxy: fix being able to set empty internal_host
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-09 00:07:34 +02:00
Jens Langhammer
5ac6a6910e
outposts: check if traefik CRD exists before attempting to delete
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-08 21:59:13 +02:00
Jens Langhammer
d751a7fc4c
lib: add user attribute "goauthentik.io/user/override-ips" to allow overriding of client ips
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-08 21:42:31 +02:00
Jens Langhammer
1b87375661
lib: add default to config from file://
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-08 17:13:13 +02:00
Jens Langhammer
6868b7722c
outposts: delete old outpost deployment when name or namespace is changed
...
closes #845
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-08 16:11:38 +02:00
Jens Langhammer
7a1935b4e2
outposts: fix error on k8s when name has spaces
...
closes #846
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-08 14:09:21 +02:00
Jens Langhammer
5e7521915a
stages/password: fix configure_flow not being set on initial setup
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-07 14:08:43 +02:00
Jens Langhammer
9fc072e4df
outposts: fix lint
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-07 11:56:44 +02:00
Jens Langhammer
55ea9afeec
core: fix dark mode on server-side rendered pages
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-07 11:53:53 +02:00
Jens Langhammer
9485f0b8cc
outpost/ldap: make users and groups OU instead of CN
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-07 11:46:26 +02:00
Jens Langhammer
e6dfa8294e
providers/proxy: use name.namespace for middleware service
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-07 10:07:30 +02:00
Jens Langhammer
e5a5a5c603
outposts: fix k8s controller not handing Disabled() in static deployment
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-07 09:52:43 +02:00
Jens Langhammer
ea7f9f291f
outposts: create traefikmiddleware if forwardAuth is enabled
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-07 00:01:35 +02:00
Jens Langhammer
241d790e69
stages/user_write: if any connection is being sent in the plan context, save it to the user
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-06 22:10:20 +02:00
Jens Langhammer
83e08f12ae
core: fix arguments not being passed in FlowManager
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-06 22:07:48 +02:00
Jens Langhammer
6526659b51
sources/plex: allow auth for owner (when identifier of source plex token matches)
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-06 21:50:15 +02:00
Jens Langhammer
6c3b7c8d3e
events: handle error when notifications are triggered and no users exist
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-06 20:13:04 +02:00
Jens Langhammer
d51ecc4554
sources/saml: handle internal error
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-06 20:10:56 +02:00
Jens Langhammer
ef63e35ad2
outposts: improve messaging from controller on k8s
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-06 20:07:29 +02:00
Jens Langhammer
4e9176ed2e
outposts: support different port on container vs exposed port
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-06 19:59:49 +02:00
Jens Langhammer
d1296e9cc7
outposts: fix deployments referencing the wrong secret
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-06 19:51:14 +02:00
Jens Langhammer
d85e0593f1
core: set attributes on users which are enrolled via source
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-06 19:35:05 +02:00
Jens Langhammer
b3a3852a54
core: fix linting
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-06 13:58:58 +02:00
Jens Langhammer
49bf82a0a4
core: add user filter by superuser status
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-06 13:44:42 +02:00
Jens Langhammer
73b87a5e3d
events: fix error in API when specifying max_n
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-06 13:15:54 +02:00
Jens Langhammer
ac9cac302c
outposts: fix outpost state showing last time without version
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-05 20:49:13 +02:00
Jens Langhammer
701c140cfd
providers/proxy: fix logic error for ingress lookup
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-05 20:28:13 +02:00
Jens Langhammer
fa2ff5fc2b
sources/plex: save user's plex token, add option to allow friends
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-05 19:37:59 +02:00
Jens Langhammer
d5cab5d580
sources/plex: fix default for client_id
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-05 19:23:51 +02:00
Jens Langhammer
be8b2bf6f6
providers/proxy: don't create ingress for domains which use forwardAuth, don't create ingress at all if all providers are forward auth
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-05 17:53:12 +02:00
Jens Langhammer
b266a2cdfb
outposts: make k8s service type configurable
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-05 15:37:56 +02:00
Jens Langhammer
9a15a66d85
outposts: make k8s object naming configurable
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-05 15:36:27 +02:00
Jens Langhammer
446f104c90
core: add user UID to API
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-05 11:54:28 +02:00
Jens Langhammer
86c2a5d69d
lib: handle errors when reading config from file://
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-05 01:03:00 +02:00
Jens Langhammer
1a02049104
core: show users and groups when user has overall user permissions
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-05 01:02:47 +02:00
Jens Langhammer
32934fcd38
outpost/ldap: check access based on Group Membership
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-05 00:03:19 +02:00
Jens Langhammer
d84d7c26ca
Merge branch 'master' into outpost-ldap
2021-05-04 23:34:31 +02:00
Jens Langhammer
2f6e6a3123
core: improve messaging when flow manager denied request
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-04 23:30:21 +02:00
Jens Langhammer
ba57bf4fa2
lib: add support for file:// protocol in config file
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-04 22:53:59 +02:00
Jens Langhammer
e674f03064
*/api: fix lookups per user
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-04 21:58:20 +02:00
Jens Langhammer
08451c15f4
outposts/ldap: save user DN to determine who can search
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-04 21:49:15 +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
4acbda2b77
core: improve messaging on flow_manager, authenticate user when they linked their account after not having been authenticateed
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-04 18:49:27 +02:00
Jens Langhammer
83cfb5f8c2
stages/email: improve error handling
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-04 18:30:23 +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
42f9ba8efe
gproxy: load default config file for debug and listen statements
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-04 14:10:34 +02:00
Jens Langhammer
812be495a5
Merge branch 'master' into go-proxy
2021-05-03 22:53:33 +02:00
Jens Langhammer
dbc3df1f63
events: handle error when notification rule doesn't exist during task
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-03 22:52:39 +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
be21a5d172
sources/plex: add general tests
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-03 21:55:55 +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
35faf269db
sources: rewrite onboarding
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-03 20:27:52 +02:00
Jens Langhammer
e56c3fc54c
Merge branch 'master' into plex-auth
2021-05-03 18:28:53 +02:00
Jens Langhammer
1041718e27
sources/saml: fix redirect url dropping non-standard ports
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-03 14:51:46 +02:00
Jens Langhammer
2507c0eec9
stages/invitation: fix linting
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-03 12:44:19 +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
988cf15b71
root: initial go proxy, update compose and helm
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-03 09:39:09 +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
19708bc67b
core: add additional_data to UILoginButton to pass additional data
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-02 14:43:26 +02:00
Jens Langhammer
c529340d6c
*: fix title not being set correctly for server-side rendered views
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-02 12:22:50 +02:00
Jens Langhammer
c317efa14c
Merge branch 'master' into outpost-ldap
2021-05-01 00:26:55 +02:00
Jens Langhammer
379fcf9c1f
sources/saml: fix error ValueError while decoding XML
...
closes #812
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-01 00:18:57 +02:00
Jens Langhammer
e10a7b48b7
sources/saml: fix Redirect bindings when SSO Url already has query params
...
related to #812
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-30 23:44:04 +02:00
Jens Langhammer
3e666de91d
outposts: fix formatting of image name
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-30 16:52:28 +02:00
Jens Langhammer
333758d91f
crypto: handle encrypted private keys
...
closes #811
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-30 15:25:42 +02:00
Jens Langhammer
eb8f52b870
stages/identification: fix tests
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-30 10:15:27 +02:00
Jens Langhammer
9ce49c2089
stages/identification: fix unused import
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-30 09:34:33 +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 Langhammer
25c001f2cd
outposts: allow better configuration of outpost image name
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-29 20:07:53 +02:00
Jens L
2a409215d3
outpost: forwardAuth mode ( #790 )
2021-04-29 18:17:10 +02:00
Jens Langhammer
d1d28722d2
lib: don't send 404 errors to sentry
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-29 15:27:41 +02:00
Jens Langhammer
35f0e6b88d
lib: don't send 404 errors to sentry
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-29 15:25:54 +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
2c70301f56
stages/invitation: accept token from prompt_data
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-28 22:43:40 +02:00
Jens Langhammer
07b9923bf6
stages/invitation: fix token not being loaded correctly
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-28 22:43:40 +02:00
Jens Langhammer
3dcd67c1a3
outposts: only kill docker container if its running
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-28 22:43:32 +02:00
Jens Langhammer
2a9feafb90
root: add middleware to properly report websocket connection to sentry
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-28 22:42:10 +02:00
Jens Langhammer
1af3357826
*: make logger not use .error
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-28 22:41:44 +02:00
Jens Langhammer
ed49d7824e
stages/email: catch ValueError when global email settings are invalid
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-28 22:41:38 +02:00
Jens Langhammer
378402fcf0
stages/user_login: add tests for explicit session length
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-28 22:41:21 +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
d7631e8af0
stages/invitation: accept token from prompt_data
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-28 22:39:06 +02:00
Jens Langhammer
6e625f7400
stages/invitation: fix token not being loaded correctly
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-28 22:13:54 +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
9b70aaa717
outposts: only kill docker container if its running
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-28 18:32:16 +02:00
Jens Langhammer
4d858c64e0
Merge branch 'master' into outpost-ldap
2021-04-27 17:08:26 +02:00
Jens Langhammer
6f0792ccfe
api: remove legacy basic auth for 2021.3 outposts
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-27 17:06:47 +02:00
Jens Langhammer
04f06e00ff
api: add tests for permission_required decorator
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-27 17:04:38 +02:00
Jens Langhammer
776c3128b8
flows: add tests for stage type, component and ui_user_settings
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-27 16:52:50 +02:00
Jens Langhammer
e9e0992dce
root: add middleware to properly report websocket connection to sentry
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-27 16:21:44 +02:00
Jens Langhammer
ccef7b4233
*: make logger not use .error
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-27 15:43:26 +02:00
Jens Langhammer
cad6c42fdd
lib: add more tests
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-27 15:43:11 +02:00
Jens Langhammer
d2abe6d455
stages/email: catch ValueError when global email settings are invalid
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-27 15:20:09 +02:00
Jens Langhammer
68d120b3b4
sources/oauth: add tests for google type
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-27 15:19:54 +02:00
Jens Langhammer
48c0c0baca
*/api: simplify lookups for per-user
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-27 14:53:01 +02:00
Jens Langhammer
7b29a1e485
stages/user_login: add tests for explicit session length
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-27 14:52:42 +02:00
Jens Langhammer
fe28d216fe
providers/oauth2: always test JWT keys in tests
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-27 14:07:04 +02:00
Jens Langhammer
3ce8b836dc
outposts: allow outposts to have non-object specific permissions
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-26 23:28:26 +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
2a122845d9
core: add groups to users
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-26 19:51:24 +02:00
Jens Langhammer
fae4d34131
Merge branch 'master' into outpost-ldap
2021-04-26 17:11:50 +02:00
Jens Langhammer
7ff7bfeb58
core: fix incorrect styling for bse_full template
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-26 16:44:13 +02:00
Jens Langhammer
29da7dd8d6
providers/ldap: fix lint error
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-26 15:49:19 +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
302b047f1a
outposts/ldap: add controllers
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-26 14:26:31 +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
f89479caf3
providers/ldap: add LDAP provider
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-26 11:52:42 +02:00
Jens Langhammer
5fb07acf54
core: add API to check access to single application by slug
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-26 10:08:35 +02:00
Jens Langhammer
99d0d4e8de
Merge branch 'master' into outpost-ldap
2021-04-26 09:25:26 +02:00
Jens Langhammer
9341787fe7
providers/oauth2: replace deprecated jwkest with pyjwt
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-26 00:02:13 +02:00
Jens Langhammer
a525d6c3a9
Merge branch 'master' into outpost-ldap
2021-04-25 20:46:02 +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
820c9e7d06
Merge branch 'master' into outpost-ldap
2021-04-24 22:22:01 +02:00
Jens Langhammer
5f58a4566c
release: 2021.4.4
2021-04-24 21:03:29 +02:00
Jens Langhammer
d616bdd5d6
providers/oauth2: add proper support for non-http schemes as redirect URIs
...
closes #772
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-23 16:34:52 +02:00
Jens Langhammer
3282b34431
providers/oauth2: fix TokenView not having CORS headers set even with proper Origin
...
and added tests. closes #771
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-22 23:48:28 +02:00
Jens Langhammer
392d9bb10b
providers/oauth2: fix misleading name of cors_allow_any
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
#771
2021-04-22 23:29:49 +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
3983b7fbe4
lib: don't send SuspiciousOperation to sentry
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-22 20:17:00 +02:00
Jens Langhammer
d75284a587
flows: fix errors which occur during flow execution being sent to sentry malformed
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-22 20:14:37 +02:00
Jens Langhammer
a7598c6ee5
*: fix more URLs for github org
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-22 11:06:56 +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
b8a566f4a0
outposts: move local connection check to task, run every 60 minutes
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-21 11:34:48 +02:00
Jens Langhammer
aa0e8edb8b
*: make tasks run every 60 minutes not :00 every hour
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-21 11:26:17 +02:00
Jens Langhammer
57072dd6ce
stages/identification: fix query logic for user lookup
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-21 10:09:38 +02:00
Jens Langhammer
b40afb9b7d
stages/identification: ignore inactive users
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-20 21:45:14 +02:00
Jens Langhammer
1f783dfc01
stages/user_login: add default backend
...
closes #763
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-20 20:53:07 +02:00
Jens Langhammer
76131e40ec
tests/e2e: monkey patch OAuth1 test instead of setting URLs manually
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-20 20:03:20 +02:00
Jens Langhammer
a8998a6356
sources/oauth: handle error in auzre_ad when ID Can't be extracted
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-20 17:27:52 +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
e20bb7d636
release: 2021.4.3
2021-04-20 09:15:07 +02:00
Jens Langhammer
4f5e1fb86b
outposts: initial ldap outpost implementation
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-20 00:30:27 +02:00
Jens Langhammer
464a1c0536
api: make 401 messages clearer
...
closes #755
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-19 20:46:57 +02:00
Jens Langhammer
b75feab709
outposts: don't run outpost_controller when no service connection is set
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-19 19:23:26 +02:00
Jens Langhammer
10b45a8dea
api: fix 401 responses which should be 403s
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-19 19:03:00 +02:00
Jens Langhammer
c43ac1f704
api: mount outposts under outposts/instances to match flows
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-19 18:51:12 +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
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
fdc7f14056
core: fix Tokens being created with incorrect intent by default
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-19 15:43:16 +02:00
Jens Langhammer
8be80aaf9d
api: fix CSRF error when using POST/PATCH/PUT in API Browser
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-19 15:31:32 +02:00
Jens Langhammer
ce082ead5e
providers/oauth2: add unittests for authorize and token views
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-18 21:05:49 +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
32c5bf04b8
*: fix linting errors
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 20:08:49 +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
67240fb9ad
*: add model_name to TypeCreate API to pass to forms
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 19:12:00 +02:00
Jens Langhammer
d2dd7d1366
sources/oauth: fix redirect loop for source with non-configurable URLs
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 19:06:12 +02:00
Jens Langhammer
476e57daa2
Merge branch 'version-2021.4'
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
# Conflicts:
# docker-compose.yml
# website/docs/installation/kubernetes.md
2021-04-17 16:01:35 +02:00
Jens Langhammer
60615c9f3e
release: 2021.4.2
2021-04-17 15:26:59 +02:00
Jens Langhammer
b5b8573d87
core: fix propertymapping API returning invalid value for components
...
closes #746
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 12:01:05 +02:00
Jens Langhammer
2e44c1cdfc
sources/ldap: improve error handling during sync
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 12:01:05 +02:00
Jens Langhammer
4a444e667a
root: base Websocket message storage on Base not fallback
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 12:01:05 +02:00
Jens Langhammer
f67b57e369
flows: fix linting
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 12:01:04 +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
e8ba159756
root: fix setting of EMAIL_USE_TLS and EMAIL_USE_SSL
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 12:01:04 +02:00
Jens Langhammer
0b03d66a2f
outposts: fix errors when creating multiple outposts
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 12:01:04 +02:00
Jens Langhammer
71b6839d03
flows: include configure_flow in stages API
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 12:01:04 +02:00
Jens Langhammer
2b48ba4103
sources/oauth: fix resolution of sources' provider type
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 12:01:03 +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
1992b89154
sources/oauth: fix error when creating an oauth source which has fixed URLs
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 12:01:03 +02:00
Jens Langhammer
de74f3ec1f
core: fix propertymapping API returning invalid value for components
...
closes #746
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 11:50:28 +02:00
Jens Langhammer
ce98255607
sources/ldap: improve error handling during sync
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-17 11:29:51 +02:00
Jens Langhammer
5df9ad63cf
root: base Websocket message storage on Base not fallback
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-16 23:46:03 +02:00
Jens Langhammer
e4400476a2
flows: fix linting
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-16 23:15:06 +02:00
Jens Langhammer
b136d3bc69
flows: annotate flows executor 404 error
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-16 22:56:44 +02:00
Jens Langhammer
c34fcc73dc
root: fix setting of EMAIL_USE_TLS and EMAIL_USE_SSL
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-16 22:44:42 +02:00
Jens Langhammer
11b09c4ebd
outposts: fix errors when creating multiple outposts
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-16 22:43:35 +02:00
Jens Langhammer
33a8cea007
flows: include configure_flow in stages API
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-16 17:19:48 +02:00
Jens Langhammer
1770e42cbf
sources/oauth: add login with plex support
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-16 17:05:35 +02:00
Jens Langhammer
582d2eb5eb
sources/oauth: fix resolution of sources' provider type
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-16 11:29:23 +02:00
Jens Langhammer
c5e2635903
core: improve messaging when creating a recovery link for a user when no recovery flow exists
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-16 10:09:46 +02:00
Jens Langhammer
cfe0a7a694
sources/oauth: fix error when creating an oauth source which has fixed URLs
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-16 09:49:25 +02:00
Jens Langhammer
bd8447d5a7
release: 2021.4.1
2021-04-14 09:46:16 +02:00
Jens Langhammer
4f9f936a7f
Merge branch 'master' into version-2021.4
2021-04-13 23:16:35 +02:00
Jens Langhammer
85c9fbe763
api: fix linting error
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-13 21:49:47 +02:00
Jens Langhammer
3d9874be69
api: fix error when authorization is empty
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-13 21:41:26 +02:00
Jens Langhammer
9742d19729
Merge branch 'master' into version-2021.4
2021-04-13 21:07:20 +02:00
Jens Langhammer
5a25e6d697
api: add legacy support for older outposts
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-13 21:06:04 +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
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
dependabot[bot]
a35f77c612
build(deps-dev): bump pylint-django from 2.4.2 to 2.4.3 ( #729 )
...
* build(deps-dev): bump pylint-django from 2.4.2 to 2.4.3
Bumps [pylint-django](https://github.com/PyCQA/pylint-django ) from 2.4.2 to 2.4.3.
- [Release notes](https://github.com/PyCQA/pylint-django/releases )
- [Changelog](https://github.com/PyCQA/pylint-django/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/PyCQA/pylint-django/compare/v2.4.2...v2.4.3 )
Signed-off-by: dependabot[bot] <support@github.com>
* root: fix pylint warning
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-12 09:33:56 +02:00
Jens Langhammer
fae92f6bc8
*: fix JSONField overwriting required
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-11 23:20:45 +02:00
Jens Langhammer
f9bf491240
stages/invitation: fix linting
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-11 23:09:09 +02:00
Jens Langhammer
4f27a97e10
*: add validator to ensure JSON Fields only receive dicts
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-11 23:05:19 +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
2397cb162a
release: 2021.4.1-rc1
2021-04-11 16:18:20 +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
8df29235bb
core: add provider_obj field to applications API
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-11 13:31:31 +02:00
Jens Langhammer
cb048764f4
providers/proxy: make outpost API readonly
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-11 13:31:15 +02:00
Jens Langhammer
d76db3caba
*: add missing error codes as swagger annotations
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-10 23:55:43 +02:00
Jens Langhammer
32d88c3a49
core: consider never consider expiring models with self.expiring set to false expired
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-10 23:42:42 +02:00
Jens Langhammer
19e73630ab
lib: discard all log messages from dbbackup
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-10 23:20:20 +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
5dd29d45d8
core: make Source model managed, add inbuilt source
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-09 16:20:59 +02:00
Jens Langhammer
98318953cd
sources/ldap: create event when user integrity error occurs
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-09 12:17:27 +02:00
Jens Langhammer
232a5a8ad0
root: set default session age to expire on browser close
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-09 11:50:09 +02:00
Jens Langhammer
118f55d95c
sources/ldap: fix error during event creation
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-09 11:29:32 +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
7b0005ac42
stages/password: handle authenticate() throwing a ValidationError
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-08 23:13:25 +02:00
Jens Langhammer
aefeb5bacf
sources/ldap: create Event when changing a user's password fails
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-08 23:13:11 +02:00
Jens Langhammer
7d0e7bcf75
core: return none when application has no launch URL and none could be guessed
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-08 22:59:11 +02:00
Jens Langhammer
ca35204e0c
flows: ask for email address in oob flow
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-08 22:50:58 +02:00
Jens Langhammer
37632bd0c7
lib: don't send DockerException to sentry
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-08 22:03:10 +02:00
Jens Langhammer
4054e6da8c
helm: don't automount Service token when integration is not enabled, improve k8s detection
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-07 16:16:17 +02:00
Jens Langhammer
12b1f53948
root: monitor redis in readiness check, relax monitoring period
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-07 15:51:19 +02:00
Jens Langhammer
35232afa7e
core: skip backup when running in k8s and s3 backup not configured
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-07 15:34:28 +02:00
dependabot[bot]
17de0ff24e
build(deps): bump django from 3.1.7 to 3.2 ( #707 )
...
* build(deps): bump django from 3.1.7 to 3.2
Bumps [django](https://github.com/django/django ) from 3.1.7 to 3.2.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/3.1.7...3.2 )
Signed-off-by: dependabot[bot] <support@github.com>
* root: set DEFAULT_AUTO_FIELD and remove full app config paths
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* *: check parent class for component and serializer on abstract classes
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-07 10:54:38 +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
a31fc8319d
policies: fix policybinding API returning wrong policy objects
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-06 17:24:32 +02:00
Jens Langhammer
dcc873b88b
admin: add API to get info for a single task
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-05 20:40:22 +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
Jens Langhammer
61652406c7
events: add progress bar to event expiry migration
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-05 13:33:01 +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
8cae1f2ab5
stages/email: add tests for API
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 14:14:58 +02:00
Jens Langhammer
37a14858ad
policies: fix display of policy result source
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 14:04:41 +02:00
Jens Langhammer
b8c41f54c5
stages/email: update default email templates
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 13:40:52 +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
a2cfe9c2a7
admin: sort apps in meta api
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-04 12:17:35 +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
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
55c24de8c7
policies: fix error when viewing/clearing cache
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 19:57:50 +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
650b084c72
web: migrate to babel
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 18:20:17 +02:00
Jens Langhammer
eeb9449c11
lib: remove templatetags
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 12:37:32 +02:00
Jens Langhammer
c17eb00e3b
providers/oauth2: fix component for Scope
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-03 12:08:21 +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
ffe3ec0cb4
root: disable django admin
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 23:21:40 +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
1dc01ef857
*: add API tests for types endpoints
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 23:11:53 +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
5a6b6c369e
admin: add API to get all installed apps
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 16:13:09 +02:00
Jens Langhammer
66d342880c
events: add API to get all event actions
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 16:02:58 +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
22f50aae45
managed: fix ManagedSerializer interfering with other serializers
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 15:00:15 +02:00
Jens Langhammer
1daba5db87
sources/oauth: revamp types system, move default URLs to type
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 14:59:58 +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
7eb7fc2e12
sources/oauth: add API to get provider types
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 13:26:42 +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
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
742f570c4c
managed: add API serializer, add managed field
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-02 12:03:33 +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
509f21a9b4
providers/oauth2: add validation and tests to API
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-01 20:43:18 +02:00
Jens Langhammer
b299451cab
providers/saml: fix metadata download not being unauthenticated
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-01 20:16:07 +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
b4a6f8350b
admin: remove provider views
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-01 19:28:30 +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
7a0ebbdc53
crypto: add filter for key-pairs with private key
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-01 11:38:35 +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
af438af8ac
stages/invitation: add API tests
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-31 20:52:46 +02:00
Jens Langhammer
041b51a7f8
policies: add tests for bindings API
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-31 20:37:24 +02:00
Jens Langhammer
330d5047e7
core: add tests for token API
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-31 20:36:28 +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
55f68a9197
policies: fix api updating issues
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-31 18:54:36 +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
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
64fa04306c
core: overwrite user on token creation
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-30 22:46:19 +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
78a4a167ac
outposts: remove outpost form
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-30 18:45:26 +02:00
Jens Langhammer
23d7ef36d2
core: remove provider and outpostserviceconnection base model create operations
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-30 18:35:06 +02:00
Jens Langhammer
d1dd6b7a8f
core: fix tests for property mapping API
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-30 18:34:33 +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
f206baf3f0
core: add API to test property mapping
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-30 17:32:57 +02:00
Jens Langhammer
6916c59483
policies: fix test API not working, add tests
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-30 17:22:47 +02:00
Jens Langhammer
41914d9b7a
crypto: add tests for builder
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-30 16:34:45 +02:00
Jens Langhammer
80b0aef210
core: add new permissions for tokens to view key
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-30 15:50:41 +02:00
Jens Langhammer
b1214f6c35
*: add new base class for non-model serializers
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-30 15:50:00 +02:00
Jens Langhammer
c7dcf92a2e
api: add tests for swagger generation
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-30 15:23:37 +02:00
Jens Langhammer
69ee18e13d
Merge branch 'master' into new-forms
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
# Conflicts:
# Pipfile.lock
# authentik/api/decorators.py
# authentik/core/api/applications.py
# authentik/core/api/users.py
# authentik/events/api/event.py
# authentik/events/api/notification_transport.py
# authentik/flows/api/flows.py
# swagger.yaml
2021-03-30 10:26:18 +02:00
dependabot[bot]
c180a521ec
build(deps-dev): bump pylint from 2.7.2 to 2.7.3 ( #674 )
...
* build(deps-dev): bump pylint from 2.7.2 to 2.7.3
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.7.2 to 2.7.3.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Changelog](https://github.com/PyCQA/pylint/blob/master/ChangeLog )
- [Commits](https://github.com/PyCQA/pylint/compare/pylint-2.7.2...pylint-2.7.3 )
Signed-off-by: dependabot[bot] <support@github.com>
* sources/saml: fix linting for SAMLBindingTypes.Redirect
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* sources/oauth: Fix linting for RequestKind
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* flows: fix linting for ChallengeTypes
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-03-30 10:05:14 +02:00
Jens Langhammer
7e85524e51
*: simplify API permissions checking, add API for user recovery
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-30 09:45:48 +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
21ea527623
api: fix invalid swagger schema
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 22:34:24 +02:00
Jens Langhammer
36c34e05f8
stages/authenticator_webuahtn: remove views
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 22:31:29 +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
a09481dea2
flows: add API to set background image
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 21:40:08 +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
657b0089b1
core: add set_icon operation to applications API to set icon
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 21:16:13 +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
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
a52b57cc38
events: fix missing send_once param from api
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 18:58:54 +02:00
Jens Langhammer
372cf4a8cb
api: add error responses to swagger schema
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 18:09:45 +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
b3d54b7620
api: cleanup args for @permission_required
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 17:33:55 +02:00
Jens Langhammer
a445b03523
crypto: add API to generate keypair
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 17:33:27 +02:00
Jens Langhammer
5d37012075
api: allow @permission_required with no object permission
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 17:28:28 +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
464a56ad52
Merge branch 'master' into new-forms
2021-03-29 15:37:12 +02:00
Jens Langhammer
0793fff222
*: simplify API permissions checking, add API for user recovery
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 15:36:35 +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
3cc7d54cc1
policies: use GroupSerializer for PolicyBinding API
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 12:28:06 +02:00
Jens Langhammer
e7c6ff9499
admin: remove group views
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 12:03:11 +02:00
Jens Langhammer
fbc33815a3
core: fix user view imports
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-28 22:33:27 +02:00
Jens Langhammer
bd9c0efab7
core: use only user ids for group
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-28 22:03:48 +02:00
Jens Langhammer
0fcef494a6
Merge branch 'next' into new-forms
2021-03-27 23:48:04 +01:00
Jens Langhammer
6f6fe6ad06
flows: fully fix unittests
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 23:47:00 +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
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
261583cb92
flows: fix tests for dummy stage
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 22:58:41 +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
103e0f3b06
web: add default title
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 22:24:09 +01:00
Jens Langhammer
32fb90e056
core: include full users in group API
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 15:53:54 +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
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
ffd8c59c8e
api: use common skeleton in swagger template
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-24 17:46:41 +01:00
Jens Langhammer
83c3a116f3
core: add Serializer for UserSettings, used by stages and sources
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-24 17:46:31 +01:00
Jens Langhammer
f695a3f40a
stages/authenticator_*: fix missing fields
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-24 17:19:39 +01:00
Jens Langhammer
f41f2bfdab
sources/saml: use STAGE_CONFIGURATION for default-source-pre-authentication flow
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-24 17:12:41 +01:00
Jens Langhammer
17f7a97ef3
sources/oauth2: add API For UserSourceConnection
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-24 14:46:08 +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
4d88af4601
flows: fix RedirectChallenge wrapper being confused by querystrings
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-24 12:47:12 +01:00
Jens Langhammer
dce869b566
flows: fix post-email continuation not working
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-24 12:46:54 +01:00
Jens Langhammer
5a5539da97
sources/saml: fix failing unittests
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-24 09:55:43 +01:00
Jens Langhammer
4612cea970
sources/saml: replace server-side pre-auth views for pre_auth flow
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-24 09:22:15 +01:00
Jens Langhammer
da4fa96499
sources/oauth: simplify enrollment handler
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-24 09:22:15 +01:00
Jens Langhammer
4137266041
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-24 09:22:15 +01:00
Jens Langhammer
62d0e020db
stages/email: add wrapper view to accept queryargs and redirects to flow if
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 19:42:58 +01:00
Jens Langhammer
3f6174e8cc
ci: fix missing isort
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 18:28:23 +01:00
Jens Langhammer
1fd949d4ec
flows: remove FlowExecutorShellView
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 18:09:13 +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
c6c4636b9b
policies: show messages of root result
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 17:14:54 +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
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
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
0671d712fa
policies: remove deprecated group_membership policy
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 14:43:24 +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
3157bf63a6
root: upgrade to pylint 2.7
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 20:03:33 +01:00
Jens Langhammer
e202fd988b
root: update to isort 5
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 19:53:10 +01:00
Jens Langhammer
4f8b882554
web: copy static assets only once
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 14:54:12 +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
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
7e47906475
api: add Footer links to config API
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-21 17:35:00 +01:00
Jens Langhammer
24ac6d2c25
stages/authenticator_webauthn: prefer Biometrics over security key
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-21 16:52:14 +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
c834f0a372
stages/authenticator_webauthn: explicitly allow cross-platform devices for iOS/safari
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-21 00:10:07 +01:00
Jens Langhammer
43f19f78bb
providers/oauth2: fix error when redirecting from an authorization error
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-20 22:06:45 +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
4c49209f71
core: add user metrics API
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-20 17:30:01 +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
fe054136b1
website: add comparison based on vector.dev's site
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-18 22:09:54 +01:00
Jens Langhammer
d82dfc65b7
api: replace rest_framework browser with rapi-doc
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-18 20:35:12 +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
8242c139c2
events: use ExpiringModel with delta of 1 year for events
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-18 17:10:59 +01:00
Jens Langhammer
5b4c5d0f31
stages/consent: add API to get user's given consent
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-18 16:07:33 +01:00
Jens Langhammer
9ad10863de
providers/oauth2: add API for auth codes and refresh tokens
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-18 15:59: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
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