Commit Graph

6062 Commits

Author SHA1 Message Date
Olivier 'reivilibre d516b3dee3 Add scope filter to personal sessions list 2025-10-21 11:03:04 +01:00
Olivier 'reivilibre cc57e33226 axum_extra: enable query feature flag 2025-10-21 11:03:04 +01:00
Olivier 'reivilibre 6102a4b672 Use Option<Ulid> in schemars 2025-10-21 10:16:36 +01:00
Olivier 'reivilibre ba9fc3513c Make expires_in u32 and (on regenerate) not default to the same as last time 2025-10-21 10:13:32 +01:00
Olivier 'reivilibre 52c04c173f Add expires filter to personal sessions list 2025-10-21 10:10:14 +01:00
Olivier 'reivilibre 78b010d3f6 find_active_by_session: take &PersonalSession 2025-10-21 09:43:46 +01:00
reivilibre 0d27c34f10 Support introspection of personal access tokens (#5171)
You can now present a personal access token (mpt_ prefix) at introspection and have it accepted.

This means personal access tokens can be presented to Synapse and used on the client-server API.
2025-10-20 18:25:38 +01:00
Olivier 'reivilibre 66f8814058 note: device_id only used for compat access & refresh tokens 2025-10-20 17:23:31 +01:00
Olivier 'reivilibre 9d80ecc513 Add personal access token introspection test 2025-10-20 17:23:31 +01:00
Olivier 'reivilibre 893e4265c3 Implement activity tracking for personal sessions 2025-10-20 17:23:31 +01:00
Olivier 'reivilibre 11a852e109 introspection: Support personal access tokens 2025-10-20 17:23:31 +01:00
Olivier 'reivilibre 4863026eff drive-by update.sh chmod +x 2025-10-20 16:42:01 +01:00
Olivier 'reivilibre 30abb7c90d drive-by formatting fixes 2025-10-20 16:42:01 +01:00
Olivier 'reivilibre 1fc8145e01 drive-by clippy fixes 2025-10-20 16:42:01 +01:00
Olivier 'reivilibre 4e70f83f41 Add Admin API to regenerate a personal session (getting a new PAT) 2025-10-20 16:42:01 +01:00
Quentin Gliech 5b02453199 build(deps): bump swagger-ui-dist from 5.29.3 to 5.29.5 in /frontend (#5160) 2025-10-20 17:27:58 +02:00
Quentin Gliech ae83ccfaf7 build(deps-dev): bump msw from 2.11.3 to 2.11.6 in /frontend (#5164) 2025-10-20 17:11:09 +02:00
Quentin Gliech 7df0c8b252 build(deps): bump ruma-common from 0.15.4 to 0.16.0 (#5169) 2025-10-20 17:08:54 +02:00
Quentin Gliech 46334d1948 build(deps): bump @tanstack/react-query from 5.90.2 to 5.90.5 in /frontend in the tanstack-query group (#5165) 2025-10-20 17:06:57 +02:00
Quentin Gliech 606fde2262 build(deps): bump the sentry group with 3 updates (#5166) 2025-10-20 17:06:35 +02:00
Quentin Gliech 7af6bd2c61 build(deps-dev): bump vite from 7.1.9 to 7.1.11 in /frontend in the vite group (#5167) 2025-10-20 17:05:33 +02:00
Quentin Gliech 4365607eb7 Update msw to 2.11.6 2025-10-20 17:04:00 +02:00
dependabot[bot] cdb21e09c3 build(deps): bump ruma-common from 0.15.4 to 0.16.0
Bumps [ruma-common](https://github.com/ruma/ruma) from 0.15.4 to 0.16.0.
- [Release notes](https://github.com/ruma/ruma/releases)
- [Commits](https://github.com/ruma/ruma/compare/ruma-common-0.15.4...ruma-common-0.16.0)

---
updated-dependencies:
- dependency-name: ruma-common
  dependency-version: 0.16.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 15:02:06 +00:00
dependabot[bot] 13a16e9931 build(deps-dev): bump vite in /frontend in the vite group
Bumps the vite group in /frontend with 1 update: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `vite` from 7.1.9 to 7.1.11
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.1.11/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 7.1.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vite
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 14:03:32 +00:00
dependabot[bot] 81a07cc398 build(deps): bump the sentry group with 3 updates
Bumps the sentry group with 3 updates: [sentry](https://github.com/getsentry/sentry-rust), [sentry-tower](https://github.com/getsentry/sentry-rust) and [sentry-tracing](https://github.com/getsentry/sentry-rust).


Updates `sentry` from 0.42.0 to 0.45.0
- [Release notes](https://github.com/getsentry/sentry-rust/releases)
- [Changelog](https://github.com/getsentry/sentry-rust/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-rust/compare/0.42.0...0.45.0)

Updates `sentry-tower` from 0.42.0 to 0.45.0
- [Release notes](https://github.com/getsentry/sentry-rust/releases)
- [Changelog](https://github.com/getsentry/sentry-rust/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-rust/compare/0.42.0...0.45.0)

Updates `sentry-tracing` from 0.42.0 to 0.45.0
- [Release notes](https://github.com/getsentry/sentry-rust/releases)
- [Changelog](https://github.com/getsentry/sentry-rust/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-rust/compare/0.42.0...0.45.0)

---
updated-dependencies:
- dependency-name: sentry
  dependency-version: 0.45.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry
- dependency-name: sentry-tower
  dependency-version: 0.45.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry
- dependency-name: sentry-tracing
  dependency-version: 0.45.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: sentry
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 14:01:18 +00:00
dependabot[bot] 1989cac45a build(deps): bump swagger-ui-dist from 5.29.3 to 5.29.5 in /frontend
Bumps [swagger-ui-dist](https://github.com/swagger-api/swagger-ui) from 5.29.3 to 5.29.5.
- [Release notes](https://github.com/swagger-api/swagger-ui/releases)
- [Changelog](https://github.com/swagger-api/swagger-ui/blob/master/.releaserc)
- [Commits](https://github.com/swagger-api/swagger-ui/compare/v5.29.3...v5.29.5)

---
updated-dependencies:
- dependency-name: swagger-ui-dist
  dependency-version: 5.29.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 13:57:01 +00:00
dependabot[bot] 2c87ed2553 build(deps): bump @tanstack/react-query
Bumps the tanstack-query group in /frontend with 1 update: [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query).


Updates `@tanstack/react-query` from 5.90.2 to 5.90.5
- [Release notes](https://github.com/TanStack/query/releases)
- [Changelog](https://github.com/TanStack/query/blob/main/packages/react-query/CHANGELOG.md)
- [Commits](https://github.com/TanStack/query/commits/@tanstack/react-query@5.90.5/packages/react-query)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query"
  dependency-version: 5.90.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: tanstack-query
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 13:56:26 +00:00
Quentin Gliech 625db546ff build(deps): bump the i18next group across 1 directory with 2 updates (#5143) 2025-10-20 15:55:46 +02:00
dependabot[bot] e45bea78f4 build(deps-dev): bump msw from 2.11.3 to 2.11.6 in /frontend
Bumps [msw](https://github.com/mswjs/msw) from 2.11.3 to 2.11.6.
- [Release notes](https://github.com/mswjs/msw/releases)
- [Changelog](https://github.com/mswjs/msw/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mswjs/msw/compare/v2.11.3...v2.11.6)

---
updated-dependencies:
- dependency-name: msw
  dependency-version: 2.11.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 13:54:13 +00:00
Quentin Gliech 87c656f58f build(deps): bump sigstore/cosign-installer from 3.10.0 to 4.0.0 (#5158) 2025-10-20 15:52:55 +02:00
Quentin Gliech bb49d27004 build(deps-dev): bump happy-dom from 19.0.2 to 20.0.4 in /frontend (#5159) 2025-10-20 15:52:43 +02:00
Quentin Gliech 61b6471b33 build(deps): bump regex from 1.11.3 to 1.12.2 (#5146) 2025-10-20 15:52:25 +02:00
Quentin Gliech 485e9a5c15 build(deps): bump tokio from 1.47.1 to 1.48.0 (#5145) 2025-10-20 15:52:08 +02:00
Olivier 'reivilibre 1030ec9ea9 Add personal sessions admin API 2025-10-20 14:51:40 +01:00
Quentin Gliech f542930c1d build(deps-dev): bump the types group across 1 directory with 2 updates (#5144) 2025-10-20 15:51:18 +02:00
Quentin Gliech 28f23e7fe7 build(deps): bump actions/setup-node from 5.0.0 to 6.0.0 (#5142) 2025-10-20 15:50:54 +02:00
Quentin Gliech 36b791db6c build(deps): bump socket2 from 0.6.0 to 0.6.1 (#5140) 2025-10-20 15:50:07 +02:00
dependabot[bot] 710cf1271c build(deps): bump the i18next group across 1 directory with 2 updates
Bumps the i18next group with 2 updates in the /frontend directory: [i18next](https://github.com/i18next/i18next) and [react-i18next](https://github.com/i18next/react-i18next).


Updates `i18next` from 25.5.3 to 25.6.0
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v25.5.3...v25.6.0)

Updates `react-i18next` from 16.0.0 to 16.0.1
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v16.0.0...v16.0.1)

---
updated-dependencies:
- dependency-name: i18next
  dependency-version: 25.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: i18next
- dependency-name: react-i18next
  dependency-version: 16.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: i18next
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 13:49:22 +00:00
Quentin Gliech 3e9e3a3f79 build(deps): bump softprops/action-gh-release from 2.4.0 to 2.4.1 (#5137) 2025-10-20 15:49:17 +02:00
Olivier 'reivilibre 2e5b386e2f Add personal session data models to admin API 2025-10-20 14:33:30 +01:00
Olivier 'reivilibre 01c89cd122 Delete owned PATs & personal sessions when pruning OAuth2 clients 2025-10-20 14:33:30 +01:00
Olivier 'reivilibre 353d23474c When revoking a personal session, also revoke its PAT 2025-10-20 14:33:30 +01:00
Olivier 'reivilibre 98c765cf6b storage: include PATs alongside personal sessions 2025-10-20 14:33:30 +01:00
Olivier 'reivilibre 34b3462a47 storage: introduce find_active_for_session for PATs 2025-10-20 13:06:41 +01:00
teutat3s 163357a85e docs: add missing --reactivate option 2025-10-17 19:39:34 +02:00
dependabot[bot] 7997a8a2ff build(deps-dev): bump happy-dom from 19.0.2 to 20.0.4 in /frontend
Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 19.0.2 to 20.0.4.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](https://github.com/capricorn86/happy-dom/compare/v19.0.2...v20.0.4)

---
updated-dependencies:
- dependency-name: happy-dom
  dependency-version: 20.0.4
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-17 13:15:51 +00:00
dependabot[bot] d7b320ac7c build(deps-dev): bump the types group across 1 directory with 2 updates
Bumps the types group with 2 updates in the /frontend directory: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom).


Updates `@types/node` from 24.7.0 to 24.7.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@types/react-dom` from 19.2.1 to 19.2.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.7.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: types
- dependency-name: "@types/react-dom"
  dependency-version: 19.2.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: types
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-17 13:14:46 +00:00
dependabot[bot] ee400e7ac4 build(deps): bump sigstore/cosign-installer from 3.10.0 to 4.0.0
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.10.0 to 4.0.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.10.0...v4.0.0)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-17 13:14:20 +00:00
matrixbot 1bd1b00524 Automatic merge back to main (#5156) 2025-10-16 16:31:52 +02:00
github-actions[bot] 24272057d5 1.4.1 v1.4.1 2025-10-16 14:24:37 +00:00