Quentin Gliech
ea873577aa
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
Kai A. Hiller
33096c7c87
Fix typo in secrets config output
2025-07-24 10:21:55 +02:00
Quentin Gliech
cfa9a23d86
Merge branch 'main' into feat/allow_override_user
2025-07-21 17:03:35 +02:00
Quentin Gliech
832244675d
Threaten to switch to using the modern API in a few releases.
2025-07-21 13:15:48 +02:00
olivier
776da31c52
fix err return
2025-07-21 10:13:04 +02:00
olivier
c7b57f7d4c
fix rust style
2025-07-21 09:52:24 +02:00
Olivier D and Quentin Gliech
cdc75ffbf3
use match
...
Co-authored-by: Quentin Gliech <quenting@element.io >
2025-07-21 09:52:24 +02:00
mcalinghee
3774850c94
use of UpstreamOAuthProviderLocalpartPreference
2025-07-21 09:52:24 +02:00
mcalinghee
98912f4ada
allow importing existing users when the localpart matches in upstream OAuth 2.0 logins
2025-07-21 09:52:24 +02:00
Quentin Gliech
c649603830
Use the new dedicated Synapse API
2025-07-18 16:39:24 +02:00
Quentin Gliech
63a47aa41b
Box all the figment errors to avoid large enum differences
2025-07-16 19:23:06 +02:00
Quentin Gliech
8d6621f00e
Log out oauth & compat sessions when receiving a backchannel logout request
2025-07-04 16:27:10 +02:00
Quentin Gliech
e28ffccc3a
Backchannel logout behavior settings on upstream providers
2025-07-04 16:27:10 +02:00
Quentin Gliech
3bc32dca72
Merge branch 'main' into ref-merge/60f16ef1ade7094e9954f70dd4f6737b63f8f0b7
2025-06-17 17:08:29 +02:00
Quentin Gliech
81a61e3c06
Fix loading of DER-encoded key files
2025-06-17 16:52:33 +02:00
Quentin Gliech
c3707c13ae
Add license headers in most files that missed them
2025-06-12 11:01:07 +02:00
Quentin Gliech
3d96dc9d47
Update license headers to match the actual license
2025-06-12 10:32:16 +02:00
Quentin Gliech
97e83e1467
Define all the dependencies at the workspace level
2025-06-10 14:25:38 +02:00
Quentin Gliech
8df03bf185
Support for experimental plan management tab in UI ( #4549 )
2025-06-10 14:14:24 +02:00
Hugh Nimmo-Smith
48639202a4
Lint
2025-06-06 10:40:13 +01:00
Hugh Nimmo-Smith
d6dd647f79
Make plan_management_iframe_uri be a String not URL
2025-06-06 10:31:45 +01:00
Quentin Gliech
50b41a6613
Add secrets.encryption_file config option ( #4617 )
2025-06-05 15:14:55 +02:00
Quentin Gliech
ae71b75ce1
config: Refactor parsing of secrets section ( #4602 )
2025-06-05 15:13:00 +02:00
Kai A. Hiller
3ac2e983bb
Skip encryption serialization if None
...
Signed-off-by: Kai A. Hiller <git@kaialexhiller.de >
2025-06-04 11:53:43 +02:00
Kai A. Hiller
f1937ff5c1
Treat content of encryption_file as hex-encoded
...
Signed-off-by: Kai A. Hiller <git@kaialexhiller.de >
2025-06-04 11:53:43 +02:00
Kai A. Hiller
d8081c29b1
Skip deserialization if field is None
2025-06-04 11:52:33 +02:00
Kai A. Hiller
c5b1db7042
Use default implementation of validate function
2025-06-04 10:27:16 +02:00
V02460 and Quentin Gliech
bc13812035
Use futures-util dependency
...
Co-authored-by: Quentin Gliech <quenting@element.io >
2025-06-04 10:25:14 +02:00
Quentin Gliech
685f4761cd
Add config flag to require registration tokens for password registrations
2025-06-03 17:42:53 +02:00
Kai A. Hiller
c8cbb7329e
Add secrets.encryption_file config option
...
Signed-off-by: Kai A. Hiller <git@kaialexhiller.de >
2025-06-02 18:39:19 +02:00
Kai A. Hiller
c67fb80b1e
Load keys concurrently
...
Signed-off-by: Kai A. Hiller <git@kaialexhiller.de >
2025-06-02 14:06:43 +02:00
Kai A. Hiller
ec693edb72
Refactor key options in secret config
...
Signed-off-by: Kai A. Hiller <git@kaialexhiller.de >
2025-06-02 14:06:43 +02:00
Kai A. Hiller
e92d16c35c
Refactor password options in secret config
...
Signed-off-by: Kai A. Hiller <git@kaialexhiller.de >
2025-06-02 14:06:43 +02:00
Kai A. Hiller
b0fcf0bf78
Add KeyConfig doc comment
...
Signed-off-by: Kai A. Hiller <git@kaialexhiller.de >
2025-06-02 14:06:43 +02:00
Kai A. Hiller
2def4f561c
Add futures crate
...
Signed-off-by: Kai A. Hiller <git@kaialexhiller.de >
2025-06-02 14:06:43 +02:00
Quentin Gliech
40cb052d1f
Allow applying unicode normalisation to passwords before hashing
2025-05-30 15:42:32 +02:00
Hugh Nimmo-Smith
25de9bcb15
Merge branch 'main' into hughns/plan-management
2025-05-09 10:33:39 +01:00
Quentin Gliech
143224b447
Don't automatically insert the openid scope on upstream providers ( #4517 )
2025-05-07 19:00:08 +02:00
dependabot[bot]
227a79670c
build(deps): bump rustls-pki-types from 1.11.0 to 1.12.0
...
Bumps [rustls-pki-types](https://github.com/rustls/pki-types ) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/rustls/pki-types/releases )
- [Commits](https://github.com/rustls/pki-types/compare/v/1.11.0...v/1.12.0 )
---
updated-dependencies:
- dependency-name: rustls-pki-types
dependency-version: 1.12.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-07 13:46:05 +00:00
Quentin Gliech
632904a7ae
Make the default scope on upstream providers config openid
2025-05-07 15:34:30 +02:00
Doug
0d1caae379
Update the login schema docs.
2025-05-07 10:21:40 +01:00
Doug
096ce6037d
Add a configuration for forwarding the login hint to the upstream provider.
2025-05-06 17:50:33 +01:00
Quentin Gliech
9cfecaf5db
Insert client_name when upserting statically registered clients ( #4417 )
2025-04-30 11:50:49 +02:00
Quentin Gliech
5fc74f7e3a
Merge remote-tracking branch 'origin/main' into quenting/better-logging
2025-04-23 17:28:40 +02:00
Hugh Nimmo-Smith
457ade5a60
WIP support for experimental plan management tab in UI
2025-04-22 13:17:29 +01:00
Quentin Gliech
aef5dca40d
Move the synapse_idp_id field to the top of the provider section
...
This means that when serializing those, it will be at a more obvious place.
2025-04-18 18:25:46 +02:00
Quentin Gliech
b58ad863c5
Make a few password-related options public in the config crate
...
It also adds docs to a few of those options
2025-04-18 18:24:35 +02:00
Quentin Gliech
d748f18be6
Replace most remaining #[instrument(err)] annotations
2025-04-18 09:59:29 +02:00
Adis Veletanlic
a047bdae94
Fix clippy error
2025-04-16 13:04:25 +02:00
Adis Veletanlic
406a4dce22
Skip serialization if not provided client_name
2025-04-16 12:58:55 +02:00