Jens Langhammer
|
16c194d2dc
|
core: fix upload api not checking clear properly
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-14 22:34:47 +02:00 |
|
Jens Langhammer
|
53100a72fe
|
stages/identification: fix challenges not being annotated correctly and API client not loading data correctly
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-14 22:28:11 +02:00 |
|
Jens Langhammer
|
afb84c7bc5
|
flows: fix error clearing flow background when no files have been uploaded
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-13 14:14:41 +02:00 |
|
Jens Langhammer
|
10d949f7a9
|
stages/password: add constants for password backends
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-12 12:14:55 +02:00 |
|
Jens Langhammer
|
8d6db0fabf
|
flows: fix configuration URL being set when no flow is configure
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-10 22:07:26 +02:00 |
|
Jens Langhammer
|
4766d6ff3d
|
flows: add export URL to API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-10 13:52:50 +02:00 |
|
Jens Langhammer
|
2275ba3add
|
flows: fix get_pending_user returning in-memory user when PLAN_CONTEXT_PENDING_USER_IDENTIFIER is set
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-10 12:17:46 +02:00 |
|
Jens Langhammer
|
9f7c941426
|
Merge branch 'master' into next
|
2021-06-10 11:59:10 +02:00 |
|
Jens L
|
34ae9e6dab
|
API: add endpoint to show by what objects an object is used (#995)
* core: add used_by API to show what objects are affected before deletion
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/elements: add support for used_by API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: add authentik_used_by_shadows to shadow other models
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: implement used_by API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* *: fix duplicate imports
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: add action field to used_by api
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: add UI for used_by action
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: add notice to tenant form
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: fix naming in used_by
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: check length for used_by
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: fix used_by for non-pk models
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* *: improve __str__ on models
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: add support for many to many in used_by
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-10 11:58:12 +02:00 |
|
Jens Langhammer
|
d4379ecd31
|
flows: fix configure_url not being set correctly User settings
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-09 19:25:27 +02:00 |
|
Jens Langhammer
|
fb8d67a9d9
|
core: add configure_url to UserSettings for both stages and sources
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-08 19:21:27 +02:00 |
|
Jens Langhammer
|
029d58191e
|
sources/saml: include metadata download link in API response
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-08 17:22:03 +02:00 |
|
Jens Langhammer
|
75404f1345
|
web/admin: pass full configure flow URL instead of just boolean
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-08 17:14:54 +02:00 |
|
Jens Langhammer
|
ba1b23c879
|
flows: move flow relevant info into ContextualFlowInfo
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-08 16:53:28 +02:00 |
|
Jens Langhammer
|
f5dbdbd48b
|
*: add clear param to file upload API to delete stored file and reset field
closes #949
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-05 21:33:03 +02:00 |
|
Jens Langhammer
|
7581c84a37
|
flows: fix tests using flow.background.url
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-05 20:29:31 +02:00 |
|
Jens Langhammer
|
86b450c6d1
|
flows: add compatibility_mode to toggle ShadyDOM
closes #894
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-05 20:04:30 +02:00 |
|
Jens Langhammer
|
0b90cfcec4
|
flows: set default background in code not model
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-05 19:38:13 +02:00 |
|
Jens Langhammer
|
24da24b5d5
|
stages/identification: allow setting of a password stage to check password and identity in a single step
closes #970
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-05 16:05:03 +02:00 |
|
Jens Langhammer
|
2f64b76eba
|
flows: fix invalid background URL when using manually set static or http
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-02 21:09:54 +02:00 |
|
Jens Langhammer
|
a1203cf4b2
|
flows: fix ToDefaultFlow not using tenants
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-29 20:32:42 +02:00 |
|
Jens Langhammer
|
477ff85109
|
flows: migrate flow_unenrollment to tenant
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-29 18:44:02 +02:00 |
|
Jens Langhammer
|
df92f01719
|
flows: remove default-recovery
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-29 18:30:55 +02:00 |
|
Jens Langhammer
|
9dd6b7d436
|
flows: remove default-enrollment
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-29 18:14:37 +02:00 |
|
Jens Langhammer
|
6f3eb4c068
|
flows: allow blank on WithUserInfo
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-25 12:53:48 +02:00 |
|
Jens Langhammer
|
6893948fa0
|
tests/e2e: fix invalid flows
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-25 11:18:47 +02:00 |
|
Jens Langhammer
|
6317a8c5d0
|
Merge branch 'master' into duo
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
# Conflicts:
# Pipfile.lock
|
2021-05-25 09:58:38 +02:00 |
|
Jens Langhammer
|
127ebed5c6
|
flows: fix mismatched names
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-24 21:09:18 +02:00 |
|
Jens Langhammer
|
c6bb6709fd
|
flows: add default challenge response
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-24 20:27:50 +02:00 |
|
Jens Langhammer
|
fb4e0723ee
|
stages: fix stage unittests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-24 17:12:48 +02:00 |
|
Jens Langhammer
|
763c3fcfe0
|
outposts/ldap: fix client usage
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-24 15:58:59 +02:00 |
|
Jens Langhammer
|
1b346866da
|
Merge branch 'master' into duo
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
# Conflicts:
# Pipfile.lock
|
2021-05-24 14:54:24 +02:00 |
|
Jens Langhammer
|
6f6ae7831e
|
flows: make use of oneOf OpenAPI to annotate all challenge types
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-24 14:11:23 +02:00 |
|
Jens L
|
53e2b2c784
|
Prometheus metrics (#914)
* admin: add worker metrics
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* admin: add version metrics
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* events: add gauge for system tasks
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* outposts: add gauge for last hello and connection status
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* root: re-add prometheus metrics to database
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* root: allow access to metrics without credentials when debug is on
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* root: add UpdatingGauge to auto-set value on load
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* flows: add metrics for cache and building
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* policies: add metrics for policy engine
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* events: add histogram for task durations
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* events: revert to gauge because values are updated on export view
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: add gauge to count all models
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* events: add metrics for events
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-23 20:29:34 +02:00 |
|
Jens Langhammer
|
1a0f72d0a8
|
Merge branch 'version-2021.5' into next
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
# Conflicts:
# authentik/stages/authenticator_static/api.py
# swagger.yaml
|
2021-05-21 21:33:18 +02:00 |
|
Jens Langhammer
|
a265dd54cc
|
stages/authenticator_*: fix Permission Error when disabling Authenticator as non-superuser
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-21 21:25:03 +02:00 |
|
Jens Langhammer
|
75f252b530
|
flows: rename oob to oobe
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-21 19:10:42 +02:00 |
|
Jens Langhammer
|
b826eb264e
|
flows: rename oob to oobe
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-21 12:06:39 +02:00 |
|
Jens Langhammer
|
be5a6c0310
|
api: add set_*_url method for Application and Flow to set icon/background to URL
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-20 17:18:40 +02:00 |
|
Jens Langhammer
|
788ea46d8c
|
flows: fix formatting
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-18 09:23:22 +02:00 |
|
Jens Langhammer
|
06dee5d5d8
|
flows: fix lint error
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-17 23:38:31 +02:00 |
|
Jens Langhammer
|
3cf0f07baf
|
*: fix API Schema for file uploads
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-17 23:12:52 +02:00 |
|
Jens Langhammer
|
f9ce41229d
|
api: fix unittests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 22:36:26 +02:00 |
|
Jens Langhammer
|
589f806b7c
|
flows: fix schema for flow executor
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 19:13:31 +02:00 |
|
Jens Langhammer
|
759bf59780
|
core: make filefields readonly
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 17:34:55 +02:00 |
|
Jens Langhammer
|
0bac738090
|
*: fix static response descriptions
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 14:07:29 +02:00 |
|
Jens Langhammer
|
1324d03815
|
*: initial migration to openapi v3
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-15 23:57:28 +02:00 |
|
Jens Langhammer
|
8925787a13
|
flows: fix error when using cancel flow
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-15 17:42:37 +02:00 |
|
Jens Langhammer
|
3c23ad340f
|
web/admin: improve diagram api for flows
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-13 18:01:40 +02:00 |
|
Jens Langhammer
|
4e2443d60b
|
flows: make cancel link always logout user
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-11 13:13:05 +02:00 |
|