Commit Graph
7314 Commits
Author SHA1 Message Date
Quentin Gliech 9e60371aeb mas-cli: log the requester on the request log line
Add `requester=...` to the `http.server.response` log line, reading the
`Requester` recorded on the request's `LogContext`.
2026-06-17 14:14:24 +02:00
Quentin Gliech be257bf683 mas-handlers: record the requester at the remaining auth sites
Record the requester for the admin API, GraphQL, the compat
login/logout/logout_all/refresh endpoints, and the OAuth2 token (the
authenticated client) and introspection (the introspecting client, or the
homeserver) endpoints. Introspection records the caller, never the subject
of the introspected token.

The request test helper now runs each request inside a `LogContext`, with
a helper to assert the recorded requester.
2026-06-17 14:14:23 +02:00
Quentin Gliech 715d516430 mas-axum-utils: record the requester at shared auth points
Add a `RecordAsRequester` trait mapping domain types (User, BrowserSession,
OAuth2 Session, CompatSession, Client) to a `Requester`, and record it from
the two shared auth-resolution points: `SessionInfo::load_active_session`
(browser sessions) and `AccessToken::fetch` (OAuth2 bearer tokens).
2026-06-17 14:14:23 +02:00
Quentin Gliech c6cd294777 mas-context: add a Requester to the LogContext
Add a `Requester` enum (a user, an OAuth2 client, or the homeserver) stored
in a set-once slot on the `LogContext`. This lets request handlers record
which entity authenticated a request so it can be logged later.
2026-06-17 14:14:23 +02:00
Quentin Gliech 2452cd88c0 Bump Rust to 1.96.0 and fix clippy lints (#5733) 2026-06-17 14:04:45 +02:00
matrixbot d178c9289d Automatic merge back to main (#5740) 2026-06-17 14:03:58 +02:00
Olivier 'reivilibre 119f5195a8 CI: Test against ESS (#5582) 2026-06-17 11:53:33 +01:00
Quentin GliechandOlivier 'reivilibre' a209eef119 Apply suggestion from @reivilibre
Co-authored-by: Olivier 'reivilibre' <oliverw@element.io>
2026-06-17 12:51:40 +02:00
github-actions[bot] c7fd1f9862 1.19.0 v1.19.0 2026-06-17 10:32:44 +00:00
matrixbot ed1f1b831e Translations updates for v1.19 (#5739) 2026-06-17 12:27:56 +02:00
github-actions[bot] a8bc6d326b Translations updates 2026-06-17 10:18:38 +00:00
Quentin Gliech e1f69b8aa6 Bump mozilla-actions/sccache-action from 0.0.9 to 0.0.10 (#5719) 2026-06-17 10:02:03 +02:00
Quentin Gliech e76200e7c3 Bump actions/setup-node from 6.3.0 to 6.4.0 (#5718) 2026-06-17 10:01:54 +02:00
Quentin Gliech ffcc793a26 Bump taiki-e/install-action from 2.77.0 to 2.79.2 (#5716) 2026-06-17 10:01:31 +02:00
Quentin Gliech 8a01d047c9 Bump hashicorp/vault-action from 3.4.0 to 4.0.0 (#5717) 2026-06-17 10:01:22 +02:00
Quentin Gliech 21795d70dc Fix clippy lints for Rust 1.96.0
Rust 1.96.0 enables several new clippy lints. Apply the machine-applicable
fixes (`duration_suboptimal_units`, `map_unwrap_or`, `manual_is_variant_and`,
`unnecessary_trailing_comma`, `while_let_loop`) and suppress the
`result_large_err` lint in the config test modules, where the closures passed to
`Jail::expect_with` are required to return the large `figment::Error`.
2026-06-16 15:38:22 +02:00
Quentin Gliech 22f3ab685d Bump Rust to 1.96.0
Update `RUSTC_VERSION` in the Dockerfile and the matching clippy toolchain pin
in the CI workflow (kept in sync) from 1.93.0 to the latest stable, 1.96.0.
2026-06-16 15:38:21 +02:00
matrixbot f9de499891 Automatic merge back to main (#5729) 2026-06-10 13:43:15 +02:00
github-actions[bot] 4791081c53 1.19.0-rc.0 v1.19.0-rc.0 2026-06-10 11:33:51 +00:00
matrixbot 926a2f9b0e Translations updates for main (#5728) 2026-06-10 13:30:10 +02:00
github-actions[bot] 4194946c2d Translations updates 2026-06-10 11:22:07 +00:00
Quentin Gliech 3d67d90ea2 Fix typo in the configuration documentation client_secret_jwk-> client_secret_jwt (#5663) 2026-06-10 12:29:46 +02:00
Quentin Gliech 795987a324 Refactor login form to include password input conditionally (#5603) 2026-06-10 12:24:02 +02:00
Quentin Gliech 812b6d1495 Merge branch 'main' into patch-1 2026-06-10 12:18:55 +02:00
Quentin Gliech 8382c0eee2 Merge branch 'main' into main 2026-06-10 11:18:41 +02:00
Quentin Gliech eda9de1cf6 Fix clippy lints on the main branch (#5727) 2026-06-10 11:18:21 +02:00
Quentin Gliech f246493c6d Fix clippy lints on the main branch 2026-06-10 11:08:10 +02:00
Quentin Gliech 0e9be7881f Merge branch 'main' into patch-1 2026-06-10 10:57:53 +02:00
Quentin Gliech ecc8c46b96 Fix template formatting & update translations 2026-06-10 10:50:56 +02:00
Quentin Gliech ba96908275 Merge remote-tracking branch 'origin/main' into gordnhoo/main 2026-06-10 10:34:16 +02:00
Quentin Gliech e31c937f02 Fix a typo in the Synapse configuration instructions in the documentation (#5726) 2026-06-10 10:22:44 +02:00
Quentin Gliech 81e71827a0 Set X-Frame-Options header to DENY for human facing screens (#5721) 2026-06-10 10:15:10 +02:00
Quentin Gliech db58127117 Merge branch 'main' into patch-1 2026-06-10 10:11:00 +02:00
Quentin Gliech 632d64d199 Per-provider registration token requirement (#5605) 2026-06-10 10:05:46 +02:00
TuxCoder f3cd388316 Update homeserver.md
fix synapse config name
ref: https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#matrix_authentication_service
2026-06-04 22:52:35 +02:00
matrixbot 1e76c50cd4 Automatic merge back to main (#5724) 2026-06-04 13:54:19 +02:00
github-actions[bot] 7b6c5aff9e 1.18.0 v1.18.0 2026-06-04 11:44:51 +00:00
matrixbot a2d61d9258 Translations updates for v1.18 (#5723) 2026-06-04 13:40:15 +02:00
github-actions[bot] 070f0bff41 Translations updates 2026-06-04 11:30:45 +00:00
Hugh Nimmo-Smith e432cc9f1a Set X-Frame-Options header to DENY for human pages 2026-06-03 14:24:18 +01:00
dependabot[bot] 579b0c8dd6 Bump mozilla-actions/sccache-action from 0.0.9 to 0.0.10
Bumps [mozilla-actions/sccache-action](https://github.com/mozilla-actions/sccache-action) from 0.0.9 to 0.0.10.
- [Release notes](https://github.com/mozilla-actions/sccache-action/releases)
- [Commits](https://github.com/mozilla-actions/sccache-action/compare/7d986dd989559c6ecdb630a3fd2557667be217ad...9e7fa8a12102821edf02ca5dbea1acd0f89a2696)

---
updated-dependencies:
- dependency-name: mozilla-actions/sccache-action
  dependency-version: 0.0.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-02 17:35:22 +00:00
dependabot[bot] de92e3eaac Bump actions/setup-node from 6.3.0 to 6.4.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v6.3.0...v6.4.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 6.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-02 17:35:16 +00:00
dependabot[bot] b59e865b7f Bump hashicorp/vault-action from 3.4.0 to 4.0.0
Bumps [hashicorp/vault-action](https://github.com/hashicorp/vault-action) from 3.4.0 to 4.0.0.
- [Release notes](https://github.com/hashicorp/vault-action/releases)
- [Changelog](https://github.com/hashicorp/vault-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/vault-action/compare/4c06c5ccf5c0761b6029f56cfb1dcf5565918a3b...892a26828f195e65540a40b4768ae4571f51ebfc)

---
updated-dependencies:
- dependency-name: hashicorp/vault-action
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-02 17:35:02 +00:00
dependabot[bot] c2ad2b3fbe Bump taiki-e/install-action from 2.77.0 to 2.79.2
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.77.0 to 2.79.2.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/install-action/compare/7ea35f098a7369cd23488403f58be9c491a6c55f...213ccc1a076163c093f914550b94feb90fab916d)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.79.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-02 17:34:56 +00:00
Quentin Gliech 8e452ce09a Fix a few plurals in the English translations (#5715) 2026-06-02 18:13:33 +02:00
Quentin Gliech 4f086c557d Fix a few plurals in the English translations
Those were introduced in https://github.com/element-hq/matrix-authentication-service/pull/5644
2026-06-02 17:44:54 +02:00
matrixbot 7d4998d180 Automatic merge back to main (#5706) 2026-05-29 16:43:38 +02:00
github-actions[bot] 49c0e6d713 1.18.0-rc.0 v1.18.0-rc.0 2026-05-29 14:34:07 +00:00
matrixbot be1f9bcba0 Translations updates for main (#5705) 2026-05-29 16:22:59 +02:00
github-actions[bot] 9bd7a9cc63 Translations updates 2026-05-29 14:07:44 +00:00