Quentin Gliech
78933acb3c
Collapse a few nested if now that we have if let chains
2025-08-18 10:29:30 +02:00
Quentin Gliech
c93b051da4
Merge branch 'main' into secret_file
2025-08-05 15:37:32 +02:00
Quentin Gliech
9d6c357f45
Make MAS use the modern Synapse API by default
2025-08-05 15:03:32 +02:00
Quentin Gliech
8df0c57c4c
Fix usage of homeserver_connection_from_config
2025-08-05 11:54:28 +02:00
Quentin Gliech
f610994a0f
Merge branch 'main' into secret_file
2025-08-05 11:17:39 +02:00
Kai A. Hiller
dd040220db
Add clients.[].client_secret_file config option
2025-08-04 19:32:39 +02:00
Quentin Gliech
c20ce916d8
Make mas-cli manage issue-compatibility-token create the device on the homeserver
2025-08-04 11:21:57 +02:00
Quentin Gliech
b8d23be313
Fix many clippy warnings
...
This is because the tracing-attributes update made clippy look at those
again. I've removed the `too_many_lines` lint, as it's not really useful
and we ignore it most of the time anyway.
2025-07-30 14:49:38 +02:00
Quentin Gliech
77f371c6f6
Replace usage of deprecated SentryHttpLayer::with_transaction
2025-07-30 14:27:07 +02:00
Quentin Gliech
9a191a2b21
Remove unused Sentry options
2025-07-30 14:27:07 +02:00
Kai A. Hiller
357420a56f
Add matrix.secret_file config option
2025-07-29 19:46:07 +02:00
Quentin Gliech
e964c08eb6
Make the compat_router also recover from errors in human-facing routes
2025-07-23 19:45:59 +02:00
Quentin Gliech
6ffe95cdc6
Merge branch 'main' into feat/allow_override_user
2025-07-21 17:03:35 +02:00
mcalinghee
f78e2c38f5
use of UpstreamOAuthProviderLocalpartPreference
2025-07-21 09:52:24 +02:00
mcalinghee
1886e73e40
allow importing existing users when the localpart matches in upstream OAuth 2.0 logins
2025-07-21 09:52:24 +02:00
Quentin Gliech
85287c5471
Use the new dedicated Synapse API
2025-07-18 16:39:24 +02:00
Quentin Gliech
81147cc43a
Merge branch 'main' into quenting/rust-1.87
2025-07-17 09:22:28 +02:00
Andrew Ferrazzutti
49540693ab
Decouple (un)locking from (re/de)activation
...
Unify the admin API, CLI, and GraphQL API in not having the unlock
command also reactivate, or the deactivate command also lock.
Still let the unlock command of the CLI and GraphQL API to also
reactivate the target user, albeit as a non-default option.
2025-07-16 14:17:01 -04:00
Andrew Ferrazzutti
415e3a2555
Separate active state from lock state in admin API
...
- Allow the admin API to deactivate a user without locking it, and to
unlock a user without reactivating it.
- Make unlock-and-reactivate flows unset the "deactivated_at" timestamp.
- Revert adding an "unlock" parameter on `ReactivateUserJob`, as the
option is used only by the admin API which doesn't use a job.
2025-07-16 14:17:01 -04:00
Andrew Ferrazzutti
44ffec5111
Add admin API endpoint to reactivate user
2025-07-16 14:17:01 -04:00
Quentin Gliech
62dcab9f75
Box all the figment errors to avoid large enum differences
2025-07-16 19:23:06 +02:00
Quentin Gliech
5fc6b369ce
Allow setting a custom clock on the QueueWorker & add one to the
...
TestState
2025-07-09 17:24:04 +02:00
Quentin Gliech
e8627166a9
Log out oauth & compat sessions when receiving a backchannel logout request
2025-07-04 16:27:10 +02:00
Quentin Gliech
db8c557f81
Backchannel logout behavior settings on upstream providers
2025-07-04 16:27:10 +02:00
Quentin Gliech
6421d9d1f5
Add license headers in most files that missed them
2025-06-12 11:01:07 +02:00
Quentin Gliech
52b0a9b2ba
Update license headers to match the actual license
2025-06-12 10:32:16 +02:00
Quentin Gliech
69e3001966
Define all the dependencies at the workspace level
2025-06-10 14:25:38 +02:00
Quentin Gliech
642c8ba508
Support for experimental plan management tab in UI ( #4549 )
2025-06-10 14:14:24 +02:00
Quentin Gliech
186b5cbdbe
Add secrets.encryption_file config option ( #4617 )
2025-06-05 15:14:55 +02:00
Quentin Gliech
3821c6550d
CLI tool to issue user registration tokens
2025-06-03 17:42:55 +02:00
Quentin Gliech
dcef4bcf3f
Add config flag to require registration tokens for password registrations
2025-06-03 17:42:53 +02:00
Kai A. Hiller
1d88c875e8
Add secrets.encryption_file config option
...
Signed-off-by: Kai A. Hiller <git@kaialexhiller.de >
2025-06-02 18:39:19 +02:00
Quentin Gliech
7ab69f4d92
Reduce the cache time for 404s on the assets
2025-06-02 13:32:57 +02:00
Quentin Gliech
f63b466145
Allow applying unicode normalisation to passwords before hashing
2025-05-30 15:42:32 +02:00
Hugh Nimmo-Smith
aad2d8afb3
Merge branch 'main' into hughns/plan-management
2025-05-09 10:33:39 +01:00
Quentin Gliech
bdd56faa02
Don't hold database connections open when talking to the homeserver ( #4527 )
2025-05-09 09:13:42 +02:00
Quentin Gliech
e78590748e
Adjust tokio metrics for tokio 1.45
2025-05-07 19:28:50 +02:00
Quentin Gliech
4f96190f78
Use the new RepositoryFactory everywhere
2025-05-07 17:27:59 +02:00
Quentin Gliech
481b2d4cf9
Move the pool acquisition metric logic to the PgRepositoryFactory
2025-05-07 17:09:20 +02:00
Quentin Gliech
90faa72633
Introduce a RepositoryFactory
2025-05-07 17:00:49 +02:00
Quentin Gliech
3ccf858e5a
Sample traces based on the parent ( #4514 )
2025-05-07 14:53:52 +02:00
Quentin Gliech
d6198c1bda
Suppress warning with Jaeger propagator when the header is unset ( #4513 )
2025-05-07 14:53:40 +02:00
Quentin Gliech
a6ac8d88fc
Sample traces based on the parent span if available
2025-05-07 10:53:33 +02:00
Quentin Gliech
72bb36e84a
Suppress warning with Jaeger propagator when the header is unset
2025-05-07 10:32:47 +02:00
Doug
7f91c8948b
Add a configuration for forwarding the login hint to the upstream provider.
2025-05-06 17:50:33 +01:00
Quentin Gliech
687b1b35c4
syn2mas: allow setting the db name via the database field
...
This is supported (but deprecated) by psycopg2, which Synapse uses
2025-05-05 09:58:46 +02:00
Quentin Gliech
7b9b44c644
Allow setting custom names on sessions ( #4459 )
2025-04-30 15:32:25 +02:00
Quentin Gliech
aba9ca38e6
Insert client_name when upserting statically registered clients ( #4417 )
2025-04-30 11:50:49 +02:00
Quentin Gliech
cb56a6e880
Remove duplicate OTEL meter for the Tokio runtime
2025-04-29 08:38:57 +02:00
Quentin Gliech
bcd83ef649
storage: allow setting the human_name when creating compat sessions
2025-04-25 12:55:10 +02:00