Quentin Gliech
01ba7abc2a
Track the database connection acquisition time and pool usage
2023-07-06 18:54:29 +02:00
Quentin Gliech
154162e917
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
82afe9471c
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]
5c032054cd
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]
eb45644ea6
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]
73e14d6b5e
build(deps): bump clap from 4.3.10 to 4.3.11
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.3.10 to 4.3.11.
- [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.3.10...v4.3.11 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-05 22:24:07 +02:00
dependabot[bot]
cc17378b69
build(deps): bump async-trait from 0.1.70 to 0.1.71
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.70 to 0.1.71.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.70...0.1.71 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-05 22:20:32 +02:00
dependabot[bot]
d871ccaf81
build(deps): bump rustls from 0.21.2 to 0.21.3
...
Bumps [rustls](https://github.com/rustls/rustls ) from 0.21.2 to 0.21.3.
- [Changelog](https://github.com/rustls/rustls/blob/main/RELEASE_NOTES.md )
- [Commits](https://github.com/rustls/rustls/commits )
---
updated-dependencies:
- dependency-name: rustls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-05 22:16:58 +02:00
dependabot[bot]
149b373248
build(deps): bump hyper-rustls from 0.24.0 to 0.24.1
...
Bumps [hyper-rustls](https://github.com/rustls/hyper-rustls ) from 0.24.0 to 0.24.1.
- [Release notes](https://github.com/rustls/hyper-rustls/releases )
- [Commits](https://github.com/rustls/hyper-rustls/compare/v/0.24.0...v/0.24.1 )
---
updated-dependencies:
- dependency-name: hyper-rustls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-05 01:15:21 +02:00
dependabot[bot]
9a334ae571
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]
1f158875bd
build(deps): bump async-trait from 0.1.69 to 0.1.70
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.69 to 0.1.70.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.69...0.1.70 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-05 01:14:36 +02:00
dependabot[bot]
8f86e7c1b6
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]
1040251a3f
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]
f3da75f002
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
dependabot[bot]
2df23f6a84
build(deps): bump pin-project-lite from 0.2.9 to 0.2.10
...
Bumps [pin-project-lite](https://github.com/taiki-e/pin-project-lite ) from 0.2.9 to 0.2.10.
- [Release notes](https://github.com/taiki-e/pin-project-lite/releases )
- [Changelog](https://github.com/taiki-e/pin-project-lite/blob/main/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project-lite/compare/v0.2.9...v0.2.10 )
---
updated-dependencies:
- dependency-name: pin-project-lite
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-03 15:33:36 +02:00
dependabot[bot]
5a43e12f67
build(deps): bump async-trait from 0.1.68 to 0.1.69
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.68 to 0.1.69.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.68...0.1.69 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-03 15:21:24 +02:00
Quentin Gliech
8d522f2056
Apply cargo fmt following changes in nightly rustfmt
...
rustfmt now formats `let … else { … }` expressions
2023-07-03 14:50:59 +02:00
dependabot[bot]
75c0c3fe9a
build(deps): bump clap from 4.3.9 to 4.3.10
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.3.9 to 4.3.10.
- [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.3.9...v4.3.10 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-02 11:31:52 +02:00
dependabot[bot]
fb979d6d5a
build(deps): bump const-oid from 0.9.2 to 0.9.3
...
Bumps [const-oid](https://github.com/RustCrypto/formats ) from 0.9.2 to 0.9.3.
- [Commits](https://github.com/RustCrypto/formats/compare/const-oid/v0.9.2...const-oid/v0.9.3 )
---
updated-dependencies:
- dependency-name: const-oid
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-02 11:30:41 +02:00
dependabot[bot]
4246da4b3e
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
e26b418aaf
Add a CLI tool to kill all sessions of a user
2023-06-30 15:54:06 +02:00
Quentin Gliech
38d56e647c
Fix the user provisioning job
2023-06-30 14:27:07 +02:00
Quentin Gliech
43e2fc961d
Fix the upstream oauth registration form
2023-06-30 11:24:26 +02:00
dependabot[bot]
3e9fc1cf03
build(deps): bump der from 0.7.6 to 0.7.7
...
Bumps [der](https://github.com/RustCrypto/formats ) from 0.7.6 to 0.7.7.
- [Commits](https://github.com/RustCrypto/formats/compare/der/v0.7.6...der/v0.7.7 )
---
updated-dependencies:
- dependency-name: der
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-29 23:11:34 +02:00
Quentin Gliech
e83b99a94a
Add a CLI tool to trigger a provisioning job for all users
2023-06-29 10:55:48 +02:00
dependabot[bot]
d1a1634ca3
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]
394ca15438
build(deps): bump clap from 4.3.8 to 4.3.9
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.3.8 to 4.3.9.
- [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.3.8...v4.3.9 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-29 09:27:30 +02:00
dependabot[bot]
68cf4b4e3d
build(deps): bump rustls-pemfile from 1.0.2 to 1.0.3
...
Bumps [rustls-pemfile](https://github.com/rustls/pemfile ) from 1.0.2 to 1.0.3.
- [Commits](https://github.com/rustls/pemfile/commits )
---
updated-dependencies:
- dependency-name: rustls-pemfile
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-29 09:27:02 +02:00
dependabot[bot]
e17a1fbb25
build(deps): bump bitflags from 2.3.2 to 2.3.3
...
Bumps [bitflags](https://github.com/bitflags/bitflags ) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/bitflags/bitflags/releases )
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bitflags/bitflags/compare/2.3.2...2.3.3 )
---
updated-dependencies:
- dependency-name: bitflags
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-28 09:16:19 +02:00
dependabot[bot]
ac46f49898
build(deps): bump uuid from 1.3.4 to 1.4.0
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.3.4 to 1.4.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.3.4...1.4.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-28 09:16:00 +02:00
dependabot[bot]
00bb34a824
build(deps): bump serde_yaml from 0.9.21 to 0.9.22
...
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.9.21 to 0.9.22.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.21...0.9.22 )
---
updated-dependencies:
- dependency-name: serde_yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-27 13:16:37 +02:00
dependabot[bot]
0ecba422e0
build(deps): bump clap from 4.3.4 to 4.3.8
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.3.4 to 4.3.8.
- [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.3.4...v4.3.8 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-27 13:14:19 +02:00
dependabot[bot]
405638b837
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]
9a6166c109
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
dependabot[bot]
a068bc39b2
build(deps): bump libc from 0.2.146 to 0.2.147
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.146 to 0.2.147.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.146...0.2.147 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-27 12:53:25 +02:00
Quentin Gliech
439e51ca80
Allow setting a different issuer from the public base URL
2023-06-27 12:53:15 +02:00
dependabot[bot]
7dcff2f54c
build(deps): bump clap from 4.3.4 to 4.3.6
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.3.4 to 4.3.6.
- [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.3.4...v4.3.6 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-26 17:26:30 +02:00
dependabot[bot]
3e5f221c11
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
dependabot[bot]
c2b36d9a38
build(deps): bump itertools from 0.10.5 to 0.11.0
...
Bumps [itertools](https://github.com/rust-itertools/itertools ) from 0.10.5 to 0.11.0.
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.10.5...v0.11.0 )
---
updated-dependencies:
- dependency-name: itertools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-26 17:25:25 +02:00
Quentin Gliech
f82277bf15
Split the full config with partial configs used by some sub-commands
2023-06-26 17:24:56 +02:00
Quentin Gliech
752f8b837b
Sync the OAuth2 clients with CLI and remove redundant CLI tools
2023-06-26 17:24:56 +02:00
Quentin Gliech
4d7f1c5a0f
Ensure we're deleting rows in related tables when deleting upstream providers
2023-06-26 17:24:56 +02:00
Quentin Gliech
086c2c8a8e
CLI tool to sync the upstream IDPs with the config
2023-06-26 17:24:56 +02:00
Quentin Gliech
cef7efca8c
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
6b9b699ed4
Pass the claims import preferences on the storage layer
2023-06-26 17:24:56 +02:00
Quentin Gliech
791dad7efd
Save the imported attributes
2023-06-26 17:24:56 +02:00
Quentin Gliech
3c29d998fe
Ground work to import upstream OIDC claims on registration.
2023-06-26 17:24:56 +02:00
Quentin Gliech
3e6eb0d1c8
Bump Rust dependencies
2023-06-20 16:57:11 +02:00
Quentin Gliech
86a280c0ea
Frontend cleanups
...
Mainly:
- better handling of GraphQL errors
- better logout state
- dependencies update
- a way to end browser sessions in the GraphQL API
2023-06-20 16:53:53 +02:00
dependabot[bot]
510cadc975
build(deps): bump rustls from 0.21.1 to 0.21.2
...
Bumps [rustls](https://github.com/rustls/rustls ) from 0.21.1 to 0.21.2.
- [Changelog](https://github.com/rustls/rustls/blob/main/RELEASE_NOTES.md )
- [Commits](https://github.com/rustls/rustls/compare/v/0.21.1...v/0.21.2 )
---
updated-dependencies:
- dependency-name: rustls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-19 10:37:58 +02:00