Quentin Gliech
40b49cdd10
Add a way to lock users
2023-08-03 14:06:34 +02:00
dependabot[bot]
31159c0907
build(deps): bump serde from 1.0.176 to 1.0.177
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.176 to 1.0.177.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.176...v1.0.177 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-27 23:28:07 +02:00
Quentin Gliech
e79da4a949
Bump Rust dependencies and remove unused ones
2023-07-27 17:23:08 +02:00
dependabot[bot]
85659c6c36
build(deps): bump serde from 1.0.171 to 1.0.174
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.171 to 1.0.174.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.171...v1.0.174 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-22 00:17:55 +02:00
dependabot[bot]
3a3e8bc285
build(deps): bump tower-http from 0.4.1 to 0.4.3
...
Bumps [tower-http](https://github.com/tower-rs/tower-http ) from 0.4.1 to 0.4.3.
- [Release notes](https://github.com/tower-rs/tower-http/releases )
- [Commits](https://github.com/tower-rs/tower-http/compare/tower-http-0.4.1...tower-http-0.4.3 )
---
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-07-21 23:39:20 +02:00
Quentin Gliech
802cf142fd
Remove the last authentication from the browser session model
2023-07-21 19:50:30 +02:00
Quentin Gliech
016c65c9f8
Add metric which tracks the maximum number of connections to the database.
2023-07-18 19:10:57 +02:00
dependabot[bot]
feb89bfa9e
build(deps): bump serde_with from 3.0.0 to 3.1.0
...
Bumps [serde_with](https://github.com/jonasbb/serde_with ) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.0.0...v3.1.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-07-17 22:51:58 +02:00
Quentin Gliech
ba0f7ea62c
Upgrade all Rust dependencies
...
This includes breaking changes of sqlx 0.7.0
2023-07-17 19:04:06 +02:00
Quentin Gliech
f5143c045e
Track the database connection acquisition time and pool usage
2023-07-06 18:54:29 +02:00
Quentin Gliech
ca520dfd9a
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
76653f9638
Better frontend assets handling and move the react app to /account/ ( #1324 )
...
This makes the Vite assets handling better, namely:
- make it possible to include any vite assets in the templates
- include the right `<link rel="preload">` tags for assets
- include Subresource Integrity hashes
- pre-compress assets and remove on-the-fly compression by the Rust server
- build the CSS used by templates through Vite
It also moves the React app from /app/ to /account/, and remove some of the old SSR account screens.
2023-07-06 15:30:26 +02:00
dependabot[bot]
b125f23f87
build(deps): bump bcrypt from 0.14.0 to 0.15.0
...
Bumps [bcrypt](https://github.com/Keats/rust-bcrypt ) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/Keats/rust-bcrypt/compare/v0.14.0...v0.15.0 )
---
updated-dependencies:
- dependency-name: bcrypt
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-06 08:16:27 +02:00
dependabot[bot]
bd9483ec74
build(deps): bump serde_json from 1.0.99 to 1.0.100
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.99 to 1.0.100.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.99...v1.0.100 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-05 22:55:03 +02:00
dependabot[bot]
c068460cd7
build(deps): bump thiserror from 1.0.40 to 1.0.41
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.40 to 1.0.41.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.40...1.0.41 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-05 01:15:00 +02:00
dependabot[bot]
40429fcc9e
build(deps): bump indoc from 2.0.1 to 2.0.2
...
Bumps [indoc](https://github.com/dtolnay/indoc ) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/dtolnay/indoc/releases )
- [Commits](https://github.com/dtolnay/indoc/compare/2.0.1...2.0.2 )
---
updated-dependencies:
- dependency-name: indoc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-04 09:07:05 +02:00
dependabot[bot]
725078941a
build(deps): bump serde from 1.0.165 to 1.0.166
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.165 to 1.0.166.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.165...v1.0.166 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-04 00:59:48 +02:00
dependabot[bot]
88e1a677e5
build(deps): bump serde from 1.0.164 to 1.0.165
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.164 to 1.0.165.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.164...v1.0.165 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-03 15:43:13 +02:00
Quentin Gliech
4f8b87fbfe
Apply cargo fmt following changes in nightly rustfmt
...
rustfmt now formats `let … else { … }` expressions
2023-07-03 14:50:59 +02:00
dependabot[bot]
1a70c3a387
build(deps): bump tokio from 1.29.0 to 1.29.1
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.29.0 to 1.29.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.29.0...tokio-1.29.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-02 11:30:27 +02:00
Quentin Gliech
e1a5471262
Fix the upstream oauth registration form
2023-06-30 11:24:26 +02:00
dependabot[bot]
a92d6fce8f
build(deps): bump tokio from 1.28.2 to 1.29.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.28.2 to 1.29.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.28.2...tokio-1.29.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-06-29 09:48:42 +02:00
dependabot[bot]
fa4d25bec5
build(deps): bump serde_json from 1.0.97 to 1.0.99
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.97 to 1.0.99.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.97...v1.0.99 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-27 12:56:17 +02:00
dependabot[bot]
db2354f1fb
build(deps): bump hyper from 0.14.26 to 0.14.27
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.14.26 to 0.14.27.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/v0.14.27/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.26...v0.14.27 )
---
updated-dependencies:
- dependency-name: hyper
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-27 12:53:36 +02:00
Quentin Gliech
125a6bdf11
Allow setting a different issuer from the public base URL
2023-06-27 12:53:15 +02:00
dependabot[bot]
16e3208419
build(deps): bump insta from 1.29.0 to 1.30.0
...
Bumps [insta](https://github.com/mitsuhiko/insta ) from 1.29.0 to 1.30.0.
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/insta/compare/1.29.0...1.30.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-06-26 17:25:32 +02:00
Quentin Gliech
4f1b201c74
Define upstream OAuth providers in the config
...
And adds CLI tool to sync them with the database (WIP)
2023-06-26 17:24:56 +02:00
Quentin Gliech
9d5c2a40a1
Pass the claims import preferences on the storage layer
2023-06-26 17:24:56 +02:00
Quentin Gliech
31788a95f2
Save the imported attributes
2023-06-26 17:24:56 +02:00
Quentin Gliech
c183830489
Ground work to import upstream OIDC claims on registration.
2023-06-26 17:24:56 +02:00
Quentin Gliech
432a4366ea
Bump Rust dependencies
2023-06-20 16:57:11 +02:00
Quentin Gliech
4181cbc9d5
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
2a514cf452
Add a admin flag to the compatibility session
...
Also adds a CLI tool to issue a compatibility token.
2023-06-16 15:24:38 +02:00
Quentin Gliech
7e90564d16
Bump Rust dependencies
2023-06-14 12:02:16 +02:00
Quentin Gliech
56bbc31a89
Fix the compat SSO redirect URL generation
2023-06-07 15:09:04 +02:00
Quentin Gliech
91e134f6b4
Bump Rust dependencies
2023-05-26 16:11:17 +02:00
dependabot[bot]
9571614a56
build(deps): bump async-graphql from 5.0.8 to 5.0.9
...
Bumps [async-graphql](https://github.com/async-graphql/async-graphql ) from 5.0.8 to 5.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-05-26 09:52:19 +02:00
Quentin Gliech
1993f4cfca
Bump Rust dependencies
2023-05-25 18:15:44 +02:00
Quentin Gliech
d2d68e9a27
Make password-based login optional
2023-05-23 17:02:02 +02:00
Kévin Commaille
25f045130e
Downgrade tracing to 0.1.37
...
Version 0.1.38 and no new version was released
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2023-05-11 11:10:22 +02:00
dependabot[bot]
fb06c69a8b
build(deps): bump tokio from 1.27.0 to 1.28.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.27.0 to 1.28.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.27.0...tokio-1.28.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-04-26 08:33:25 +02:00
dependabot[bot]
343a21e3bc
build(deps): bump tracing from 0.1.37 to 0.1.38
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.37 to 0.1.38.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.38 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-26 08:09:57 +02:00
dependabot[bot]
ddb7dc7409
build(deps): bump axum from 0.6.16 to 0.6.17
...
Bumps [axum](https://github.com/tokio-rs/axum ) from 0.6.16 to 0.6.17.
- [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-v0.6.16...axum-v0.6.17 )
---
updated-dependencies:
- dependency-name: axum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-25 17:58:04 +02:00
Quentin Gliech
c2d8243586
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
be765fe04f
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
dependabot[bot]
974c633cc4
build(deps): bump axum from 0.6.15 to 0.6.16
...
Bumps [axum](https://github.com/tokio-rs/axum ) from 0.6.15 to 0.6.16.
- [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-v0.6.15...axum-v0.6.16 )
---
updated-dependencies:
- dependency-name: axum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-24 22:26:58 +02:00
dependabot[bot]
404dc61dcf
build(deps): bump axum-extra from 0.7.3 to 0.7.4
...
Bumps [axum-extra](https://github.com/tokio-rs/axum ) from 0.7.3 to 0.7.4.
- [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.3...axum-extra-v0.7.4 )
---
updated-dependencies:
- dependency-name: axum-extra
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-24 19:56:23 +02:00
dependabot[bot]
1f35c063b2
build(deps): bump tracing-subscriber from 0.3.16 to 0.3.17
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.3.16 to 0.3.17.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.16...tracing-subscriber-0.3.17 )
---
updated-dependencies:
- dependency-name: tracing-subscriber
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-24 19:41:34 +02:00
Quentin Gliech
3979e9f46a
Update Rust to 1.69.0
2023-04-24 11:42:01 +02:00
Quentin Gliech
77fc67c29b
Silence clippy warning about a function being too long
2023-04-24 10:42:38 +02:00