Commit Graph

17 Commits

Author SHA1 Message Date
Quentin Gliech f67cc0d6d0 Frontend cleanups
Mainly:

 - better handling of GraphQL errors
 - better logout state
 - dependencies update
 - a way to end browser sessions in the GraphQL API
2023-06-20 16:53:53 +02:00
Quentin Gliech 4181cbc9d5 Refactor the matrix connection logic
Also make the display name available through the graphql api
2023-06-16 19:52:39 +02:00
Quentin Gliech 7e90564d16 Bump Rust dependencies 2023-06-14 12:02:16 +02:00
Quentin Gliech b56c2350a4 Buttons to end compat and OAuth2 sessions 2023-06-14 09:24:49 +02:00
Quentin Gliech 119e3300de Schema update 2023-06-14 09:24:49 +02:00
Quentin Gliech 63d4bfd0d4 Ability to set the primary email and cleanup the email lists 2023-06-14 09:24:49 +02:00
Quentin Gliech 741873b84e Ability to remove emails 2023-06-14 09:24:49 +02:00
Quentin Gliech ed5c367df6 Have better output types on mutations 2023-04-25 16:39:15 +02:00
Quentin Gliech 3b0f2ea1b0 Have a new viewer and viewerSession graphql query member
This deprecates `currentUser` and `currentBrowserSession`, but doesn't remove them (yet).

Also start to split the root query in multiple objects
2023-04-25 16:39:15 +02:00
Quentin Gliech 047a91907d Split the mutations and make them use an input object instead of different parameters 2023-04-25 16:39:15 +02:00
Quentin Gliech be765fe04f Setup GraphQL mutations to add and verify email addresses
This refactors a bit how the connection to the repository is done in the
graphql handler, so that we can properly commit transactions.
2023-04-25 16:39:15 +02:00
Quentin Gliech 82421c493c Remove the dependency mas-axum-utils <- mas-graphql
This is done by loading the browser session earlier
Also removes the GraphQL subscription logic
2022-12-15 16:51:43 +01:00
Quentin Gliech 1655080b8f GraphQL: query upstream links from users 2022-12-05 19:39:51 +01:00
Quentin Gliech 2e7112ef13 GraphQL API 2022-12-05 19:39:51 +01:00
Quentin Gliech 78778648ca Allow fetching more nodes by their IDs 2022-11-18 13:43:01 +01:00
Quentin Gliech 2064c11d9b Simple list of compat sessions 2022-11-18 13:43:01 +01:00
Quentin Gliech 47c9b54c06 Lint GraphQL schema and operations with eslint 2022-11-18 13:43:01 +01:00