Jens Langhammer
|
320dab3425
|
core: only show Reset password link when recovery flow is configured
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-07-04 12:59:41 +02:00 |
|
Jens Langhammer
|
becb9e34b5
|
outposts: fix docker controller not checking env correctly
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-07-03 22:17:29 +02:00 |
|
Jens Langhammer
|
bd92505bc2
|
core: add notice about duplicate keys
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-07-03 21:52:28 +02:00 |
|
dependabot[bot]
|
d102c59654
|
build(deps-dev): bump pylint from 2.8.3 to 2.9.0 (#1095)
* build(deps-dev): bump pylint from 2.8.3 to 2.9.0
Bumps [pylint](https://github.com/PyCQA/pylint) from 2.8.3 to 2.9.0.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Changelog](https://github.com/PyCQA/pylint/blob/master/ChangeLog)
- [Commits](https://github.com/PyCQA/pylint/compare/v2.8.3...v2.9.0)
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* *: update source for new pylint version
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-06-30 10:37:28 +02:00 |
|
Jens Langhammer
|
ba9edd6c44
|
flows: handle possible errors with FlowPlans received from cache
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-27 22:03:48 +02:00 |
|
Jens Langhammer
|
3fe0483dbf
|
core: fix flow background not correctly loading on initial draw
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-26 20:29:45 +02:00 |
|
Jens Langhammer
|
c6ede78fba
|
core: add support for custom urls for avatars
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-22 12:25:24 +02:00 |
|
Jens Langhammer
|
831b32c279
|
core: fix PropertyMapping's globals not matching Expression policy
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-21 15:54:43 +02:00 |
|
Jens Langhammer
|
70ccc63702
|
core: remove default flow background from default css, set static in base_full and dynamically in if/flow
closes #1056
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-21 10:37:34 +02:00 |
|
Jens Langhammer
|
ede072889e
|
core: deepmerge user.group_attributes, use group_attributes for user settings
closes #1051
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-19 19:52:55 +02:00 |
|
Jens Langhammer
|
d4419d66c1
|
core: fix error when creating AuthenticatedSession without key
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-16 22:51:48 +02:00 |
|
Jens Langhammer
|
79044368d2
|
core: fix error getting stages when enrollment flow isn't set
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-16 22:45:42 +02:00 |
|
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
|
79508e1965
|
core: fix linting
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-13 23:41:50 +02:00 |
|
Jens Langhammer
|
3a88dde545
|
web: fix declaration of Intl
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-13 23:13:43 +02:00 |
|
Jens Langhammer
|
cabbd18880
|
core: revert check_access API to get to prevent CSRF errors
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-13 21:47:49 +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
|
d789dcc28f
|
core: fix impersonation not working with inactive users
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-12 20:41:02 +02:00 |
|
Jens Langhammer
|
74e4e8f6aa
|
core: delete real session when AuthenticatedSession is deleted
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-12 17:37:32 +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 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
|
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
|
90a5c84ac8
|
core: make EndSessionView inherit PolicyAccessView
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-06 14:07:50 +02:00 |
|
Jens Langhammer
|
9180d448df
|
core: move end-session to core
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-06 13:56:38 +02:00 |
|
Jens Langhammer
|
0032f535da
|
core: add minor tests for users api
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-06 01:23:04 +02:00 |
|
Jens Langhammer
|
17326615b7
|
events: rewrite GeoIP to a wrapper, reload file every 8 hours
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-06 00:42:41 +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
|
277c2f4aad
|
core: make application.meta_icon nullable
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
#949
|
2021-06-05 21:06:52 +02:00 |
|
Jens Langhammer
|
ba3e0a0586
|
core: fix flow query
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-05 20:30:56 +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
|
5e3628bea6
|
core: add fallback URLs for websocket to cleanup test logs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-03 17:26:18 +02:00 |
|
Jens Langhammer
|
290ebef8e3
|
core: instead of migrating sessions, clear cache on initial upgrade
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-03 17:20:25 +02:00 |
|
Jens Langhammer
|
48e68d6852
|
core: fix token identifier not being set to unique
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-03 11:45:48 +02:00 |
|
Jens Langhammer
|
ed3859800c
|
core: improve API validation for Application's set_icon_url (fix JSON Syntax Error)
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-03 00:39:56 +02:00 |
|
Jens Langhammer
|
06b7f62a40
|
core: make app's meta_launch_url textfield
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-03 00:21:20 +02:00 |
|
Jens Langhammer
|
974ddc07f7
|
web: improve loading of custom favicon
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-02 21:19:39 +02:00 |
|
Jens Langhammer
|
b9773d39c0
|
core: add tests for authenticated sessions
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-30 14:43:00 +02:00 |
|
Jens Langhammer
|
fc45d35699
|
core: add migration for sessions
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-30 13:08:29 +02:00 |
|
Jens Langhammer
|
73338bdf32
|
core: add geo_ip to authenticated sessions if enabled
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-30 01:01:20 +02:00 |
|
Jens Langhammer
|
059da74d1c
|
core: add current attribute to authenticated_session API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-30 00:31:41 +02:00 |
|
Jens Langhammer
|
45b8b1e198
|
core: delete AuthenticatedSession on logout
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-30 00:27:33 +02:00 |
|
Jens Langhammer
|
133fc38c05
|
core: initial authenticated sessions
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-30 00:15:16 +02:00 |
|
Jens Langhammer
|
3b31b7ce83
|
core: add http host in log messages
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-29 19:07:54 +02:00 |
|
Jens Langhammer
|
fae8b80ceb
|
core: fix usage of config on templates
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-29 18:31:05 +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
|
14f85ec980
|
tenants: migrate context_processor to tenants
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-29 18:01:48 +02:00 |
|
Jens Langhammer
|
523621daa2
|
core: make application's check_access API return a PolicyResult and accept for_user as superuser
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-26 11:47: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 |
|