Jens Langhammer
|
9c9addb0ce
|
*: ensure all resources can be filtered
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-07 16:34:14 +02:00 |
|
Jens Langhammer
|
77ed25ae34
|
root: reformat to 100 line width
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-03 17:45:16 +02:00 |
|
Jens Langhammer
|
f933cd99ad
|
events: ensure fallback result is set for on_failure
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-07-30 09:37:53 +02:00 |
|
Jens Langhammer
|
7ac5091e5a
|
events: remove default result for MonitoredTasks, only save when result was set
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-07-29 22:42:56 +02:00 |
|
Jens Langhammer
|
1972464a20
|
tenants: make event retention configurable on tenant level
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-07-24 20:07:12 +02:00 |
|
Jens Langhammer
|
aa701c5725
|
core: don't delete expired tokens, rotate their key
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-07-14 21:47:32 +02:00 |
|
Jens Langhammer
|
3c0cc27ea1
|
events: fix error when slack notification request failed without a response
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-07-09 19:52:19 +02:00 |
|
Jens Langhammer
|
77a507d2f8
|
providers/oauth2: add revoked field, create suspicious event when previous token is used
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-07-03 15:59:01 +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
|
6f5ec7838f
|
events: fix linting
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-28 20:57:28 +02:00 |
|
Jens Langhammer
|
5d3931c128
|
events: ignore notification non-existent in transport
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-28 20:15:00 +02:00 |
|
Jens Langhammer
|
60c3cf890a
|
events: add ability to create events via API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-26 23:37:03 +02:00 |
|
Jens Langhammer
|
6930c84425
|
events: only create SYSTEM_EXCEPTION event when error would've been sent to sentry
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-24 13:01:41 +02:00 |
|
Jens Langhammer
|
ec4c3f44cb
|
events: don't create system exception event in debug
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-14 22:16:27 +02:00 |
|
Jens Langhammer
|
74e578c2bf
|
events: add tenant to event
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-14 18:43:29 +02:00 |
|
Jens Langhammer
|
e584fd1344
|
events: catch unhandled exceptions from request as event, add button to open github issue
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-14 17:22:58 +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
|
2210497569
|
events: add EMAIL_SENT event, show sent emails in event log
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-09 10:28:32 +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
|
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
|
7e8044619c
|
lib: return default IP if none could be extracted
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-30 12:49:44 +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
|
763c3fcfe0
|
outposts/ldap: fix client usage
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-24 15:58:59 +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
|
ba5374f6e1
|
web: mass update API calls
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 18:24:15 +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
|
2190fa555b
|
events/api: fix error when updating transports
closes #866
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-12 16:41:30 +02:00 |
|
Jens Langhammer
|
1f1d322958
|
*: fix api results when non-superuser
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-10 00:01:35 +02:00 |
|
Jens Langhammer
|
6c3b7c8d3e
|
events: handle error when notifications are triggered and no users exist
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-06 20:13:04 +02:00 |
|
Jens Langhammer
|
d51ecc4554
|
sources/saml: handle internal error
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-06 20:10:56 +02:00 |
|
Jens Langhammer
|
49bf82a0a4
|
core: add user filter by superuser status
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-06 13:44:42 +02:00 |
|
Jens Langhammer
|
73b87a5e3d
|
events: fix error in API when specifying max_n
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-06 13:15:54 +02:00 |
|
Jens Langhammer
|
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
|
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
|
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
|
32c5bf04b8
|
*: fix linting errors
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-17 20:08:49 +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
|
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 L
|
a2a35e49a9
|
improved out-of-box experience (#704)
|
2021-04-06 20:25:22 +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
|
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
|
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
|
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
|
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 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
|
c7dcf92a2e
|
api: add tests for swagger generation
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-03-30 15:23:37 +02:00 |
|