Commit Graph

469 Commits

Author SHA1 Message Date
Quentin Gliech 4be94f54bb admin-api: filter user list by presence of active OAuth2 session 2026-06-01 17:30:14 +02:00
Quentin Gliech ee9a7ccaef admin-api: filter user list by presence of active compat session
Adds `filter[has-active-compat-session]=true|false` to
`GET /api/admin/v1/users`. When `true` (resp. `false`), only users with
(resp. without) at least one active (non-finished) compatibility session
are returned.
2026-06-01 17:30:14 +02:00
Quentin Gliech be96582e9e admin-api: filter user list by active OAuth2 session with given clients
Adds `filter[active-oauth2-client]` to `GET /api/admin/v1/users`. The
filter is a repeatable ULID query parameter; the semantics are OR across
the supplied clients (a user matches if they have an active OAuth2
session belonging to any of them).

Each supplied client ID is validated up front: a missing client returns
404 (mirroring the pattern in `oauth2-sessions/list`).
2026-06-01 17:30:14 +02:00
Quentin Gliech f78917ecbf Merge branch 'main' into quenting/pnpm 2026-05-25 11:12:18 +02:00
Quentin Gliech 07c352ee2e Admin API - User - Add displayname and avatar url when adding user (#5671) 2026-05-21 10:22:30 +02:00
Eric Eastwood e57e5e41ce Fix compatibility typo 2026-05-20 17:36:49 -05:00
Eric Eastwood e8f664e480 Merge branch 'main' into madlittlemods/max-session-threshold 2026-05-20 16:19:09 -05:00
Eric Eastwood e61653cd2d Automatic updates 2026-05-14 15:27:36 -05:00
Eric Eastwood 3afca38251 Merge branch 'main' into madlittlemods/soft-limit-account-session-management 2026-05-13 17:43:11 -05:00
Quentin Gliech aecb172209 Add oauth.device_code_grant_enabled configuration option (#5612) 2026-05-13 21:40:02 +02:00
Eric Eastwood c01ae07c8b Merge branch 'main' into madlittlemods/soft-limit-account-session-management 2026-05-12 15:54:09 -05:00
Eric Eastwood 9db7cf0aac Document how to manually test login flows (#5642) 2026-05-12 15:52:53 -05:00
Eric Eastwood 94a1394d65 Merge branch 'main' into madlittlemods/soft-limit-account-session-management
Conflicts:
	docs/config.schema.json
2026-05-12 12:17:25 -05:00
Eric Eastwood df949630a1 Merge branch 'main' into madlittlemods/soft-limit-account-session-management 2026-05-12 11:45:08 -05:00
Eric Eastwood 3e310a4fc1 Merge branch 'madlittlemods/doc-manual-testing-login-flows' of github.com:element-hq/matrix-authentication-service into madlittlemods/doc-manual-testing-login-flows 2026-05-12 11:10:22 -05:00
Eric Eastwood 184f946611 Link misc/device-code-grant.sh 2026-05-12 11:08:59 -05:00
Eric Eastwood d179584221 Link areweoidcyet.com 2026-05-12 11:05:23 -05:00
Eric Eastwood 2657db9e5d Merge branch 'main' into madlittlemods/doc-manual-testing-login-flows 2026-05-12 10:54:34 -05:00
Quentin Gliech d82fa2d691 docs: update build instructions to use pnpm
Replaces the `cd frontend && npm ci` setup steps with a pnpm-flavoured
one: enable corepack (one-time), `pnpm install` from the repo root, then
`cd frontend && pnpm run <script>` for frontend scripts. misc/update.sh
also moves to `pnpm --filter mas-frontend run …`
2026-05-12 12:51:21 +02:00
mcalinghee a39edc9bd3 add displayname and avatar url when adding user with admin api 2026-05-09 14:33:58 +02:00
Eric Eastwood 94fd625dd4 Merge branch 'main' into madlittlemods/session-soft-limit-for-interactive-contexts
Conflicts:
	translations/en.json
2026-05-07 13:37:35 -05:00
Quentin Gliech 9b6e0b19d1 Fix typo in manual: policy.path -> policy.wasm_module (#5654) 2026-05-07 14:59:38 +02:00
Eric Eastwood 5d971ea3fc URL encode parameters 2026-05-05 16:13:09 -05:00
Eric Eastwood 1a0cd80556 Merge branch 'madlittlemods/hard_limit_eviction' into madlittlemods/soft-limit-account-session-management
Conflicts:
	crates/config/src/sections/experimental.rs
2026-04-28 14:00:11 -05:00
Eric Eastwood 54e8f83ec3 Merge branch 'madlittlemods/hard_limit_eviction' into madlittlemods/session-soft-limit-for-interactive-contexts 2026-04-28 13:58:51 -05:00
Olivier 'reivilibre ba582081a2 Fix doc reference: policy.path -> policy.wasm_module 2026-04-27 17:31:40 +01:00
Eric Eastwood 8ab60954cf Rename option dangerous_hard_limit_eviction 2026-04-24 19:12:58 -05:00
Eric Eastwood 6b59e35583 Automatic formatting/linting and more at least typos 2026-04-21 18:09:19 -05:00
Eric Eastwood 8cd3b451be catastrophically typo
See https://github.com/element-hq/matrix-authentication-service/pull/5607#discussion_r3119473807
2026-04-21 15:23:54 -05:00
Eric Eastwood d1edf64dda Add header showing total number of devices 2026-04-17 17:49:20 -05:00
Eric Eastwood beac162d8b Run automatic updates and lints
From https://github.com/element-hq/matrix-authentication-service/blob/main/docs/development/contributing.md#7-test-test-test
2026-04-17 15:59:46 -05:00
Eric Eastwood 2623d35363 Revert manual login docs that were split out to #5642
Split out to https://github.com/element-hq/matrix-authentication-service/pull/5642
2026-04-17 15:57:05 -05:00
Eric Eastwood f63dd8fafb Document how to manually test login flows
Split out from https://github.com/element-hq/matrix-authentication-service/pull/5639
2026-04-16 16:31:19 -05:00
Eric Eastwood 2db97009c5 'manually' typo 2026-04-14 19:34:30 -05:00
Eric Eastwood 528b3bc500 Fix html -> md suffix 2026-04-14 19:28:24 -05:00
Eric Eastwood f4132fb3c9 Remove extra words 2026-04-14 19:27:36 -05:00
Eric Eastwood ef52f5bebb Better reading 2026-04-14 19:26:49 -05:00
Eric Eastwood ca27583f44 Better language and fix typos 2026-04-14 19:24:44 -05:00
Eric Eastwood 260ad7abd1 m.login.token is part of m.login.sso
No need to mention it
2026-04-14 19:23:57 -05:00
Eric Eastwood ecb05d2039 Fill in authorization code grant flow 2026-04-14 19:16:36 -05:00
Eric Eastwood bf45bf8ce0 Better docs on m.login.sso compat flow 2026-04-14 16:00:18 -05:00
Eric Eastwood 73085e0c95 Update docs as I understand interactive vs non-interactive better 2026-04-14 15:07:00 -05:00
Eric Eastwood b0c1a04585 Merge branch 'main' into madlittlemods/hard_limit_eviction 2026-04-10 16:23:11 -05:00
Eric Eastwood 594ab210a2 Add some docs for debugging policies 2026-04-09 16:19:17 -05:00
Eric Eastwood fe2ce41009 Run sh misc/update.sh 2026-04-07 15:49:02 -05:00
Hugh Nimmo-Smith 53e6d05f40 Add oauth.device_code_grant_enabled configuration option 2026-04-07 11:13:56 +01:00
Eric Eastwood 8964793f31 Draft: Evict old devices 2026-04-06 14:51:18 -05:00
Eric Eastwood 5532c0cda9 Better rustdoc links 2026-04-03 17:42:09 -05:00
Eric Eastwood e4c1be96fc Disabled by default 2026-04-03 16:03:49 -05:00
Eric Eastwood 0927f68d76 More refined figment error 2026-04-03 16:01:17 -05:00