Commit Graph

70 Commits

Author SHA1 Message Date
Quentin Gliech
f05b4eda11 Load the config file from a environment variable 2022-03-11 17:03:28 +01:00
dependabot[bot]
3478fe7186 Bump tracing from 0.1.31 to 0.1.32
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.31 to 0.1.32.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.31...tracing-0.1.32)

---
updated-dependencies:
- dependency-name: tracing
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-11 11:41:04 +01:00
dependabot[bot]
c787326c87 Bump anyhow from 1.0.55 to 1.0.56
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.55 to 1.0.56.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.55...1.0.56)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-11 10:34:26 +01:00
Quentin Gliech
f243624f45 Move clients to the database 2022-03-08 19:07:46 +01:00
dependabot[bot]
b062eae4d4 Bump clap from 3.1.5 to 3.1.6
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.5 to 3.1.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/v3.1.5...v3.1.6)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-08 11:43:57 +01:00
dependabot[bot]
234e0e2ec2 Bump clap from 3.1.3 to 3.1.5
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.3 to 3.1.5.
- [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/v3.1.3...v3.1.5)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-03 10:30:10 +01:00
dependabot[bot]
6063d39955 Bump tracing-appender from 0.2.0 to 0.2.1
Bumps [tracing-appender](https://github.com/tokio-rs/tracing) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-appender-0.2.0...tracing-appender-0.2.1)

---
updated-dependencies:
- dependency-name: tracing-appender
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01 21:17:24 +01:00
dependabot[bot]
3bd46c70a6 Bump clap from 3.1.2 to 3.1.3
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.2 to 3.1.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/v3.1.2...v3.1.3)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01 09:05:54 +01:00
Quentin Gliech
650bfa86b3 Better OpenTelemetry tracer 2022-02-24 16:03:37 +01:00
dependabot[bot]
1ebdc4b086 Bump clap from 3.1.1 to 3.1.2
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.1 to 3.1.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/v3.1.1...v3.1.2)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-24 09:04:55 +01:00
dependabot[bot]
549afac863 Bump tracing-opentelemetry from 0.17.1 to 0.17.2
Bumps [tracing-opentelemetry](https://github.com/tokio-rs/tracing) from 0.17.1 to 0.17.2.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-opentelemetry-0.17.1...tracing-opentelemetry-0.17.2)

---
updated-dependencies:
- dependency-name: tracing-opentelemetry
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-23 09:55:12 +01:00
dependabot[bot]
42765977bd Bump anyhow from 1.0.53 to 1.0.55
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.53 to 1.0.55.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.53...1.0.55)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-22 10:43:31 +01:00
dependabot[bot]
7bb1ead068 Bump clap from 3.1.0 to 3.1.1
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.0 to 3.1.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-v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-22 09:51:57 +01:00
dependabot[bot]
41335ed2ea Bump tracing from 0.1.30 to 0.1.31
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.30 to 0.1.31.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.30...tracing-0.1.31)

---
updated-dependencies:
- dependency-name: tracing
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-20 17:37:02 +01:00
dependabot[bot]
9655d3e1de Bump argon2 from 0.3.3 to 0.3.4
Bumps [argon2](https://github.com/RustCrypto/password-hashes) from 0.3.3 to 0.3.4.
- [Release notes](https://github.com/RustCrypto/password-hashes/releases)
- [Commits](https://github.com/RustCrypto/password-hashes/compare/argon2-v0.3.3...argon2-v0.3.4)

---
updated-dependencies:
- dependency-name: argon2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-20 16:41:31 +01:00
dependabot[bot]
cfc859e36a Bump indoc from 1.0.3 to 1.0.4
Bumps [indoc](https://github.com/dtolnay/indoc) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/dtolnay/indoc/releases)
- [Commits](https://github.com/dtolnay/indoc/compare/1.0.3...1.0.4)

---
updated-dependencies:
- dependency-name: indoc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-20 16:41:19 +01:00
dependabot[bot]
0b570c741c Bump tracing-subscriber from 0.3.8 to 0.3.9
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.3.8 to 0.3.9.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.8...tracing-subscriber-0.3.9)

---
updated-dependencies:
- dependency-name: tracing-subscriber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-20 16:41:07 +01:00
Quentin Gliech
6b5694b0d5 Bump dependencies 2022-02-17 15:53:48 +01:00
Quentin Gliech
342c64b5d9 Many improvements to the mas-http crate
- make `mas_http::client` implement Service directly instead of being
   an async function
 - a Get layer that makes a Service<Uri>
 - better error sources in the JSON layer
 - make the client have a proper error type
2022-02-15 08:28:25 +01:00
Quentin Gliech
718cac3fb5 Implement a JSON tower layer
This will help requesting JSON APIs
2022-02-11 14:15:31 +01:00
Quentin Gliech
d92415d419 Proper HTTP client 2022-02-10 16:38:17 +01:00
Quentin Gliech
90a63d593a Dedicated HTTP server/client crate
Also have better names for the HTTP routes
2022-02-10 16:38:16 +01:00
Quentin Gliech
81a9a00ec7 Bump dependencies 2022-02-04 10:18:01 +01:00
Quentin Gliech
55670b39d3 Reorganise CLI crate 2022-02-01 18:49:55 +01:00
Quentin Gliech
ccf17d1551 Loads of docs & enabling more clippy lints 2022-02-01 12:02:32 +01:00
Quentin Gliech
fb4662d00c Bump dependencies 2022-02-01 10:13:11 +01:00
Quentin Gliech
70f2d1d480 Move secrets and oauth2 clients config 2022-02-01 09:34:55 +01:00
Quentin Gliech
08a375bdcd Improve the configuration schema 2022-01-28 11:51:14 +01:00
Quentin Gliech
5de0dc30d1 Allow loading private keys from files 2022-01-26 18:29:11 +01:00
Quentin Gliech
b410f129d4 Minor logging improvements
- only have colors if the output terminal is a tty
 - log in a non-blocking fashion
2022-01-26 17:21:54 +01:00
Quentin Gliech
4dd88d6a01 Upgrade dependencies 2022-01-25 12:47:17 +01:00
Quentin Gliech
02300f9fdc Fix traces not being created for requests 2022-01-25 11:46:14 +01:00
Quentin Gliech
02a763455b Add AWS SES backend to send email 2022-01-24 16:31:53 +01:00
Quentin Gliech
b0b64a60c6 Actually send emails 2022-01-19 18:00:45 +01:00
Quentin Gliech
8128a6ca65 CLI subcommand to mark emails as verified 2022-01-18 18:33:05 +01:00
Quentin Gliech
8ee8036e6d Upgrade dependencies 2022-01-14 10:51:12 +01:00
Quentin Gliech
254eb504d9 Upgrade dependencies 2022-01-04 22:35:18 +01:00
Quentin Gliech
072a21663b New JWT/JOSE crate
Still WIP, needs to handle time related claims
2022-01-04 22:28:00 +01:00
Quentin Gliech
8f723815b9 Split the core crate 2021-12-17 18:04:30 +01:00
Quentin Gliech
98540cc235 Move storage module to its own crate 2021-12-17 12:15:07 +01:00
Quentin Gliech
8bb7038858 Fix user registration from CLI 2021-12-15 11:14:34 +01:00
Quentin Gliech
4ed47f26b6 Soft-fail if .env fails to load 2021-12-14 16:27:18 +01:00
Quentin Gliech
7f6b25fe8b Enable backtraces in anyhow 2021-12-14 11:56:05 +01:00
Quentin Gliech
19b9965eb9 Better error context on startup 2021-12-14 11:52:19 +01:00
Quentin Gliech
7c131de594 Fix embedded templates loading 2021-12-13 17:56:35 +01:00
Quentin Gliech
f57559c140 Upgrade dependencies 2021-12-09 23:34:36 +01:00
Quentin Gliech
5aca3fc24c Move to Rust edition 2021
Also bump MSRV to 1.56 and use the same clippy lints in every crate
2021-12-09 22:54:35 +01:00
Quentin Gliech
a5c0a88c85 Frontend/static files building & serving 2021-12-09 22:09:39 +01:00
Quentin Gliech
adbdcfdb6c Refactor templates loading & implement templates hot-reload 2021-12-09 14:07:09 +01:00
Quentin Gliech
768e0867e3 Upgrade dependencies 2021-12-06 10:01:37 +01:00