Quentin Gliech
2519f4f229
Don't include integrity attributes on fetch and image preloads
2026-01-05 15:09:41 +01:00
Quentin Gliech
cfa775c06b
Pre-load locale data in the React app
2025-12-17 15:53:37 +01:00
Quentin Gliech
579304e53a
Deduplicate included assets
2025-12-17 15:53:00 +01:00
Quentin Gliech
9cc9fc8bbe
Update comment on the id_color_hash template filter
2025-12-03 13:47:59 +01:00
Quentin Gliech
8a615fd8ba
Merge remote-tracking branch 'origin/main' into quenting/simpler-consent-screen
2025-12-02 19:42:57 +01:00
Quentin Gliech
f9008f3184
Add the Matrix user display name in the compat SSO login context
2025-12-02 18:09:47 +01:00
Quentin Gliech
29383dfd49
Add a template function to compute the avatar color hash same as
...
Compound Web
2025-12-02 17:51:51 +01:00
Quentin Gliech
ff6b25061e
Get the display name of the Matrix user on the consent screens
2025-12-02 17:51:23 +01:00
Olivier 'reivilibre
eeb0692b8e
Add experimental and preliminary policy-driven session limiting when logging in compatibility sessions. ( #5287 )
2025-12-02 15:50:04 +00:00
Olivier 'reivilibre
65b7cdc409
Expose Violations directly to the compat policy violation template
2025-12-01 11:47:59 +00:00
Quentin Gliech
e90f11b8f8
Remove unused login_link.html template
2025-11-27 16:18:18 +01:00
Olivier 'reivilibre
31c3fe2b39
Add a 'compat login policy violation' page
2025-11-25 18:41:14 +00:00
Olivier 'reivilibre
1c5fe5e322
Replace dummy manifest with fake include_asset function
2025-11-06 21:32:24 +00:00
Olivier 'reivilibre
7d92a2210c
Don't require proliferation of Rng: Clone in sample method
2025-11-06 15:42:31 +00:00
Olivier 'reivilibre
a33605b388
Stub out the vite manifest when stabilising template renders
2025-10-30 16:33:50 +00:00
Olivier 'reivilibre
b0e2a8f4cd
template test: check for determinism
2025-10-30 15:14:49 +00:00
Olivier 'reivilibre
56e2918030
cli: templates check: add option to --stabilise date and RNG
2025-10-30 15:14:49 +00:00
Olivier 'reivilibre
1744c89239
Make add_params_to_url template function deterministic
2025-10-30 15:14:08 +00:00
Olivier 'reivilibre
c69bae3311
Merge branch 'main' into rei/templatecheck_todisk
2025-10-30 13:52:33 +00:00
Olivier 'reivilibre
c60de0d7a8
Change the format of SampleIdentifiers and don't make a subdir per locale
2025-10-30 12:06:09 +00:00
Olivier 'reivilibre
00e051e67a
Downgrade to SemiStrict in production
2025-10-28 17:20:49 +00:00
Olivier 'reivilibre
1803f2b0ac
For branding: use none instead of undefined
2025-10-28 15:51:34 +00:00
Olivier 'reivilibre
97f4caf904
Introduce SampleIdentifiers to stably track samples
...
and use these in output filenames
2025-10-24 17:14:00 +01:00
Olivier 'reivilibre
cabc005ad4
template macro: generate function for all checks
2025-10-24 15:03:22 +01:00
Olivier 'reivilibre
3bc4cbcc02
template macro: return rendered samples
2025-10-24 14:47:02 +01:00
Olivier 'reivilibre
7356047f27
templates: Be strict about undefined variables
...
We shouldn't have any reason to use undefined variables in MAS, so
silently printing as empty strings (etc) seems undesirable.
This will also be helpful for operators with custom templates, since
then they will notice their templates being broken.
2025-10-24 14:27:35 +01:00
Quentin Gliech
28e573b400
Add a configuration option to make email optional for password registration
2025-10-07 17:28:01 +02:00
Quentin Gliech
8dd096ce60
Fix a few more clippy lints
2025-08-18 10:45:20 +02:00
Quentin Gliech
eded025ff4
Fix a few clippy lints, mostly in doc comments
2025-08-18 10:34:28 +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
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
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
14b77c150a
Registration token step view
2025-06-03 17:42:53 +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
e7d619f5cf
Check rendering of templates with all supported locales.
2025-05-05 14:38:24 +02:00
Quentin Gliech
35094f730f
Make sure to check all the templates
2025-05-05 13:51:11 +02:00
Quentin Gliech
347d7080b2
Make the check functions on templates crate private
...
This will report if we forget to use one of the check function.
2025-05-05 13:49:09 +02:00
Quentin Gliech
a10e517d4e
Generate a device name based on the client name and user agent
2025-04-25 16:55:29 +02:00
Quentin Gliech
c230deaec0
templates: introduce a parse_user_agent filter and use it in the device consent page
2025-04-25 12:55:30 +02:00
Quentin Gliech
f457bd8d35
Don't parse the user agent unless we need to
2025-04-24 13:13:26 +02:00
Quentin Gliech
3a8d4a1e8a
Replace most remaining #[instrument(err)] annotations
2025-04-18 09:59:29 +02:00
Quentin Gliech
a47dba1b1d
Always ask for consent, never for reauth ( #4386 )
2025-04-14 15:51:48 +02:00
Quentin Gliech
59e5068855
Remove the reauth view
2025-04-11 13:35:59 +02:00
mcalinghee
2fe4752aa4
add login by email + feature flag
2025-04-10 17:57:58 +02:00
Quentin Gliech
a86696e0a8
Fix Clippy lints introduced by Rust 1.86
2025-04-06 16:18:27 +02:00
Olivier 'reivilibre
b670d1dc19
Add dependency on arc-swap to syn2mas, moving it to a workspace dependency
2025-03-12 14:55:03 +00:00
Quentin Gliech
a2b5a208b1
Better error pages when a user is deactivated or locked
2025-03-11 17:35:13 +01:00