Commit Graph

1332 Commits

Author SHA1 Message Date
Quentin Gliech c13b0478e6 Initial GraphQL API 2022-11-09 19:17:12 +01:00
Quentin Gliech 35e5a5a7a7 Better AWS SDK tracing 2022-11-04 09:31:50 +01:00
Quentin Gliech eeb442b6d0 Bump rustc to 1.65 2022-11-03 21:56:58 +01:00
Quentin Gliech a414936484 Trace AWS operations & share TLS connector with mas-http 2022-11-03 18:08:20 +01:00
dependabot[bot] b5fd54bbf4 Bump wasmtime from 1.0.1 to 2.0.1
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 1.0.1 to 2.0.1.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v1.0.1...v2.0.1)

---
updated-dependencies:
- dependency-name: wasmtime
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-03 16:49:11 +01:00
Quentin Gliech 3dc7388f88 ci: Run clippy from a fixed version instead of stable 2022-11-03 16:18:06 +01:00
Quentin Gliech 9756f3c704 Fix the default features set 2022-11-03 15:19:49 +01:00
Quentin Gliech 041eb7013c Disable wasmtime cache in Docker builds 2022-11-03 15:19:49 +01:00
Quentin Gliech bec0dceede Fix clippy warning 2022-11-03 15:19:49 +01:00
Quentin Gliech 3fc386a4dd dockerfile: cross-compile with cargo-zigbuild & embed audit infos 2022-11-03 15:19:49 +01:00
Quentin Gliech f70d883377 ci: Checkout the code but use the remote context in docker build 2022-11-03 15:19:49 +01:00
Quentin Gliech 03e903cd32 Fix Docker build context URL 2022-11-03 15:19:49 +01:00
Quentin Gliech 00909133d6 Fix clippy warning 2022-11-03 15:19:49 +01:00
Quentin Gliech 7db0a2abdf Build docker image without checking out the code 2022-11-03 15:19:49 +01:00
Quentin Gliech a7ffb635d4 Simplify and speedup CI 2022-11-03 15:19:49 +01:00
Quentin Gliech ba3379434d Generate a random secret on client registration 2022-11-02 18:59:00 +01:00
Quentin Gliech 8ccc23cc47 Better userinfo error codes 2022-11-02 18:59:00 +01:00
Quentin Gliech d098debd72 Only have an up migration, not a down 2022-11-02 18:59:00 +01:00
Quentin Gliech 577d5e4952 Minor fixes 2022-11-02 18:59:00 +01:00
Quentin Gliech 2d2127dcdb More cleanups 2022-11-02 18:59:00 +01:00
Quentin Gliech 368a9282a1 Cleanups 2022-11-02 18:59:00 +01:00
Quentin Gliech b7c50b5403 Pass time and RNG in CSRF verification methods 2022-11-02 18:59:00 +01:00
Quentin Gliech f0d95a7613 Stop using Utc::now in templates samples 2022-11-02 18:59:00 +01:00
Quentin Gliech 44d09b68e7 Remove usages of Utc::now() in time claims 2022-11-02 18:59:00 +01:00
Quentin Gliech f1aa42fae4 Disallow Ulid generation without explicit timestamp and rng 2022-11-02 18:59:00 +01:00
Quentin Gliech 559181c2c3 Pass the rng and clock around 2022-11-02 18:59:00 +01:00
Quentin Gliech 5c7e66a9b2 Update sqlx query data 2022-11-02 18:59:00 +01:00
Quentin Gliech 02c30d9916 Insert client redirect_uris in one query 2022-11-02 18:59:00 +01:00
Quentin Gliech 770541eb38 Better DB operations tracing 2022-11-02 18:59:00 +01:00
Quentin Gliech 5580179537 Better logging of user-related DB operations
Also fixes a bug where the user would get redirected to the wrong URL
for verifying their email address
2022-11-02 18:59:00 +01:00
Quentin Gliech 27ace2aaca Do not check for token expiration from the database directly 2022-11-02 18:59:00 +01:00
Quentin Gliech cacc2d799b Update the sqlx introspection data 2022-11-02 18:59:00 +01:00
Quentin Gliech 16e50899e5 Remove trailing spaces 2022-11-02 18:59:00 +01:00
Quentin Gliech e2142f9cd4 Database refactoring 2022-11-02 18:59:00 +01:00
Quentin Gliech 0571c36da9 Bump remaining dependencies 2022-11-02 14:51:08 +01:00
Quentin Gliech 6a235d40d9 Bump AWS crates and remove direct dependency on aws-types 2022-11-02 14:51:08 +01:00
dependabot[bot] 01b036ca8e Bump rsa from 0.7.0 to 0.7.1
Bumps [rsa](https://github.com/RustCrypto/RSA) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/RustCrypto/RSA/releases)
- [Changelog](https://github.com/RustCrypto/RSA/blob/master/CHANGELOG.md)
- [Commits](https://github.com/RustCrypto/RSA/compare/v0.7.0...v0.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 14:13:41 +01:00
dependabot[bot] e25b8f7dec Bump cssnano from 5.1.13 to 5.1.14 in /crates/static-files
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.1.13 to 5.1.14.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.1.13...cssnano@5.1.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01 16:48:01 +01:00
dependabot[bot] db3794cd41 Bump autoprefixer from 10.4.12 to 10.4.13 in /crates/static-files
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.12 to 10.4.13.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.12...10.4.13)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01 16:27:08 +01:00
dependabot[bot] d692d65232 Bump hyper from 0.14.20 to 0.14.22
Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.20 to 0.14.22.
- [Release notes](https://github.com/hyperium/hyper/releases)
- [Changelog](https://github.com/hyperium/hyper/blob/v0.14.22/CHANGELOG.md)
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.20...v0.14.22)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01 16:26:56 +01:00
dependabot[bot] a7ab9181a6 Bump once_cell from 1.15.0 to 1.16.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01 16:26:52 +01:00
Quentin Gliech 7683bc4efe Bump Rust, OPA and NodeJS in Docker image 2022-10-27 15:39:16 +02:00
dependabot[bot] 6c0de3c96d Bump opa-wasm from a4ba323 to 325071e
Bumps [opa-wasm](https://github.com/matrix-org/rust-opa-wasm) from `a4ba323` to `325071e`.
- [Release notes](https://github.com/matrix-org/rust-opa-wasm/releases)
- [Commits](https://github.com/matrix-org/rust-opa-wasm/compare/a4ba32336e6c9b20db5a4631314e29a9c9b3f392...325071ee8a2a7d18cc611365edd3235945a8cdf4)

---
updated-dependencies:
- dependency-name: opa-wasm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-27 15:09:01 +02:00
dependabot[bot] ee413c7d83 Bump libc from 0.2.136 to 0.2.137
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.136 to 0.2.137.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.136...0.2.137)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-27 15:08:53 +02:00
dependabot[bot] 9d1e4e5efc Bump opa-wasm from 1f59b65 to a4ba323
Bumps [opa-wasm](https://github.com/matrix-org/rust-opa-wasm) from `1f59b65` to `a4ba323`.
- [Release notes](https://github.com/matrix-org/rust-opa-wasm/releases)
- [Commits](https://github.com/matrix-org/rust-opa-wasm/compare/1f59b659ce86a5f3a82d68f175d28251918c1d0f...a4ba32336e6c9b20db5a4631314e29a9c9b3f392)

---
updated-dependencies:
- dependency-name: opa-wasm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 23:35:21 +02:00
dependabot[bot] b014afd21b Bump libc from 0.2.135 to 0.2.136
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.135 to 0.2.136.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.135...0.2.136)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 22:13:08 +02:00
dependabot[bot] 2665c7fcf3 Bump peaceiris/actions-gh-pages from 3.8.0 to 3.9.0
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases)
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/068dc23d9710f1ba62e86896f84735d869951305...de7ea6f8efb354206b205ef54722213d99067935)

---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 22:03:11 +02:00
dependabot[bot] d91d6180f9 Bump peaceiris/actions-mdbook from 1.1.14 to 1.2.0
Bumps [peaceiris/actions-mdbook](https://github.com/peaceiris/actions-mdbook) from 1.1.14 to 1.2.0.
- [Release notes](https://github.com/peaceiris/actions-mdbook/releases)
- [Changelog](https://github.com/peaceiris/actions-mdbook/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peaceiris/actions-mdbook/compare/4b5ef36b314c2599664ca107bb8c02412548d79d...adeb05db28a0c0004681db83893d56c0388ea9ea)

---
updated-dependencies:
- dependency-name: peaceiris/actions-mdbook
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 22:02:20 +02:00
dependabot[bot] 1cb9e8eec6 Bump clap from 4.0.17 to 4.0.18
Bumps [clap](https://github.com/clap-rs/clap) from 4.0.17 to 4.0.18.
- [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.0.17...v4.0.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-23 10:40:06 +02:00
dependabot[bot] a62d30768f Bump opa-wasm from aeb0564 to 1f59b65
Bumps [opa-wasm](https://github.com/matrix-org/rust-opa-wasm) from `aeb0564` to `1f59b65`.
- [Release notes](https://github.com/matrix-org/rust-opa-wasm/releases)
- [Commits](https://github.com/matrix-org/rust-opa-wasm/compare/aeb05644f106421405bffb98eddd9ba2fa8a1f35...1f59b659ce86a5f3a82d68f175d28251918c1d0f)

---
updated-dependencies:
- dependency-name: opa-wasm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-23 10:38:58 +02:00