Commit Graph

328 Commits

Author SHA1 Message Date
Quentin Gliech
7f1b3866ba Disclose that email is already in use after verification 2025-01-23 18:18:19 +01:00
Quentin Gliech
ea6b80c5ac Rate-limit email authentications 2025-01-23 12:09:26 +01:00
Quentin Gliech
0855c3483b Use the new GraphQL APIs in the frontend to add emails 2025-01-14 15:47:54 +01:00
Quentin Gliech
9db14f6743 Rip out the email verification codes
This considers all user_emails as confirmed, and removes the verification code.
It will be replaced by a new email authentication code flow
2025-01-14 15:46:45 +01:00
Quentin Gliech
14fd660208 frontend: simplify email list 2025-01-13 16:59:38 +01:00
Quentin Gliech
6071b80f30 Adjust layout spacings 2025-01-13 16:58:42 +01:00
Quentin Gliech
9031b659ba Better collapsible sections, and use them on the account page 2025-01-13 16:58:42 +01:00
Quentin Gliech
c86f8800bd Polish the password recovery page
This includes:

 - show an error message if the recovery link is expired, with a button
   to resend the email
 - show an error message if the recovery link has already been used
 - include an invisible username field in the form, so that password
   managers can save the new password
2025-01-13 16:58:42 +01:00
Quentin Gliech
f8f815cd94 Fix the cross signing reset cancel and error screens 2025-01-13 16:58:42 +01:00
Quentin Gliech
a541e34910 Render an earlier loading screen fallback 2025-01-13 16:58:42 +01:00
Quentin Gliech
841c812ffd Tweak the login page to match the design 2025-01-07 11:49:01 +01:00
Quentin Gliech
ef9e76b69e Fix typings 2025-01-07 10:25:21 +01:00
Quentin Gliech
b5bd4b4866 Update tests snapshots 2025-01-06 17:12:28 +01:00
Quentin Gliech
6bd0fc6457 Remove unused dependencies and symbols using knip 2025-01-06 12:39:02 +01:00
Quentin Gliech
17430c21c5 Additional fields in the GraphQL API for upstream providers 2025-01-06 11:59:43 +01:00
Quentin Gliech
000657fa32 Fix unit tests using the dummy router 2025-01-06 09:39:00 +01:00
Quentin Gliech
f563daf822 Make the issue optional on upstream OAuth 2.0 providers 2024-12-17 13:40:34 +01:00
Quentin Gliech
2903ff5e7a Allow setting an explicit upstream account name (#3600) 2024-11-29 12:30:18 +01:00
Quentin Gliech
9d2e34d8b3 Tweak some error messages & remove outdated comments 2024-11-15 09:51:16 +01:00
Quentin Gliech
77bc13fe70 Full-page stories 2024-11-15 09:51:16 +01:00
Quentin Gliech
b828277f88 Full page render tests 2024-11-15 09:51:16 +01:00
Quentin Gliech
8daa886ec5 Better graphql response typing 2024-11-15 09:51:16 +01:00
Quentin Gliech
ff6d573c93 Just use plain fetch 2024-11-15 09:51:16 +01:00
Quentin Gliech
e32bb1718f Switch codegen document mode to string 2024-11-15 09:51:16 +01:00
Quentin Gliech
0652a245af Setup MSW 2024-11-15 09:51:16 +01:00
Quentin Gliech
21b6829d85 Finish removing urql and use new test render wrapper 2024-11-15 09:51:16 +01:00
Quentin Gliech
32adf83949 Switch to Tanstack Query 2024-11-15 09:51:16 +01:00
Quentin Gliech
73ecfd5402 Run misc/update.sh 2024-10-29 13:03:33 +01:00
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