Commit Graph

13485 Commits

Author SHA1 Message Date
Jens Langhammer eb02c448aa
update UI
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-15 23:40:53 +01:00
Marc 'risson' Schmitt 076efa6597
Merge branch 'main' into multi-tenant-django-tenants 2024-01-12 18:23:15 +01:00
Marc 'risson' Schmitt 7f70a86289 root: update dev postgresql image
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-12 18:11:44 +01:00
dependabot[bot] f77c2e8254
core: bump webauthn from 1.11.1 to 2.0.0 (#8134)
* core: bump webauthn from 1.11.1 to 2.0.0

Bumps [webauthn](https://github.com/duo-labs/py_webauthn) from 1.11.1 to 2.0.0.
- [Release notes](https://github.com/duo-labs/py_webauthn/releases)
- [Changelog](https://github.com/duo-labs/py_webauthn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/duo-labs/py_webauthn/compare/v1.11.1...v2.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

* fix?

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

* actually fix

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
2024-01-12 17:19:12 +01:00
authentik-automation[bot] be66ee52cd
web: bump API Client version (#8142)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: authentik-automation[bot] <135050075+authentik-automation[bot]@users.noreply.github.com>
2024-01-12 16:28:32 +01:00
Jens L d9eb4c5248
sources/oauth: fix OAuth source type serializer (#8140)
* sources/oauth: fix OAuth source type serializer

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

* format

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

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-12 16:20:29 +01:00
Jens L 24c87a47a6
sources/oauth: revert azure_ad profile URL change (#8139)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-12 15:51:09 +01:00
dependabot[bot] f44529769c
core: bump jinja2 from 3.1.2 to 3.1.3 (#8133)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3)

---
updated-dependencies:
- dependency-name: jinja2
  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-12 12:09:12 +01:00
dependabot[bot] 4f739758e5
core: bump ruff from 0.1.11 to 0.1.12 (#8135)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.11 to 0.1.12.
- [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.11...v0.1.12)

---
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-12 12:06:46 +01:00
dependabot[bot] ec9908b317
web: bump the wdio group in /tests/wdio with 4 updates (#8136)
Bumps the wdio group in /tests/wdio with 4 updates: [@wdio/cli](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-cli), [@wdio/local-runner](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-local-runner), [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-mocha-framework) and [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-spec-reporter).


Updates `@wdio/cli` from 8.27.1 to 8.27.2
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.27.2/packages/wdio-cli)

Updates `@wdio/local-runner` from 8.27.0 to 8.27.2
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.27.2/packages/wdio-local-runner)

Updates `@wdio/mocha-framework` from 8.27.0 to 8.27.2
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.27.2/packages/wdio-mocha-framework)

Updates `@wdio/spec-reporter` from 8.27.0 to 8.27.2
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.27.2/packages/wdio-spec-reporter)

---
updated-dependencies:
- dependency-name: "@wdio/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: wdio
- dependency-name: "@wdio/local-runner"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: wdio
- dependency-name: "@wdio/mocha-framework"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: wdio
- dependency-name: "@wdio/spec-reporter"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: wdio
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-12 12:06:35 +01:00
Marc 'risson' Schmitt 0f47e2bbd5
lint-fix
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-12 03:59:03 +01:00
Marc 'risson' Schmitt 941b8a72aa
lint-fix
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-12 03:56:55 +01:00
Marc 'risson' Schmitt 0a15cf7452
fix tenants tests
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-12 03:54:33 +01:00
Marc 'risson' Schmitt 7ce8af6192
fix recovery tests
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-12 03:15:14 +01:00
Marc 'risson' Schmitt ca956aa70b
web: fix system status being degraded when embedded outpost is disabled
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-12 02:58:41 +01:00
Marc 'risson' Schmitt 687a7e0c16
recovery tests: do them on a new tenant
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-12 02:33:55 +01:00
Marc 'risson' Schmitt 963d452659
lint
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-11 20:23:22 +01:00
Marc 'risson' Schmitt 02b51522a8
add tests for recovery api
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-11 20:20:40 +01:00
Marc 'risson' Schmitt 6e07029f1a
add tests for settings api
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-11 20:04:04 +01:00
Marc 'risson' Schmitt f5be985807
fix e2e tests
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-11 19:32:59 +01:00
Marc 'risson' Schmitt 5b0f36c0fd
actually update
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-11 19:26:05 +01:00
Marc 'risson' Schmitt 97db37fc27
update django-tenants with sequence fix
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2024-01-11 19:21:54 +01:00
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