Quentin Gliech
|
0d69e42021
|
templates: translate a lot more stuff
|
2023-10-05 19:29:23 +02:00 |
|
Quentin Gliech
|
bec2cda552
|
Expose a unified session list in the GraphQL API
|
2023-09-20 20:27:08 +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
|
0c4f3c4982
|
graphql: Fix the createOauth2Session mutation not persisting the changes to the database
|
2023-09-12 11:31:19 +02:00 |
|
Quentin Gliech
|
bfcd2fb967
|
storage: make the access token expiration optional
|
2023-09-11 12:03:42 +02:00 |
|
Quentin Gliech
|
37ae1420f3
|
data-model: make the access token expiration optional
|
2023-09-11 12:03:42 +02:00 |
|
Quentin Gliech
|
e8f17924c2
|
Add a GraphQL mutation to create arbitrary OAuth2 sessions.
|
2023-09-11 12:03:42 +02:00 |
|
Quentin Gliech
|
43aa2db3d5
|
data-model: Make the user_id optional in the OAuth 2.0 sessions
|
2023-09-06 09:35:34 +02:00 |
|
Quentin Gliech
|
28e61de6e3
|
graphql: expose the logo_uri in the OAuth 2.0 client
Fixes #1705
|
2023-09-06 09:28:47 +02:00 |
|
Quentin Gliech
|
bc19b381a1
|
Fix Clippy warnings about enum size variants difference
|
2023-09-04 16:45:21 +02:00 |
|
Quentin Gliech
|
19df3dd019
|
graphql: admin API to add a user, lock them, and add emails without verification
|
2023-09-01 11:34:58 +02:00 |
|
Quentin Gliech
|
86d40b0345
|
Make sure we validate passwords & emails by the policy at all stages
Also refactors the way we get the policy engines in requests
|
2023-08-30 19:39:39 +02:00 |
|
Quentin Gliech
|
4203d45a4e
|
graphql: Expose the BrowserSession User-Agent
|
2023-08-29 17:38:01 +02:00 |
|
Quentin Gliech
|
cb017c6436
|
graphql: Always make the associated SSO login available in compatibility sessions
|
2023-08-29 16:53:38 +02:00 |
|
Quentin Gliech
|
e80aa8b311
|
graphql: API to query client sessions out of a device_id and a user ID
|
2023-08-29 16:53:38 +02:00 |
|
Quentin Gliech
|
e8b2ab8df1
|
Add the user_id directly on oauth2_sessions and make the scope a text list
|
2023-08-29 12:52:24 +02:00 |
|
Quentin Gliech
|
d1c041cfad
|
api: Add a finishedAt property to the BrowserSession and a state property to all 3 session types
|
2023-08-29 08:34:07 +02:00 |
|
Quentin Gliech
|
ea7299a14a
|
Upgrade Rust to 1.72.0
Fixes new clippy errors and upgrade other tools
|
2023-08-28 18:05:56 +02:00 |
|
Quentin Gliech
|
d06061c14d
|
Save the application_type and the contacts in the OAuth 2.0 clients
This also removes the dedicated "redirect_uris" table and makes it a field of the "oauth2_clients" table
|
2023-08-28 14:41:49 +02:00 |
|
Quentin Gliech
|
5dbbcf4089
|
Also make all the GraphQL mutations available for admins
|
2023-08-11 14:56:21 +02:00 |
|
Quentin Gliech
|
9de9efe967
|
Better check for resource ownership in the GraphQL API
|
2023-08-11 14:56:21 +02:00 |
|
Quentin Gliech
|
64b9198315
|
Make the GraphQL interface accessible for OAuth clients
|
2023-08-11 14:56:21 +02:00 |
|
Quentin Gliech
|
effb3f8110
|
mas-graphql: post-async-graphql upgrade fixes
|
2023-08-03 17:22:10 +02:00 |
|
Quentin Gliech
|
ce3ad05c8d
|
graphql: API to set the user displayname (#1412)
|
2023-08-03 14:45:59 +00:00 |
|
Quentin Gliech
|
01bc5802c3
|
Better upstream OAuth links pagination and filtering
|
2023-07-21 19:50:30 +02:00 |
|
Quentin Gliech
|
ec1a87cfda
|
Better upstream OAuth provider pagination and filtering
|
2023-07-21 19:50:30 +02:00 |
|
Quentin Gliech
|
60f1e3af8c
|
Better OAuth 2.0 sessions pagination and filtering
|
2023-07-21 19:50:30 +02:00 |
|
Quentin Gliech
|
c8dfc87fdf
|
Better user emails pagination and filtering
|
2023-07-21 19:50:30 +02:00 |
|
Quentin Gliech
|
b1c4644f54
|
Better SSO login pagination and filtering
|
2023-07-21 19:50:30 +02:00 |
|
Quentin Gliech
|
0f1babea3a
|
Better compatibility sessions pagination and filtering
|
2023-07-21 19:50:30 +02:00 |
|
Quentin Gliech
|
2b1d7d9d56
|
Remove the last authentication from the browser session model
|
2023-07-21 19:50:30 +02:00 |
|
Quentin Gliech
|
181ed9d16d
|
WIP: use sea-query for dynamic paginated queries
|
2023-07-21 19:50:30 +02:00 |
|
Quentin Gliech
|
2f4375fe62
|
Fix the compat sessions pagination in the GraphQL API
|
2023-07-07 11:04:51 +02:00 |
|
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
|
8d522f2056
|
Apply cargo fmt following changes in nightly rustfmt
rustfmt now formats `let … else { … }` expressions
|
2023-07-03 14:50:59 +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
|
869e2061a7
|
Buttons to end compat and OAuth2 sessions
|
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
|
602fa3675a
|
Have a Requester in the GraphQL API, in preparation for accessing it with OAuth credentials
|
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
|
b6c479e6c4
|
WIP: start GraphQL mutations
|
2023-04-25 16:39:15 +02:00 |
|
Quentin Gliech
|
b5ba81e260
|
Fix clippy errors
|
2023-03-14 10:47:35 +01:00 |
|
Quentin Gliech
|
50825ce660
|
Box the repository everywhere
|
2023-01-20 17:53:04 +01:00 |
|
Quentin Gliech
|
aa830db9f9
|
storage: ensure the repository trait can be boxed
and define some wrappers to map the errors
|
2023-01-19 19:10:35 +01:00 |
|
Quentin Gliech
|
eb4ce7e7f0
|
Split the storage trait from the implementation
|
2023-01-18 10:38:22 +01:00 |
|