Commit graph

13463 commits

Author SHA1 Message Date
Marc 'risson' Schmitt cec13ce534
pylint
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-11 17:15:34 +01:00
Marc 'risson' Schmitt 3169599729
actually nodata was unnecessary as we're cloning from template and not from public
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-11 17:08:41 +01:00
Marc 'risson' Schmitt cb7cd11778
enable django checks
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-11 17:00:17 +01:00
Marc 'risson' Schmitt 4ecb571291
fix reconcile app decorator
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-11 15:52:03 +01:00
Jens Langhammer 29e5c2bf49
fix
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-11 15:50:28 +01:00
Marc 'risson' Schmitt 838b3faaf9
update reconcile logic to clearly differentiate between tenant and global
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-11 15:48:58 +01:00
Jens Langhammer 7ed9a27a3d
remove postgres query logging
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-11 15:47:23 +01:00
Jens Langhammer 7cac5f6171
remove failfast
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-11 15:31:13 +01:00
Marc 'risson' Schmitt cd92eced13
why not
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-11 15:25:23 +01:00
Marc 'risson' Schmitt 1cff8902dd
fix clone with nodata
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-11 15:25:15 +01:00
Marc 'risson' Schmitt 6945dafe0b
Revert "Revert "do not copy tenant data""
This reverts commit 4bffb19704.
2024-01-11 15:09:18 +01:00
Marc 'risson' Schmitt 4bffb19704
Revert "do not copy tenant data"
This reverts commit d07ae9423672f068b0bd8be409ff9b58452a80f2.
2024-01-11 15:09:05 +01:00
Marc 'risson' Schmitt 602d340c90
Revert "try running tenant save in a transaction"
This reverts commit da6dec5a61.
2024-01-11 15:09:05 +01:00
Marc 'risson' Schmitt 3af4843b62
do not copy tenant data
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-11 15:09:05 +01:00
Jens Langhammer eb78587963
test: fix container name for logs
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-11 15:02:17 +01:00
Jens Langhammer e2a80e9d99
test: export postgres logs for debugging and use failfast
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-11 14:58:28 +01:00
Marc 'risson' Schmitt 95e97f9b1c
black
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-11 14:48:12 +01:00
Marc 'risson' Schmitt da6dec5a61
try running tenant save in a transaction
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-11 14:46:53 +01:00
Marc 'risson' Schmitt 6a11b24896
Merge branch 'main' into multi-tenant-django-tenants 2024-01-11 14:38:50 +01:00
Marc 'risson' Schmitt f7b609d8aa
fix reconcile
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-11 14:32:54 +01:00
Jens L 38e1ad5ade
root: replace django-silk with Spotlight (#7828)
* root: replace django-silk with Spotlight

https://spotlightjs.com/
Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* use containerized spotlight

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* fix lock

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* update spotlight version

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* remove platform

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* fix lint

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-11 12:33:31 +01:00
dependabot[bot] 7ea3830e56
core: bump github.com/getsentry/sentry-go from 0.25.0 to 0.26.0 (#8129)
Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go) from 0.25.0 to 0.26.0.
- [Release notes](https://github.com/getsentry/sentry-go/releases)
- [Changelog](https://github.com/getsentry/sentry-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-go/compare/v0.25.0...v0.26.0)

---
updated-dependencies:
- dependency-name: github.com/getsentry/sentry-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 11:35:29 +01:00
dependabot[bot] 7d75943cc2
core: bump github.com/sethvargo/go-envconfig from 0.9.0 to 1.0.0 (#8128)
Bumps [github.com/sethvargo/go-envconfig](https://github.com/sethvargo/go-envconfig) from 0.9.0 to 1.0.0.
- [Release notes](https://github.com/sethvargo/go-envconfig/releases)
- [Commits](https://github.com/sethvargo/go-envconfig/compare/v0.9.0...v1.0.0)

---
updated-dependencies:
- dependency-name: github.com/sethvargo/go-envconfig
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 11:35:22 +01:00
dependabot[bot] 6afa494b57
web: bump the sentry group in /web with 2 updates (#8130)
Bumps the sentry group in /web with 2 updates: [@sentry/browser](https://github.com/getsentry/sentry-javascript) and [@sentry/tracing](https://github.com/getsentry/sentry-javascript).


Updates `@sentry/browser` from 7.92.0 to 7.93.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.92.0...7.93.0)

Updates `@sentry/tracing` from 7.92.0 to 7.93.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.92.0...7.93.0)

---
updated-dependencies:
- dependency-name: "@sentry/browser"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry
- dependency-name: "@sentry/tracing"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 11:35:13 +01:00
Marc 'risson' Schmitt b0e74d348a
root: fix listen trusted_proxy_cidrs config loading from environment (#8075)
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
2024-01-10 22:39:27 +00:00
dependabot[bot] 0064c1df74
core: bump gitpython from 3.1.40 to 3.1.41 (#8124)
Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.40 to 3.1.41.
- [Release notes](https://github.com/gitpython-developers/GitPython/releases)
- [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES)
- [Commits](https://github.com/gitpython-developers/GitPython/compare/3.1.40...3.1.41)

---
updated-dependencies:
- dependency-name: gitpython
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 20:03:17 +01:00
Marc 'risson' Schmitt 04ae26c1ba
relock poetry
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-10 18:17:58 +01:00
Marc 'risson' Schmitt 067e7f923a
fix web after merge
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-10 18:16:27 +01:00
Marc 'risson' Schmitt 4c4459d44e
fix django version
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-10 18:06:58 +01:00
Marc 'risson' Schmitt c2f5f993b2
Merge branch 'main' into multi-tenant-django-tenants 2024-01-10 17:57:40 +01:00
Marc 'risson' Schmitt dd69482127
lib/expression: refactor expression compilation
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-10 17:55:10 +01:00
dependabot[bot] 8831e1d946
core: bump sentry-sdk from 1.39.1 to 1.39.2 (#8116)
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.39.1 to 1.39.2.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/1.39.1...1.39.2)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 15:06:11 +01:00
dependabot[bot] d10ed974cb
core: bump django from 5.0 to 5.0.1 (#8117)
Bumps [django](https://github.com/django/django) from 5.0 to 5.0.1.
- [Commits](https://github.com/django/django/compare/5.0...5.0.1)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 15:06:02 +01:00
dependabot[bot] 27ea604467
core: bump structlog from 23.3.0 to 24.1.0 (#8118)
Bumps [structlog](https://github.com/hynek/structlog) from 23.3.0 to 24.1.0.
- [Release notes](https://github.com/hynek/structlog/releases)
- [Changelog](https://github.com/hynek/structlog/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hynek/structlog/compare/23.3.0...24.1.0)

---
updated-dependencies:
- dependency-name: structlog
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 15:05:44 +01:00
dependabot[bot] 9b9d08c3db
core: bump psycopg from 3.1.16 to 3.1.17 (#8119)
Bumps [psycopg](https://github.com/psycopg/psycopg) from 3.1.16 to 3.1.17.
- [Changelog](https://github.com/psycopg/psycopg/blob/master/docs/news.rst)
- [Commits](https://github.com/psycopg/psycopg/compare/3.1.16...3.1.17)

---
updated-dependencies:
- dependency-name: psycopg
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 15:05:36 +01:00
dependabot[bot] a65fde6374
core: bump ruff from 0.1.9 to 0.1.11 (#8120)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.9 to 0.1.11.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.9...v0.1.11)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 15:05:29 +01:00
dependabot[bot] 391d477e45
core: bump pycryptodome from 3.19.1 to 3.20.0 (#8121)
Bumps [pycryptodome](https://github.com/Legrandin/pycryptodome) from 3.19.1 to 3.20.0.
- [Release notes](https://github.com/Legrandin/pycryptodome/releases)
- [Changelog](https://github.com/Legrandin/pycryptodome/blob/master/Changelog.rst)
- [Commits](https://github.com/Legrandin/pycryptodome/compare/v3.19.1...v3.20.0)

---
updated-dependencies:
- dependency-name: pycryptodome
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 15:05:21 +01:00
dependabot[bot] d4fdfb70c1
core: bump kubernetes from 27.2.0 to 29.0.0 (#8122)
Bumps [kubernetes](https://github.com/kubernetes-client/python) from 27.2.0 to 29.0.0.
- [Release notes](https://github.com/kubernetes-client/python/releases)
- [Changelog](https://github.com/kubernetes-client/python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes-client/python/compare/v27.2.0...v29.0.0)

---
updated-dependencies:
- dependency-name: kubernetes
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 15:05:11 +01:00
Jens L 2ce74ff9f0
website: add privacy policy [AUTH-52] (#8079)
website: add privacy policy

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-10 14:23:00 +01:00
dependabot[bot] 3715a222fd
core: bump goauthentik.io/api/v3 from 3.2023105.5 to 3.2023106.1 (#8114)
Bumps [goauthentik.io/api/v3](https://github.com/goauthentik/client-go) from 3.2023105.5 to 3.2023106.1.
- [Release notes](https://github.com/goauthentik/client-go/releases)
- [Commits](https://github.com/goauthentik/client-go/compare/v3.2023105.5...v3.2023106.1)

---
updated-dependencies:
- dependency-name: goauthentik.io/api/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 12:15:56 +01:00
dependabot[bot] e0370947ca
web: bump @rollup/plugin-typescript from 11.1.5 to 11.1.6 in /web (#8113)
Bumps [@rollup/plugin-typescript](https://github.com/rollup/plugins/tree/HEAD/packages/typescript) from 11.1.5 to 11.1.6.
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/typescript/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/typescript-v11.1.6/packages/typescript)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-typescript"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 12:15:47 +01:00
dependabot[bot] fdefe23d46
core: bump golang from 1.21.5-bookworm to 1.21.6-bookworm (#8111)
Bumps golang from 1.21.5-bookworm to 1.21.6-bookworm.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 12:15:16 +01:00
dependabot[bot] 42552e74eb
core: bump maxmind/geoipupdate from v6.0 to v6.1 (#8112)
Bumps maxmind/geoipupdate from v6.0 to v6.1.

---
updated-dependencies:
- dependency-name: maxmind/geoipupdate
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 12:15:04 +01:00
cornfeedhobo 66001a3e88
website/integrations: fix Grafana role mapping docs (#8110) 2024-01-10 04:00:24 +00:00
authentik-automation[bot] 9de452853e
web: bump API Client version (#8107) 2024-01-09 19:35:14 +01:00
Jens Langhammer 50d3264be5
release: 2023.10.6 2024-01-09 19:31:47 +01:00
Jens Langhammer c78bb979ec
website: update changelog for 2023.10.6 and 2023.8.6
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 19:02:19 +01:00
Jens L 6649f7ab72
providers/oauth2: fix CVE-2024-21637 (#8104)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 18:14:12 +01:00
transifex-integration[bot] 9ecabe4629
translate: Updates for file web/xliff/en.xlf in fr (#8103)
Translate web/xliff/en.xlf in fr

100% translated source file: 'web/xliff/en.xlf'
on 'fr'.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2024-01-09 15:40:11 +00:00
Marc 'risson' Schmitt 5b39f8e68b
Revert "try with setting_changed signal"
This reverts commit 32b40a3bbb.
2024-01-09 16:39:32 +01:00