Quentin Gliech
|
4706d387a0
|
Use rustls-platform-verifier for cert validation
This simplifies by removing the mutually exclusive `native-roots` and
`webpki-roots` features with something that is suitable for all
platforms.
|
2024-03-06 14:03:59 +01:00 |
|
Quentin Gliech
|
2e0c72811e
|
Automatically sync the configuration on server startup
|
2024-03-01 18:14:05 +01:00 |
|
Quentin Gliech
|
dd15135915
|
Load the additional OAuth parameters from the config
|
2024-03-01 14:36:37 +01:00 |
|
Quentin Gliech
|
6b3b1e8109
|
Additional parameters from upstream OAuth2 providers in the data model
|
2024-03-01 14:36:37 +01:00 |
|
Quentin Gliech
|
e7d26262a6
|
Make the HomeserverConnection available in handlers
|
2024-02-29 11:21:24 +01:00 |
|
Quentin Gliech
|
d3c799b3ae
|
Save which user session created a compat session
This also exposes the user session in the GraphQL API, and allow
filtering on browser session ID on the app session list.
|
2024-02-21 11:55:58 +01:00 |
|
Quentin Gliech
|
3d12554d6a
|
Introduce mas-cli doctor, a simple diagnostic tool
This should help users to diagnose common issues with their setup.
|
2024-02-08 15:28:43 +01:00 |
|
Quentin Gliech
|
afc7f509d9
|
Make the user agree to T&C during registration
|
2024-02-07 17:21:22 +01:00 |
|
Quentin Gliech
|
04966fd9b6
|
Automatically run migrations on service startup
|
2024-02-07 16:31:36 +01:00 |
|
Dirk Klimpel
|
ed94684390
|
allow config dump to file
|
2024-02-02 18:32:07 +01:00 |
|
Quentin Gliech
|
b49eadf418
|
Upgrade rustls
|
2024-02-02 11:45:20 +01:00 |
|
Quentin Gliech
|
a7ff6b00aa
|
Enable clippy lints on a workspace level
This enables a lot more lints than before in some crates, so this fixed a lot of warnings as well.
|
2023-12-05 17:20:42 +01:00 |
|
Quentin Gliech
|
253495e8bd
|
Upgrade clippy lints to 1.74.0 & fix warnings
|
2023-12-05 17:20:42 +01:00 |
|
Quentin Gliech
|
ea0b231dd3
|
Allow config generate to generate to a file directly instead of stdout
|
2023-11-24 11:52:31 +01:00 |
|
Quentin Gliech
|
b7f509532e
|
Add upstream OAuth 2.0 providers name and branding
|
2023-11-20 17:23:02 +01:00 |
|
Quentin Gliech
|
6942fc4570
|
Allow endpoints and discovery mode override for upstream oauth2 providers
This time, at the configuration and database level
|
2023-11-17 16:18:39 +01:00 |
|
Quentin Gliech
|
097f314d8b
|
Use minijinja templates to map OIDC claims to user attributes
|
2023-11-08 12:05:58 +01:00 |
|
Quentin Gliech
|
a1a96e0e6e
|
Upgrade opentelemetry to 0.21.0
|
2023-11-08 11:49:03 +01:00 |
|
Quentin Gliech
|
b96d95792d
|
Add instance privacy policy, TOS and imprint, and loads of design cleanups
|
2023-10-30 15:55:15 +01:00 |
|
Quentin Gliech
|
fd4481713b
|
Allow running the authentication service on a different base path
|
2023-10-06 14:07:55 +02:00 |
|
Quentin Gliech
|
4ea29eb6b0
|
handlers/templates: infer the language from the Accept-Language browser header
|
2023-10-05 19:29:23 +02:00 |
|
Quentin Gliech
|
ad8cc6be9e
|
templates: add translations function
|
2023-10-05 19:29:23 +02:00 |
|
Quentin Gliech
|
8960d1702f
|
templates: replace tera with minijinja
|
2023-10-05 19:29:23 +02:00 |
|
Quentin Gliech
|
baaa725fcd
|
Infer client IP address from the peer address and the X-Forwarded-Proxy header
|
2023-09-20 20:24:30 +02:00 |
|
Quentin Gliech
|
0042129878
|
Save the session activity in the database
|
2023-09-19 21:57:54 +02:00 |
|
Quentin Gliech
|
0cd4ef4887
|
Add an ActivityTracker which tracks session activity and regularly flush them to the database
|
2023-09-19 21:57:54 +02:00 |
|
Quentin Gliech
|
44fe2afafc
|
Make the HTTP client factory reuse the underlying client
This avoids duplicating clients, and makes it so that they all share the same connection pool.
|
2023-09-14 16:52:01 +02:00 |
|
Quentin Gliech
|
380868c052
|
Always initialize a metric reader to avoid crashes
Fix #1552
|
2023-09-14 16:52:01 +02:00 |
|
Quentin Gliech
|
00a4508d87
|
Rename the 'hack' configuration section to 'experimental'
|
2023-08-31 18:05:00 +02:00 |
|
Quentin Gliech
|
8d0cf9fdbf
|
Make the access tokens TTL configurable
|
2023-08-31 18:05:00 +02:00 |
|
Quentin Gliech
|
80b3398424
|
Make the email verification state more configurable on upstream OAuth 2.0 registration
This also marks the email as primary
|
2023-08-31 14:20:06 +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
|
3c33923d2c
|
policies: split the email & password policies and add jsonschema validation of the input
|
2023-08-30 19:39:39 +02:00 |
|
Quentin Gliech
|
b783b5457e
|
tracing: set the parent context from the incoming request again
|
2023-08-29 18:50:54 +02:00 |
|
Quentin Gliech
|
6c6f121146
|
Fix sentry transport post-upgrade
|
2023-08-29 08:23:26 +02:00 |
|
Quentin Gliech
|
1283e78f18
|
Cache the upstream OAuth 2.0 provider metadata
|
2023-08-28 18:30:40 +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
|
c840e3ec55
|
Grab a database lock when syncing the config
Fixes #1475
|
2023-08-25 15:48:47 +02:00 |
|
Quentin Gliech
|
d054d72fee
|
Handle cookies better by setting the right flags & expiration
|
2023-08-25 14:35:46 +02:00 |
|
Quentin Gliech
|
a6dc094f09
|
Move some common dependencies on the workspace level
Also deprecates the AWS SESv2 transport for emails
|
2023-08-14 13:00:01 +02:00 |
|
Quentin Gliech
|
0ad4c68268
|
Setup cargo-deny
Also try to remove a bunch of duplicate crates
|
2023-08-14 11:22:52 +02:00 |
|
Quentin Gliech
|
2061cdc4d6
|
OpenTelemetry upgrade
|
2023-08-11 16:12:58 +02:00 |
|
Quentin Gliech
|
863cd74207
|
Add a 404 HTMl fallback
|
2023-08-09 16:56:11 +02:00 |
|
Quentin Gliech
|
99c7ee1d18
|
cli: always include all OTEL exporters
|
2023-08-03 17:13:37 +02:00 |
|
Quentin Gliech
|
bea8e4eff4
|
Call the homeserver for user deactivation
|
2023-08-03 14:06:34 +02:00 |
|
Quentin Gliech
|
7f3aa06153
|
Add a way to lock users
|
2023-08-03 14:06:34 +02:00 |
|
Quentin Gliech
|
a9b3445493
|
Bump Rust dependencies and remove unused ones
|
2023-07-27 17:23:08 +02:00 |
|
Quentin Gliech
|
af46088507
|
Upgrade all Rust dependencies
This includes breaking changes of sqlx 0.7.0
|
2023-07-17 19:04:06 +02:00 |
|
Quentin Gliech
|
4e74a7102d
|
Reimplementation of a postgres-backed storage with a shared PG listener
|
2023-07-17 19:04:06 +02:00 |
|