Quentin Gliech
|
08f58db08b
|
Replace the OTEL-based tracing layer with tracing based layers
|
2023-04-18 14:45:43 +02:00 |
|
Quentin Gliech
|
8a2be43fe7
|
Proactively provision users on registration & sync threepids
|
2023-04-14 10:22:22 +02:00 |
|
Quentin Gliech
|
792d3c793b
|
Convert many match/if expressions to let-else
|
2023-02-01 10:37:04 +01:00 |
|
Quentin Gliech
|
87914cbcb3
|
Capture better errors in Sentry
|
2023-01-31 16:25:15 +01:00 |
|
Quentin Gliech
|
875025467e
|
Log more errors and setup Sentry integration
|
2023-01-30 18:04:44 +01:00 |
|
Quentin Gliech
|
4d53e210b3
|
axum-utils: remove an unnecessary ?Sized bound
|
2023-01-27 10:30:59 +01:00 |
|
Quentin Gliech
|
d14ca156ad
|
storage: split the repository trait
|
2023-01-24 16:05:14 +01:00 |
|
Quentin Gliech
|
a9facab131
|
Box the repository everywhere
|
2023-01-20 17:53:04 +01:00 |
|
Quentin Gliech
|
9005931e2a
|
handlers: box the rng and clock, and extract it from the state
|
2023-01-18 17:49:59 +01:00 |
|
Quentin Gliech
|
3798f25f7d
|
Fix rustdoc lints
|
2023-01-18 12:25:49 +01:00 |
|
Quentin Gliech
|
195203823a
|
storage: wrap the postgres repository in a struct
|
2023-01-13 18:03:37 +01:00 |
|
Quentin Gliech
|
488a666a8d
|
storage: remaining oauth2 repositories
- authorization grants
- access tokens
- refresh tokens
|
2023-01-12 18:26:04 +01:00 |
|
Quentin Gliech
|
9f0c9f1466
|
storage: cleanup access/refresh token lookups
|
2023-01-11 12:14:52 +01:00 |
|
Quentin Gliech
|
603a26eabd
|
storage: oauth2 session repository
|
2023-01-05 16:44:56 +01:00 |
|
Quentin Gliech
|
09a567ab17
|
storage: OAuth2 client repository
|
2023-01-04 16:30:32 +01:00 |
|
Quentin Gliech
|
53172d6a3f
|
strorage: browser session and user password repositories
|
2023-01-03 15:58:01 +01:00 |
|
Quentin Gliech
|
ca112d45e1
|
ci: Update clippy to 1.66 and fix new warnings
|
2022-12-16 18:16:18 +01:00 |
|
Quentin Gliech
|
102571512e
|
storage: unify most oauth2 related errors
|
2022-12-08 15:29:15 +01:00 |
|
Quentin Gliech
|
b7cad48bbd
|
storage: unify user operations errors
|
2022-12-08 15:29:15 +01:00 |
|
Quentin Gliech
|
f7f65e314b
|
storage: unify the compat login errors
|
2022-12-08 15:29:15 +01:00 |
|
Quentin Gliech
|
12ce2a3d04
|
data-model: simplify the authorization grants and sessions
|
2022-12-08 15:29:15 +01:00 |
|
Quentin Gliech
|
92d6f5b087
|
data-model: simplify the oauth2 clients
|
2022-12-08 15:29:15 +01:00 |
|
Quentin Gliech
|
feebbd0e97
|
data-model: simplify users and sessions
|
2022-12-08 15:29:15 +01:00 |
|
Quentin Gliech
|
dff2f98167
|
data-model: simplify tokens
|
2022-12-08 15:29:15 +01:00 |
|
Quentin Gliech
|
23fd833d45
|
Save the post auth action during upstream OAuth login
|
2022-12-05 19:39:51 +01:00 |
|
Quentin Gliech
|
bf432a31e1
|
OIDC account linking and login
|
2022-12-05 19:39:51 +01:00 |
|
Quentin Gliech
|
4227fa7a83
|
Add a global HTTP client factory
|
2022-12-05 19:39:51 +01:00 |
|
Quentin Gliech
|
d514a8922c
|
Cleanup HTTP client building
|
2022-12-05 19:39:51 +01:00 |
|
Quentin Gliech
|
c76a1dd2e7
|
Bump the latest axum rc
|
2022-11-18 14:57:22 +01:00 |
|
Quentin Gliech
|
78778648ca
|
Allow fetching more nodes by their IDs
|
2022-11-18 13:43:01 +01:00 |
|
Quentin Gliech
|
c13b0478e6
|
Initial GraphQL API
|
2022-11-09 19:17:12 +01:00 |
|
Quentin Gliech
|
2d2127dcdb
|
More cleanups
|
2022-11-02 18:59:00 +01:00 |
|
Quentin Gliech
|
b7c50b5403
|
Pass time and RNG in CSRF verification methods
|
2022-11-02 18:59:00 +01:00 |
|
Quentin Gliech
|
559181c2c3
|
Pass the rng and clock around
|
2022-11-02 18:59:00 +01:00 |
|
Quentin Gliech
|
e2142f9cd4
|
Database refactoring
|
2022-11-02 18:59:00 +01:00 |
|
Kévin Commaille
|
80d317f23c
|
Add variants for unknown values on mas-iana types
Remove the Copy derive and mark enums as non-exhaustive.
|
2022-09-28 13:43:39 +02:00 |
|
Quentin Gliech
|
7b819ffa8b
|
Simplify the HTTP client building
Also supports loading the WebPKI roots instead of the native ones for
TLS
|
2022-09-27 19:05:25 +02:00 |
|
Quentin Gliech
|
fa47f6e150
|
Upgrade axum to 0.6.0-rc.1
|
2022-09-06 13:11:54 +02:00 |
|
Quentin Gliech
|
1f0e273ac3
|
JWT response wrapper
Helps replying with a JWT to a request, with a
`Content-Type: application/jwt` header
|
2022-09-02 15:37:46 +02:00 |
|
Quentin Gliech
|
a70032c8e1
|
Split the asymmetric and symmetric keys enums
|
2022-09-02 15:37:46 +02:00 |
|
Quentin Gliech
|
84b0d97b18
|
cargo fmt
|
2022-09-02 15:37:46 +02:00 |
|
Quentin Gliech
|
8c25dc03ce
|
Move the Encrypter from the config to the keystore
|
2022-09-02 15:37:46 +02:00 |
|
Quentin Gliech
|
e1d50b818e
|
Add a dedicated keystore crate
|
2022-09-02 15:37:46 +02:00 |
|
Quentin Gliech
|
2c400d4cc1
|
Get rid of legacy JWKS store
|
2022-09-02 15:37:46 +02:00 |
|
Quentin Gliech
|
29f1b134ae
|
Make the JWK generic over the parameters
|
2022-09-02 15:37:46 +02:00 |
|
Quentin Gliech
|
ca125a14c5
|
WIP: better JOSE
|
2022-09-02 15:37:46 +02:00 |
|
Quentin Gliech
|
398379e21b
|
Better Tower layers
|
2022-08-19 10:51:24 +02:00 |
|
Quentin Gliech
|
d00bf6a2d2
|
Add missing clippy lints in mas-axum-utils
|
2022-08-08 10:06:20 +02:00 |
|
Hugh Nimmo-Smith
|
9e3f43f1f0
|
Move from MSC3824 actions to org.matrix.msc3824.delegated_oidc_compatibility flag (#250)
Co-authored-by: Quentin Gliech <quenting@element.io>
|
2022-06-15 15:49:03 +00:00 |
|
Quentin Gliech
|
ca7b26cf18
|
Simplify error handling in user-facing routes
|
2022-05-10 17:47:38 +02:00 |
|