Commit Graph

247 Commits

Author SHA1 Message Date
Quentin Gliech c0e5b66ea4 Move public base URL from oauth2 config to http config 2022-02-01 09:34:55 +01:00
Quentin Gliech f96c5b0cec Reorganise config crate 2022-02-01 09:34:55 +01:00
dependabot[bot] 66ff7376f7 Bump tailwindcss from 3.0.17 to 3.0.18 in /crates/static-files
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.17 to 3.0.18.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.17...v3.0.18)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 23:11:32 +01:00
Quentin Gliech 05f0756c13 Improve the configuration schema 2022-01-28 11:51:14 +01:00
dependabot[bot] 2db595b9c0 Bump tailwindcss from 3.0.16 to 3.0.17 in /crates/static-files
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.16 to 3.0.17.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.16...v3.0.17)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-27 09:16:32 +01:00
Quentin Gliech 79d7561d93 Allow loading private keys from files 2022-01-26 18:29:11 +01:00
Quentin Gliech c7a243a3a1 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 c3ac36190d Support more key formats in config 2022-01-26 11:10:11 +01:00
dependabot[bot] 3d8d6f81b5 Bump cssnano from 5.0.15 to 5.0.16 in /crates/static-files (#39)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.15 to 5.0.16.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.15...cssnano@5.0.16)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-25 15:55:44 +00:00
dependabot[bot] cc08540190 Bump actions/cache from 2.1.6 to 2.1.7
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.6...v2.1.7)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-25 16:55:21 +01:00
dependabot[bot] 123b59fcd4 Bump tailwindcss from 3.0.13 to 3.0.16 in /crates/static-files
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.13 to 3.0.16.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.13...v3.0.16)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-25 16:55:09 +01:00
Quentin Gliech 7e4128f5f1 Enable dependabot in crates/static-files/ 2022-01-25 15:52:07 +01:00
Quentin Gliech 70aafc41bb ci: explicit jobs permissions 2022-01-25 15:49:56 +01:00
Quentin Gliech c3b0b611db ci: remove LSIF index step 2022-01-25 15:47:23 +01:00
Quentin Gliech fd210fc7c7 ci: restore less stuff from cache to avoid cache size explosion 2022-01-25 15:41:12 +01:00
Quentin Gliech ba31a6a17a ci: stop using clippy actions because of permissions issues 2022-01-25 15:40:20 +01:00
Quentin Gliech 3a05496273 Setup dependabot 2022-01-25 15:13:03 +01:00
Quentin Gliech a328403ec7 Bump some dependencies 2022-01-25 15:04:08 +01:00
Quentin Gliech fa9c2d4c44 Switch RSA crate git source to RustCrypto/RSA 2022-01-25 14:55:05 +01:00
Quentin Gliech d43af81238 Upgrade dependencies 2022-01-25 12:47:17 +01:00
Quentin Gliech 46caf284cf Fix traces not being created for requests 2022-01-25 11:46:14 +01:00
Quentin Gliech 4fd0c6b337 cargo fmt 2022-01-25 09:52:45 +01:00
Quentin Gliech 1355be8fb8 Add AWS SES backend to send email 2022-01-24 16:31:53 +01:00
Quentin Gliech 7b487e184a Finish implementing email verification
Fixes #30
2022-01-21 18:22:02 +01:00
Quentin Gliech 54e9dc0712 Database model to save user email verification codes 2022-01-21 17:41:11 +01:00
Quentin Gliech 1df5cf42e3 Simplify Docker build in CI 2022-01-21 12:31:24 +01:00
Quentin Gliech 4ab14d1ea9 Fix Docker multi-arch debug builds 2022-01-19 19:08:26 +01:00
Quentin Gliech 93cbad34f5 Actually send emails 2022-01-19 18:00:45 +01:00
Quentin Gliech 2e12f43c0e WIP: email sending crate 2022-01-19 12:10:03 +01:00
Quentin Gliech 29b2fc2e43 CLI subcommand to mark emails as verified 2022-01-18 18:33:05 +01:00
Quentin Gliech 6e50921626 Email management UI
Also simplify a bunch of query strings
2022-01-18 18:16:56 +01:00
Quentin Gliech 0c2950a160 Remove unnecessary boxing of warp filters
This was needed because of a compiler regression. Now that we're using
Rust 1.58 there is no benefit to boxing them
2022-01-18 12:07:29 +01:00
Quentin Gliech 1b35f96f29 Move password change to its own page
Also restructure the templates structure a bit
2022-01-18 11:58:42 +01:00
Quentin Gliech 565f5cda1b Save user emails in database 2022-01-14 18:42:37 +01:00
Quentin Gliech ecaa4b98b6 Update SQLx offline query data 2022-01-14 14:07:40 +01:00
Quentin Gliech 571f484894 Revoke OAuth session on code reuse 2022-01-14 13:20:14 +01:00
Quentin Gliech f876d6a134 Upgrade dependencies 2022-01-14 10:51:12 +01:00
Quentin Gliech b2e168a07f Bump Rust version to 1.58.0 in Docker image 2022-01-14 10:07:09 +01:00
Quentin Gliech 219035335c Enable clippy lints on iana crates 2022-01-12 12:26:35 +01:00
Quentin Gliech 5b9c35a079 Use iana generated types in more places 2022-01-12 12:22:54 +01:00
Quentin Gliech 2844706bb1 Multiple IANA codegen enhancement
- JWS/JWE algorithms are properly splitted
 - Enums now have a proper description
 - They implement FromStr and Display
 - mas-jose does not reexport mas-iana anymore
2022-01-12 10:58:27 +01:00
Quentin Gliech d9b1ef3ded Fix generated code style 2022-01-11 19:19:02 +01:00
Quentin Gliech 9003eaf0c2 Use new generated enums & query supported signing algs from the keystore 2022-01-11 18:46:26 +01:00
Quentin Gliech 0e70af0a75 Codegen enums from IANA registries 2022-01-11 18:46:01 +01:00
Quentin Gliech 97ab75fb15 Add loads of server metadata in the discovery document 2022-01-11 12:54:26 +01:00
Quentin Gliech b4f0f0d0be Have all server metadata from the IANA registry 2022-01-11 11:20:17 +01:00
Quentin Gliech a30d4b58f0 Add exp claim in id_tokens 2022-01-10 17:59:57 +01:00
Quentin Gliech 5631300dc3 Claims handling in JOSE library 2022-01-10 17:41:48 +01:00
Quentin Gliech f0a7e96875 Add tests for private_key_jwt client auth 2022-01-06 10:04:43 +01:00
Quentin Gliech ef3da801a3 Fix client auth test 2022-01-06 09:44:21 +01:00