Commit Graph

6249 Commits

Author SHA1 Message Date
Olivier 'reivilibre
f450d0449c Make policy depend on whether the login is interactive or not 2025-11-25 18:41:14 +00:00
Olivier 'reivilibre
6fdb63b361 Don't apply a session limit when genuinely replacing a session 2025-11-25 18:41:14 +00:00
Olivier 'reivilibre
3b04fd5621 Make finish_sessions_to_replace_device return whether any were finished 2025-11-25 18:41:14 +00:00
Olivier 'reivilibre
985ea0b30a Enforce policy on compat login 2025-11-25 18:41:14 +00:00
Olivier 'reivilibre
31c3fe2b39 Add a 'compat login policy violation' page 2025-11-25 18:41:14 +00:00
Olivier 'reivilibre
2c95c0a9a0 Expose the compat login policy from the policy engine 2025-11-25 18:41:14 +00:00
Olivier 'reivilibre
069b57758b Introduce compat login policy 2025-11-25 18:41:14 +00:00
Olivier 'reivilibre
1d2f7fecf8 Add experimental and preliminary policy-driven session limiting when logging in OAuth 2 sessions. (#5221) 2025-11-25 15:24:02 +00:00
reivilibre
96b596fa0c templates check: Add --stabilise flag to make renders reproducible (#5214) 2025-11-24 16:16:11 +00:00
Quentin Gliech
5664238a73 build(deps): bump the i18next group in /frontend with 2 updates (#5273) 2025-11-21 14:09:33 +01:00
Quentin Gliech
619aa79310 build(deps-dev): bump vite from 7.2.2 to 7.2.4 in /frontend in the vite group (#5272) 2025-11-21 14:09:05 +01:00
dependabot[bot]
3096dbc80b build(deps): bump the i18next group in /frontend with 2 updates
Bumps the i18next group in /frontend with 2 updates: [react-i18next](https://github.com/i18next/react-i18next) and [i18next-cli](https://github.com/i18next/i18next-cli).


Updates `react-i18next` from 16.3.4 to 16.3.5
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v16.3.4...v16.3.5)

Updates `i18next-cli` from 1.24.17 to 1.24.20
- [Changelog](https://github.com/i18next/i18next-cli/blob/main/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next-cli/compare/v1.24.17...v1.24.20)

---
updated-dependencies:
- dependency-name: react-i18next
  dependency-version: 16.3.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: i18next
- dependency-name: i18next-cli
  dependency-version: 1.24.20
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: i18next
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-20 13:12:58 +00:00
dependabot[bot]
aa6d24cd0d build(deps-dev): bump vite in /frontend in the vite group
Bumps the vite group in /frontend with 1 update: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `vite` from 7.2.2 to 7.2.4
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.2.4/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 7.2.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vite
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-20 13:12:42 +00:00
matrixbot
23c31d0e43 Automatic merge back to main (#5270) 2025-11-19 16:24:25 +01:00
github-actions[bot]
95daa435c2 1.7.0-rc.0 2025-11-19 15:17:03 +00:00
matrixbot
ac21cb8f36 Translations updates for main (#5269) 2025-11-19 16:11:30 +01:00
github-actions[bot]
8420fc7fe1 Translations updates 2025-11-19 15:04:18 +00:00
Andrew Morgan
d03e9789ad Minor grammatical fix (#5268) 2025-11-19 14:54:58 +00:00
Andrew Morgan
d2c76bc546 Minor grammatical fix 2025-11-19 14:47:04 +00:00
Quentin Gliech
e16ace45ad build(deps): bump @vector-im/compound-design-tokens from 6.0.0 to 6.4.0 in /frontend (#5264) 2025-11-19 14:45:13 +01:00
Quentin Gliech
0c38fe0678 Merge branch 'main' into dependabot/npm_and_yarn/frontend/vector-im/compound-design-tokens-6.4.0 2025-11-19 14:38:00 +01:00
Quentin Gliech
d76212615f build(deps): bump @vector-im/compound-web from 8.2.4 to 8.2.5 in /frontend (#5265) 2025-11-19 14:28:21 +01:00
Quentin Gliech
159ae98616 build(deps): bump hyper-util from 0.1.17 to 0.1.18 (#5266) 2025-11-19 14:28:08 +01:00
Quentin Gliech
fb8d7671d2 build(deps-dev): bump the types group in /frontend with 3 updates (#5263) 2025-11-19 14:27:30 +01:00
Quentin Gliech
1f27a30c08 Update icons in the templates 2025-11-19 14:25:04 +01:00
dependabot[bot]
54f6fd11d1 build(deps): bump hyper-util from 0.1.17 to 0.1.18
Bumps [hyper-util](https://github.com/hyperium/hyper-util) from 0.1.17 to 0.1.18.
- [Release notes](https://github.com/hyperium/hyper-util/releases)
- [Changelog](https://github.com/hyperium/hyper-util/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/hyper-util/compare/v0.1.17...v0.1.18)

---
updated-dependencies:
- dependency-name: hyper-util
  dependency-version: 0.1.18
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-19 13:19:59 +00:00
dependabot[bot]
4cb60c8fa3 build(deps): bump @vector-im/compound-web in /frontend
Bumps [@vector-im/compound-web](https://github.com/vector-im/compound-web) from 8.2.4 to 8.2.5.
- [Release notes](https://github.com/vector-im/compound-web/releases)
- [Commits](https://github.com/vector-im/compound-web/compare/v8.2.4...v8.2.5)

---
updated-dependencies:
- dependency-name: "@vector-im/compound-web"
  dependency-version: 8.2.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-19 13:19:42 +00:00
dependabot[bot]
eddb984503 build(deps): bump @vector-im/compound-design-tokens in /frontend
Bumps [@vector-im/compound-design-tokens](https://github.com/element-hq/compound-design-tokens) from 6.0.0 to 6.4.0.
- [Release notes](https://github.com/element-hq/compound-design-tokens/releases)
- [Changelog](https://github.com/element-hq/compound-design-tokens/blob/main/docs/release.md)
- [Commits](https://github.com/element-hq/compound-design-tokens/compare/v6.0.0...v6.4.0)

---
updated-dependencies:
- dependency-name: "@vector-im/compound-design-tokens"
  dependency-version: 6.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-19 13:19:33 +00:00
dependabot[bot]
607a912ba2 build(deps-dev): bump the types group in /frontend with 3 updates
Bumps the types group in /frontend with 3 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) and [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom).


Updates `@types/node` from 24.9.1 to 24.10.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@types/react` from 19.2.2 to 19.2.6
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@types/react-dom` from 19.2.2 to 19.2.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.10.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: types
- dependency-name: "@types/react"
  dependency-version: 19.2.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: types
- dependency-name: "@types/react-dom"
  dependency-version: 19.2.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: types
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-19 13:19:21 +00:00
Quentin Gliech
b21c244559 build(deps): bump the i18next group across 1 directory with 3 updates (#5262) 2025-11-19 13:59:31 +01:00
Quentin Gliech
db7ea37b1b build(deps): bump bitflags from 2.9.4 to 2.10.0 (#5254) 2025-11-19 13:55:00 +01:00
Quentin Gliech
a96fc8e78b build(deps): bump @tanstack/react-query from 5.90.7 to 5.90.10 in /frontend in the tanstack-query group (#5253) 2025-11-19 13:54:42 +01:00
Quentin Gliech
88ac71453e build(deps-dev): bump the graphql-codegen group in /frontend with 2 updates (#5252) 2025-11-19 13:54:30 +01:00
dependabot[bot]
13a16fb764 build(deps): bump the i18next group across 1 directory with 3 updates
Bumps the i18next group with 3 updates in the /frontend directory: [i18next](https://github.com/i18next/i18next), [react-i18next](https://github.com/i18next/react-i18next) and [i18next-cli](https://github.com/i18next/i18next-cli).


Updates `i18next` from 25.6.2 to 25.6.3
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v25.6.2...v25.6.3)

Updates `react-i18next` from 16.3.0 to 16.3.4
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v16.3.0...v16.3.4)

Updates `i18next-cli` from 1.24.14 to 1.24.17
- [Changelog](https://github.com/i18next/i18next-cli/blob/main/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next-cli/compare/v1.24.14...v1.24.17)

---
updated-dependencies:
- dependency-name: i18next
  dependency-version: 25.6.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: i18next
- dependency-name: react-i18next
  dependency-version: 16.3.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: i18next
- dependency-name: i18next-cli
  dependency-version: 1.24.17
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: i18next
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-19 12:50:27 +00:00
Quentin Gliech
1272c2bdea Interactively help users choosing a username (#5258) 2025-11-19 13:50:16 +01:00
Quentin Gliech
86ee7c2c6a build(deps): bump glob and i18next-cli in /frontend (#5259) 2025-11-19 13:48:56 +01:00
Quentin Gliech
fd9c54eaa3 Merge remote-tracking branch 'origin/main' into quenting/lowercase-username 2025-11-19 13:38:53 +01:00
Quentin Gliech
fc825e3409 Fix storybook build 2025-11-19 13:38:36 +01:00
Quentin Gliech
143f41d151 Fix the 'username is already taken' error message 2025-11-19 13:30:28 +01:00
Quentin Gliech
f8918c5819 Fix the building of the docs with mdbook 0.5 (#5261) 2025-11-19 13:23:04 +01:00
Quentin Gliech
cab63f521d Fix the building of the docs with mdbook 0.5 2025-11-19 13:14:54 +01:00
Quentin Gliech
c08c028883 Fix frontend style, template syntax and regenerate translations 2025-11-19 13:07:02 +01:00
Quentin Gliech
6a44ae083b Add secrets.keys_dir config option. (#4877) 2025-11-19 12:59:49 +01:00
Kai A. Hiller
611c9e7731 Allow keys and keys_dir simultaneously 2025-11-18 19:27:21 +01:00
dependabot[bot]
3181d0018b build(deps): bump glob and i18next-cli in /frontend
Bumps [glob](https://github.com/isaacs/node-glob) to 10.5.0 and updates ancestor dependencies [glob](https://github.com/isaacs/node-glob) and [i18next-cli](https://github.com/i18next/i18next-cli). These dependencies need to be updated together.


Updates `glob` from 10.4.5 to 10.5.0
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v10.4.5...v10.5.0)

Updates `glob` from 11.0.3 to 11.1.0
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v10.4.5...v10.5.0)

Updates `i18next-cli` from 1.22.1 to 1.24.14
- [Changelog](https://github.com/i18next/i18next-cli/blob/main/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next-cli/compare/v1.22.1...v1.24.14)

---
updated-dependencies:
- dependency-name: glob
  dependency-version: 10.5.0
  dependency-type: indirect
- dependency-name: glob
  dependency-version: 11.1.0
  dependency-type: indirect
- dependency-name: i18next-cli
  dependency-version: 1.24.14
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-18 18:12:35 +00:00
Quentin Gliech
f0d779e9b1 Interactively guide users for selecting a valid username 2025-11-18 18:25:23 +01:00
Kai A. Hiller
770016ebf7 Merge branch 'main' into keys_dir 2025-11-18 18:12:14 +01:00
Quentin Gliech
95376dab81 Move all the frontend entrypoints to a dedicated directory
This will make it easier to add new entrypoints in the future without
having to change the vite config
2025-11-18 16:22:40 +01:00
dependabot[bot]
1d6af800e6 build(deps): bump bitflags from 2.9.4 to 2.10.0
Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.9.4 to 2.10.0.
- [Release notes](https://github.com/bitflags/bitflags/releases)
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bitflags/bitflags/compare/2.9.4...2.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-18 13:39:42 +00:00
dependabot[bot]
181218a4db build(deps): bump @tanstack/react-query
Bumps the tanstack-query group in /frontend with 1 update: [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query).


Updates `@tanstack/react-query` from 5.90.7 to 5.90.10
- [Release notes](https://github.com/TanStack/query/releases)
- [Changelog](https://github.com/TanStack/query/blob/main/packages/react-query/CHANGELOG.md)
- [Commits](https://github.com/TanStack/query/commits/@tanstack/react-query@5.90.10/packages/react-query)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query"
  dependency-version: 5.90.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: tanstack-query
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-18 13:39:10 +00:00