Commit Graph

2326 Commits

Author SHA1 Message Date
dependabot[bot]
ed0fc3efb3 build(deps): bump the urql group in /frontend with 3 updates
Bumps the urql group in /frontend with 3 updates: [@urql/core](https://github.com/urql-graphql/urql/tree/HEAD/packages/core), [@urql/exchange-graphcache](https://github.com/urql-graphql/urql/tree/HEAD/exchanges/graphcache) and [@urql/exchange-request-policy](https://github.com/urql-graphql/urql/tree/HEAD/exchanges/request-policy).


Updates `@urql/core` from 4.2.3 to 4.3.0
- [Release notes](https://github.com/urql-graphql/urql/releases)
- [Changelog](https://github.com/urql-graphql/urql/blob/main/packages/core/CHANGELOG.md)
- [Commits](https://github.com/urql-graphql/urql/commits/@urql/core@4.3.0/packages/core)

Updates `@urql/exchange-graphcache` from 6.4.1 to 6.5.0
- [Release notes](https://github.com/urql-graphql/urql/releases)
- [Changelog](https://github.com/urql-graphql/urql/blob/main/exchanges/graphcache/CHANGELOG.md)
- [Commits](https://github.com/urql-graphql/urql/commits/@urql/exchange-graphcache@6.5.0/exchanges/graphcache)

Updates `@urql/exchange-request-policy` from 1.0.2 to 1.1.0
- [Release notes](https://github.com/urql-graphql/urql/releases)
- [Changelog](https://github.com/urql-graphql/urql/blob/main/exchanges/request-policy/CHANGELOG.md)
- [Commits](https://github.com/urql-graphql/urql/commits/@urql/exchange-request-policy@1.1.0/exchanges/request-policy)

---
updated-dependencies:
- dependency-name: "@urql/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: urql
- dependency-name: "@urql/exchange-graphcache"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: urql
- dependency-name: "@urql/exchange-request-policy"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: urql
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-19 07:29:51 +01:00
dependabot[bot]
fc3ec7a412 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 20.11.24 to 20.11.28
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Updates `@types/react-dom` from 18.2.19 to 18.2.22
- [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-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: types
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: types
- dependency-name: "@types/react-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: types
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-19 07:29:24 +01:00
dependabot[bot]
4b11872469 build(deps): bump the i18next group in /frontend with 2 updates
Bumps the i18next group in /frontend with 2 updates: [i18next](https://github.com/i18next/i18next) and [react-i18next](https://github.com/i18next/react-i18next).


Updates `i18next` from 23.10.0 to 23.10.1
- [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/v23.10.0...v23.10.1)

Updates `react-i18next` from 14.0.5 to 14.1.0
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v14.0.5...v14.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-19 07:29:10 +01:00
dependabot[bot]
6c9ccdfb4d build(deps): bump docker/login-action from 3.0.0 to 3.1.0
Bumps [docker/login-action](https://github.com/docker/login-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v3.0.0...v3.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 18:55:18 +01:00
dependabot[bot]
4ffc91efcc build(deps): bump actions/deploy-pages from 4.0.4 to 4.0.5
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/actions/deploy-pages/releases)
- [Commits](https://github.com/actions/deploy-pages/compare/v4.0.4...v4.0.5)

---
updated-dependencies:
- dependency-name: actions/deploy-pages
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 18:54:48 +01:00
dependabot[bot]
244db9f4a6 build(deps): bump parse-display from 0.8.2 to 0.9.0
Bumps [parse-display](https://github.com/frozenlib/parse-display) from 0.8.2 to 0.9.0.
- [Changelog](https://github.com/frozenlib/parse-display/blob/master/CHANGELOG.md)
- [Commits](https://github.com/frozenlib/parse-display/compare/v0.8.2...v0.9.0)

---
updated-dependencies:
- dependency-name: parse-display
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 18:44:10 +01:00
dependabot[bot]
2b4e8c2e98 build(deps): bump the production group in /tools/syn2mas with 1 update
Bumps the production group in /tools/syn2mas with 1 update: [yaml](https://github.com/eemeli/yaml).


Updates `yaml` from 2.4.0 to 2.4.1
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](https://github.com/eemeli/yaml/compare/v2.4.0...v2.4.1)

---
updated-dependencies:
- dependency-name: yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 18:43:07 +01:00
Quentin Gliech
90f4f98415 frontend: upgrade @tanstack/react-router 2024-03-18 18:42:47 +01:00
Michael Telatynski
09cd3f90d6 Add Electron user-agent parsing for Element Desktop/Nightly (#2461) 2024-03-18 18:42:31 +01:00
Michael Telatynski
0613519dfc Render browser icon for compat & browser sessions (#2478)
* Render browser icon for compat & browser sessions

* Use PNGs

* Add support for png resources
2024-03-18 18:41:40 +01:00
Quentin Gliech
771b6a2f8b Upgrade OTEL and remove support for Jaeger and Zipkin exporters 2024-03-18 17:26:40 +01:00
Quentin Gliech
1627fc6945 Upgrade chrono and replace deprecated methods usage 2024-03-18 17:26:40 +01:00
Michael Telatynski
ff31ec9db1 Update snapshots 2024-03-18 17:18:58 +01:00
Michael Telatynski
9fe69b7ae5 Add scopes to compat session detail view 2024-03-18 17:18:58 +01:00
dependabot[bot]
dbc651fa70 build(deps-dev): bump autoprefixer from 10.4.17 to 10.4.18 in /frontend
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.17 to 10.4.18.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.17...10.4.18)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 13:58:31 +01:00
dependabot[bot]
6b0f2d48f6 build(deps): bump actions/checkout from 4.1.1 to 4.1.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.1...v4.1.2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 13:58:15 +01:00
dependabot[bot]
469d7c4154 build(deps): bump peter-evans/create-pull-request from 6.0.1 to 6.0.2
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6.0.1...v6.0.2)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 13:57:59 +01:00
dependabot[bot]
ae9caa08d1 build(deps): bump docker/bake-action from 4.1.0 to 4.3.0
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 4.1.0 to 4.3.0.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/v4.1.0...v4.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 13:41:25 +01:00
dependabot[bot]
ae2f1224bb build(deps-dev): bump the vite group in /frontend with 1 update
Bumps the vite group in /frontend with 1 update: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `vite` from 5.1.4 to 5.1.6
- [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/v5.1.6/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 12:13:17 +01:00
dependabot[bot]
5e39a9e97d build(deps): bump softprops/action-gh-release from 1 to 2
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 12:12:42 +01:00
Kévin Commaille
6fac064ebd Do not expose error type from mas-keystore in mas-oidc-client
The mas-keystore crate is an optional dependency so
setting "default-features" to false
results in a compilation error.

Since the enum is exhaustive, the corresponding error variant
cannot be behind a cargo feature.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2024-03-18 12:12:23 +01:00
Alex Babel
39f97396a7 Increase allowed username length to 64 in the default policy (#2471) 2024-03-18 10:58:21 +00:00
Quentin Gliech
670212b506 Make the mas-cli manage verify-email mark the email as primary 2024-03-08 17:25:39 +01:00
Michael Telatynski
2ae7a5b8ef Update session details styles to closer match latest Figma (#2439)
Co-authored-by: Quentin Gliech <quenting@element.io>
2024-03-08 14:41:41 +00:00
Quentin Gliech
4706d387a0 Use rustls-platform-verifier for cert validation
This simplifies by removing the mutually exclusive `native-roots` and
`webpki-roots` features with something that is suitable for all
platforms.
2024-03-06 14:03:59 +01:00
Quentin Gliech
128263fbe4 Bump whoami, mio and iana-time-zone in the Cargo.lock file
This is to resolve a few RUSTSEC advisories that were reported by cargo deny
2024-03-06 11:51:46 +01:00
Andrew Ferrazzutti
ecd4a0b90d Document systemd socket listener 2024-03-01 18:14:33 +01:00
Andrew Ferrazzutti
ee50b2b581 Update example socket config 2024-03-01 18:14:33 +01:00
Quentin Gliech
2dedfb70db Update documentation about syncing the configuration with the database 2024-03-01 18:14:05 +01:00
Quentin Gliech
2e0c72811e Automatically sync the configuration on server startup 2024-03-01 18:14:05 +01:00
dependabot[bot]
d1f566e697 build(deps-dev): bump the types group in /frontend with 2 updates
Bumps the types group in /frontend with 2 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react).


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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 15:51:57 +01:00
dependabot[bot]
884f666c86 build(deps): bump @vector-im/compound-design-tokens in /frontend
Bumps [@vector-im/compound-design-tokens](https://github.com/vector-im/compound-design-tokens) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/vector-im/compound-design-tokens/releases)
- [Changelog](https://github.com/element-hq/compound-design-tokens/blob/main/docs/release.md)
- [Commits](https://github.com/vector-im/compound-design-tokens/compare/v1.1.1...v1.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 15:51:49 +01:00
dependabot[bot]
59e12fee07 build(deps): bump time from 0.3.32 to 0.3.34
Bumps [time](https://github.com/time-rs/time) from 0.3.32 to 0.3.34.
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](https://github.com/time-rs/time/compare/v0.3.32...v0.3.34)

---
updated-dependencies:
- dependency-name: time
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 15:51:42 +01:00
Quentin Gliech
f567586d23 Append additional parameters to the OAuth2 authorize endpoint 2024-03-01 14:36:37 +01:00
Quentin Gliech
dd15135915 Load the additional OAuth parameters from the config 2024-03-01 14:36:37 +01:00
Quentin Gliech
6b3b1e8109 Additional parameters from upstream OAuth2 providers in the data model 2024-03-01 14:36:37 +01:00
Quentin Gliech
34ce0f3e37 Move schemars to workspace dependencies
Also enables the `preserve_order` feature, hence the big schema output diff.
2024-03-01 14:36:37 +01:00
Andrew Ferrazzutti
026840d36d Add Podman support to policies Makefile 2024-02-29 17:50:38 +01:00
Quentin Gliech
f971ab222c Test the addUser GraphQL mutation with the new behaviour 2024-02-29 11:21:24 +01:00
Quentin Gliech
d5a6b04f66 Test the user registration form 2024-02-29 11:21:24 +01:00
Quentin Gliech
19288019c9 Check for username availability upon registration 2024-02-29 11:21:24 +01:00
Quentin Gliech
9b87147d8f graphql: check that the username is available when creating them
This calls the HS to make sure the username isn't reserved.
This check can be bypassed using the `skipHomeserverCheck` flag on the
`addUser` mutation.
2024-02-29 11:21:24 +01:00
Quentin Gliech
e7d26262a6 Make the HomeserverConnection available in handlers 2024-02-29 11:21:24 +01:00
Quentin Gliech
ad145eb816 Add API to check localpart availability 2024-02-29 11:21:24 +01:00
dependabot[bot]
490af15ecb build(deps): bump docker/setup-buildx-action from 3.0.0 to 3.1.0
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v3.0.0...v3.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-29 10:35:53 +01:00
dependabot[bot]
7979ae4295 build(deps): bump peter-evans/create-pull-request from 6.0.0 to 6.0.1
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6.0.0...v6.0.1)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-29 09:58:10 +01:00
Quentin Gliech
9f58e60e95 Share the device card between the frontend and the backend 2024-02-27 17:56:20 +01:00
Quentin Gliech
63c84417f0 Make the session list way better 2024-02-27 17:56:20 +01:00
Quentin Gliech
fa385b037c Remove unused SelectableSession component 2024-02-27 17:56:20 +01:00
Quentin Gliech
bafb5e4956 Bump Clippy to 1.75 and Rust to 1.76 2024-02-27 16:58:43 +01:00