Commit Graph

6139 Commits

Author SHA1 Message Date
dependabot[bot]
80b9565d0b build(deps): bump js-yaml from 4.1.0 to 4.1.1 in /frontend
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.0 to 4.1.1.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.1.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-16 05:43:06 +00:00
matrixbot
a6a1a67dbf Automatic merge back to main (#5235) 2025-11-11 12:07:40 +01:00
github-actions[bot]
cd555bc808 1.6.0 2025-11-11 10:59:10 +00:00
matrixbot
5863d3f3c5 Translations updates for v1.6 (#5234) 2025-11-11 11:52:34 +01:00
github-actions[bot]
b8eae81c03 Translations updates 2025-11-11 10:42:08 +00:00
Quentin Gliech
4d722c47b5 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
2688afab97 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]
e7f36aac99 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
af31bbc1bc build(deps-dev): bump the storybook group in /frontend with 3 updates (#5224) 2025-11-07 14:13:24 +01:00
dependabot[bot]
397a2e7e56 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
40b3ebd046 Upgrade schemars to 0.9 (#4682) 2025-11-07 14:08:57 +01:00
Quentin Gliech
993cbb44b1 Fix spurious "Failed to set parent context on span" error (#5228) 2025-11-07 13:57:45 +01:00
Quentin Gliech
2eaba46e1b Don't extract the parent context if the span is disabled 2025-11-07 13:37:26 +01:00
Quentin Gliech
c7b00ebe03 Fix spurious "Failed to set parent context on span" error
This would happen when the `info` log level is surpressed, and therefore
the request span would not be enabled and fail to set the parent OTEL
context.
2025-11-07 11:34:42 +01:00
Quentin Gliech
7d2f85c891 Remove the nullable transform from the policies schemas 2025-11-07 11:11:41 +01:00
Quentin Gliech
d0a5a1406b Remove the nullable transformation for the config schema. 2025-11-07 11:08:59 +01:00
Quentin Gliech
889ead8eaa Merge branch 'main' into quenting/schemars-0.9 2025-11-07 10:59:56 +01:00
Quentin Gliech
eea1dc2bc5 Fix broken link in rustdoc (#5222) 2025-11-07 10:58:59 +01:00
Quentin Gliech
7901657b72 Remove the nullable transform 2025-11-07 10:53:46 +01:00
Quentin Gliech
8a66ece29d Update aide to 0.15.1 2025-11-06 17:40:15 +01:00
Quentin Gliech
56911f25c1 Merge remote-tracking branch 'origin/main' into quenting/schemars-0.9 2025-11-06 17:34:43 +01:00
dependabot[bot]
ec4cf66dde 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
f8ff41cb43 Fix another broken link in the rustdocs 2025-11-06 10:11:22 +00:00
Olivier 'reivilibre
49512d106f Fix broken link in rustdoc 2025-11-06 09:20:20 +00:00
reivilibre
c2ea8f7fa1 Add basic documentation for personal sessions (#5187) 2025-11-05 16:19:10 +00:00
reivilibre
e4e3c6720b Only allow C-S device scopes when the C-S API scope has been requested (#5215) 2025-11-05 15:47:03 +00:00
reivilibre
5bbc26cb16 Update docs/development/contributing.md
Co-authored-by: Quentin Gliech <quenting@element.io>
2025-11-05 15:40:12 +00:00
Quentin Gliech
9a5d53a042 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
047f9bace2 build(deps): bump rustls from 0.23.32 to 0.23.34 (#5193) 2025-11-05 14:41:28 +01:00
Quentin Gliech
38510ccefe build(deps-dev): bump the vite group across 1 directory with 2 updates (#5199) 2025-11-05 14:40:59 +01:00
Quentin Gliech
d26ca9d534 build(deps): bump actions/download-artifact from 5 to 6 (#5203) 2025-11-05 14:40:43 +01:00
Quentin Gliech
671918dffa 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
08e1c0ebf4 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
e9e963608f 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
d64116caf3 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]
e863b89b74 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]
f06f9204a0 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]
0e0ab1ff9e 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
3fb52edcef Automatic merge back to main (#5218) 2025-11-04 13:43:29 +01:00
github-actions[bot]
cad067b809 1.6.0-rc.0 2025-11-04 12:35:57 +00:00
matrixbot
7ddd5ac76a Translations updates for main (#5217) 2025-11-04 13:31:00 +01:00
github-actions[bot]
294f0e69b7 Translations updates 2025-11-04 12:19:44 +00:00
Olivier 'reivilibre
aeabc9cbf2 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
f45d9c1291 Update tests to prepare for needing C-S API scope 2025-10-31 15:12:45 +00:00
Olivier 'reivilibre
c8184fd5aa Drive-by podman Makefile fix 2025-10-31 15:07:29 +00:00
Olivier 'reivilibre
1262a2b2a8 Drive-by contributing doc update for policies makefile 2025-10-31 15:07:19 +00:00
reivilibre
19679faa2c templates check command: Allow saving rendered samples (#5202) 2025-10-30 14:00:01 +00:00
Olivier 'reivilibre
c69bae3311 Merge branch 'main' into rei/templatecheck_todisk 2025-10-30 13:52:33 +00:00
Olivier 'reivilibre
12b7524232 Fix comment and change delimiter to = 2025-10-30 13:51:33 +00:00
reivilibre
67db74f31a templates: Be strict about undefined variables (#5201) 2025-10-30 12:24:54 +00:00