de33eae5f1
web: bump @eslint/js from 9.9.1 to 9.10.0 in /web ( #11289 )
...
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js ) from 9.9.1 to 9.10.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/commits/v9.10.0/packages/js )
---
updated-dependencies:
- dependency-name: "@eslint/js"
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-09-09 16:03:15 +02:00
9d8ba2825b
web: bump mermaid from 11.1.0 to 11.1.1 in /web ( #11290 )
...
Bumps [mermaid](https://github.com/mermaid-js/mermaid ) from 11.1.0 to 11.1.1.
- [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/mermaid@11.1.0...mermaid@11.1.1 )
---
updated-dependencies:
- dependency-name: mermaid
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-09-09 16:03:08 +02:00
f3b9fca890
web: bump knip from 5.29.2 to 5.30.0 in /web ( #11291 )
...
Bumps [knip](https://github.com/webpro-nl/knip/tree/HEAD/packages/knip ) from 5.29.2 to 5.30.0.
- [Release notes](https://github.com/webpro-nl/knip/releases )
- [Changelog](https://github.com/webpro-nl/knip/blob/main/packages/knip/.release-it.json )
- [Commits](https://github.com/webpro-nl/knip/commits/5.30.0/packages/knip )
---
updated-dependencies:
- dependency-name: knip
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-09-09 16:02:59 +02:00
88928d7f72
web: bump API Client version ( #11275 )
...
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-09-08 01:51:11 +02:00
4670f12ba7
web: bump @changesets/cli from 2.27.7 to 2.27.8 in /web ( #11224 )
...
Bumps [@changesets/cli](https://github.com/changesets/changesets ) from 2.27.7 to 2.27.8.
- [Release notes](https://github.com/changesets/changesets/releases )
- [Changelog](https://github.com/changesets/changesets/blob/main/docs/modifying-changelog-format.md )
- [Commits](https://github.com/changesets/changesets/compare/@changesets/cli@2.27.7...@changesets/cli@2.27.8 )
---
updated-dependencies:
- dependency-name: "@changesets/cli"
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-09-05 13:47:30 +02:00
ea74ad4090
web: bump @types/node from 22.5.3 to 22.5.4 in /web ( #11225 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 22.5.3 to 22.5.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
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-09-05 13:47:21 +02:00
90f5c4c757
web: bump @sentry/browser from 8.27.0 to 8.28.0 in /web in the sentry group across 1 directory ( #11191 )
...
web: bump @sentry/browser in /web in the sentry group across 1 directory
Bumps the sentry group with 1 update in the /web directory: [@sentry/browser](https://github.com/getsentry/sentry-javascript ).
Updates `@sentry/browser` from 8.27.0 to 8.28.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/8.27.0...8.28.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-09-04 12:20:38 +02:00
67c90d7ec5
web: bump yaml from 2.5.0 to 2.5.1 in /web ( #11192 )
...
Bumps [yaml](https://github.com/eemeli/yaml ) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/eemeli/yaml/releases )
- [Commits](https://github.com/eemeli/yaml/compare/v2.5.0...v2.5.1 )
---
updated-dependencies:
- dependency-name: yaml
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-09-04 12:20:29 +02:00
eed3ffd0ee
web: bump knip from 5.29.1 to 5.29.2 in /web ( #11193 )
...
Bumps [knip](https://github.com/webpro-nl/knip/tree/HEAD/packages/knip ) from 5.29.1 to 5.29.2.
- [Release notes](https://github.com/webpro-nl/knip/releases )
- [Changelog](https://github.com/webpro-nl/knip/blob/main/packages/knip/.release-it.json )
- [Commits](https://github.com/webpro-nl/knip/commits/5.29.2/packages/knip )
---
updated-dependencies:
- dependency-name: knip
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-09-04 12:20:20 +02:00
7ff42c34fb
web: bump wireit from 0.14.8 to 0.14.9 in /web ( #11194 )
...
Bumps [wireit](https://github.com/google/wireit ) from 0.14.8 to 0.14.9.
- [Changelog](https://github.com/google/wireit/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google/wireit/compare/v0.14.8...v0.14.9 )
---
updated-dependencies:
- dependency-name: wireit
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-09-04 12:20:11 +02:00
b2873fad10
web: bump @types/node from 22.5.2 to 22.5.3 in /web ( #11195 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 22.5.2 to 22.5.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
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-09-04 12:19:57 +02:00
78e4370b98
web: Adjust Wdio MaxInstances, add Knip ( #11089 )
...
- Adjust the WebdriverIO configuration so that `maxInstances` can be set by the environment
- `MAX_INSTANCES=1 CI=true npm run test` will run the headless tests from your command line.
- `MAX_INSTANCES=1 npm run test-watch` if you want to watch the test run in-browser.
- Adds `knip` import tracing facility for linting.
- Knip can be accessed by `npm run lint:imports`.
Running `MAX_INSTANCES=10` (the default) would sometimes create conflicts and overwhelm the test
runner, leaving you with 11 open instances of Chrome and no way to know which one is the one you
*don't* want to close. A better choice is `MAX_INSTANCES=1 npm run test-watch`, which would allow
the developer to watch the test run serially.
Knip adds a new linting feature: tracking down which imports are not used, are not exported
correctly, or shouldn't have been exported at all. Despite the "zero-config" promise, it still
required significant configuration to handle the wide variety of "strengths" of ESlint
configurations, as well as pointers to our entries and reminders that web components may export
their classes but their actual use is as part of the component registry.
Knip's analyzer produces a lot of false positives. It is not intended to be used as part of the
CI/CD pipeline; it is there to help developers figure out what can and should be cleaned up
manually.
Co-authored-by: Jens Langhammer <jens@goauthentik.io >
2024-09-03 15:09:40 +02:00
9a26111f1c
web: bump API Client version ( #11168 )
...
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-09-03 14:44:59 +02:00
e02cf0b3bd
web: bump @spotlightjs/spotlight from 2.3.1 to 2.3.2 in /web in the sentry group across 1 directory ( #11159 )
...
web: bump @spotlightjs/spotlight
Bumps the sentry group with 1 update in the /web directory: @spotlightjs/spotlight.
Updates `@spotlightjs/spotlight` from 2.3.1 to 2.3.2
---
updated-dependencies:
- dependency-name: "@spotlightjs/spotlight"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: sentry
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 14:19:46 +02:00
6a956d149a
web: bump mermaid from 11.0.2 to 11.1.0 in /web ( #11162 )
...
Bumps [mermaid](https://github.com/mermaid-js/mermaid ) from 11.0.2 to 11.1.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/mermaid@11.0.2...mermaid@11.1.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-09-03 14:19:30 +02:00
3fd1bc6673
web: bump typescript-eslint from 8.3.0 to 8.4.0 in /web ( #11163 )
...
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint ) from 8.3.0 to 8.4.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.4.0/packages/typescript-eslint )
---
updated-dependencies:
- dependency-name: typescript-eslint
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-09-03 14:19:22 +02:00
517a5bc689
web: bump the rollup group across 1 directory with 3 updates ( #11144 )
2024-09-02 13:52:22 +02:00
7dc4b70ee1
web: bump @sentry/browser from 8.26.0 to 8.27.0 in /web in the sentry group across 1 directory ( #11093 )
...
web: bump @sentry/browser in /web in the sentry group across 1 directory
Bumps the sentry group with 1 update in the /web directory: [@sentry/browser](https://github.com/getsentry/sentry-javascript ).
Updates `@sentry/browser` from 8.26.0 to 8.27.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/8.27.0/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript/compare/8.26.0...8.27.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-08-28 18:26:45 +02:00
461856d067
web: bump @patternfly/elements from 4.0.0 to 4.0.1 in /web ( #11094 )
...
Bumps [@patternfly/elements](https://github.com/patternfly/patternfly-elements/tree/HEAD/elements ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/patternfly/patternfly-elements/releases )
- [Changelog](https://github.com/patternfly/patternfly-elements/blob/main/elements/CHANGELOG.md )
- [Commits](https://github.com/patternfly/patternfly-elements/commits/@patternfly/elements@4.0.1/elements )
---
updated-dependencies:
- dependency-name: "@patternfly/elements"
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-08-28 15:10:54 +02:00
0fcac0e165
web: bump the rollup group across 1 directory with 3 updates ( #11080 )
...
Bumps the rollup group with 3 updates in the /web directory: [@rollup/rollup-darwin-arm64](https://github.com/rollup/rollup ), [@rollup/rollup-linux-arm64-gnu](https://github.com/rollup/rollup ) and [@rollup/rollup-linux-x64-gnu](https://github.com/rollup/rollup ).
Updates `@rollup/rollup-darwin-arm64` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.21.0...v4.21.1 )
Updates `@rollup/rollup-linux-arm64-gnu` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.21.0...v4.21.1 )
Updates `@rollup/rollup-linux-x64-gnu` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.21.0...v4.21.1 )
---
updated-dependencies:
- dependency-name: "@rollup/rollup-darwin-arm64"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rollup
- dependency-name: "@rollup/rollup-linux-arm64-gnu"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rollup
- dependency-name: "@rollup/rollup-linux-x64-gnu"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rollup
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-27 14:20:04 +02:00
a7b31ce6de
web: bump typescript-eslint from 8.2.0 to 8.3.0 in /web ( #11081 )
...
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint ) from 8.2.0 to 8.3.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.3.0/packages/typescript-eslint )
---
updated-dependencies:
- dependency-name: typescript-eslint
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-08-27 13:55:07 +02:00
4316fa9e5c
web: bump mermaid from 10.9.1 to 11.0.2 in /web ( #11066 )
...
* web: bump mermaid from 10.9.1 to 11.0.2 in /web
Bumps [mermaid](https://github.com/mermaid-js/mermaid ) from 10.9.1 to 11.0.2.
- [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.9.1...mermaid@11.0.2 )
---
updated-dependencies:
- dependency-name: mermaid
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 >
* temporarily let web tests fail
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-08-26 11:43:31 +02:00
e83a1c65f6
web: bump tslib from 2.6.3 to 2.7.0 in /web ( #11063 )
...
Bumps [tslib](https://github.com/Microsoft/tslib ) from 2.6.3 to 2.7.0.
- [Release notes](https://github.com/Microsoft/tslib/releases )
- [Commits](https://github.com/Microsoft/tslib/compare/v2.6.3...v2.7.0 )
---
updated-dependencies:
- dependency-name: tslib
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-08-26 11:28:37 +02:00
d8a74435f8
web: bump @eslint/js from 9.9.0 to 9.9.1 in /web ( #11064 )
...
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js ) from 9.9.0 to 9.9.1.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/commits/v9.9.1/packages/js )
---
updated-dependencies:
- dependency-name: "@eslint/js"
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-08-26 11:28:29 +02:00
4e910446ed
web: bump syncpack from 12.4.0 to 13.0.0 in /web ( #11065 )
...
Bumps [syncpack](https://github.com/JamieMason/syncpack ) from 12.4.0 to 13.0.0.
- [Release notes](https://github.com/JamieMason/syncpack/releases )
- [Changelog](https://github.com/JamieMason/syncpack/blob/main/CHANGELOG.md )
- [Commits](https://github.com/JamieMason/syncpack/compare/12.4.0...13.0.0 )
---
updated-dependencies:
- dependency-name: syncpack
dependency-type: direct:development
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-08-26 11:28:16 +02:00
811823e648
enterprise: fix license status progress bar ( #11048 )
...
* clamp width to 100% width
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add case for unlicensed and set to infinity when users of a type exists that dont have licenses
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* rework license status into separate component...
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* enable coverage
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* remove annoying disable-search-engine-choice-screen
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* refactor percentage calculation
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix a bug found by tests, yay
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* add tests for enterprise status card
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* upgrade vite-tsconfig-paths
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* ...?
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2024-08-24 14:23:32 +02:00
22d84654ff
web: bump API Client version ( #11043 )
...
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-08-23 14:08:37 +02:00
b0ff7d8ac9
web: bump the babel group across 1 directory with 3 updates ( #11038 )
...
Bumps the babel group with 3 updates in the /web directory: [@babel/plugin-transform-private-methods](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-private-methods ), [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) and [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ).
Updates `@babel/plugin-transform-private-methods` from 7.24.7 to 7.25.4
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.25.4/packages/babel-plugin-transform-private-methods )
Updates `@babel/plugin-transform-runtime` from 7.24.7 to 7.25.4
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.25.4/packages/babel-plugin-transform-runtime )
Updates `@babel/preset-env` from 7.25.3 to 7.25.4
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.25.4/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-private-methods"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: babel
- dependency-name: "@babel/plugin-transform-runtime"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: babel
- dependency-name: "@babel/preset-env"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: babel
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-23 14:06:13 +02:00
29a050b786
web: bump wireit from 0.14.7 to 0.14.8 in /web ( #11039 )
...
Bumps [wireit](https://github.com/google/wireit ) from 0.14.7 to 0.14.8.
- [Changelog](https://github.com/google/wireit/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google/wireit/compare/v0.14.7...v0.14.8 )
---
updated-dependencies:
- dependency-name: wireit
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-08-23 14:06:04 +02:00
72f2f97410
web: bump API Client version ( #11021 )
...
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-08-22 16:42:39 +02:00
a35556301e
web: bump chart.js from 4.4.3 to 4.4.4 in /web ( #11008 )
...
Bumps [chart.js](https://github.com/chartjs/Chart.js ) from 4.4.3 to 4.4.4.
- [Release notes](https://github.com/chartjs/Chart.js/releases )
- [Commits](https://github.com/chartjs/Chart.js/compare/v4.4.3...v4.4.4 )
---
updated-dependencies:
- dependency-name: chart.js
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-08-21 17:09:12 +02:00
cd0f3fd0de
web: bump core-js from 3.38.0 to 3.38.1 in /web ( #11009 )
...
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js ) from 3.38.0 to 3.38.1.
- [Release notes](https://github.com/zloirock/core-js/releases )
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zloirock/core-js/commits/v3.38.1/packages/core-js )
---
updated-dependencies:
- dependency-name: core-js
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-08-21 17:08:26 +02:00
f4780f26e7
web: bump @patternfly/elements from 3.0.2 to 4.0.0 in /web ( #10989 )
...
Bumps [@patternfly/elements](https://github.com/patternfly/patternfly-elements/tree/HEAD/elements ) from 3.0.2 to 4.0.0.
- [Release notes](https://github.com/patternfly/patternfly-elements/releases )
- [Changelog](https://github.com/patternfly/patternfly-elements/blob/main/elements/CHANGELOG.md )
- [Commits](https://github.com/patternfly/patternfly-elements/commits/@patternfly/elements@4.0.0/elements )
---
updated-dependencies:
- dependency-name: "@patternfly/elements"
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-08-20 12:36:05 +02:00
5e8d691c1f
web: bump typescript-eslint from 8.1.0 to 8.2.0 in /web ( #10990 )
...
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint ) from 8.1.0 to 8.2.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.2.0/packages/typescript-eslint )
---
updated-dependencies:
- dependency-name: typescript-eslint
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-08-20 12:34:34 +02:00
a3e7783e23
web: bump the rollup group across 1 directory with 3 updates ( #10966 )
...
Bumps the rollup group with 3 updates in the /web directory: [@rollup/rollup-darwin-arm64](https://github.com/rollup/rollup ), [@rollup/rollup-linux-arm64-gnu](https://github.com/rollup/rollup ) and [@rollup/rollup-linux-x64-gnu](https://github.com/rollup/rollup ).
Updates `@rollup/rollup-darwin-arm64` from 4.20.0 to 4.21.0
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.20.0...v4.21.0 )
Updates `@rollup/rollup-linux-arm64-gnu` from 4.20.0 to 4.21.0
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.20.0...v4.21.0 )
Updates `@rollup/rollup-linux-x64-gnu` from 4.20.0 to 4.21.0
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.20.0...v4.21.0 )
---
updated-dependencies:
- dependency-name: "@rollup/rollup-darwin-arm64"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rollup
- dependency-name: "@rollup/rollup-linux-arm64-gnu"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rollup
- dependency-name: "@rollup/rollup-linux-x64-gnu"
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rollup
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-19 13:36:54 +02:00
97a29c6532
web: bump esbuild from 0.23.0 to 0.23.1 in /web ( #10970 )
...
Bumps [esbuild](https://github.com/evanw/esbuild ) from 0.23.0 to 0.23.1.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.23.0...v0.23.1 )
---
updated-dependencies:
- dependency-name: esbuild
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-08-19 13:36:46 +02:00
6972cb27f8
web: bump API Client version ( #10951 )
...
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-08-17 21:22:17 +02:00
c3d3646645
web/flows: clean up loading, syntax and transitions ( #10792 )
...
* remove redundant bindings to ${true}
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* better ui for loading during autosubmit
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* default to loading label when setting ?loading
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* remove more html``
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* refactor non_field_errors
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* remove more html``
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* no loading label for overlay
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* fix py
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* Revert "web: bump the wdio group across 2 directories with 5 updates (#10945 )"
This reverts commit ea14c57989 .
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
2024-08-16 14:10:08 +02:00
ea14c57989
web: bump the wdio group across 2 directories with 5 updates ( #10945 )
...
Bumps the wdio group with 4 updates in the /tests/wdio directory: [@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 ).
Bumps the wdio group with 4 updates in the /web directory: [@wdio/cli](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-cli ), [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-mocha-framework ), [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-spec-reporter ) and [@wdio/browser-runner](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-browser-runner ).
Updates `@wdio/cli` from 8.40.2 to 9.0.1
- [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/v9.0.1/packages/wdio-cli )
Updates `@wdio/local-runner` from 8.40.2 to 9.0.1
- [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/v9.0.1/packages/wdio-local-runner )
Updates `@wdio/mocha-framework` from 8.40.2 to 9.0.0
- [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/v9.0.0/packages/wdio-mocha-framework )
Updates `@wdio/spec-reporter` from 8.39.0 to 9.0.0
- [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/v9.0.0/packages/wdio-spec-reporter )
Updates `@wdio/cli` from 8.40.2 to 9.0.1
- [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/v9.0.1/packages/wdio-cli )
Updates `@wdio/mocha-framework` from 8.40.2 to 9.0.0
- [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/v9.0.0/packages/wdio-mocha-framework )
Updates `@wdio/spec-reporter` from 8.39.0 to 9.0.0
- [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/v9.0.0/packages/wdio-spec-reporter )
Updates `@wdio/browser-runner` from 8.40.2 to 9.0.1
- [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/v9.0.1/packages/wdio-browser-runner )
---
updated-dependencies:
- dependency-name: "@wdio/cli"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: wdio
- dependency-name: "@wdio/local-runner"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: wdio
- dependency-name: "@wdio/mocha-framework"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: wdio
- dependency-name: "@wdio/spec-reporter"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: wdio
- dependency-name: "@wdio/cli"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: wdio
- dependency-name: "@wdio/mocha-framework"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: wdio
- dependency-name: "@wdio/spec-reporter"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: wdio
- dependency-name: "@wdio/browser-runner"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: wdio
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-16 11:57:57 +02:00
d7a2da0af7
web: bump @codemirror/legacy-modes from 6.4.0 to 6.4.1 in /web ( #10946 )
...
Bumps [@codemirror/legacy-modes](https://github.com/codemirror/legacy-modes ) from 6.4.0 to 6.4.1.
- [Changelog](https://github.com/codemirror/legacy-modes/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/legacy-modes/compare/6.4.0...6.4.1 )
---
updated-dependencies:
- dependency-name: "@codemirror/legacy-modes"
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-08-16 11:57:40 +02:00
e970a2a8e4
web: bump @sentry/browser from 8.25.0 to 8.26.0 in /web in the sentry group across 1 directory ( #10921 )
...
web: bump @sentry/browser in /web in the sentry group across 1 directory
Bumps the sentry group with 1 update in the /web directory: [@sentry/browser](https://github.com/getsentry/sentry-javascript ).
Updates `@sentry/browser` from 8.25.0 to 8.26.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/8.25.0...8.26.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-08-15 14:21:59 +02:00
3af812682c
web: bump turnstile-types from 1.2.1 to 1.2.2 in /web ( #10924 )
...
Bumps [turnstile-types](https://github.com/le0developer/turnstile-types ) from 1.2.1 to 1.2.2.
- [Changelog](https://github.com/Le0Developer/turnstile-types/blob/master/HISTORY.md )
- [Commits](https://github.com/le0developer/turnstile-types/compare/v1.2.1...v1.2.2 )
---
updated-dependencies:
- dependency-name: turnstile-types
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-08-15 14:21:00 +02:00
1586a8f1fb
web: bump the storybook group across 1 directory with 7 updates ( #10900 )
...
Bumps the storybook group with 5 updates in the /web directory:
| Package | From | To |
| --- | --- | --- |
| [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/essentials ) | `8.2.8` | `8.2.9` |
| [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/links ) | `8.2.8` | `8.2.9` |
| [@storybook/manager-api](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/manager-api ) | `8.2.8` | `8.2.9` |
| [@storybook/web-components](https://github.com/storybookjs/storybook/tree/HEAD/code/renderers/web-components ) | `8.2.8` | `8.2.9` |
| [@storybook/web-components-vite](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/web-components-vite ) | `8.2.8` | `8.2.9` |
Updates `@storybook/addon-essentials` from 8.2.8 to 8.2.9
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v8.2.9/code/addons/essentials )
Updates `@storybook/addon-links` from 8.2.8 to 8.2.9
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v8.2.9/code/addons/links )
Updates `@storybook/blocks` from 8.2.8 to 8.2.9
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v8.2.9/code/lib/blocks )
Updates `@storybook/manager-api` from 8.2.8 to 8.2.9
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Commits](https://github.com/storybookjs/storybook/commits/v8.2.9/code/lib/manager-api )
Updates `@storybook/web-components` from 8.2.8 to 8.2.9
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v8.2.9/code/renderers/web-components )
Updates `@storybook/web-components-vite` from 8.2.8 to 8.2.9
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v8.2.9/code/frameworks/web-components-vite )
Updates `storybook` from 8.2.8 to 8.2.9
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v8.2.9/code/lib/cli )
---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: storybook
- dependency-name: "@storybook/addon-links"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: storybook
- dependency-name: "@storybook/blocks"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: storybook
- dependency-name: "@storybook/manager-api"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: storybook
- dependency-name: "@storybook/web-components"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: storybook
- dependency-name: "@storybook/web-components-vite"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: storybook
- dependency-name: storybook
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: storybook
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-15 14:13:55 +02:00
752735d480
web: search select with focus, autocomplete, and progressive search ( #10728 )
...
* web: much better focus discipline
Fix the way focus is handled in SearchSelect so that the drop-down isn't grabbing the focus away
from the Input when the user wants to type in their selection.
Because it was broken otherwise!
There's still a bug where it's possible to type in a complete value
*Label*, then leave the component's focus (input and menu) completely,
in which case the Label remains, looking innocent and correct, but
it is *not* reflective of the value as understood by the SearchSelect
API controller.
Gonna try to fix that next. But I'm saving this as a useful checkpoint.
* .
* root: insert daphne app in correct order
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
* web: implement ak-list-select
Creates a new element, ak-list-select, which is a scrollable list that reports when an element is clicked or
selected by the keyboard.
I was hideously over-engineering ak-search-select-menu, and I decided to try something simpler. This is
that something. The events we care about are just "change" and "lost focus", and both of those can be
attached by the parent regardless of portaling.
* web: ak-list-select is complete
An extraction of the "menu" and "list" features from SearchSelect
and DualSelect, this is a very simplified version of a visible list
that emulates the Radio/Select behavior (i.e only one from the
collection may be "valued" at the time). It has no visible indicators
of selection (aside from some highlighting), as it's meant to be
used to present the list rather than be indicative of any state of
the list.
I was seriously over-engineering the menu. It turns out, it's just
not that difficult after all. The only things we care about, really,
are "did the user change the selection," "did the user click out
of the list," and "did the user press the escape key." Those are
pre-existing events (click w/value, blur, and keydown w/keycode,
respectively), so there was no need for me to introduce new custom
events to handler them.
* web: downgrade sonarjs again, because dependabot
Dammit, really need to tell that machine to leave our versions alone.
* web: search select
After a lot of testing and experimenting, it's finally starting to look stable.
What a pain in the neck this has all been.
* web: hold
* web: search select with focus and progressive search
- New component: ak-list-select, which allows you to select from a list of elements, with keyboard
control.
- New component: ak-portal, which manages elements by moving "slotted" content into a distant
component, usually one attached to the body, and positions it relative to an existing element.
- ak-search-select-view has been revamped to handle focus, change, input, and blur using
the browser native event handlers, rather than inventing my own.
- ak-search-select has been turned into a simple driver that manages the view.
- ak-search-select has a new declarative syntax for the most common use case.
I seriously over-engineered this thing, leaning too heavily on outdated knowledge or assumptions
about how the browser works. The native event handlers attached at the component's borders works
more than fine, and by attaching the event handlers to the portaled component before sending it
off to the slots, the correct handlers get the message. This revision leverages the browser
a *lot* more, and gets much more effective interaction with much less code.
`<ak-list-select>` is a new component that replaces the ad-hoc menu object of the old SearchSelect.
It is a standalone component that just shows a list, allows someone to navigate that list with the
keyboard or the mouse. By default, it is limited to half the height of the viewport.
The list does not have an indicator of "selected" at this time. That's just a side effect of it
being developed as an adjunct to search-select. Its design does not preclude extension.
It has a *lot* of CSS components that can be customized. The properties and events are documented,
but there is only one event: `change`. Consistent with HTML, the value is not sent with the `change`
event; clients are expected to extract it with `change:event.target.value`.
Like all HTML components, it is completely stringly defined; the value is either a string or
undefined.
`<ak-portal>` is a somewhat specialized "portal" component that places an `ak-list-select` in an
object on top of the existing DOM content. It can generalized to do this with any component, though,
and can be extended. It has no events or CSS, since it's "just" managing the portaling relationship.
`<ak-search-select-view>` is the heart of the system. It takes a collection options and behaves
like an autocomplete component for them. The only unique event it sends out is `change`, and like
`ak-list-select`, it expects the client to retrieve the value.
Like all HTML components, it is completely stringly defined; the value is either a string or
undefined.
This is the SearchSelect component we've all known to come and love, but with a better pop-up and
cleaner keyboard interaction. It emits only one event, `ak-change`, which *does* carry the value
with it.
The Storybooks have been updated to show the current version of Search Select, with a (simulated)
API layer as well as more blunt stringly-typed tests for the View layer. A handful of tests have
been provided to cover a number of edge cases that I discovered during testing. These run fine
with the `npx` command, and I would love to see them integrated into CI/CD.
The search select fields `renderElement`, `renderDescription`, and `value` properties of
`ak-search-select` have been modified to take a string. For example, the search for the
list of user looks like this:
```
<ak-search-select
.fetchObjects=${async (query?: string): Promise<User[]> => {
const args: CoreUsersListRequest = { ordering: "username" };
if (query !== undefined) {
args.search = query;
}
const users = await new CoreApi(DEFAULT_CONFIG).coreUsersList(args);
return users.results;
}}
.renderElement=${(user: User): string => {
return user.username;
}}
.renderDescription=${(user: User): TemplateResult => {
return html`${user.name}`;
}}
.value=${(user: User | undefined): string | undefined => {
return user?.username;
}}
></ak-search-select>
```
The most common syntax for the these three fields is "just return the string contents of a field by
name," in the case of the description wrapped in a TemplateResult with no DOM components. By
automating that initialization in the `connectedCallback` of the `ak-search-select` component,
this object would look like:
<ak-search-select
.fetchObjects=${async (query?: string): Promise<User[]> => {
const args: CoreUsersListRequest = { ordering: "username" };
if (query !== undefined) {
args.search = query;
}
const users = await new CoreApi(DEFAULT_CONFIG).coreUsersList(args);
return users.results;
}}
.renderElement=${"username"}
.renderDescription=${"name"}
.value=${"username"}
></ak-search-select>
```
Due to a limitation in the way properties (such as functions) are interpreted, the syntax
`renderElement="username"` is invalid; it has to be a property expression. Sorry; best I could do.
The old syntax works just fine. This is a "detect and extend at runtime" enhancement.
* Added comments to the Component Driver Harness.
* Added more safety and comments.
* web: remove string-based access to API; replace with a consolidated "adapter" layer.
Clean out the string-based API layer in SearchSelect. Break SearchSelect into a
"Base" that does all the work, and then wrap it in two different front-ends:
one that conforms to the old WCAPI, and one with a slightly new WCAPI:
```
<ak-search-select-ez
.config=${{
fetchObjects: async (query?: string): Promise<Group[]> => {
const args: CoreGroupsListRequest = {
ordering: "name",
includeUsers: false,
};
if (query !== undefined) {
args.search = query;
}
const groups = await new CoreApi(DEFAULT_CONFIG).coreGroupsList(
args,
);
return groups.results;
},
renderElement: (group: Group): string => group.name,
value: (group: Group | undefined): string | undefined => group?.pk,
selected: (group: Group): boolean => group.pk === this.instance?.group
}}
blankable
>
</ak-search-select-ez>
```
* Prettier had opinions. In one case, an important opinion.
* Rename test and fix lint error.
* fix lint
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-08-14 18:35:00 +02:00
86a2791e82
web: bump API Client version ( #10905 )
...
* web: bump API Client version
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix go dep
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
---------
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Jens Langhammer <jens@goauthentik.io >
Co-authored-by: authentik-automation[bot] <135050075+authentik-automation[bot]@users.noreply.github.com>
Co-authored-by: Jens Langhammer <jens@goauthentik.io >
2024-08-14 15:01:55 +00:00
764d51b6b1
web: bump typescript-eslint from 8.0.1 to 8.1.0 in /web ( #10889 )
...
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint ) from 8.0.1 to 8.1.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.1.0/packages/typescript-eslint )
---
updated-dependencies:
- dependency-name: typescript-eslint
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-08-13 12:22:31 +02:00
779f5c65d8
web: bump API Client version ( #10886 )
2024-08-12 23:32:00 +02:00
5db22c9543
web: bump API Client version ( #10876 )
...
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-08-12 13:33:50 +00:00
484dcf5de7
web: bump ts-pattern from 5.2.0 to 5.3.1 in /web ( #10870 )
...
Bumps [ts-pattern](https://github.com/gvergnaud/ts-pattern ) from 5.2.0 to 5.3.1.
- [Release notes](https://github.com/gvergnaud/ts-pattern/releases )
- [Commits](https://github.com/gvergnaud/ts-pattern/compare/v5.2.0...v5.3.1 )
---
updated-dependencies:
- dependency-name: ts-pattern
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-08-12 14:06:16 +02:00
46b02e47bd
web: bump @eslint/js from 9.8.0 to 9.9.0 in /web ( #10871 )
...
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js ) from 9.8.0 to 9.9.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/commits/v9.9.0/packages/js )
---
updated-dependencies:
- dependency-name: "@eslint/js"
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-08-12 14:05:36 +02:00