de56d02230
core: bump importlib-metadata from 7.0.1 to 7.0.2 ( #8845 )
...
Bumps [importlib-metadata](https://github.com/python/importlib_metadata ) from 7.0.1 to 7.0.2.
- [Release notes](https://github.com/python/importlib_metadata/releases )
- [Changelog](https://github.com/python/importlib_metadata/blob/main/NEWS.rst )
- [Commits](https://github.com/python/importlib_metadata/compare/v7.0.1...v7.0.2 )
---
updated-dependencies:
- dependency-name: importlib-metadata
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-03-08 14:25:41 +01:00
c04e8869f7
web: fix build script timing and clearing ( #8837 )
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2024-03-07 21:13:52 +01:00
9d60d0b4c5
web: bump @codemirror/lang-xml from 6.0.2 to 6.1.0 in /web ( #8826 )
...
Bumps [@codemirror/lang-xml](https://github.com/codemirror/lang-xml ) from 6.0.2 to 6.1.0.
- [Changelog](https://github.com/codemirror/lang-xml/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/lang-xml/compare/6.0.2...6.1.0 )
---
updated-dependencies:
- dependency-name: "@codemirror/lang-xml"
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-03-07 20:10:32 +01:00
a42b181b76
web: bump typescript from 5.3.3 to 5.4.2 in /web ( #8827 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 5.3.3 to 5.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
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-03-07 20:10:20 +01:00
24657797ad
web: bump yaml from 2.4.0 to 2.4.1 in /web ( #8829 )
...
* web: bump yaml from 2.4.0 to 2.4.1 in /web
Bumps [yaml](https://github.com/eemeli/yaml ) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/eemeli/yaml/releases )
- [Commits](https://github.com/eemeli/yaml/compare/v2.4.0...v2.4.1 )
---
updated-dependencies:
- dependency-name: yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix unittests
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-03-07 19:49:10 +01:00
3981b55b40
web: replace rollup with esbuild ( #8699 )
...
* Holding for a moment...
* web: replace rollup with esbuild
This commit replaces rollup with esbuild.
The biggest fix was to alter the way CSS is imported into our system;
esbuild delivers it to the browser as text, rather than as a bundle
with metadata that, frankly, we never use. ESBuild will bundle the
CSS for us just fine, and interpreting those strings *as* CSS turned
out to be a small hurdle. Code has been added to AKElement and
Interface to ensure that all CSS referenced by an element has been
converted to a Browser CSSStyleSheet before being presented to the
browser.
A similar fix has been provided for the markdown imports. The
biggest headache there was that the re-arrangement of our documentation
broke Jen's existing parser for fixing relative links. I've provided
a corresponding hack that provides the necessary detail, but since
the Markdown is being presented to the browser as text, we have to
provide a hint in the markdown component for where any relative
links should go, and we're importing and processing the markdown
at runtime. This doesn't seem to be a big performance hit.
The entire build process is driven by the new build script, `build.mjs`,
which starts the esbuild process as a service connected to the build
script and then runs the commands sent to it as fast as possible.
The biggest "hack" in it is actually the replacement for rollup's
`rollup-copy-plugin`, which is clever enough I'm surprised it doesn't
exist as a standalone file-copy package in its own right.
I've also used a filesystem watch library to encode a "watcher"
mechanism into the build script. `node build.mjs --watch` will
work on MacOS; I haven't tested it elsewhere, at least not yet.
`node build.mjs --proxy` does what the old rollup.proxy.js script
did.
The savings are substantial. It takes less than two seconds to build
the whole UI, a huge savings off the older ~45-50 seconds I routinely
saw on my old Mac. It's also about 9% smaller.
The trade-offs appear to be small: processing the CSS as StyleSheets,
and the Markdown as HTML, at run-time is a small performance hit,
but I didn't notice it in amongst everything else the UI does as
it starts up.
Manual chunking is gone; esbuild's support for that is quite difficult
to get right compared to Rollup's, although there's been a bit of
yelling at ESbuild over it. Codemirror is built into its own chunk;
it's just not _named_ distinctly anymore.
The one thing I haven't been able to test yet is whether or not the
polyfills and runtim shims work as expected on older browsers.
* web: continue with performance and build fixes
This commit introduces a couple of fixes enabled by esbuild and other
features.
1. build-locales
`build-locales` is a new NodeJS script in the `./scripts` folder
that does pretty much what it says in the name: it translates Xliff
files into `.ts` files. It has two DevExp advantages over the old
build system.
First, it will check the build times of the xlf files and
their ts equivalents, and will only run the actual build-locales
command if the XLF files are newer than their TS equivalents.
Second, it captures the stderr output from the build-locales command
and summarizes it. Instead of the thousands of lines of "this
string has no translation equivalent," now it just reports the
number of missed translations per locale.
2. check-spelling
This is a simple wrapper around the `codespell` command, mostly
just to reduce the visual clutter of `package.json`, but also to
permit it to run just about anywhere without needed hard-coded
paths to the dictionaries, using a fairly classic trick with git.
3. pseudolocalize and import-maps
These scripts were in TypeScript, but for our purposes I've
saved their constructed equivalents instead. This saves on
visual clutter in the `package.json` script, and reduced the
time they have to run during full builds. They're small enough
I feel confident they won't need too much looking over.
Also, two lint bugs in Markdown.ts have been fixed.
* Removed a few lines that weren't in use.
* build-locales was sufficiently complex it needed some comments.
* web: formalize that horrible unixy git status checker into a proper function.
* Added types for , the Markdown processor for in-line documentation.
* re-add dependencies required for storybook
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix optional deps
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix relative links for docs
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* only build once on startup
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* prevent crash when build fails in watch mode, improve console output
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
Co-authored-by: Jens Langhammer <jens@goauthentik.io >
2024-03-07 19:07:18 +01:00
d98471dbea
website: fix bundled website build ( #8836 )
...
* website: fix bundled website build
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* sigh
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix some warnings
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2024-03-07 19:06:38 +01:00
9cd94f639c
tests: fix e2e flow tests ( #8835 )
...
* maybe fix e2e
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* actually fix e2e
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2024-03-07 17:57:54 +01:00
afd950c671
web: bump typescript from 5.3.3 to 5.4.2 in /tests/wdio ( #8832 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 5.3.3 to 5.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
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-03-07 12:17:34 +01:00
9328db4c19
website: bump typescript from 5.3.3 to 5.4.2 in /website ( #8830 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 5.3.3 to 5.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
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-03-07 12:17:17 +01:00
7b40e23840
website: bump @types/react from 18.2.63 to 18.2.64 in /website ( #8831 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.2.63 to 18.2.64.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
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-03-07 12:17:11 +01:00
8ca7bdcd36
website/integrations: Add description for custom enrollment to azure ad ( #8392 )
...
* Add description for custom enrollment
* add introduction
* linting
* Update website/integrations/sources/azure-ad/index.md
Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com >
Signed-off-by: tograss <102800033+tograss@users.noreply.github.com >
* Update website/integrations/sources/azure-ad/index.md
Signed-off-by: Tana M Berry <tanamarieberry@yahoo.com >
* fix links
* tweak
* fixed build fail
---------
Signed-off-by: tograss <102800033+tograss@users.noreply.github.com >
Signed-off-by: Tana M Berry <tanamarieberry@yahoo.com >
Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com >
2024-03-06 22:42:45 +00:00
d51491e1eb
enterprise: use tenant uuid instead of install_id when tenants are enabled ( #8823 )
...
use tenant uuid instead of install_id when tenants are enabled
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2024-03-06 17:53:11 +01:00
6e1807e51d
stages/email: Disable autoescape for text templates ( #8812 )
...
* Disable autoescape for text templates
* Re-add trailing whitespace after seperator
2024-03-06 15:32:52 +01:00
785ff6b3df
core: bump github.com/sethvargo/go-envconfig from 1.0.0 to 1.0.1 ( #8819 )
...
* core: bump github.com/sethvargo/go-envconfig from 1.0.0 to 1.0.1
Bumps [github.com/sethvargo/go-envconfig](https://github.com/sethvargo/go-envconfig ) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/sethvargo/go-envconfig/releases )
- [Commits](https://github.com/sethvargo/go-envconfig/compare/v1.0.0...v1.0.1 )
---
updated-dependencies:
- dependency-name: github.com/sethvargo/go-envconfig
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* bump go
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-03-06 14:50:28 +01:00
408016a34e
website: bump @types/react from 18.2.62 to 18.2.63 in /website ( #8817 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.2.62 to 18.2.63.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
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-03-06 12:09:36 +01:00
fc77fa68d1
web: bump mermaid from 10.8.0 to 10.9.0 in /web ( #8818 )
...
Bumps [mermaid](https://github.com/mermaid-js/mermaid ) from 10.8.0 to 10.9.0.
- [Release notes](https://github.com/mermaid-js/mermaid/releases )
- [Changelog](https://github.com/mermaid-js/mermaid/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/mermaid-js/mermaid/compare/v10.8.0...v10.9.0 )
---
updated-dependencies:
- dependency-name: mermaid
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-03-06 12:09:27 +01:00
48b24e5c65
core: bump golang from 1.22.0-bookworm to 1.22.1-bookworm ( #8820 )
...
Bumps golang from 1.22.0-bookworm to 1.22.1-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-03-06 12:09:14 +01:00
b2045fd034
enterprise: only check for valid license existing for creating Enterprise objects ( #8813 )
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2024-03-06 11:59:07 +01:00
782e9fadb5
website: fix missing compose file ( #8809 )
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2024-03-05 17:29:23 +01:00
e48ac56cc5
core: bump django from 5.0.2 to 5.0.3 ( #8808 )
...
Bumps [django](https://github.com/django/django ) from 5.0.2 to 5.0.3.
- [Commits](https://github.com/django/django/compare/5.0.2...5.0.3 )
---
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-03-05 14:52:52 +01:00
f110eda465
core: bump github.com/go-openapi/strfmt from 0.22.1 to 0.22.2 ( #8801 )
...
Bumps [github.com/go-openapi/strfmt](https://github.com/go-openapi/strfmt ) from 0.22.1 to 0.22.2.
- [Commits](https://github.com/go-openapi/strfmt/compare/v0.22.1...v0.22.2 )
---
updated-dependencies:
- dependency-name: github.com/go-openapi/strfmt
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-03-05 12:28:38 +01:00
e830d5dc7a
core, web: update translations ( #8800 )
...
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: rissson <18313093+rissson@users.noreply.github.com >
2024-03-05 12:20:46 +01:00
2b1f8ac050
core: bump goauthentik.io/api/v3 from 3.2024021.3 to 3.2024022.1 ( #8802 )
...
Bumps [goauthentik.io/api/v3](https://github.com/goauthentik/client-go ) from 3.2024021.3 to 3.2024022.1.
- [Release notes](https://github.com/goauthentik/client-go/releases )
- [Commits](https://github.com/goauthentik/client-go/compare/v3.2024021.3...v3.2024022.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-03-05 12:20:40 +01:00
e8d5d678bf
core: bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 ( #8803 )
...
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2 ) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
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-03-05 12:20:33 +01:00
6df5de861c
core: bump github.com/go-openapi/runtime from 0.27.1 to 0.27.2 ( #8804 )
...
Bumps [github.com/go-openapi/runtime](https://github.com/go-openapi/runtime ) from 0.27.1 to 0.27.2.
- [Release notes](https://github.com/go-openapi/runtime/releases )
- [Commits](https://github.com/go-openapi/runtime/compare/v0.27.1...v0.27.2 )
---
updated-dependencies:
- dependency-name: github.com/go-openapi/runtime
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-03-05 12:20:27 +01:00
c35ae4af3e
website: bump @types/react from 18.2.61 to 18.2.62 in /website ( #8805 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.2.61 to 18.2.62.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
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-03-05 12:20:19 +01:00
ae123a3364
web: bump the eslint group in /tests/wdio with 2 updates ( #8806 )
...
Bumps the eslint group in /tests/wdio with 2 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ).
Updates `@typescript-eslint/eslint-plugin` from 7.1.0 to 7.1.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.1.1/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 7.1.0 to 7.1.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.1.1/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: eslint
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: eslint
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 12:20:09 +01:00
e155aa5f3e
web: bump the eslint group in /web with 2 updates ( #8807 )
...
Bumps the eslint group in /web with 2 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ).
Updates `@typescript-eslint/eslint-plugin` from 7.1.0 to 7.1.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.1.1/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 7.1.0 to 7.1.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.1.1/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: eslint
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: eslint
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 12:19:35 +01:00
6fa2765f55
website/integrations: fix typo in proxmox docs ( #8791 )
...
docs(proxmox-ve): fix typo
`promox` -> `proxmox`
Signed-off-by: William Harrison <william@williamdavidharrison.com.au >
2024-03-04 17:07:43 -06:00
ecb84dda46
web: bump API Client version ( #8797 )
...
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: authentik-automation[bot] <135050075+authentik-automation[bot]@users.noreply.github.com>
2024-03-04 20:45:36 +00:00
62e58f2fe9
release: 2024.2.2
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
# Conflicts:
# pyproject.toml
2024-03-04 21:25:25 +01:00
0a4e34a142
website/docs: prepare 2024.2.2 release notes ( #8782 )
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2024-03-04 20:06:08 +01:00
1be50bcdb2
flows: fix mismatched redirect behaviour for invalid and valid flows ( #8794 )
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2024-03-04 18:46:57 +01:00
f0c33ef1bf
providers/oauth2: fix validation ordering ( #8793 )
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2024-03-04 18:46:50 +01:00
b059754fe5
web: clean up UserInterface in prep for OAuth and Silo Projects ( #8278 )
...
* This was pretty quick. While looking at the Oauth stuff, changes made to the UserInterface triggered
the "harder" eslint pass, which said "UserInterface exceeds permitted complexity (9)." I couldn't
disagree; it had lots of conditionals.
This commit:
- Changes no functionality; it's just cleanup.
- Breaks UserInterface into business and presentation layers
- The presentation layer:
- Further breaks the presentation layer into a frame and conditional components. Each conditional
is now a simple guard condition.
- Taps into the event listener set-up for toggles, eliminating their local scope/window duplication
- Extracts in-line complex expressions into isolated and scope functions to name them and make them
easier to find and read.
- Extracts the custom CSS into its own named variable, again, making it easier to find and read.
- The business layer:
- Builds the window-level event listener at connection, and disconnects them correctly, allowing
this whole interface to be used in a SPA.
- Asserts a reliable contract at the presentation layer; there should be no question "Session" and
"UIConfig" are available before rendering.
- Renames `firstUpdated` to `fetchConfigurationDetails`, and calls it in the constructor. There
ought to be no circumstances where this object is constructed outside a working environment; no
sense in waiting until you've done a `render() { nothing }` pass to fetch details.
Oddities: There are a pair of `<!-- -->` HTML comments in the framing `render()`; those are there
just to stop prettier from slamming a string of conditional renders all into one line, making them
harder to read.
* Adding a small experiment: Typescript pattern matching.
* A few renames as requested by @BeryJu
2024-03-04 09:46:12 -08:00
cd4d6483c5
website/docs: installation: kubernetes: fix values ( #8783 )
2024-03-04 12:28:39 +01:00
8dcccb4444
web: bump the wdio group in /tests/wdio with 4 updates ( #8789 )
...
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.32.3 to 8.32.4
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/v8.32.4/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.32.4/packages/wdio-cli )
Updates `@wdio/local-runner` from 8.32.3 to 8.32.4
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/v8.32.4/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.32.4/packages/wdio-local-runner )
Updates `@wdio/mocha-framework` from 8.32.3 to 8.32.4
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/v8.32.4/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.32.4/packages/wdio-mocha-framework )
Updates `@wdio/spec-reporter` from 8.32.2 to 8.32.4
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/v8.32.4/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.32.4/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-03-04 12:28:11 +01:00
693da3ee62
core: bump github.com/stretchr/testify from 1.8.4 to 1.9.0 ( #8790 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
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-03-04 12:28:05 +01:00
5a9e1a0c94
core: bump twisted from 23.10.0 to 24.3.0 ( #8788 )
...
Bumps [twisted](https://github.com/twisted/twisted ) from 23.10.0 to 24.3.0.
- [Release notes](https://github.com/twisted/twisted/releases )
- [Changelog](https://github.com/twisted/twisted/blob/trunk/NEWS.rst )
- [Commits](https://github.com/twisted/twisted/compare/twisted-23.10.0...twisted-24.3.0 )
---
updated-dependencies:
- dependency-name: twisted
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-03-04 12:27:50 +01:00
a539e4b362
translate: Updates for file locale/en/LC_MESSAGES/django.po in zh_CN ( #8778 )
...
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2024-03-01 20:08:54 +01:00
d13fb1d53d
translate: Updates for file locale/en/LC_MESSAGES/django.po in zh-Hans ( #8779 )
...
Translate django.po in zh-Hans
100% translated source file: 'django.po'
on 'zh-Hans'.
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2024-03-01 20:08:36 +01:00
d9cb82ca6c
root: ensure consistent install_id ( #8775 )
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2024-03-01 18:03:54 +01:00
8f231e5678
web: bump the sentry group in /web with 1 update ( #8762 )
...
Bumps the sentry group in /web with 1 update: [@sentry/browser](https://github.com/getsentry/sentry-javascript ).
Updates `@sentry/browser` from 7.103.0 to 7.104.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/7.104.0/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.103.0...7.104.0 )
---
updated-dependencies:
- dependency-name: "@sentry/browser"
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-03-01 17:16:50 +01:00
604242a76c
web: bump style-mod from 4.1.1 to 4.1.2 in /web ( #8763 )
...
Bumps [style-mod](https://github.com/marijnh/style-mod ) from 4.1.1 to 4.1.2.
- [Commits](https://github.com/marijnh/style-mod/compare/4.1.1...4.1.2 )
---
updated-dependencies:
- dependency-name: style-mod
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-03-01 17:16:43 +01:00
0d0d33f104
website: bump @types/react from 18.2.60 to 18.2.61 in /website ( #8764 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.2.60 to 18.2.61.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
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-03-01 17:16:35 +01:00
58907a2b3f
core: bump goauthentik.io/api/v3 from 3.2024021.2 to 3.2024021.3 ( #8765 )
...
Bumps [goauthentik.io/api/v3](https://github.com/goauthentik/client-go ) from 3.2024021.2 to 3.2024021.3.
- [Release notes](https://github.com/goauthentik/client-go/releases )
- [Commits](https://github.com/goauthentik/client-go/compare/v3.2024021.2...v3.2024021.3 )
---
updated-dependencies:
- dependency-name: goauthentik.io/api/v3
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-03-01 17:16:28 +01:00
83f6ec86d4
core: bump ruff from 0.2.2 to 0.3.0 ( #8766 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.2.2 to 0.3.0.
- [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.2.2...v0.3.0 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
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-03-01 17:16:21 +01:00
f832f702cb
core: bump twilio from 8.13.0 to 9.0.0 ( #8767 )
...
Bumps [twilio](https://github.com/twilio/twilio-python ) from 8.13.0 to 9.0.0.
- [Release notes](https://github.com/twilio/twilio-python/releases )
- [Changelog](https://github.com/twilio/twilio-python/blob/main/CHANGES.md )
- [Upgrade guide](https://github.com/twilio/twilio-python/blob/main/UPGRADE.md )
- [Commits](https://github.com/twilio/twilio-python/compare/8.13.0...9.0.0 )
---
updated-dependencies:
- dependency-name: twilio
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-03-01 17:16:13 +01:00
2eb55696ed
translate: Updates for file locale/en/LC_MESSAGES/django.po in fr ( #8774 )
...
Translate locale/en/LC_MESSAGES/django.po in fr
100% translated source file: 'locale/en/LC_MESSAGES/django.po'
on 'fr'.
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2024-03-01 13:24:54 +00:00