|
6f986e117a
|
Fix the login template in case no human_name was set on the provider
|
2023-11-21 16:09:38 +01:00 |
|
|
5126d36b2e
|
Add upstream OAuth 2.0 providers name and branding
|
2023-11-20 17:23:02 +01:00 |
|
|
a55ea67901
|
build(deps): bump zeroize from 1.6.0 to 1.7.0
Bumps [zeroize](https://github.com/RustCrypto/utils) from 1.6.0 to 1.7.0.
- [Commits](https://github.com/RustCrypto/utils/commits)
---
updated-dependencies:
- dependency-name: zeroize
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-11-20 16:43:31 +01:00 |
|
|
7315dd9a7a
|
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 |
|
|
364093f12f
|
Allow overriding usptream OAuth2 providers endpoints
Also have a way to disable OIDC discovery when all the endpoints are known.
|
2023-11-17 16:18:39 +01:00 |
|
|
4c28bc524b
|
build(deps): bump the sentry group with 1 update
Bumps the sentry group with 1 update: [sentry](https://github.com/getsentry/sentry-rust).
- [Release notes](https://github.com/getsentry/sentry-rust/releases)
- [Changelog](https://github.com/getsentry/sentry-rust/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-rust/compare/0.31.7...0.31.8)
---
updated-dependencies:
- dependency-name: sentry
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: sentry
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-11-14 14:30:30 +01:00 |
|
|
9802981c0e
|
build(deps): bump tokio from 1.33.0 to 1.34.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.33.0 to 1.34.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.33.0...tokio-1.34.0)
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-11-14 13:51:15 +01:00 |
|
|
b2b88e11bf
|
Bump clippy checks to 1.73.0
|
2023-11-14 11:10:40 +01:00 |
|
|
89420a2cfc
|
Refactor the upstream link provider template logic
Also adds tests for new account registration through an upstream oauth2
provider
|
2023-11-13 14:11:30 +01:00 |
|
|
9c94e11e68
|
Check for existing users ahead of time on upstream OAuth2 registration
|
2023-11-13 14:11:30 +01:00 |
|
|
6ded397977
|
Use minijinja templates to map OIDC claims to user attributes
|
2023-11-08 12:05:58 +01:00 |
|
|
5ab0e880ff
|
Upgrade opentelemetry to 0.21.0
|
2023-11-08 11:49:03 +01:00 |
|
|
f2286e37ef
|
build(deps): bump the opentelemetry group with 8 updates
Bumps the opentelemetry group with 8 updates:
| Package | From | To |
| --- | --- | --- |
| [tracing-opentelemetry](https://github.com/tokio-rs/tracing-opentelemetry) | `0.21.0` | `0.22.0` |
| [opentelemetry-http](https://github.com/open-telemetry/opentelemetry-rust) | `0.9.0` | `0.10.0` |
| [opentelemetry-jaeger](https://github.com/open-telemetry/opentelemetry-rust) | `0.19.0` | `0.20.0` |
| [opentelemetry-otlp](https://github.com/open-telemetry/opentelemetry-rust) | `0.13.0` | `0.14.0` |
| [opentelemetry-prometheus](https://github.com/open-telemetry/opentelemetry-rust) | `0.13.0` | `0.14.0` |
| [opentelemetry-semantic-conventions](https://github.com/open-telemetry/opentelemetry-rust) | `0.12.0` | `0.13.0` |
| [opentelemetry-stdout](https://github.com/open-telemetry/opentelemetry-rust) | `0.1.0` | `0.2.0` |
| [opentelemetry-zipkin](https://github.com/open-telemetry/opentelemetry-rust) | `0.18.0` | `0.19.0` |
Updates `tracing-opentelemetry` from 0.21.0 to 0.22.0
- [Release notes](https://github.com/tokio-rs/tracing-opentelemetry/releases)
- [Changelog](https://github.com/tokio-rs/tracing-opentelemetry/blob/v0.1.x/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/tracing-opentelemetry/compare/v0.21.0...v0.22.0)
Updates `opentelemetry-http` from 0.9.0 to 0.10.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-rust/compare/v0.9.0...v0.10.0)
Updates `opentelemetry-jaeger` from 0.19.0 to 0.20.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-rust/compare/v0.19.0...v0.20.0)
Updates `opentelemetry-otlp` from 0.13.0 to 0.14.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-rust/compare/v0.13.0...v0.14.0)
Updates `opentelemetry-prometheus` from 0.13.0 to 0.14.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-rust/compare/v0.13.0...v0.14.0)
Updates `opentelemetry-semantic-conventions` from 0.12.0 to 0.13.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-rust/compare/v0.12.0...v0.13.0)
Updates `opentelemetry-stdout` from 0.1.0 to 0.2.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-rust/blob/v0.2.0/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-rust/commits/v0.2.0)
Updates `opentelemetry-zipkin` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-rust/compare/v0.18.0...v0.19.0)
---
updated-dependencies:
- dependency-name: tracing-opentelemetry
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: opentelemetry
- dependency-name: opentelemetry-http
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: opentelemetry
- dependency-name: opentelemetry-jaeger
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: opentelemetry
- dependency-name: opentelemetry-otlp
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: opentelemetry
- dependency-name: opentelemetry-prometheus
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: opentelemetry
- dependency-name: opentelemetry-semantic-conventions
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: opentelemetry
- dependency-name: opentelemetry-stdout
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: opentelemetry
- dependency-name: opentelemetry-zipkin
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: opentelemetry
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-11-08 11:49:03 +01:00 |
|
|
10fb172e9b
|
build(deps): bump async-graphql from 6.0.9 to 6.0.10
Bumps [async-graphql](https://github.com/async-graphql/async-graphql) from 6.0.9 to 6.0.10.
- [Release notes](https://github.com/async-graphql/async-graphql/releases)
- [Changelog](https://github.com/async-graphql/async-graphql/blob/master/CHANGELOG.md)
- [Commits](https://github.com/async-graphql/async-graphql/commits)
---
updated-dependencies:
- dependency-name: async-graphql
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-11-06 09:50:39 +01:00 |
|
|
162d7f7ea8
|
build(deps): bump lettre from 0.11.0 to 0.11.1
Bumps [lettre](https://github.com/lettre/lettre) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/lettre/lettre/releases)
- [Changelog](https://github.com/lettre/lettre/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lettre/lettre/compare/v0.11.0...v0.11.1)
---
updated-dependencies:
- dependency-name: lettre
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-11-03 15:50:35 +01:00 |
|
|
6d65bcae13
|
Make the upstream provider URL better display & fix test
|
2023-10-30 15:55:15 +01:00 |
|
|
a404398c2c
|
Polish all forms and add nice page headings to most screens
|
2023-10-30 15:55:15 +01:00 |
|
|
8984cc703b
|
Add instance privacy policy, TOS and imprint, and loads of design cleanups
|
2023-10-30 15:55:15 +01:00 |
|
|
dbb3a86309
|
build(deps): bump async-graphql from 6.0.7 to 6.0.9
Bumps [async-graphql](https://github.com/async-graphql/async-graphql) from 6.0.7 to 6.0.9.
- [Release notes](https://github.com/async-graphql/async-graphql/releases)
- [Changelog](https://github.com/async-graphql/async-graphql/blob/master/CHANGELOG.md)
- [Commits](https://github.com/async-graphql/async-graphql/commits)
---
updated-dependencies:
- dependency-name: async-graphql
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-10-23 23:01:47 +02:00 |
|
|
a5bb9b5089
|
build(deps): bump lettre from 0.10.4 to 0.11.0
Bumps [lettre](https://github.com/lettre/lettre) from 0.10.4 to 0.11.0.
- [Release notes](https://github.com/lettre/lettre/releases)
- [Changelog](https://github.com/lettre/lettre/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lettre/lettre/compare/v0.10.4...v0.11.0)
---
updated-dependencies:
- dependency-name: lettre
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-10-20 00:22:40 +02:00 |
|
|
aa5f214fc3
|
build(deps): bump serde_with from 3.3.0 to 3.4.0
Bumps [serde_with](https://github.com/jonasbb/serde_with) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/jonasbb/serde_with/releases)
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.3.0...v3.4.0)
---
updated-dependencies:
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-10-19 21:33:03 +02:00 |
|
|
84209e16f9
|
build(deps): bump time from 0.3.29 to 0.3.30
Bumps [time](https://github.com/time-rs/time) from 0.3.29 to 0.3.30.
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](https://github.com/time-rs/time/compare/v0.3.29...v0.3.30)
---
updated-dependencies:
- dependency-name: time
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-10-19 17:41:13 +02:00 |
|
|
db6e3ffe34
|
build(deps): bump insta from 1.33.0 to 1.34.0
Bumps [insta](https://github.com/mitsuhiko/insta) from 1.33.0 to 1.34.0.
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mitsuhiko/insta/compare/1.33.0...1.34.0)
---
updated-dependencies:
- dependency-name: insta
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-10-10 10:12:23 +02:00 |
|
|
69798aef47
|
build(deps): bump tokio from 1.32.0 to 1.33.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.32.0 to 1.33.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.32.0...tokio-1.33.0)
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-10-09 16:11:09 +02:00 |
|
|
9b5c8fb44b
|
Allow running the authentication service on a different base path
|
2023-10-06 14:07:55 +02:00 |
|
|
71c28d6453
|
build(deps): bump insta from 1.32.0 to 1.33.0
Bumps [insta](https://github.com/mitsuhiko/insta) from 1.32.0 to 1.33.0.
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mitsuhiko/insta/compare/1.32.0...1.33.0)
---
updated-dependencies:
- dependency-name: insta
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-10-05 20:13:41 +02:00 |
|
|
fe92203f59
|
build(deps): bump sqlx from 0.7.1 to 0.7.2
Bumps [sqlx](https://github.com/launchbadge/sqlx) from 0.7.1 to 0.7.2.
- [Changelog](https://github.com/launchbadge/sqlx/blob/main/CHANGELOG.md)
- [Commits](https://github.com/launchbadge/sqlx/commits)
---
updated-dependencies:
- dependency-name: sqlx
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-10-05 19:36:48 +02:00 |
|
|
f2f51d45a4
|
handlers: fix test after a translation update
|
2023-10-05 19:29:23 +02:00 |
|
|
b2cd8d83f7
|
templates: translate a lot more stuff
|
2023-10-05 19:29:23 +02:00 |
|
|
1feafc1d13
|
handlers/templates: infer the language from the Accept-Language browser header
|
2023-10-05 19:29:23 +02:00 |
|
|
15ad89aa82
|
templates: add translations function
|
2023-10-05 19:29:23 +02:00 |
|
|
995bdfc13b
|
templates: replace tera with minijinja
|
2023-10-05 19:29:23 +02:00 |
|
|
f666da79b3
|
i18n-scan: utility to scan translatable strings in templates
|
2023-10-05 19:29:23 +02:00 |
|
|
5f8411e88c
|
i18n: translator structure, to hold translations
|
2023-10-05 19:29:23 +02:00 |
|
|
3303e74123
|
Add a way to discover the GraphQL endpoint in the .well-known/openid-configuration
This adds a `org.matrix.matrix-authentication-service.graphql_endpoint` key to it
|
2023-10-05 16:43:13 +02:00 |
|
|
02b136e34d
|
build(deps): bump time from 0.3.28 to 0.3.29
Bumps [time](https://github.com/time-rs/time) from 0.3.28 to 0.3.29.
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](https://github.com/time-rs/time/compare/v0.3.28...v0.3.29)
---
updated-dependencies:
- dependency-name: time
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-09-26 14:48:05 +02:00 |
|
|
3f84123529
|
build(deps): bump async-graphql from 6.0.6 to 6.0.7
Bumps [async-graphql](https://github.com/async-graphql/async-graphql) from 6.0.6 to 6.0.7.
- [Release notes](https://github.com/async-graphql/async-graphql/releases)
- [Changelog](https://github.com/async-graphql/async-graphql/blob/master/CHANGELOG.md)
- [Commits](https://github.com/async-graphql/async-graphql/commits)
---
updated-dependencies:
- dependency-name: async-graphql
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-09-26 14:37:54 +02:00 |
|
|
05ac6f185e
|
build(deps): bump insta from 1.31.0 to 1.32.0
Bumps [insta](https://github.com/mitsuhiko/insta) from 1.31.0 to 1.32.0.
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mitsuhiko/insta/compare/1.31.0...1.32.0)
---
updated-dependencies:
- dependency-name: insta
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-09-22 22:30:40 +02:00 |
|
|
f20c8d8ef3
|
Infer client IP address from the peer address and the X-Forwarded-Proxy header
|
2023-09-20 20:24:30 +02:00 |
|
|
894957934d
|
Test the activity tracker on the introspection endpoint
|
2023-09-19 21:57:54 +02:00 |
|
|
b85655b944
|
Save the session activity in the database
|
2023-09-19 21:57:54 +02:00 |
|
|
407c78a7be
|
Record the user session activity for most routes
|
2023-09-19 21:57:54 +02:00 |
|
|
cf5510a1a2
|
Add an ActivityTracker which tracks session activity and regularly flush them to the database
|
2023-09-19 21:57:54 +02:00 |
|
|
19c070cf5b
|
build(deps): bump axum-extra from 0.7.7 to 0.8.0
Bumps [axum-extra](https://github.com/tokio-rs/axum) from 0.7.7 to 0.8.0.
- [Release notes](https://github.com/tokio-rs/axum/releases)
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/axum/compare/axum-extra-v0.7.7...axum-extra-v0.8.0)
---
updated-dependencies:
- dependency-name: axum-extra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-09-18 23:52:53 +02:00 |
|
|
21406218aa
|
fixup! Deny URIs from client that are public suffixes
|
2023-09-18 11:57:50 +02:00 |
|
|
7887387568
|
Deny URIs from client that are public suffixes
|
2023-09-18 11:57:50 +02:00 |
|
|
c9155ef0cf
|
Rust dependencies housekeeping
Including:
- package upgrades
- stop using the patched version of `ulid`
- update cargo deny duplicate exception list
|
2023-09-14 23:43:00 +02:00 |
|
|
54071c4969
|
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 |
|
|
9fcdad3142
|
Stop using deprecated chrono::DateTime::from_utc method
|
2023-09-13 18:28:41 +02:00 |
|
|
9a77f67fbe
|
Make the error on introspection failure more explicit in the logs
|
2023-09-13 18:24:52 +02:00 |
|