Commit Graph
7872 Commits
Author SHA1 Message Date
Paul Chobert 6a105cc52c Merge remote-tracking branch 'upstream/main' into docs-msc4190-appservice-devices
# Conflicts:
#	docs/as-login.md
2026-09-30 10:11:57 +02:00
Paul Chobert 52dfde42e8 docs: Refer to the spec rather than MSC4190 for appservice device management
The device management endpoints are part of the Application Service API
since Matrix 1.17, so point at the spec instead of the proposal.
2026-09-30 10:08:56 +02:00
Eric Eastwood 19fa53b9ac Automatic merge back to main (#6005) 2026-09-29 13:49:04 -05:00
Eric Eastwood 6d0c41e626 Merge branch 'main' into ref-merge/f36b2766821b3b8f4a92e99dd7994f93dafe07f7 2026-09-29 12:52:11 -05:00
github-actions[bot] f36b276682 1.26.0 v1.26.0 2026-09-29 17:09:41 +00:00
Eric Eastwood 655e41d591 Translations updates for v1.26 (#6004) 2026-09-29 12:07:19 -05:00
github-actions[bot] a3ea612459 Translations updates 2026-09-29 16:11:53 +00:00
Quentin Gliech 5b8d456a72 Remember which username was chosen when doing a registration through a social-login provider (#5969) 2026-09-28 20:16:53 +00:00
Quentin Gliech acb6270690 Merge main into quenting/register-form-post 2026-09-25 18:46:14 +02:00
Quentin Gliech 5dd989212a Tighten the comments on carrying the username through the upstream flow 2026-09-25 18:46:14 +02:00
ElementBot bdb108f764 Automatic merge back to main (#5998) 2026-09-22 20:50:49 +01:00
github-actions[bot] 263a24addd 1.26.0-rc.0 v1.26.0-rc.0 2026-09-22 19:33:54 +00:00
ElementBot 97ae55b1bf Translations updates for main (#5997) 2026-09-22 20:15:22 +01:00
github-actions[bot] b67a480af8 Translations updates 2026-09-22 19:00:00 +00:00
Quentin Gliech 56a0c2bb63 Show the reason on the policy violation page for admin scopes and disallowed clients (#5996) 2026-09-22 17:34:22 +02:00
Quentin Gliech 52f9a11d78 Show the reason on the policy violation page for admin scopes and disallowed clients
Violations from the `authorization_grant` policy for `urn:synapse:admin:*` and `urn:mas:admin` now carry the `admin-scope-not-allowed` code, and `client-not-allowed` is reserved for policies which reject the client itself (used by the Pro policies). The policy violation pages render a specific reason for each code under a shared headline, instead of the generic explanation.

Fixes #5995
2026-09-22 17:06:11 +02:00
Eric Eastwood 1cb886d21b Update release instructions to link to CI from @ElementBot (#5990)
We switched from @matrixbot to @ElementBot, see https://github.com/element-hq/matrix-authentication-service/issues/5271
2026-09-21 17:43:25 -05:00
Eric Eastwood 738f384e09 Automatic merge back to main (#5993) 2026-09-21 17:42:14 -05:00
Eric Eastwood dc80a9aa6e Merge branch 'main' into ref-merge/97945cd9e7869bc5cdc4322bfc26cef552f11157
Conflicts:
	translations/en.json
2026-09-21 17:12:04 -05:00
github-actions[bot] 97945cd9e7 1.25.1 v1.25.1 2026-09-21 20:56:31 +00:00
Quentin Gliech 6b21b389b2 Fix the rendering of the password registration page when a CAPTCHA provider is configured (#5992) 2026-09-21 22:46:09 +02:00
Quentin Gliech c565685989 Update translations by running sh misc/update.sh 2026-09-21 22:34:30 +02:00
Quentin Gliech dfda70dd8e Fix the CAPTCHA component failing to render because of an undefined translation function
Macros close over the context of the template that imports them, at import time. Importing the CAPTCHA component from a child template ran before `base.html` defined `_`, so the noscript translation inside the macro failed with an undefined-not-callable error. Import it from `base.html` like every other component.
2026-09-21 22:15:29 +02:00
Quentin Gliech a6de208d83 Render the templates with a CAPTCHA config in the template checks 2026-09-21 22:15:29 +02:00
Eric Eastwood 763d82b24c Automatic merge back to main (#5989) 2026-09-21 11:49:10 -05:00
Eric Eastwood 8898c7ba79 Link [translations-download workflow] 2026-09-21 11:16:44 -05:00
Eric Eastwood 1296cb5440 Link to CI from @ElementBot 2026-09-21 11:16:05 -05:00
github-actions[bot] 57bb1b0512 1.25.0 v1.25.0 2026-09-21 15:50:40 +00:00
Eric Eastwood 2f72435233 Translations updates for v1.25 (#5988) 2026-09-21 10:48:59 -05:00
github-actions[bot] 8a8266d409 Translations updates 2026-09-21 15:07:45 +00:00
Quentin Gliech 2fd050decf Translations updates for v1.25 (#5987) 2026-09-21 16:48:20 +02:00
Quentin Gliech 474e67b5a6 Start upstream OAuth 2.0 flows with a form POST from the registration page
A POST is what lets the username typed on the page travel with the
request. It also lets the whole registration form become a single
component later on.
2026-09-18 18:11:15 +02:00
Quentin Gliech 877e279fbf Carry the username typed on the registration page through the upstream OAuth 2.0 flow
It is stashed in the upstream sessions cookie and used as the localpart
when the user comes back, unless the provider forces or requires its
own.
2026-09-18 18:11:15 +02:00
Quentin Gliech b6c6e97461 Extract a helper to start an upstream OAuth 2.0 authorization flow
The registration page is about to start these flows from a form POST, so
minting the session, the cookie and the authorization URL has to be
callable from outside the `/upstream/authorize/:id` handler.
2026-09-18 18:11:15 +02:00
Hugh Nimmo-Smith 01f7b9ceb5 Improve usability of user code during device code flow (#5974) 2026-09-18 17:02:35 +01:00
Hugh Nimmo-Smith ada65be990 Doc clarifications 2026-09-18 16:06:21 +01:00
Hugh Nimmo-Smith ba3e869566 Rest of merge 2026-09-18 15:41:14 +01:00
Hugh Nimmo-Smith e580a1b1b1 Merge branch 'main' into hughns/crockford-user-code 2026-09-18 15:21:52 +01:00
Quentin Gliech 86f327652b Add MSC4198 login_hint_types_supported discovery metadata (#5981) 2026-09-17 17:53:42 +02:00
Tonkku 49ea27f8c7 Add MSC4198 login_hint_types_supported discovery metadata 2026-09-17 09:57:00 +00:00
Quentin Gliech 8cda28a734 Add a shared boot helper for React islands (#5975) 2026-09-16 10:56:12 +02:00
Quentin Gliech 899a49f055 Extract the password complexity feedback out of the double-password input component (#5978) 2026-09-16 10:14:45 +02:00
github-actions[bot] 5dbef45e9f Translations updates 2026-09-15 14:59:01 +00:00
Quentin Gliech 05d2f37423 Add a shared boot helper for React islands
The helper parses the mount node's dataset, waits for the i18n setup
before the first render, and swaps the page to a server-rendered error
notice when booting fails. This fixes the account app staying on its
loading screen forever when fetching the locale data fails, and gives
upcoming server-rendered pages with React islands a common entry point.
Waiting on the setup requires `setupI18n` to return the initialisation
promise, so it now does.
2026-09-15 15:08:00 +02:00
Quentin Gliech 179f1f9b1d Extract the password complexity feedback out of PasswordCreationDoubleInput
The strength meter, the improvement hints and the too-weak error move to
a `PasswordComplexityFeedback` component backed by a
`usePasswordComplexity` hook, so that forms which lay out their password
fields differently can reuse them. `PasswordCreationDoubleInput` takes
the minimum complexity as a plain number instead of a `SiteConfig`
fragment; its two callers already query `siteConfig`, so they pass the
field directly.
2026-09-15 15:08:00 +02:00
Quentin Gliech 23286d57a9 Update rustls to 0.23.45 to fix RUSTSEC-2026-0285 (#5976) 2026-09-15 15:07:37 +02:00
Quentin Gliech f99bf44090 Update rustls to 0.23.45 to fix RUSTSEC-2026-0285 2026-09-15 14:49:53 +02:00
Olivier 'reivilibre 6dde67a547 Rate limit device code link attempts (#5972)
Add a dedicated `device_code_link` rate limiter for verification of the user code from the device code grant. This applies _per source IP_ rather than globally.

This is to help mitigate the User Code Brute Forcing attack as described by [RFC 8628 section 5.1](https://datatracker.ietf.org/doc/html/rfc8628#section-5.1).
2026-09-15 11:21:36 +01:00
Hugh Nimmo-Smith e63950f8e0 Update schemas 2026-09-14 17:08:53 +01:00
Hugh Nimmo-Smith 2fd58b9f41 Improve usability of user code during device code flow
Use Crockford Base32 alphabet with O/0 and I/L/1 folding. Also help the browser to prompt for correct input.

The current alphabet gave 29.7 bits of entropy (it was random 0-9a-zA-Z which was then mapped to 0-9A-Z) whereas the new encoding is 30 bits.
2026-09-14 16:35:31 +01:00