Commit Graph

190 Commits

Author SHA1 Message Date
Quentin Gliech
f752e3349a Fix the device code grant metadata wrapping 2024-02-02 23:43:17 +01:00
Michael Telatynski
1b9edebde1 Fix hardcoded English strings 2024-02-02 18:26:03 +01:00
Michael Telatynski
ab58ca5533 Fix react-i18n types 2024-02-02 18:26:03 +01:00
Quentin Gliech
191e7dff3e Show the device better in the device consent page 2024-02-02 18:01:51 +01:00
Quentin Gliech
f866310d7e Implement the device consent logic 2024-02-02 18:01:51 +01:00
Quentin Gliech
eb0b3938ff Simple UI to reset cross-signing keys 2023-12-05 17:47:36 +01:00
Quentin Gliech
c11c7a0772 Add a GraphQL mutation to allow cross-signing reset 2023-12-05 17:47:36 +01:00
Quentin Gliech
afd10b62a3 Implement account management discovery as per MSC2965 2023-12-05 17:40:36 +01:00
Quentin Gliech
5f895d5ec3 Update snapshots post compound-web upgrade 2023-11-14 15:29:33 +01:00
Quentin Gliech
796abd1331 Try to fix a flakey frontend test 2023-11-14 14:37:57 +01:00
Quentin Gliech
22417463e3 Frontend cleanups
Including:

  - use a readonly field for the email list
  - use the MFA control
  - compound upgrade
  - stopped using deprecated compound exports/components
2023-10-30 15:55:15 +01:00
Quentin Gliech
8d00b34074 Polish all forms and add nice page headings to most screens 2023-10-30 15:55:15 +01:00
Quentin Gliech
b96d95792d Add instance privacy policy, TOS and imprint, and loads of design cleanups 2023-10-30 15:55:15 +01:00
Quentin Gliech
2f989c5fcc frontend: use in-memory history in test environments
This removes the flakiness of location-based tests
2023-10-23 14:52:27 +02:00
Quentin Gliech
16077576a7 frontend: update snapshot after compound upgrade 2023-10-19 17:47:41 +02:00
Quentin Gliech
7f0acb350f frontend: integrate storybook with i18next & cleanup (#1970) 2023-10-19 15:37:29 +00:00
Michael Telatynski
af1a960c2f Wire up i18n for the React frontend (#1962)
Co-authored-by: Quentin Gliech <quenting@element.io>
2023-10-19 12:41:38 +00:00
Quentin Gliech
92d2a18afb "Can request admin" flag on user 2023-10-09 18:52:30 +02:00
Quentin Gliech
90aaf395d8 graphql: allow filtering appsessions on device_id 2023-10-06 16:05:26 +02:00
Quentin Gliech
fd4481713b Allow running the authentication service on a different base path 2023-10-06 14:07:55 +02:00
Kerry
1bc159e3a0 DM: Device type icon (#1783) 2023-10-06 11:24:04 +02:00
Quentin Gliech
173204dab7 frontend: update compound & other dependencies 2023-10-06 10:04:09 +02:00
Kerry
4329c00087 Generic session list header component (#1832)
* add session list header component

* remove unused

* copyright year
2023-09-26 20:18:55 +00:00
Quentin Gliech
03ef447120 Update the svgr imports 2023-09-26 14:51:23 +02:00
Kerry
17ee646463 fix: OAuth2Session detail finished at wrong metadata (#1833) 2023-09-21 23:06:45 +00:00
Quentin Gliech
fae6e34342 Cleanup the session details fragments & load last active IP
This also cleans up the GraphQL scalar types, by making sure we always parse dates correctly
2023-09-21 12:47:45 +02:00
Kerry Archibald
a8c7c2e072 Display IP address on sessions 2023-09-21 12:47:45 +02:00
Quentin Gliech
46bdd9d4f0 Type-level check that we handle all session types & route types 2023-09-21 09:48:03 +02:00
Kerry Archibald
e2d98877c4 remove compat session and oauth2 session list components and routes 2023-09-21 09:48:03 +02:00
Kerry Archibald
d7866ecf6e remove debug 2023-09-21 09:48:03 +02:00
Kerry Archibald
3c9ba75b73 copyright years 2023-09-21 09:48:03 +02:00
Kerry Archibald
2fa719445e add app sessions list 2023-09-21 09:48:03 +02:00
Kerry Archibald
833f6515aa split browser sessions section into own component 2023-09-21 09:48:03 +02:00
Kerry Archibald
5c983c59db fix snaps after npm i 2023-09-21 09:48:03 +02:00
Kerry Archibald
daaac782a5 update snapshots for compound 2023-09-21 09:48:03 +02:00
Kerry Archibald
10651ae8e5 fetch from app sessions api 2023-09-21 09:48:03 +02:00
Kerry Archibald
e4ede0b563 pass back buttn route to session header, go back to browser list from browser sessions 2023-09-21 09:13:52 +02:00
Quentin Gliech
bec2cda552 Expose a unified session list in the GraphQL API 2023-09-20 20:27:08 +02:00
Quentin Gliech
0e024add0e Update extracted Compound CSS & test snapshots 2023-09-20 18:06:06 +02:00
Quentin Gliech
02dcb7b2d2 Display the client logo with a referrerpolicy set to "no-referrer"
Fixes #1768
2023-09-20 18:01:58 +02:00
Quentin Gliech
8e73092ad0 Make the last activity timestamp and IP available through the API 2023-09-19 21:57:54 +02:00
Quentin Gliech
1127e7ec8b frontend: Post-merge fix 2023-09-19 20:00:51 +02:00
Kerry
68df11c780 Documentation: Add storybook stories for Session components (#1806) 2023-09-19 19:53:48 +02:00
Kerry
6885c82183 DM: Last active timestamp UI (#1793) 2023-09-19 11:48:10 +02:00
Quentin Gliech
4511108b51 frontend: upgrade compound & simplify the confirmation modal implementation 2023-09-19 10:50:55 +02:00
Quentin Gliech
535a7af774 frontend: Hide the navigation in the email verification page 2023-09-19 10:50:30 +02:00
Kerry Archibald
2227459f52 bust cache after verifying email 2023-09-18 19:50:36 +02:00
Kerry Archibald
8738714e2a clear dismissal when unverified emails count changes 2023-09-18 19:50:36 +02:00
Kerry Archibald
d2b5fe6e4c fix tiny dismiss button 2023-09-18 19:50:36 +02:00
Quentin Gliech
d36f9d3a5a frontend: have better margins everywhere 2023-09-15 18:41:39 +02:00