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 |
|