Commit Graph

4022 Commits

Author SHA1 Message Date
Quentin Gliech 740dc01b2e Confirm account password before adding/removing email addresses 2025-03-07 10:15:10 +01:00
Quentin Gliech 09d185da6d Require the user password to add or remove an email address 2025-03-06 17:37:54 +01:00
Quentin Gliech 7918a03609 build(deps): bump peter-evans/create-pull-request from 7.0.7 to 7.0.8 (#4152) 2025-03-04 16:01:07 +01:00
Quentin Gliech 5b5a82be19 build(deps): bump EmbarkStudios/cargo-deny-action from 2.0.6 to 2.0.10 (#4151) 2025-03-04 16:00:51 +01:00
Quentin Gliech e0475e14a8 build(deps): bump valibot from 1.0.0-rc.2 to 1.0.0-rc.3 in /frontend (#4150) 2025-03-04 15:52:03 +01:00
Quentin Gliech 57395ba032 build(deps-dev): bump typescript from 5.7.3 to 5.8.2 in /frontend (#4148) 2025-03-04 15:51:47 +01:00
Quentin Gliech 4004623272 build(deps-dev): bump happy-dom from 17.1.8 to 17.1.9 in /frontend (#4149) 2025-03-04 15:51:25 +01:00
dependabot[bot] 85d22d6beb build(deps): bump peter-evans/create-pull-request from 7.0.7 to 7.0.8
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 7.0.7 to 7.0.8.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v7.0.7...v7.0.8)

---
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>
2025-03-04 14:01:53 +00:00
dependabot[bot] a14822285f build(deps): bump EmbarkStudios/cargo-deny-action from 2.0.6 to 2.0.10
Bumps [EmbarkStudios/cargo-deny-action](https://github.com/embarkstudios/cargo-deny-action) from 2.0.6 to 2.0.10.
- [Release notes](https://github.com/embarkstudios/cargo-deny-action/releases)
- [Commits](https://github.com/embarkstudios/cargo-deny-action/compare/v2.0.6...v2.0.10)

---
updated-dependencies:
- dependency-name: EmbarkStudios/cargo-deny-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-04 14:01:49 +00:00
dependabot[bot] af33c17f47 build(deps): bump valibot from 1.0.0-rc.2 to 1.0.0-rc.3 in /frontend
Bumps [valibot](https://github.com/fabian-hiller/valibot) from 1.0.0-rc.2 to 1.0.0-rc.3.
- [Release notes](https://github.com/fabian-hiller/valibot/releases)
- [Commits](https://github.com/fabian-hiller/valibot/compare/v1.0.0-rc.2...v1.0.0-rc.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-04 13:53:58 +00:00
dependabot[bot] 8b66fb860c build(deps-dev): bump happy-dom from 17.1.8 to 17.1.9 in /frontend
Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 17.1.8 to 17.1.9.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](https://github.com/capricorn86/happy-dom/compare/v17.1.8...v17.1.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-04 13:53:51 +00:00
dependabot[bot] 038eb4068c build(deps-dev): bump typescript from 5.7.3 to 5.8.2 in /frontend
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.7.3 to 5.8.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.7.3...v5.8.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-04 13:53:42 +00:00
Quentin Gliech 96b4d5f78e Allow compat session devices to have spaces (#4067) 2025-03-04 13:42:14 +01:00
Quentin Gliech 7c9bb73f67 Merge remote-tracking branch 'origin/main' into quenting/compat-device-id 2025-03-04 13:33:09 +01:00
Quentin Gliech 4a1ec0bc87 Handle AS users with invalid localparts edge case (#4133) 2025-03-04 12:47:01 +01:00
Quentin Gliech 93bd6ed2de Handle AS users with invalid localparts edge case 2025-03-04 12:38:51 +01:00
Quentin Gliech 7d060f5785 Properly ignore devices, threepids and access tokens from AS users (#4122) 2025-03-04 12:38:14 +01:00
Quentin Gliech cccb39ac1b Pass the MasWriter as owned to the various migration functions (#4120) 2025-03-04 12:37:23 +01:00
Quentin Gliech 7e1c825729 Allow configuring a 'read-only' connection to the homeserver (#4145) 2025-03-04 11:57:45 +01:00
Quentin Gliech 1e99a6b7e2 syn2mas: use NonNilUuid for MAS user IDs 2025-03-04 11:55:59 +01:00
Quentin Gliech dd928c45c5 Ignore guest devices and empty IPs when migrating from Synapse (#4121) 2025-03-04 08:33:30 +01:00
Quentin Gliech f48bd5172c Remove spuriuous ICU errors from the logs (#4132) 2025-03-03 18:29:59 +01:00
Quentin Gliech 1d6459457f build(deps-dev): bump @types/node from 22.13.5 to 22.13.8 in /frontend in the types group (#4138) 2025-03-03 18:29:50 +01:00
Quentin Gliech 4f191688c9 build(deps): bump the tanstack-query group across 1 directory with 2 updates (#4144) 2025-03-03 17:44:19 +01:00
dependabot[bot] f971c49a53 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.13.5 to 22.13.8
- [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-03-03 16:36:14 +00:00
dependabot[bot] afd7f5a44b build(deps): bump the tanstack-query group across 1 directory with 2 updates
Bumps the tanstack-query group with 2 updates in the /frontend directory: [@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.66.9 to 5.66.11
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.66.11/packages/react-query)

Updates `@tanstack/react-query-devtools` from 5.66.9 to 5.66.11
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.66.11/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-03-03 16:35:36 +00:00
Quentin Gliech 0c05a109f6 build(deps-dev): bump the development group in /tools/syn2mas with 2 updates (#4134) 2025-03-03 17:34:39 +01:00
Quentin Gliech 86b1dcd439 build(deps): bump the tanstack-router group across 1 directory with 3 updates (#4135) 2025-03-03 17:34:32 +01:00
Quentin Gliech 6a5bb747f2 build(deps): bump the fontsource group in /frontend with 2 updates (#4137) 2025-03-03 17:34:11 +01:00
Quentin Gliech 6071bca899 build(deps-dev): bump the storybook group in /frontend with 6 updates (#4136) 2025-03-03 17:34:01 +01:00
Quentin Gliech ff967356fe build(deps): bump serde_json from 1.0.139 to 1.0.140 (#4140) 2025-03-03 17:33:09 +01:00
Quentin Gliech c18dc0ba0f build(deps): bump schemars from 0.8.21 to 0.8.22 (#4141) 2025-03-03 17:32:14 +01:00
Quentin Gliech a6c31f00cf build(deps): bump async-trait from 0.1.86 to 0.1.87 (#4142) 2025-03-03 17:31:17 +01:00
Quentin Gliech d0f1cf4971 Allow configuring the connection to the homeserver to be read-only. 2025-03-03 17:24:15 +01:00
Quentin Gliech f484896f16 Remove generic error type & always use an Arc on the HS connection
This should help us write other implementations of HomeserverConnection
2025-03-03 15:43:13 +01:00
dependabot[bot] 3fad132768 build(deps): bump async-trait from 0.1.86 to 0.1.87
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.86 to 0.1.87.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.86...0.1.87)

---
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-03-03 13:43:36 +00:00
dependabot[bot] 35d9b0886c build(deps): bump schemars from 0.8.21 to 0.8.22
Bumps [schemars](https://github.com/GREsau/schemars) from 0.8.21 to 0.8.22.
- [Release notes](https://github.com/GREsau/schemars/releases)
- [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md)
- [Commits](https://github.com/GREsau/schemars/compare/v0.8.21...v0.8.22)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 13:43:18 +00:00
dependabot[bot] 3004381eba build(deps): bump serde_json from 1.0.139 to 1.0.140
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.139 to 1.0.140.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.139...v1.0.140)

---
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-03-03 13:42:59 +00:00
dependabot[bot] 6ba712fece 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.1 to 5.2.5
- [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.1 to 5.2.5
- [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-minor
  dependency-group: fontsource
- dependency-name: "@fontsource/inter"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: fontsource
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 13:36:23 +00:00
dependabot[bot] 127a1bc914 build(deps-dev): bump the storybook group in /frontend with 6 updates
Bumps the storybook group in /frontend with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/essentials) | `8.6.2` | `8.6.3` |
| [@storybook/addon-interactions](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/interactions) | `8.6.2` | `8.6.3` |
| [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/code/renderers/react) | `8.6.2` | `8.6.3` |
| [@storybook/react-vite](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-vite) | `8.6.2` | `8.6.3` |
| [@storybook/test](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/test) | `8.6.2` | `8.6.3` |
| [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli) | `8.6.2` | `8.6.3` |


Updates `@storybook/addon-essentials` from 8.6.2 to 8.6.3
- [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/v8.6.3/code/addons/essentials)

Updates `@storybook/addon-interactions` from 8.6.2 to 8.6.3
- [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/v8.6.3/code/addons/interactions)

Updates `@storybook/react` from 8.6.2 to 8.6.3
- [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/v8.6.3/code/renderers/react)

Updates `@storybook/react-vite` from 8.6.2 to 8.6.3
- [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/v8.6.3/code/frameworks/react-vite)

Updates `@storybook/test` from 8.6.2 to 8.6.3
- [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/v8.6.3/code/lib/test)

Updates `storybook` from 8.6.2 to 8.6.3
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v8.6.3/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v8.6.3/code/lib/cli)

---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- dependency-name: "@storybook/addon-interactions"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- dependency-name: "@storybook/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- dependency-name: "@storybook/react-vite"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- dependency-name: "@storybook/test"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- dependency-name: storybook
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 13:36:07 +00:00
dependabot[bot] 1b56061303 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.111.11 to 1.112.0
- [Release notes](https://github.com/TanStack/router/releases)
- [Commits](https://github.com/TanStack/router/commits/v1.112.0/packages/react-router)

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

Updates `@tanstack/router-vite-plugin` from 1.111.12 to 1.112.3
- [Release notes](https://github.com/TanStack/router/releases)
- [Commits](https://github.com/TanStack/router/commits/v1.112.3/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-03-03 13:35:46 +00:00
dependabot[bot] a124b3fea2 build(deps-dev): bump the development group
Bumps the development group in /tools/syn2mas with 2 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [typescript](https://github.com/microsoft/TypeScript).


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

Updates `typescript` from 5.7.3 to 5.8.2
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.7.3...v5.8.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 13:22:05 +00:00
Quentin Gliech c6cf84cb81 Support for allowing/banning specific username patterns during registration (#4131) 2025-03-03 13:55:16 +01:00
Quentin Gliech b6bb596471 Revert "Ignore colons in localparts when importing users"
This reverts commit 7263bcac45.
2025-03-03 13:52:25 +01:00
Quentin Gliech 509f71a605 Remove spuriuous ICU errors from the logs 2025-03-03 12:17:53 +01:00
Quentin Gliech 70b561291e Show proper error messages when registering with a banned/not-allowed username 2025-03-03 10:45:30 +01:00
Quentin Gliech 6e881d60f2 Document the new username ban/allow policy 2025-03-03 10:35:44 +01:00
Quentin Gliech d40fdbd995 Allow banning/alllowing usernames patterns during registration 2025-03-03 10:31:14 +01:00
Quentin Gliech 1b62792824 build(deps): bump codecov/codecov-action from 5.3.1 to 5.4.0 (#4125) 2025-02-27 18:22:44 +01:00
Quentin Gliech 8d0eab9c80 build(deps): bump swagger-ui-dist from 5.19.0 to 5.20.0 in /frontend (#4128) 2025-02-27 14:35:56 +01:00