Commit Graph

18 Commits

Author SHA1 Message Date
Quentin Gliech
154162e917 frontend: Show all compatibilities sessions, not just SSO logins
Also cleans up a bunch of things in the frontend
2023-07-06 18:12:34 +02:00
Quentin Gliech
86a280c0ea 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
f5ed39fa42 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
be837a54e3 Bump Rust dependencies 2023-06-14 12:02:16 +02:00
Quentin Gliech
869e2061a7 Buttons to end compat and OAuth2 sessions 2023-06-14 09:24:49 +02:00
Quentin Gliech
01991adc18 Schema update 2023-06-14 09:24:49 +02:00
Quentin Gliech
e967f8cca3 Ability to set the primary email and cleanup the email lists 2023-06-14 09:24:49 +02:00
Quentin Gliech
27c106fba9 Ability to remove emails 2023-06-14 09:24:49 +02:00
Quentin Gliech
e5cc571a99 Have better output types on mutations 2023-04-25 16:39:15 +02:00
Quentin Gliech
42eefd4a98 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
2fbcb5377e Split the mutations and make them use an input object instead of different parameters 2023-04-25 16:39:15 +02:00
Quentin Gliech
665487db40 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
26e1c34539 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
e3abaf2c84 GraphQL: query upstream links from users 2022-12-05 19:39:51 +01:00
Quentin Gliech
4dd6379d24 GraphQL API 2022-12-05 19:39:51 +01:00
Quentin Gliech
e37201b5c0 Allow fetching more nodes by their IDs 2022-11-18 13:43:01 +01:00
Quentin Gliech
65a3011173 Simple list of compat sessions 2022-11-18 13:43:01 +01:00
Quentin Gliech
f33810ce1a Lint GraphQL schema and operations with eslint 2022-11-18 13:43:01 +01:00