Commit Graph

398 Commits

Author SHA1 Message Date
Andrew Ferrazzutti
8bacf44c68 Revert GraphQL's unlock to also reactivate
Unlike the CLI and admin API, leave the behaviour of the GraphQL's
unlock handler unchanged from before, so as to not break internal
tooling that depends on it.

Also update its documentation description to make note of the fact that
it reactivates in addition to unlocks.
2025-07-16 14:17:01 -04:00
Andrew Ferrazzutti
49540693ab Decouple (un)locking from (re/de)activation
Unify the admin API, CLI, and GraphQL API in not having the unlock
command also reactivate, or the deactivate command also lock.

Still let the unlock command of the CLI and GraphQL API to also
reactivate the target user, albeit as a non-default option.
2025-07-16 14:17:01 -04:00
Quentin Gliech
ecf5cde955 Regenerate graphql.ts 2025-07-08 10:24:21 +02:00
Quentin Gliech
4cfd61c367 Reformat frontend code, fix a few new linting errors 2025-07-07 15:07:57 +02:00
Quentin Gliech
31ef6aac28 Regenerate route tree 2025-06-17 18:06:23 +02:00
Quentin Gliech
e42e4ab62f Make the dual license explicit (#3955) 2025-06-13 12:01:57 +02:00
Quentin Gliech
fc4245883e Bump most frontend dependencies 2025-06-12 14:13:22 +02:00
Quentin Gliech
52b0a9b2ba Update license headers to match the actual license 2025-06-12 10:32:16 +02:00
Quentin Gliech
d657064040 Update geenrated routes 2025-06-11 16:30:26 +02:00
Quentin Gliech
642c8ba508 Support for experimental plan management tab in UI (#4549) 2025-06-10 14:14:24 +02:00
Quentin Gliech
cbc914cfd6 Update test snapshots 2025-06-10 11:00:55 +02:00
Hugh Nimmo-Smith
211a124ee2 Schema update 2025-06-06 14:40:45 +01:00
Hugh Nimmo-Smith
60f8e40c7a Revert unnecessary change 2025-06-06 10:48:09 +01:00
Hugh Nimmo-Smith
0551b93cae Update schemas 2025-06-06 10:45:23 +01:00
Hugh Nimmo-Smith
3b66b6fd42 Lint 2025-06-06 10:07:27 +01:00
Hugh Nimmo-Smith
7b191db602 Update frontend/src/routes/_account.plan.index.tsx
Co-authored-by: Quentin Gliech <quenting@element.io>
2025-06-06 10:05:37 +01:00
Hugh Nimmo-Smith
0a121d3048 Iterate 2025-06-05 10:32:47 +00:00
Hugh Nimmo-Smith
7afc6e2fdb Get mutation observer working 2025-06-05 10:21:17 +00:00
Hugh Nimmo-Smith
69a8471363 Handle unloading 2025-06-04 17:53:25 +00:00
Hugh Nimmo-Smith
86e9aed41f Review feedback 2025-06-04 17:06:14 +00:00
Hugh Nimmo-Smith
42c63f0b8e Do fallback redirect at router level 2025-06-02 13:47:36 +00:00
Hugh Nimmo-Smith
8d95f80b9a Use <Navigate> component insert of redirect() 2025-06-02 13:16:19 +00:00
Hugh Nimmo-Smith
37d6d818f9 Merge remote-tracking branch 'refs/remotes/origin/hughns/plan-management' into hughns/plan-management 2025-05-30 16:43:54 +00:00
Hugh Nimmo-Smith
c7c579fb2d Redirect to / if no URI configured 2025-05-30 16:42:35 +00:00
Quentin Gliech
f956557340 Upgrade to Storybook 9 2025-05-30 16:06:26 +02:00
Hugh Nimmo-Smith
37b8d6d1b3 Tidy up 2025-05-09 11:07:35 +01:00
Hugh Nimmo-Smith
4c34d695ee Lint 2025-05-09 10:55:46 +01:00
Hugh Nimmo-Smith
aad2d8afb3 Merge branch 'main' into hughns/plan-management 2025-05-09 10:33:39 +01:00
Hugh Nimmo-Smith
4dca17edf4 Default height value 2025-05-09 09:26:33 +00:00
Quentin Gliech
b38b55a805 frontend: allow setting custom names to sessions 2025-04-25 16:55:30 +02:00
Quentin Gliech
cf9d4599f9 graphql: add mutation to update device name 2025-04-25 16:55:30 +02:00
Quentin Gliech
c6075f5cc0 frontend: display the custom device name on OAuth 2.0 sessions 2025-04-25 16:55:30 +02:00
Quentin Gliech
79868c3ca3 graphql: expose the humanName field on OAuth 2.0 sessions 2025-04-25 16:55:30 +02:00
Quentin Gliech
badaf35fcf frontend: expose the compat session humanName 2025-04-25 12:55:11 +02:00
Hugh Nimmo-Smith
7cb92b1fcc Set the iframe height based on content height 2025-04-22 14:13:47 +00:00
Hugh Nimmo-Smith
f4770b8e2e Format 2025-04-22 13:12:31 +00:00
Hugh Nimmo-Smith
d8381dad70 Fixes 2025-04-22 13:12:06 +00:00
Hugh Nimmo-Smith
57cc89a0c8 WIP support for experimental plan management tab in UI 2025-04-22 13:17:29 +01:00
mcalinghee
2fe4752aa4 add login by email + feature flag 2025-04-10 17:57:58 +02:00
Quentin Gliech
32a4dfcf54 Update snapshots 2025-04-05 22:34:54 +02:00
Quentin Gliech
1e75c61bf6 Use automatic route code splitting 2025-03-24 18:11:39 +01:00
Quentin Gliech
412b993545 Allow users to deactivate their own account in the UI (#4209) 2025-03-13 12:30:41 +01:00
Quentin Gliech
8d721c14b1 Explain what the 'hsErase' parameter does 2025-03-13 11:36:53 +01:00
Quentin Gliech
c50f4eaca4 Make sure the mobile drawers can scroll if they overflow 2025-03-13 11:32:19 +01:00
Quentin Gliech
7d07241edb Adjust the avatar size and list styling to match the design 2025-03-12 16:49:42 +01:00
Quentin Gliech
06f4fe1cbb Use the react-specific packages for tanstack router 2025-03-12 16:31:46 +01:00
Quentin Gliech
2ddb2d2495 Allow users to delete their account in the UI 2025-03-12 16:01:28 +01:00
Quentin Gliech
660fea1769 Use our own implementation of the Separator component
The one in compound-web is weirdly implemented and doesn't use the right
semantic tokens
2025-03-12 16:00:13 +01:00
Quentin Gliech
1846229f34 GraphQL mutation to deactivate a user 2025-03-12 15:58:54 +01:00
Quentin Gliech
a6992b718c Config option to allow account self-deactivation 2025-03-12 15:58:54 +01:00