Commit Graph
5301 Commits
Author SHA1 Message Date
Quentin Gliech 176c05938f New admin API endpoint to reactivate users & align what lock/unlock/deactivate does in the admin API (#4768) 2025-07-17 09:11:32 +02:00
Quentin Gliech 52c3a36bac Make the admin API provision users synchronously (#4788) 2025-07-17 09:07:41 +02:00
Andrew Ferrazzutti 8ac2770cf7 Revert GraphQL's unlock to also reactivate
Unlike the CLI and admin API, leave the behaviour of the GraphQL's
unlock handler unchanged from before, so as to not break internal
tooling that depends on it.

Also update its documentation description to make note of the fact that
it reactivates in addition to unlocks.
2025-07-16 14:17:01 -04:00
Andrew Ferrazzutti d807975137 Decouple (un)locking from (re/de)activation
Unify the admin API, CLI, and GraphQL API in not having the unlock
command also reactivate, or the deactivate command also lock.

Still let the unlock command of the CLI and GraphQL API to also
reactivate the target user, albeit as a non-default option.
2025-07-16 14:17:01 -04:00
Andrew Ferrazzutti df8032695a Satisfy Clippy 2025-07-16 14:17:01 -04:00
Andrew Ferrazzutti eca22d335b Format 2025-07-16 14:17:01 -04:00
Andrew Ferrazzutti 6c1afee13d Separate active state from lock state in admin API
- Allow the admin API to deactivate a user without locking it, and to
  unlock a user without reactivating it.
- Make unlock-and-reactivate flows unset the "deactivated_at" timestamp.
- Revert adding an "unlock" parameter on `ReactivateUserJob`, as the
  option is used only by the admin API which doesn't use a job.
2025-07-16 14:17:01 -04:00
Andrew Ferrazzutti 13a21cc018 Update schema 2025-07-16 14:17:01 -04:00
Andrew Ferrazzutti a8b8c8e31c Add admin API endpoint to reactivate user 2025-07-16 14:17:01 -04:00
Quentin Gliech e2aad08006 Miscellaneous housekeeping (#4735) 2025-07-16 18:53:59 +02:00
Quentin Gliech c86ba8adba build(deps): bump the tanstack-query group in /frontend with 2 updates (#4791) 2025-07-16 18:48:09 +02:00
Quentin Gliech ce9c696812 build(deps-dev): bump @types/node from 24.0.12 to 24.0.13 in /frontend in the types group (#4783) 2025-07-16 18:48:00 +02:00
Quentin Gliech 523e9c7685 build(deps): bump @vector-im/compound-design-tokens from 5.0.1 to 5.0.2 in /frontend (#4784) 2025-07-16 18:47:55 +02:00
dependabot[bot] 3b855fbcc8 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.82.0 to 5.83.0
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.83.0/packages/react-query)

Updates `@tanstack/react-query-devtools` from 5.82.0 to 5.83.0
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.83.0/packages/react-query-devtools)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-16 16:13:53 +00:00
dependabot[bot] 344c318666 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 5.0.1 to 5.0.2.
- [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/v5.0.1...v5.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-16 16:13:44 +00:00
Quentin Gliech 5a78bad2b9 build(deps): bump the tanstack-router group in /frontend with 3 updates (#4790) 2025-07-16 18:12:23 +02:00
dependabot[bot] 6744e1fbda 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/react-router-devtools](https://github.com/TanStack/router/tree/HEAD/packages/react-router-devtools) and [@tanstack/router-plugin](https://github.com/TanStack/router/tree/HEAD/packages/router-plugin).


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

Updates `@tanstack/react-router-devtools` from 1.127.0 to 1.127.3
- [Release notes](https://github.com/TanStack/router/releases)
- [Commits](https://github.com/TanStack/router/commits/v1.127.3/packages/react-router-devtools)

Updates `@tanstack/router-plugin` from 1.127.0 to 1.127.5
- [Release notes](https://github.com/TanStack/router/releases)
- [Commits](https://github.com/TanStack/router/commits/v1.127.5/packages/router-plugin)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-16 13:18:24 +00:00
dependabot[bot] 62268cd208 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 24.0.12 to 24.0.13
- [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-version: 24.0.13
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: types
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-16 13:18:02 +00:00
Andrew Ferrazzutti 0d613a5203 Always add users synchronously with admin API 2025-07-15 12:08:47 -04:00
Andrew Ferrazzutti e792b62828 Update schema 2025-07-15 12:08:33 -04:00
Andrew Ferrazzutti d9d424323c Let admin API add users synchronously
as opposed to always launching an asynchronous worker job.

This allows callers to have a guarantee that the user is fully created
by the time it receives the response to the user creation request.
2025-07-15 12:08:33 -04:00
matrixbot 872d7257ce Automatic merge back to main (#4793) 2025-07-15 17:03:29 +02:00
Quentin Gliech f8944b6ef3 Merge branch 'main' into ref-merge/7463ed4ba9395708362e095f33bc381ca47e1b6a 2025-07-15 16:55:49 +02:00
github-actions[bot] 7463ed4ba9 0.19.0 v0.19.0 2025-07-15 14:42:33 +00:00
matrixbot e1bac3201a Translations updates for v0.19 (#4792) 2025-07-15 16:25:41 +02:00
github-actions[bot] 48ffa014b1 Translations updates 2025-07-15 14:14:54 +00:00
Quentin Gliech dee5902129 build(deps): bump the tanstack-router group in /frontend with 3 updates (#4782) 2025-07-11 18:48:15 +02:00
dependabot[bot] 37101d8f96 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/react-router-devtools](https://github.com/TanStack/router/tree/HEAD/packages/react-router-devtools) and [@tanstack/router-plugin](https://github.com/TanStack/router/tree/HEAD/packages/router-plugin).


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

Updates `@tanstack/react-router-devtools` from 1.125.6 to 1.127.0
- [Release notes](https://github.com/TanStack/router/releases)
- [Commits](https://github.com/TanStack/router/commits/v1.127.0/packages/react-router-devtools)

Updates `@tanstack/router-plugin` from 1.125.6 to 1.127.0
- [Release notes](https://github.com/TanStack/router/releases)
- [Commits](https://github.com/TanStack/router/commits/v1.127.0/packages/router-plugin)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-11 14:06:52 +00:00
Quentin Gliech 57af270ffa Allow running jobs from the job queue in tests (#4775) 2025-07-11 14:47:23 +02:00
matrixbot 1c36430035 Automatic merge back to main (#4781) 2025-07-10 17:28:11 +02:00
github-actions[bot] 99f347f6f2 0.19.0-rc.1 v0.19.0-rc.1 2025-07-10 15:22:00 +00:00
Quentin Gliech 9958c3b7c4 build(deps): bump the tanstack-query group in /frontend with 2 updates (#4778) 2025-07-10 17:17:29 +02:00
Quentin Gliech d061f0d809 build(deps): bump clap from 4.5.40 to 4.5.41 (#4779) 2025-07-10 17:17:06 +02:00
Quentin Gliech e394cac988 build(deps): bump rustls from 0.23.28 to 0.23.29 (#4780) 2025-07-10 17:16:50 +02:00
Quentin Gliech de8006394e Make back-channel logout work on existing sessions (#4767) 2025-07-10 17:14:18 +02:00
Quentin Gliech 80f2ceaa9d Make email address lookups case-insensitive (#4763) 2025-07-10 17:12:54 +02:00
dependabot[bot] 0cb0d4e3c3 build(deps): bump rustls from 0.23.28 to 0.23.29
Bumps [rustls](https://github.com/rustls/rustls) from 0.23.28 to 0.23.29.
- [Release notes](https://github.com/rustls/rustls/releases)
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustls/rustls/compare/v/0.23.28...v/0.23.29)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-10 14:10:23 +00:00
dependabot[bot] 3d671adeff build(deps): bump clap from 4.5.40 to 4.5.41
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.40 to 4.5.41.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.40...clap_complete-v4.5.41)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-10 14:09:57 +00:00
dependabot[bot] 98e3a48e67 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.81.5 to 5.82.0
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.82.0/packages/react-query)

Updates `@tanstack/react-query-devtools` from 5.81.5 to 5.82.0
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.82.0/packages/react-query-devtools)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-10 14:07:05 +00:00
Quentin Gliech 6661d739a3 build(deps): bump @vector-im/compound-design-tokens from 4.0.5 to 5.0.1 in /frontend (#4771) 2025-07-10 15:27:22 +02:00
Quentin Gliech b2a2ba07bf Upgrade @vector-im/compound-web as well 2025-07-10 15:20:52 +02:00
Quentin Gliech bbefa5a6e9 Fix link title (#4776) 2025-07-10 14:31:38 +02:00
Johannes Marbach 5bdc270a54 Fix link title
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
2025-07-10 11:31:59 +02:00
Quentin Gliech e955ecc2dd Use an async-aware mutex for the test queue worker 2025-07-09 18:30:12 +02:00
Quentin Gliech 4f8f695a6e build(deps-dev): bump @biomejs/biome from 2.1.0 to 2.1.1 in /frontend (#4772) 2025-07-09 18:24:17 +02:00
Quentin Gliech b3fed77585 build(deps): bump i18next from 25.3.1 to 25.3.2 in /frontend in the i18next group (#4769) 2025-07-09 18:24:11 +02:00
Quentin Gliech 9e9881d6d5 build(deps-dev): bump the types group in /frontend with 2 updates (#4770) 2025-07-09 18:06:35 +02:00
Quentin Gliech 3285d55381 build(deps): bump psl from 2.1.123 to 2.1.124 (#4774) 2025-07-09 18:06:29 +02:00
Quentin Gliech 64a3051225 build(deps): bump ruma-common from 0.15.3 to 0.15.4 (#4773) 2025-07-09 18:06:23 +02:00
Quentin Gliech e66782207b Ignore clippy lint 2025-07-09 18:04:45 +02:00