This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/authentik/events
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
..
api API: add endpoint to show by what objects an object is used (#995) 2021-06-10 11:58:12 +02:00
migrations events: add EMAIL_SENT event, show sent emails in event log 2021-06-09 10:28:32 +02:00
tests events: rewrite GeoIP to a wrapper, reload file every 8 hours 2021-06-06 00:42:41 +02:00
__init__.py events: rename audit to events and use for more metrics (#397) 2020-12-20 22:04:29 +01:00
apps.py tests/e2e: fix invalid flows 2021-05-25 11:18:47 +02:00
geo.py events: rewrite GeoIP to a wrapper, reload file every 8 hours 2021-06-06 00:42:41 +02:00
middleware.py api: add tests for swagger generation 2021-03-30 15:23:37 +02:00
models.py events: add EMAIL_SENT event, show sent emails in event log 2021-06-09 10:28:32 +02:00
monitored_tasks.py outposts/ldap: fix client usage 2021-05-24 15:58:59 +02:00
signals.py *: replace Dict from typing with normal dict 2021-02-18 13:41:03 +01:00
tasks.py events: handle error when notifications are triggered and no users exist 2021-05-06 20:13:04 +02:00
utils.py events: fix event creation with anonymous user 2021-03-01 12:04:27 +01:00