Commit Graph
6133 Commits
Author SHA1 Message Date
Quentin Gliech e7e2a46d2d Migrate from i18next-parser to i18next-cli 2025-11-07 14:45:36 +01:00
Quentin Gliech 30044d1f05 Use Node 24 in CI and for building the frontend 2025-11-07 14:27:33 +01:00
Quentin Gliech d4377d6c1c build(deps-dev): bump @graphql-codegen/client-preset from 5.1.0 to 5.1.1 in /frontend in the graphql-codegen group (#5227) 2025-11-07 14:24:22 +01:00
Quentin Gliech bc96b49345 build(deps-dev): bump vite from 7.1.12 to 7.2.1 in /frontend in the vite group (#5226) 2025-11-07 14:24:03 +01:00
dependabot[bot] 7fb80d5d2b build(deps-dev): bump @graphql-codegen/client-preset
Bumps the graphql-codegen group in /frontend with 1 update: [@graphql-codegen/client-preset](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/presets/client).


Updates `@graphql-codegen/client-preset` from 5.1.0 to 5.1.1
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/presets/client/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/client-preset@5.1.1/packages/presets/client)

---
updated-dependencies:
- dependency-name: "@graphql-codegen/client-preset"
  dependency-version: 5.1.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: graphql-codegen
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-07 13:13:25 +00:00
Quentin Gliech 901011cd9b build(deps-dev): bump the storybook group in /frontend with 3 updates (#5224) 2025-11-07 14:13:24 +01:00
dependabot[bot] 0420bbcb69 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.1.12 to 7.2.1
- [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.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 7.2.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: vite
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-07 13:13:24 +00:00
Quentin Gliech 52eec4c84b Upgrade schemars to 0.9 (#4682) 2025-11-07 14:08:57 +01:00
Quentin Gliech db2288b4f3 Remove the nullable transform from the policies schemas 2025-11-07 11:11:41 +01:00
Quentin Gliech 3d3412ab55 Remove the nullable transformation for the config schema. 2025-11-07 11:08:59 +01:00
Quentin Gliech c7bed3e30d Merge branch 'main' into quenting/schemars-0.9 2025-11-07 10:59:56 +01:00
Quentin Gliech 8d85f89e58 Fix broken link in rustdoc (#5222) 2025-11-07 10:58:59 +01:00
Quentin Gliech a35cb76c41 Remove the nullable transform 2025-11-07 10:53:46 +01:00
Quentin Gliech 4f75fe4508 Update aide to 0.15.1 2025-11-06 17:40:15 +01:00
Quentin Gliech e2490688a5 Merge remote-tracking branch 'origin/main' into quenting/schemars-0.9 2025-11-06 17:34:43 +01:00
dependabot[bot] 1b0cf60d5f build(deps-dev): bump the storybook group in /frontend with 3 updates
Bumps the storybook group in /frontend with 3 updates: [@storybook/addon-docs](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/docs), [@storybook/react-vite](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-vite) and [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/core).


Updates `@storybook/addon-docs` from 9.1.13 to 10.0.5
- [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/v10.0.5/code/addons/docs)

Updates `@storybook/react-vite` from 9.1.13 to 10.0.5
- [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/v10.0.5/code/frameworks/react-vite)

Updates `storybook` from 9.1.13 to 10.0.5
- [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/v10.0.5/code/core)

---
updated-dependencies:
- dependency-name: "@storybook/addon-docs"
  dependency-version: 10.0.5
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: storybook
- dependency-name: "@storybook/react-vite"
  dependency-version: 10.0.5
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: storybook
- dependency-name: storybook
  dependency-version: 10.0.5
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: storybook
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-06 13:13:55 +00:00
Olivier 'reivilibre eda3eecc3e Fix another broken link in the rustdocs 2025-11-06 10:11:22 +00:00
Olivier 'reivilibre 9566dc49b6 Fix broken link in rustdoc 2025-11-06 09:20:20 +00:00
reivilibre abc9532f3e Add basic documentation for personal sessions (#5187) 2025-11-05 16:19:10 +00:00
reivilibre e37456b012 Only allow C-S device scopes when the C-S API scope has been requested (#5215) 2025-11-05 15:47:03 +00:00
reivilibreandQuentin Gliech 58ffe37678 Update docs/development/contributing.md
Co-authored-by: Quentin Gliech <quenting@element.io>
2025-11-05 15:40:12 +00:00
Quentin Gliech 0f2b32cb3c build(deps): bump react-i18next from 16.1.4 to 16.1.5 in /frontend in the i18next group (#5192) 2025-11-05 14:41:53 +01:00
Quentin Gliech 8f1f91d1bd build(deps): bump rustls from 0.23.32 to 0.23.34 (#5193) 2025-11-05 14:41:28 +01:00
Quentin Gliech 66ae58c07c build(deps-dev): bump the vite group across 1 directory with 2 updates (#5199) 2025-11-05 14:40:59 +01:00
Quentin Gliech 1ddaac23fb build(deps): bump actions/download-artifact from 5 to 6 (#5203) 2025-11-05 14:40:43 +01:00
Quentin Gliech 12325a7bb4 build(deps): bump actions/upload-artifact from 4.6.2 to 5.0.0 (#5204) 2025-11-05 14:40:27 +01:00
Quentin Gliech e98df7e7f6 build(deps-dev): bump knip from 5.64.2 to 5.66.4 in /frontend (#5211) 2025-11-05 14:40:11 +01:00
Quentin Gliech e75358265a build(deps-dev): bump @biomejs/biome from 2.2.5 to 2.3.2 in /frontend (#5213) 2025-11-05 14:39:57 +01:00
Quentin Gliech 517883ec83 build(deps): bump docker/metadata-action from 5.8.0 to 5.9.0 (#5220) 2025-11-05 14:38:19 +01:00
dependabot[bot] 87c62bad4c build(deps): bump docker/metadata-action from 5.8.0 to 5.9.0
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 5.8.0 to 5.9.0.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v5.8.0...v5.9.0)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-version: 5.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-05 13:14:13 +00:00
dependabot[bot] ef8bccb0ee build(deps-dev): bump the vite group across 1 directory with 2 updates
Bumps the vite group with 2 updates in the /frontend directory: [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) and [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `@vitejs/plugin-react` from 5.0.4 to 5.1.0
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@5.1.0/packages/plugin-react)

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

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 5.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: vite
- dependency-name: vite
  dependency-version: 7.1.12
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vite
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-04 13:14:11 +00:00
dependabot[bot] 21649bd29c build(deps): bump react-i18next in /frontend in the i18next group
Bumps the i18next group in /frontend with 1 update: [react-i18next](https://github.com/i18next/react-i18next).


Updates `react-i18next` from 16.1.4 to 16.1.5
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v16.1.4...v16.1.5)

---
updated-dependencies:
- dependency-name: react-i18next
  dependency-version: 16.1.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: i18next
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-04 13:14:10 +00:00
matrixbot 938970d56a Automatic merge back to main (#5218) 2025-11-04 13:43:29 +01:00
github-actions[bot] 99a5ebe380 1.6.0-rc.0 v1.6.0-rc.0 2025-11-04 12:35:57 +00:00
matrixbot 84d01d3770 Translations updates for main (#5217) 2025-11-04 13:31:00 +01:00
github-actions[bot] 83cecafcf0 Translations updates 2025-11-04 12:19:44 +00:00
Olivier 'reivilibre e2a08d2365 Only allow C-S device scopes when the C-S API scope has been requested
It'd be weird for a client to request a device on the client-server API but yet not request any client-server API scopes to use it with.

By adding this restriction, we can then create a partial index on the oauth2_sessions table to quickly identify sessions that have C-S API scopes and use this as a proxy metric for how many sessions may have device scopes.
This in turn makes it feasible to efficiently limit the number of 'devices' a user has, or more precisely: the number of sessions with client-server API access.

We can't do the same for device scopes themselves because, other than nastiness like parsing the JSON stringification of the scope list, it's not feasible to identify device scopes within a Postgres index predicate.

Part of: #4339
2025-10-31 15:17:39 +00:00
Olivier 'reivilibre 532e4a4794 Update tests to prepare for needing C-S API scope 2025-10-31 15:12:45 +00:00
Olivier 'reivilibre 560ebc2202 Drive-by podman Makefile fix 2025-10-31 15:07:29 +00:00
Olivier 'reivilibre b94241d946 Drive-by contributing doc update for policies makefile 2025-10-31 15:07:19 +00:00
reivilibre ab52f7e568 templates check command: Allow saving rendered samples (#5202) 2025-10-30 14:00:01 +00:00
Olivier 'reivilibre f633e4251e Merge branch 'main' into rei/templatecheck_todisk 2025-10-30 13:52:33 +00:00
Olivier 'reivilibre e5183f600b Fix comment and change delimiter to = 2025-10-30 13:51:33 +00:00
reivilibre d2309bf11c templates: Be strict about undefined variables (#5201) 2025-10-30 12:24:54 +00:00
Olivier 'reivilibre 16ec04eb95 Change the format of SampleIdentifiers and don't make a subdir per locale 2025-10-30 12:06:09 +00:00
dependabot[bot] 993ded8836 build(deps-dev): bump @biomejs/biome from 2.2.5 to 2.3.2 in /frontend
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.2.5 to 2.3.2.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.3.2/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.3.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-29 13:17:21 +00:00
Olivier 'reivilibre eeeec358c7 Downgrade to SemiStrict in production 2025-10-28 17:20:49 +00:00
Olivier 'reivilibre ea7f568d81 Clarify some more conditions in the templates 2025-10-28 16:52:18 +00:00
Olivier 'reivilibre 647c8e703a For branding: use none instead of undefined 2025-10-28 15:51:34 +00:00
dependabot[bot] 7ae758511c build(deps-dev): bump knip from 5.64.2 to 5.66.4 in /frontend
Bumps [knip](https://github.com/webpro-nl/knip/tree/HEAD/packages/knip) from 5.64.2 to 5.66.4.
- [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.66.4/packages/knip)

---
updated-dependencies:
- dependency-name: knip
  dependency-version: 5.66.4
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-28 13:17:59 +00:00