Commit Graph
3398 Commits
Author SHA1 Message Date
Quentin Gliech 4ca76be866 Polish the password recovery page
This includes:

 - show an error message if the recovery link is expired, with a button
   to resend the email
 - show an error message if the recovery link has already been used
 - include an invisible username field in the form, so that password
   managers can save the new password
2025-01-13 16:58:42 +01:00
Quentin Gliech 5cbb576f94 Make the rate limiter available to the GraphQL API handlers 2025-01-13 16:58:42 +01:00
Quentin Gliech cb088542ab Typo in the consent screen 2025-01-13 16:58:42 +01:00
Quentin Gliech 71b5a55c92 Fix the cross signing reset cancel and error screens 2025-01-13 16:58:42 +01:00
Quentin Gliech affb1bfb01 Render an earlier loading screen fallback 2025-01-13 16:58:42 +01:00
github-actions[bot] 0b90c331c5 Translations updates 2025-01-07 12:47:53 +01:00
Quentin Gliech f6e8a014b8 Username on the first registration page is optional 2025-01-07 11:49:01 +01:00
Quentin Gliech 342eaefa81 Split the base registration page with local password registration 2025-01-07 11:49:01 +01:00
Quentin Gliech 3088d35012 Update the IDP brand icons from Figma 2025-01-07 11:49:01 +01:00
Quentin Gliech b51a6c02ab Tweak the login page to match the design 2025-01-07 11:49:01 +01:00
dependabot[bot] aaa842e37b build(deps): bump pin-project-lite from 0.2.15 to 0.2.16
Bumps [pin-project-lite](https://github.com/taiki-e/pin-project-lite) from 0.2.15 to 0.2.16.
- [Release notes](https://github.com/taiki-e/pin-project-lite/releases)
- [Changelog](https://github.com/taiki-e/pin-project-lite/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/pin-project-lite/compare/v0.2.15...v0.2.16)

---
updated-dependencies:
- dependency-name: pin-project-lite
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-07 10:30:51 +01:00
Quentin Gliech 73cbdd7e12 Fix typings 2025-01-07 10:25:21 +01:00
Quentin Gliech cf5a3f4523 Upgrade to React 19 2025-01-07 10:25:21 +01:00
Quentin Gliech 824ffb7867 Update tests snapshots 2025-01-06 17:12:28 +01:00
Quentin Gliech b05ff64b2a Update most frontend dependencies 2025-01-06 17:12:28 +01:00
dependabot[bot] 91d9cc4a0d build(deps): bump yaml in /tools/syn2mas in the production group
Bumps the production group in /tools/syn2mas with 1 update: [yaml](https://github.com/eemeli/yaml).


Updates `yaml` from 2.6.1 to 2.7.0
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](https://github.com/eemeli/yaml/compare/v2.6.1...v2.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 15:19:23 +01:00
dependabot[bot] b3565b7e8b build(deps-dev): bump @codecov/vite-plugin in /frontend
Bumps @codecov/vite-plugin from 1.4.0 to 1.7.0.

---
updated-dependencies:
- dependency-name: "@codecov/vite-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 15:18:25 +01:00
dependabot[bot] da1fac15cb build(deps-dev): bump @testing-library/react in /frontend
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 16.0.1 to 16.1.0.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v16.0.1...v16.1.0)

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 13:08:05 +01:00
Quentin Gliech 9601fedf70 Remove unused dependencies and symbols using knip 2025-01-06 12:39:02 +01:00
dependabot[bot] 442a9176ad build(deps): bump anyhow from 1.0.94 to 1.0.95
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.94 to 1.0.95.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.94...1.0.95)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 12:36:20 +01:00
Quentin Gliech 13559f09e6 Upgrade to sqlx 0.8.3
This removes the git override we had
2025-01-06 12:24:28 +01:00
dependabot[bot] 3f66c1a90a build(deps-dev): bump @types/node in /frontend in the types group
Bumps the types group in /frontend with 1 update: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node).


Updates `@types/node` from 22.10.2 to 22.10.5
- [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
  dependency-group: types
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 12:03:00 +01:00
dependabot[bot] 1e7cbe0995 build(deps): bump the tanstack-query group in /frontend with 2 updates
Bumps the tanstack-query group in /frontend with 2 updates: [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) and [@tanstack/react-query-devtools](https://github.com/TanStack/query/tree/HEAD/packages/react-query-devtools).


Updates `@tanstack/react-query` from 5.62.8 to 5.62.15
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/HEAD/packages/react-query)

Updates `@tanstack/react-query-devtools` from 5.62.8 to 5.62.15
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/HEAD/packages/react-query-devtools)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 12:02:08 +01:00
Quentin Gliech 6ba8554bc7 Document the response_mode parameter 2025-01-06 11:59:53 +01:00
Quentin Gliech cd078cb567 Document the new usptream OAuth 2.0 configuration options 2025-01-06 11:59:53 +01:00
Quentin Gliech b5940b969f Additional fields in the GraphQL API for upstream providers 2025-01-06 11:59:43 +01:00
dependabot[bot] ac7c9dd3fc build(deps): bump async-trait from 0.1.83 to 0.1.84
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.83 to 0.1.84.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.83...0.1.84)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 11:58:02 +01:00
dependabot[bot] 71dd83dd64 build(deps): bump insta from 1.41.1 to 1.42.0
Bumps [insta](https://github.com/mitsuhiko/insta) from 1.41.1 to 1.42.0.
- [Release notes](https://github.com/mitsuhiko/insta/releases)
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mitsuhiko/insta/compare/1.41.1...1.42.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 11:57:52 +01:00
dependabot[bot] c2ca4436e2 build(deps): bump psl from 2.1.72 to 2.1.73
Bumps [psl](https://github.com/addr-rs/psl) from 2.1.72 to 2.1.73.
- [Release notes](https://github.com/addr-rs/psl/releases)
- [Commits](https://github.com/addr-rs/psl/compare/v2.1.72...v2.1.73)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 11:57:29 +01:00
dependabot[bot] c48e72b909 build(deps): bump the tanstack-router group in /frontend with 3 updates
Bumps the tanstack-router group in /frontend with 3 updates: [@tanstack/react-router](https://github.com/TanStack/router/tree/HEAD/packages/react-router), [@tanstack/router-devtools](https://github.com/TanStack/router/tree/HEAD/packages/router-devtools) and [@tanstack/router-vite-plugin](https://github.com/TanStack/router/tree/HEAD/packages/router-vite-plugin).


Updates `@tanstack/react-router` from 1.94.1 to 1.95.1
- [Release notes](https://github.com/TanStack/router/releases)
- [Commits](https://github.com/TanStack/router/commits/v1.95.1/packages/react-router)

Updates `@tanstack/router-devtools` from 1.94.1 to 1.95.1
- [Release notes](https://github.com/TanStack/router/releases)
- [Commits](https://github.com/TanStack/router/commits/v1.95.1/packages/router-devtools)

Updates `@tanstack/router-vite-plugin` from 1.94.1 to 1.95.1
- [Release notes](https://github.com/TanStack/router/releases)
- [Commits](https://github.com/TanStack/router/commits/v1.95.1/packages/router-vite-plugin)

---
updated-dependencies:
- dependency-name: "@tanstack/react-router"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: tanstack-router
- dependency-name: "@tanstack/router-devtools"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: tanstack-router
- dependency-name: "@tanstack/router-vite-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: tanstack-router
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 11:52:09 +01:00
dependabot[bot] bdc086279e build(deps): bump the i18next group in /frontend with 3 updates
Bumps the i18next group in /frontend with 3 updates: [i18next](https://github.com/i18next/i18next), [react-i18next](https://github.com/i18next/react-i18next) and [i18next-parser](https://github.com/i18next/i18next-parser).


Updates `i18next` from 24.1.2 to 24.2.0
- [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/v24.1.2...v24.2.0)

Updates `react-i18next` from 15.2.0 to 15.4.0
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v15.2.0...v15.4.0)

Updates `i18next-parser` from 9.0.2 to 9.1.0
- [Release notes](https://github.com/i18next/i18next-parser/releases)
- [Changelog](https://github.com/i18next/i18next-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next-parser/compare/9.0.2...9.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 11:06:11 +01:00
dependabot[bot] 3066b207a7 build(deps): bump aide from 0.13.4 to 0.13.5
Bumps [aide](https://github.com/tamasfe/aide) from 0.13.4 to 0.13.5.
- [Release notes](https://github.com/tamasfe/aide/releases)
- [Commits](https://github.com/tamasfe/aide/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 10:56:59 +01:00
dependabot[bot] 435923119f build(deps): bump the fontsource group in /frontend with 2 updates
Bumps the fontsource group in /frontend with 2 updates: [@fontsource/inconsolata](https://github.com/fontsource/font-files/tree/HEAD/fonts/google/inconsolata) and [@fontsource/inter](https://github.com/fontsource/font-files/tree/HEAD/fonts/google/inter).


Updates `@fontsource/inconsolata` from 5.1.0 to 5.1.1
- [Changelog](https://github.com/fontsource/font-files/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fontsource/font-files/commits/HEAD/fonts/google/inconsolata)

Updates `@fontsource/inter` from 5.1.0 to 5.1.1
- [Changelog](https://github.com/fontsource/font-files/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fontsource/font-files/commits/HEAD/fonts/google/inter)

---
updated-dependencies:
- dependency-name: "@fontsource/inconsolata"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: fontsource
- dependency-name: "@fontsource/inter"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: fontsource
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 10:56:26 +01:00
dependabot[bot] 3bc4ec2827 build(deps): bump reqwest from 0.12.9 to 0.12.12
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.12.9 to 0.12.12.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.12.9...v0.12.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 10:55:05 +01:00
dependabot[bot] 81e305dbed build(deps): bump serde_with from 3.11.0 to 3.12.0
Bumps [serde_with](https://github.com/jonasbb/serde_with) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/jonasbb/serde_with/releases)
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.11.0...v3.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 10:53:57 +01:00
dependabot[bot] 94ad178569 build(deps): bump serde from 1.0.216 to 1.0.217
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.216 to 1.0.217.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.216...v1.0.217)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 10:53:12 +01:00
Quentin Gliech e03aa6caf4 Change the test from a username too short to a username too long 2025-01-06 10:15:08 +01:00
Quentin Gliech d16049524b Propagate more specific error messages from the policy on registration
This makes some policy errors translatable
2025-01-06 10:15:08 +01:00
Quentin Gliech 81d70ed4ed Fix registration test in mas-handlers 2025-01-06 10:15:08 +01:00
Quentin Gliech 2820794c8d Allow longer & shorter usernames, complying with the MXID length spec 2025-01-06 10:15:08 +01:00
Quentin Gliech bc102c3261 Make sure the Docker image has the git version in it 2025-01-06 10:13:53 +01:00
Quentin Gliech 1d0b0ab548 Fix unit tests using the dummy router 2025-01-06 09:39:00 +01:00
dependabot[bot] 6f67d27f59 build(deps): bump the tanstack-router group across 1 directory with 3 updates
Bumps the tanstack-router group with 3 updates in the /frontend directory: [@tanstack/react-router](https://github.com/TanStack/router/tree/HEAD/packages/react-router), [@tanstack/router-devtools](https://github.com/TanStack/router/tree/HEAD/packages/router-devtools) and [@tanstack/router-vite-plugin](https://github.com/TanStack/router/tree/HEAD/packages/router-vite-plugin).


Updates `@tanstack/react-router` from 1.81.6 to 1.94.1
- [Release notes](https://github.com/TanStack/router/releases)
- [Commits](https://github.com/TanStack/router/commits/v1.94.1/packages/react-router)

Updates `@tanstack/router-devtools` from 1.81.6 to 1.94.1
- [Release notes](https://github.com/TanStack/router/releases)
- [Commits](https://github.com/TanStack/router/commits/v1.94.1/packages/router-devtools)

Updates `@tanstack/router-vite-plugin` from 1.81.6 to 1.94.1
- [Release notes](https://github.com/TanStack/router/releases)
- [Commits](https://github.com/TanStack/router/commits/v1.94.1/packages/router-vite-plugin)

---
updated-dependencies:
- dependency-name: "@tanstack/react-router"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: tanstack-router
- dependency-name: "@tanstack/router-devtools"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: tanstack-router
- dependency-name: "@tanstack/router-vite-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: tanstack-router
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 09:39:00 +01:00
Quentin Gliech 30e4984c47 Allow old unicode-width version in deny.toml 2025-01-06 09:08:48 +01:00
dependabot[bot] 5567e5aa71 build(deps): bump console from 0.15.8 to 0.15.10
Bumps [console](https://github.com/console-rs/console) from 0.15.8 to 0.15.10.
- [Release notes](https://github.com/console-rs/console/releases)
- [Changelog](https://github.com/console-rs/console/blob/main/CHANGELOG.md)
- [Commits](https://github.com/console-rs/console/compare/0.15.8...0.15.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 09:08:48 +01:00
dependabot[bot] 283b84ce32 build(deps): bump thiserror from 2.0.7 to 2.0.9
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 2.0.7 to 2.0.9.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.7...2.0.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 08:57:56 +01:00
dependabot[bot] f204e4e0b3 build(deps): bump hyper-rustls from 0.27.4 to 0.27.5
Bumps [hyper-rustls](https://github.com/rustls/hyper-rustls) from 0.27.4 to 0.27.5.
- [Release notes](https://github.com/rustls/hyper-rustls/releases)
- [Commits](https://github.com/rustls/hyper-rustls/compare/v/0.27.4...v/0.27.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 08:57:48 +01:00
dependabot[bot] f6d0ef777a build(deps): bump serde_json from 1.0.133 to 1.0.134
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.133 to 1.0.134.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.133...v1.0.134)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 08:57:25 +01:00
dependabot[bot] 496021cb48 build(deps): bump libc from 0.2.168 to 0.2.169
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.168 to 0.2.169.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.169/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.168...0.2.169)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 08:57:17 +01:00
dependabot[bot] a8fdf1b911 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 2.0.2 to 2.1.3.
- [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/v2.0.2...v2.1.3)

---
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>
2025-01-06 08:56:15 +01:00