|
|
395ad722b7
|
core: migrate all sessions to the database (#9736)
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
|
2025-04-11 09:10:55 +02:00 |
|
|
|
85343fa5d4
|
core: clear expired database sessions (#13105)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
|
2025-02-18 20:40:03 +01:00 |
|
|
|
801a28ef65
|
core: fix condition in task clean_expiring_models (#9603)
|
2024-05-06 12:29:04 +00:00 |
|
|
|
244cbc5b6d
|
core: fix task clean_expiring_models removing valid sessions with using database storage (#9598)
|
2024-05-06 12:02:03 +00:00 |
|
|
|
b225b0200e
|
root: early spring clean for linting (#8498)
* remove pyright
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* remove pylint
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* replace pylint with ruff
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* ruff fix
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
* fix UP038
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* fix DJ012
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* fix default arg
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* fix UP031
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* rename stage type to view
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* fix DJ008
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* fix remaining upgrade
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* fix PLR2004
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* fix B904
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* fix PLW2901
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* fix remaining issues
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* prevent ruff from breaking the code
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* stages/prompt: refactor field building
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
* fix tests
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* fix lint
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* fully remove isort
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
Co-authored-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
|
2024-02-24 18:13:35 +01:00 |
|
|
|
c90792d876
|
stages/authenticator_validate: fix error when using pretend_user (#8447)
|
2024-02-07 21:21:16 +01:00 |
|
|
|
8949464294
|
root: reformat with latest black version and fix tests (#8376)
* format files
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* fix pyright
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* revert #8367
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* sigh
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
|
2024-01-31 15:24:45 +01:00 |
|
|
|
96b2a1a9ba
|
events: migrate SystemTasks to DB (#8159)
* events: migrate system tasks to save in DB
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* prefill in app startup
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* cleanup api
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* update web
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* use string for status
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* fix enum
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* save start and end directly in timestamp from default_timer()
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* improve metrics
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* lint
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* fix tests
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* rename globally to system task
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* recreate migrations, better denote anonymous user
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* events: lookup actual django app instead of using module path, fallback to module path
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* fix logger call
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* fix
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
|
2024-01-24 17:23:03 +01:00 |
|
|
|
ec42b597ab
|
providers/proxy: send token request internally, with overwritten host header (#4675)
* send token request internally, with overwritten host header
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* fix
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
|
2023-02-13 16:34:47 +01:00 |
|
|
|
cefc1a57ee
|
core: handle error when cleaning up sessions and cached session can't be loaded
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
|
2023-02-13 13:22:34 +01:00 |
|
|
|
4de2ac3248
|
events: add task to expire seen notifications
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-05-14 22:41:50 +02:00 |
|
|
|
cca33a74b6
|
core: fix error when checking generated users with no expiry
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-04-10 17:53:46 +02:00 |
|
|
|
f977bf61eb
|
providers/oauth2: make exp optional on jwt client_credentials flow
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-04-10 17:25:35 +02:00 |
|
|
|
bb8af2f19b
|
providers/oauth2: add client_assertion_type jwt bearer support (#2618)
|
2022-03-31 00:30:55 +02:00 |
|
|
|
d5e04a2301
|
*: remove deprecated backup (#2129)
* *: remove backup
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* fix lint
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* website/docs: add docs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* *: final cleanup
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* ci: use correct pyproject when migrating from stable
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* website/docs: fix broken docs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-02-05 18:54:15 +01:00 |
|
|
|
7b1373e8d6
|
core: fix lint error
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-04 23:17:37 +01:00 |
|
|
|
e70b486f20
|
outposts: handle error in certificate cleanup
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-04 22:53:37 +01:00 |
|
|
|
a9bd34f3c5
|
events: revert to @prefill_task decorator since base class doesn't get executed until task runs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-09 10:18:00 +01:00 |
|
|
|
cf78c89830
|
events: replace @prefill_task with custom base class to prefill
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-02 13:47:35 +01:00 |
|
|
|
f0d7edb963
|
*: fix @prefill_task
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-02 10:05:51 +01:00 |
|
|
|
92085f1a3c
|
core: add toggle to completely disable backup mechanism
closes #1671
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-10-26 17:04:33 +02:00 |
|
|
|
ce812e14c7
|
core: improve detection for s3 settings to trigger backup
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-10-17 15:56:31 +02:00 |
|
|
|
4b7399f454
|
*: add @prefill_task() decorator to "pre-fill" tasks in cache, so they can be executed even before their schedule would do so
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-10-14 12:21:28 +02:00 |
|
|
|
8044818a4d
|
core: add additional cleanup for authenticated sessions
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-05 23:25:40 +02:00 |
|
|
|
77ed25ae34
|
root: reformat to 100 line width
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-03 17:45:16 +02:00 |
|
|
|
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 |
|
|
|
f9f2e00913
|
core: improve error handling for backups
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-13 17:56:49 +02:00 |
|
|
|
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 |
|
|
|
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 |
|
|
|
1a00730cdd
|
core: cleanup output for backup task
|
2021-03-03 20:11:55 +01:00 |
|
|
|
3d3a0cd9e3
|
events: create event when system task fails
|
2021-01-18 10:09:14 +01:00 |
|
|
|
bc9e7e8b93
|
build(deps): bump structlog from 20.1.0 to 20.2.0 (#445)
* build(deps): bump structlog from 20.1.0 to 20.2.0
Bumps [structlog](https://github.com/hynek/structlog) from 20.1.0 to 20.2.0.
- [Release notes](https://github.com/hynek/structlog/releases)
- [Changelog](https://github.com/hynek/structlog/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/hynek/structlog/compare/20.1.0...20.2.0)
Signed-off-by: dependabot[bot] <support@github.com>
* *: use structlog.stdlib instead of structlog for type-hints
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-01-01 15:39:43 +01:00 |
|
|
|
1cfe1aff13
|
wip: rename to authentik (#361)
* root: initial rename
* web: rename custom element prefix
* root: rename external functions with pb_ prefix
* root: fix formatting
* root: replace domain with goauthentik.io
* proxy: update path
* root: rename remaining prefixes
* flows: rename file extension
* root: pbadmin -> akadmin
* docs: fix image filenames
* lifecycle: ignore migration files
* ci: copy default config from current source before loading last tagged
* *: new sentry dsn
* tests: fix missing python3.9-dev package
* root: add additional migrations for service accounts created by outposts
* core: mark system-created service accounts with attribute
* policies/expression: fix pb_ replacement not working
* web: fix last linting errors, add lit-analyse
* policies/expressions: fix lint errors
* web: fix sidebar display on screens where not all items fit
* proxy: attempt to fix proxy pipeline
* proxy: use go env GOPATH to get gopath
* lib: fix user_default naming inconsistency
* docs: add upgrade docs
* docs: update screenshots to use authentik
* admin: fix create button on empty-state of outpost
* web: fix modal submit not refreshing SiteShell and Table
* web: fix height of app-card and height of generic icon
* web: fix rendering of subtext
* admin: fix version check error not being caught
* web: fix worker count not being shown
* docs: update screenshots
* root: new icon
* web: fix lint error
* admin: fix linting error
* root: migrate coverage config to pyproject
|
2020-12-05 22:08:42 +01:00 |
|