Quentin Gliech
078939d64d
frontend: add the TooltipProvider everywhere
2024-08-05 14:28:20 +02:00
Quentin Gliech
4197929dec
frontend: Update snapshots
2024-08-04 23:17:20 +02:00
Quentin Gliech
d07150db11
frontend: use RouterContextProvider instead of RouterProvider in tests
2024-08-02 10:36:37 +02:00
Quentin Gliech
3f947025e2
Host a Swagger UI both in the static documentation and by the server
2024-08-01 15:17:14 +02:00
Quentin Gliech
cb8bfa466b
frontend: move getNinetyDaysAgo to a shared utility
2024-08-01 14:13:22 +02:00
Quentin Gliech
c3b2d163a9
frontend: don't wait before rendering
...
The default behaviour of Tanstack Router is to wait at least 500ms
before showing the rendered route, so that the loading spinner doesn't
flicker. We don't want that, as we don't seem to have a working loading
spinner anyway, and this just unnecessarily adds FCP latency.
2024-08-01 14:13:22 +02:00
Quentin Gliech
c7cfd76cbd
frontend: lazy-load all routes
2024-08-01 14:13:22 +02:00
Quentin Gliech
0161771ef4
frontend: lazy-load the password complexity calculation logic
2024-08-01 14:13:22 +02:00
Olivier 'reivilibre
8737d6f89b
graphql: Expose CAPTCHA config and whether password registration is enabled
2024-07-26 13:02:58 +01:00
Olivier 'reivilibre
a6d46d90ca
frontend: password recovery
2024-07-26 10:20:32 +01:00
Olivier 'reivilibre
6613f4547a
frontend: pull out translations of SetPasswordStatus into function
2024-07-26 10:20:32 +01:00
Quentin Gliech
e937ea8fa8
Rework assets loading to fix splitting CSS chunks
2024-07-25 12:59:29 +02:00
reivilibre
98aa3a8dbc
frontend: refactor password change form to extract double-input password creation inputs as new component ( #2994 )
2024-07-24 16:22:40 +01:00
reivilibre
8147016735
graphql: Add a SetPasswordByRecovery mutation to perform account recovery ( #2986 )
2024-07-24 16:19:14 +01:00
Quentin Gliech
3b83b11607
frontend: add filter for inactive sessions
2024-07-19 13:40:27 +02:00
Quentin Gliech
6f2ab4f738
graphql: allow filtering of sessions by last activity
2024-07-19 13:40:27 +02:00
Quentin Gliech
2649d66825
Code-split the password channge page
2024-07-17 17:56:04 +02:00
Quentin Gliech
bd359848bf
Replace all icons by the ones exported by compound-design-tokens
2024-07-17 09:04:48 +02:00
Quentin Gliech
9df3612e88
Upgrade Compound to 5.5.0 (and the design tokens)
2024-07-17 09:04:48 +02:00
Olivier 'reivilibre
bf8bd85170
frontend: fetch min password complexity and enforce locally
2024-07-16 17:30:28 +01:00
Olivier 'reivilibre
df2271630a
frontend: add password complexity bar to change password form
2024-07-16 17:30:28 +01:00
Olivier 'reivilibre
6db71fd48e
Add JSON dictionaries with words from zxcvbn-rs but for use with zxcvbn-ts
2024-07-16 17:30:28 +01:00
Quentin Gliech
fa32387ca5
Show whether the user is deactivated on the homeserver in the GraphQL API
...
Fix #2375
2024-07-16 13:20:28 +02:00
Quentin Gliech
bac2db9884
GraphQL API to unlock a user
...
Fixes #2101
2024-07-16 13:20:28 +02:00
reivilibre
fbc360d1a9
Backend work to support minimum password complexity ( #2965 )
...
* config: Add minimum password complexity option
* PasswordManager: add function for checking if complexity is sufficient
* Enforce password complexity on registration, change and recovery
* cli: Use exit code 1 for weak passwords
This seems preferable to exit code 0, but ideally we should choose one
and document it.
* Expose minimum password complexity score over GraphQL
2024-07-11 10:17:39 +01:00
Quentin Gliech
f849b487cf
graphql: users query to list users with a few filters
2024-07-05 13:44:14 +02:00
Quentin Gliech
133a97a46e
Update generated code
2024-06-28 18:54:29 +02:00
Quentin Gliech
0ad7db20c0
Make the title on page headings balanced
2024-06-28 15:59:21 +02:00
Quentin Gliech
38becbee92
Move the ?action handling to the index route instead of the root route
2024-06-28 15:34:40 +02:00
Quentin Gliech
6fc8988554
Update the generated routeTree
2024-06-28 15:34:40 +02:00
Quentin Gliech
58a780115c
Use a SuccessMessage in the password change form
2024-06-28 14:48:34 +02:00
Quentin Gliech
6de48a7c14
Use compound's <EditInPlace />
2024-06-28 14:48:34 +02:00
Quentin Gliech
cf15a126c5
Bump compound-web to 5.1.0
2024-06-28 14:48:34 +02:00
reivilibre
aaa7cf3fe9
Add Self-service Password Change ( #2863 )
...
Co-authored-by: Quentin Gliech <quenting@element.io >
2024-06-25 13:25:33 +00:00
reivilibre
121966ccce
GraphQL API: Add password_change_allowed to SiteConfig ( #2857 )
2024-06-20 15:16:50 +01:00
reivilibre
d76b54b13f
Add a setPassword GraphQL mutation for setting a user's password ( #2820 )
...
* Feed `PasswordManager` through to the GraphQL `State`
* Add `setPassword` GraphQL mutation to update a user's password
2024-06-05 18:04:17 +01:00
Quentin Gliech
cef069564a
Add a <noscript> fallback message
2024-05-15 09:38:10 +02:00
Quentin Gliech
c422c29a60
Always show the primary email first
...
This loads the primary email with the page, reducing the number of
requests before displaying it, and reducing the layout shifts
2024-05-14 17:32:06 +02:00
Quentin Gliech
6db50f098d
Allow more characters in device IDs
2024-05-03 16:56:56 +02:00
Quentin Gliech
21d04a6781
frontend: fix navigation links by using absolute URLs
...
Looks like relative links are somewhat broken
2024-05-03 10:36:34 +02:00
Quentin Gliech
9eb49308bb
Update snapshots
2024-05-02 10:36:13 +02:00
Quentin Gliech
94cd608f1c
Remove the TooltipProvider, which is not needed anymore
2024-04-30 18:27:43 +02:00
Quentin Gliech
4501bfb504
Fix typings post-router upgrade
2024-04-30 16:20:29 +02:00
Quentin Gliech
10d7ca95ae
Update copyright headers
2024-04-30 13:33:47 +02:00
Quentin Gliech
ee68521792
Hide the displayname edit button if disabled in the config
2024-04-30 13:33:47 +02:00
Quentin Gliech
2976bee2ab
Only show email form if the user is allowed to modify emails
2024-04-30 13:33:47 +02:00
Quentin Gliech
08a3b90942
Load the branding from the API instead of hardcoding in the config
2024-04-30 13:33:47 +02:00
Quentin Gliech
49cf6dc5cc
Expose the site config in the GraphQL API
2024-04-30 13:33:47 +02:00
Quentin Gliech
d178a63281
Apply prettier to all files in the frontend
2024-04-03 12:04:18 +02:00
Quentin Gliech
564bade714
Do not format generated files, as it breaks HMR
2024-04-03 12:04:18 +02:00