Commit Graph

1875 Commits

Author SHA1 Message Date
Quentin Gliech
2dce10d9b4 Only show the password change section if the user has a password 2025-02-24 14:28:06 +01:00
Quentin Gliech
10d7338934 Bump most Rust dependencies 2025-02-24 12:12:07 +01:00
Quentin Gliech
b4b2e4c7bb Fix some old Synapse access tokens not being recognized 2025-02-24 11:12:02 +01:00
Quentin Gliech
7167e970b0 Upgrade ICU4X crates to 0.15 2025-02-24 10:52:04 +01:00
Quentin Gliech
2a202cc6b0 Upgrade OpenTelemetry to 0.28 2025-02-24 10:44:08 +01:00
Quentin Gliech
eca6955f07 Remove explicit imports of std::future::Future, as it is now in the prelude 2025-02-21 16:24:53 +01:00
Quentin Gliech
6fcdad6b26 Convert a few closures + async move to async closures 2025-02-21 16:22:21 +01:00
Quentin Gliech
56d9c7e63b Upgrade to Rust 1.85 and edition 2024 2025-02-21 16:15:02 +01:00
dependabot[bot]
686b05b04f build(deps): bump uuid from 1.13.2 to 1.14.0
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.13.2 to 1.14.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/v1.13.2...v1.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-21 13:53:19 +00:00
Quentin Gliech
283b6abfe5 build(deps): bump uuid from 1.13.1 to 1.13.2 (#4065) 2025-02-21 14:11:29 +01:00
Quentin Gliech
39d4767a38 build(deps): bump psl from 2.1.85 to 2.1.86 (#4066) 2025-02-21 14:11:18 +01:00
Quentin Gliech
ed955c58aa Test more error cases of the compatibility login endpoint 2025-02-21 09:15:07 +01:00
Quentin Gliech
9a07c0a71c Support the deprecated 'user' field on the compat /login endpoint 2025-02-20 17:50:12 +01:00
matrixbot
c905ab5b55 Automatic merge back to main (#4070) 2025-02-20 09:04:08 +01:00
Quentin Gliech
f3d4e59b23 Fix a crash on startup when a listener has an empty prefix 2025-02-20 08:31:11 +01:00
dependabot[bot]
9ac34f1c04 build(deps): bump psl from 2.1.85 to 2.1.86
Bumps [psl](https://github.com/addr-rs/psl) from 2.1.85 to 2.1.86.
- [Release notes](https://github.com/addr-rs/psl/releases)
- [Commits](https://github.com/addr-rs/psl/compare/v2.1.85...v2.1.86)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-19 16:54:02 +00:00
dependabot[bot]
e2f7c513be build(deps): bump uuid from 1.13.1 to 1.13.2
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.13.1 to 1.13.2.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.13.1...v1.13.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-19 16:53:29 +00:00
Quentin Gliech
c779efef68 Convert IPv6-mapped IPv4 addresses to IPv4 addresses (#4058) 2025-02-19 15:43:07 +01:00
Quentin Gliech
1ff506d624 Convert IPv6-mapped IPv4 addresses to IPv4 addresses 2025-02-19 15:33:37 +01:00
Quentin Gliech
a4f4c3838d Fix upstream OAuth 2.0 callbacks using the form_post method 2025-02-19 15:17:46 +01:00
Quentin Gliech
a4bece6a77 Add translatable errors for the email policy constraints 2025-02-17 15:53:57 +01:00
Quentin Gliech
3a4aba049c Expose the user agent string to the policy execution context 2025-02-17 11:51:26 +01:00
Quentin Gliech
e74ddb832a Merge the GraphQL requester and requester fingerprint into a single struct 2025-02-17 10:37:43 +01:00
Quentin Gliech
b1b7bf5725 Allow banning registrations by IP address 2025-02-17 10:18:11 +01:00
Quentin Gliech
fa85d60652 Remove the unused password input schema 2025-02-17 10:17:30 +01:00
Quentin Gliech
72384b8e03 Pass an input object to the policy evaluation instead of multiple arguments 2025-02-14 17:15:26 +01:00
Quentin Gliech
b8fb25faed Don't block the upstream oauth registration if the suggested username is invalid 2025-02-14 17:14:09 +01:00
Quentin Gliech
9e81369c60 Fix the HTTP status code for the user creation admin endpoint (#4040) 2025-02-14 15:01:58 +01:00
Quentin Gliech
281ed7bc17 Fix the HTTP status code for the user creation admin endpoint 2025-02-14 14:54:22 +01:00
Quentin Gliech
69a4b28691 Admin API to add user emails 2025-02-14 14:50:47 +01:00
Quentin Gliech
78f30e58dd Admin API to delete user emails 2025-02-14 14:50:46 +01:00
dependabot[bot]
84e2f69f48 build(deps): bump psl from 2.1.84 to 2.1.85
Bumps [psl](https://github.com/addr-rs/psl) from 2.1.84 to 2.1.85.
- [Release notes](https://github.com/addr-rs/psl/releases)
- [Commits](https://github.com/addr-rs/psl/compare/v2.1.84...v2.1.85)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-13 13:41:59 +00:00
Quentin Gliech
c7d2ad7c5c Only expire sessions from dynamic clients 2025-02-12 17:31:21 +01:00
Quentin Gliech
9fea06693b Allow filtering sessions by client kind (dynamic or static) 2025-02-12 17:31:21 +01:00
Quentin Gliech
b40fcdd712 Experimental feature to timeout inactive sessions 2025-02-12 17:31:21 +01:00
Quentin Gliech
d8b9bb1d9a Setup job to expire inactive browser sessions 2025-02-12 14:03:41 +01:00
Quentin Gliech
dcc23421c9 Setup a job to expire compatibility sessions 2025-02-12 13:57:36 +01:00
Quentin Gliech
0a624eb92c Setup a job to expire OAuth 2.0 sessions 2025-02-12 13:47:48 +01:00
Quentin Gliech
70936ba0f7 Allow filtering OAuth sessions with any/no user 2025-02-12 13:00:22 +01:00
Quentin Gliech
5e9cc91979 Allow filtering by subject in the upstream OAuth links admin API 2025-02-12 11:07:11 +01:00
Quentin Gliech
903b48792a storage: allow filtering upstream OAuth links by subject 2025-02-12 11:01:53 +01:00
Quentin Gliech
1f36463e8f Admin API to list and get upstream OAuth links 2025-02-12 10:51:31 +01:00
Quentin Gliech
a398d8d579 Fix the user session admin API docs 2025-02-11 17:09:33 +01:00
Quentin Gliech
487d1633e2 Admin API to list and get user sessions (#4004)
Similar to #4002, this adds an admin API to list and get user (browser
cookies) sessions
2025-02-11 16:38:21 +01:00
Quentin Gliech
a2a83583ef Fix the upstream OAuth 2.0 callback form deserialisation (#4010)
Fixes #3957

This was broken since #3893
2025-02-11 15:36:43 +01:00
dependabot[bot]
c5fa9e38bd build(deps): bump psl from 2.1.83 to 2.1.84
Bumps [psl](https://github.com/addr-rs/psl) from 2.1.83 to 2.1.84.
- [Release notes](https://github.com/addr-rs/psl/releases)
- [Commits](https://github.com/addr-rs/psl/compare/v2.1.83...v2.1.84)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-11 14:15:49 +00:00
Quentin Gliech
190bc550ac Fix the upstream OAuth 2.0 callback form deserialisation 2025-02-11 15:13:43 +01:00
Quentin Gliech
c48e063d3a Admin API to list and get user sessions 2025-02-11 14:24:16 +01:00
Quentin Gliech
bf900e7e5a Fix the definition of the set-password success response in the OpenAPI spec 2025-02-11 13:54:15 +01:00
Quentin Gliech
38daf613af Admin API to list and get compatibility sessions 2025-02-11 12:01:54 +01:00