Quentin Gliech
|
a0f5f3c642
|
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
|
df3ca5ae66
|
Upgrade clippy lints to 1.74.0 & fix warnings
|
2023-12-05 17:20:42 +01:00 |
|
Quentin Gliech
|
30247448d5
|
Bump Rust dependencies
|
2023-11-24 13:04:37 +01:00 |
|
Quentin Gliech
|
cc10270ede
|
Allow config generate to generate to a file directly instead of stdout
|
2023-11-24 11:52:31 +01:00 |
|
Quentin Gliech
|
5126d36b2e
|
Add upstream OAuth 2.0 providers name and branding
|
2023-11-20 17:23:02 +01:00 |
|
dependabot[bot]
|
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 |
|
Quentin Gliech
|
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 |
|
dependabot[bot]
|
76678203dd
|
build(deps): bump opentelemetry_sdk from 0.21.0 to 0.21.1
Bumps [opentelemetry_sdk](https://github.com/open-telemetry/opentelemetry-rust) from 0.21.0 to 0.21.1.
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-rust/compare/v0.21.0...v0.21.1)
---
updated-dependencies:
- dependency-name: opentelemetry_sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-11-14 15:36:11 +01:00 |
|
dependabot[bot]
|
eefbda923d
|
build(deps): bump the tracing group with 2 updates
Bumps the tracing group with 2 updates: [tracing-subscriber](https://github.com/tokio-rs/tracing) and [tracing-appender](https://github.com/tokio-rs/tracing).
Updates `tracing-subscriber` from 0.3.17 to 0.3.18
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.17...tracing-subscriber-0.3.18)
Updates `tracing-appender` from 0.2.2 to 0.2.3
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-appender-0.2.2...tracing-appender-0.2.3)
---
updated-dependencies:
- dependency-name: tracing-subscriber
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: tracing
- dependency-name: tracing-appender
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: tracing
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-11-14 15:14:43 +01:00 |
|
dependabot[bot]
|
e5e53317b8
|
build(deps): bump the opentelemetry group with 1 update
Bumps the opentelemetry group with 1 update: [opentelemetry-prometheus](https://github.com/open-telemetry/opentelemetry-rust).
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-rust/commits)
---
updated-dependencies:
- dependency-name: opentelemetry-prometheus
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: opentelemetry
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-11-14 15:14:12 +01:00 |
|
dependabot[bot]
|
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 |
|
dependabot[bot]
|
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 |
|
Quentin Gliech
|
6ded397977
|
Use minijinja templates to map OIDC claims to user attributes
|
2023-11-08 12:05:58 +01:00 |
|
Quentin Gliech
|
5ab0e880ff
|
Upgrade opentelemetry to 0.21.0
|
2023-11-08 11:49:03 +01:00 |
|
dependabot[bot]
|
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 |
|
dependabot[bot]
|
8d5493930d
|
build(deps): bump rustls from 0.21.7 to 0.21.8
Bumps [rustls](https://github.com/rustls/rustls) from 0.21.7 to 0.21.8.
- [Release notes](https://github.com/rustls/rustls/releases)
- [Commits](https://github.com/rustls/rustls/compare/v/0.21.7...v/0.21.8)
---
updated-dependencies:
- dependency-name: rustls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-11-03 16:14:44 +01:00 |
|
Quentin Gliech
|
8984cc703b
|
Add instance privacy policy, TOS and imprint, and loads of design cleanups
|
2023-10-30 15:55:15 +01:00 |
|
dependabot[bot]
|
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 |
|
Quentin Gliech
|
9b5c8fb44b
|
Allow running the authentication service on a different base path
|
2023-10-06 14:07:55 +02:00 |
|
dependabot[bot]
|
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 |
|
Quentin Gliech
|
1feafc1d13
|
handlers/templates: infer the language from the Accept-Language browser header
|
2023-10-05 19:29:23 +02:00 |
|
Quentin Gliech
|
15ad89aa82
|
templates: add translations function
|
2023-10-05 19:29:23 +02:00 |
|
Quentin Gliech
|
995bdfc13b
|
templates: replace tera with minijinja
|
2023-10-05 19:29:23 +02:00 |
|
Quentin Gliech
|
f666da79b3
|
i18n-scan: utility to scan translatable strings in templates
|
2023-10-05 19:29:23 +02:00 |
|
Quentin Gliech
|
5f8411e88c
|
i18n: translator structure, to hold translations
|
2023-10-05 19:29:23 +02:00 |
|
Quentin Gliech
|
f20c8d8ef3
|
Infer client IP address from the peer address and the X-Forwarded-Proxy header
|
2023-09-20 20:24:30 +02:00 |
|
Quentin Gliech
|
b85655b944
|
Save the session activity in the database
|
2023-09-19 21:57:54 +02:00 |
|
Quentin Gliech
|
cf5510a1a2
|
Add an ActivityTracker which tracks session activity and regularly flush them to the database
|
2023-09-19 21:57:54 +02:00 |
|
dependabot[bot]
|
3f3e7daeeb
|
build(deps): bump clap from 4.4.3 to 4.4.4
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.3 to 4.4.4.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.3...v4.4.4)
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-09-18 23:55:04 +02:00 |
|
Quentin Gliech
|
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 |
|
Quentin Gliech
|
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 |
|
Quentin Gliech
|
f29e4adcfa
|
Always initialize a metric reader to avoid crashes
Fix #1552
|
2023-09-14 16:52:01 +02:00 |
|
dependabot[bot]
|
a016b30b08
|
build(deps): bump clap from 4.4.2 to 4.4.3
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.2...v4.4.3)
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-09-13 18:28:48 +02:00 |
|
dependabot[bot]
|
650bb3cf1c
|
build(deps): bump clap from 4.4.1 to 4.4.2
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.1 to 4.4.2.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.1...v4.4.2)
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-09-04 09:25:21 +02:00 |
|
dependabot[bot]
|
a46bd43dd2
|
build(deps): bump tower-http from 0.4.3 to 0.4.4
Bumps [tower-http](https://github.com/tower-rs/tower-http) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/tower-rs/tower-http/releases)
- [Commits](https://github.com/tower-rs/tower-http/compare/tower-http-0.4.3...tower-http-0.4.4)
---
updated-dependencies:
- dependency-name: tower-http
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-09-04 09:17:59 +02:00 |
|
Quentin Gliech
|
a01c53019f
|
Define common crates metadata on the workspace level
|
2023-09-01 16:27:22 +02:00 |
|
Quentin Gliech
|
21d3d3a5d4
|
Rename the 'hack' configuration section to 'experimental'
|
2023-08-31 18:05:00 +02:00 |
|
Quentin Gliech
|
bc04860afb
|
Make the access tokens TTL configurable
|
2023-08-31 18:05:00 +02:00 |
|
Quentin Gliech
|
ae3213fe87
|
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
|
7fcd022eea
|
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
|
23151ef092
|
policies: split the email & password policies and add jsonschema validation of the input
|
2023-08-30 19:39:39 +02:00 |
|
Quentin Gliech
|
6589f06d79
|
tracing: set the parent context from the incoming request again
|
2023-08-29 18:50:54 +02:00 |
|
dependabot[bot]
|
a0373207a8
|
build(deps): bump the opentelemetry group with 1 update
Bumps the opentelemetry group with 1 update: [tracing-opentelemetry](https://github.com/tokio-rs/tracing-opentelemetry).
- [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.20.0...v0.21.0)
---
updated-dependencies:
- dependency-name: tracing-opentelemetry
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: opentelemetry
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-29 18:50:54 +02:00 |
|
Quentin Gliech
|
f295d2df77
|
Fix sentry transport post-upgrade
|
2023-08-29 08:23:26 +02:00 |
|
dependabot[bot]
|
111c119732
|
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.5...0.31.6)
---
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-08-29 08:23:26 +02:00 |
|
dependabot[bot]
|
9f58be0bcb
|
build(deps): bump rustls from 0.21.6 to 0.21.7
Bumps [rustls](https://github.com/rustls/rustls) from 0.21.6 to 0.21.7.
- [Release notes](https://github.com/rustls/rustls/releases)
- [Commits](https://github.com/rustls/rustls/compare/v/0.21.6...v/0.21.7)
---
updated-dependencies:
- dependency-name: rustls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-29 08:00:31 +02:00 |
|
dependabot[bot]
|
ab8ae09b7b
|
build(deps): bump clap from 4.4.0 to 4.4.1
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.4.0...v4.4.1)
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-29 00:10:05 +02:00 |
|
Quentin Gliech
|
07ca145174
|
Cache the upstream OAuth 2.0 provider metadata
|
2023-08-28 18:30:40 +02:00 |
|
Quentin Gliech
|
17e28f56c1
|
Upgrade Rust to 1.72.0
Fixes new clippy errors and upgrade other tools
|
2023-08-28 18:05:56 +02:00 |
|
Quentin Gliech
|
096386e9b9
|
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 |
|