Quentin Gliech
95644b76fe
Use enums as types in the GraphQL codegen
2024-10-23 17:53:04 +02:00
Quentin Gliech
a320a16b13
Update test snapshots
2024-10-23 17:36:43 +02:00
Quentin Gliech
0d2f0a7ba3
Prevent double-fetch of translations
2024-10-23 17:36:43 +02:00
Quentin Gliech
201a35a972
Split the cross-signing reset pages & adapt the wording
2024-10-23 17:36:43 +02:00
Quentin Gliech
49005d44ce
Reset/restore scroll when navigating through the app ( #3410 )
2024-10-23 09:04:48 +00:00
Quentin Gliech
8bcf8e0cd4
Update usages of the <Badge> component
2024-10-22 16:30:55 +02:00
Quentin Gliech
54cd311035
Update snapshots and generated files
2024-10-22 14:55:33 +02:00
Quentin Gliech
33fbf9203f
Simplify GraphQL setup
...
This removes the unified GraphQL cache, as invalidation is annoying.
It also fixes inconsistent codegen behaviors.
2024-10-22 14:55:33 +02:00
Quentin Gliech
bf305c225c
Enable recommended rules and fix all linting issues
2024-10-22 14:55:33 +02:00
Quentin Gliech
0a776d64f3
Reorder imports by running biome check --fix
2024-10-22 14:55:33 +02:00
Quentin Gliech
5f0dc9545b
Run biome format --write
2024-10-22 14:55:33 +02:00
Quentin Gliech
63004340ca
Bump most frontend dependencies in the lock file
2024-10-07 19:07:47 +02:00
Quentin Gliech
02b4f8b229
Update vaul, @radix-ui/* and compound-web
2024-10-02 14:33:48 +02:00
Quentin Gliech
8b3729dad5
Clean up how pagination parameters are handled
2024-10-01 18:27:20 +02:00
Quentin Gliech
03838bd909
Remove contacts from the data model
2024-09-20 20:39:04 +02:00
Quentin Gliech
9a946c19e7
Remove (C)
2024-09-10 14:28:55 +02:00
Quentin Gliech
9da19e2af0
License headers change
2024-09-05 13:25:42 +02:00
Quentin Gliech
caf0e35b6f
Fix type error post Tanstack Router upgrade
2024-08-30 16:58:35 +02:00
Michael Telatynski
fdc1e929c7
Iterate cross signing reset flows ( #3102 )
...
* Handle UIA fallback authDone API for cross signing reset unlock
* Extract VisualList into a more reusable component
* Redesign cross signing reset unlock flow
* Fix block gap
* Hide reset x-signing flow on account view under a collapsible heading
* i18n
* Iterate
* Downgrade Radix react-collapsible
* Fix class names
* Update snapshots
2024-08-30 15:45:10 +02:00
Quentin Gliech
c92d05ffe5
frontend: remove double separator when password auth is disabled
2024-08-13 11:12:11 +02:00
Quentin Gliech
d413d9bb9e
frontend: add the TooltipProvider everywhere
2024-08-05 14:28:20 +02:00
Quentin Gliech
52dba3735b
frontend: Update snapshots
2024-08-04 23:17:20 +02:00
Quentin Gliech
5b122eed9f
frontend: use RouterContextProvider instead of RouterProvider in tests
2024-08-02 10:36:37 +02:00
Quentin Gliech
2a2f37725d
Host a Swagger UI both in the static documentation and by the server
2024-08-01 15:17:14 +02:00
Quentin Gliech
035d23bdba
frontend: move getNinetyDaysAgo to a shared utility
2024-08-01 14:13:22 +02:00
Quentin Gliech
e682428b5a
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
c1139ba7f1
frontend: lazy-load all routes
2024-08-01 14:13:22 +02:00
Quentin Gliech
46e21d1838
frontend: lazy-load the password complexity calculation logic
2024-08-01 14:13:22 +02:00
Olivier 'reivilibre
9f66cb783f
graphql: Expose CAPTCHA config and whether password registration is enabled
2024-07-26 13:02:58 +01:00
Olivier 'reivilibre
a2d393be05
frontend: password recovery
2024-07-26 10:20:32 +01:00
Olivier 'reivilibre
66a69719ec
frontend: pull out translations of SetPasswordStatus into function
2024-07-26 10:20:32 +01:00
Quentin Gliech
bb5bcf0f40
Rework assets loading to fix splitting CSS chunks
2024-07-25 12:59:29 +02:00
reivilibre
e759197307
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
3c118e2b7a
graphql: Add a SetPasswordByRecovery mutation to perform account recovery ( #2986 )
2024-07-24 16:19:14 +01:00
Quentin Gliech
99ffd69e50
frontend: add filter for inactive sessions
2024-07-19 13:40:27 +02:00
Quentin Gliech
35e81405e2
graphql: allow filtering of sessions by last activity
2024-07-19 13:40:27 +02:00
Quentin Gliech
6ab0d087ae
Code-split the password channge page
2024-07-17 17:56:04 +02:00
Quentin Gliech
defec9f412
Replace all icons by the ones exported by compound-design-tokens
2024-07-17 09:04:48 +02:00
Quentin Gliech
7f7e78af28
Upgrade Compound to 5.5.0 (and the design tokens)
2024-07-17 09:04:48 +02:00
Olivier 'reivilibre
325711a497
frontend: fetch min password complexity and enforce locally
2024-07-16 17:30:28 +01:00
Olivier 'reivilibre
fed23e99c1
frontend: add password complexity bar to change password form
2024-07-16 17:30:28 +01:00
Olivier 'reivilibre
f2965e2f0d
Add JSON dictionaries with words from zxcvbn-rs but for use with zxcvbn-ts
2024-07-16 17:30:28 +01:00
Quentin Gliech
9987a4e305
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
eb8688172d
GraphQL API to unlock a user
...
Fixes #2101
2024-07-16 13:20:28 +02:00
reivilibre
a4891fa9ef
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
09ddf8de7c
graphql: users query to list users with a few filters
2024-07-05 13:44:14 +02:00
Quentin Gliech
aae630aee3
Update generated code
2024-06-28 18:54:29 +02:00
Quentin Gliech
a3b8c7815b
Make the title on page headings balanced
2024-06-28 15:59:21 +02:00
Quentin Gliech
cad9b042ef
Move the ?action handling to the index route instead of the root route
2024-06-28 15:34:40 +02:00
Quentin Gliech
1884f61cd7
Update the generated routeTree
2024-06-28 15:34:40 +02:00