Commit Graph

1274 Commits

Author SHA1 Message Date
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
Quentin Gliech
018175185d Many frontend fixes & deps bumps 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
dependabot[bot]
0d15679aa4 build(deps): bump actions/upload-pages-artifact from 1.0.8 to 1.0.9
Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/actions/upload-pages-artifact/releases)
- [Commits](https://github.com/actions/upload-pages-artifact/compare/v1.0.8...v1.0.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 10:37:24 +02:00
dependabot[bot]
7445e38b2a build(deps-dev): bump eslint-plugin-matrix-org in /frontend
Bumps [eslint-plugin-matrix-org](https://github.com/matrix-org/eslint-config-matrix-org) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/matrix-org/eslint-config-matrix-org/releases)
- [Commits](https://github.com/matrix-org/eslint-config-matrix-org/compare/v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-matrix-org
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 10:36:51 +02:00
Quentin Gliech
f5ed39fa42 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
e5d5243c6d 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
f767130e1b Update the JSON schema 2023-06-14 12:53:48 +02:00
Will Hunt
71732f5c87 Fix homeserver config docs 2023-06-14 12:53:48 +02:00
dependabot[bot]
b406435878 build(deps): bump open-policy-agent/setup-opa from 2.0.1 to 2.1.0
Bumps [open-policy-agent/setup-opa](https://github.com/open-policy-agent/setup-opa) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/open-policy-agent/setup-opa/releases)
- [Commits](https://github.com/open-policy-agent/setup-opa/compare/v2.0.1...v2.1.0)

---
updated-dependencies:
- dependency-name: open-policy-agent/setup-opa
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-14 12:40:08 +02:00
dependabot[bot]
439f485cee build(deps): bump actions/deploy-pages from 2.0.1 to 2.0.2
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/actions/deploy-pages/releases)
- [Commits](https://github.com/actions/deploy-pages/compare/v2.0.1...v2.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-14 12:04:13 +02:00
Quentin Gliech
be837a54e3 Bump Rust dependencies 2023-06-14 12:02:16 +02:00
Quentin Gliech
61bd47762f Adopt eslint-config-matrix-org & bump deps 2023-06-14 09:24:49 +02:00
Germain
514826387d Use Alert component for not logged in message 2023-06-14 09:24:49 +02:00
Germain
d723db9910 First-pass for Compound styles 2023-06-14 09:24:49 +02:00
Quentin Gliech
2318d3ab9d Bump frontend dependencies
Also properly exclude generated files from eslint
2023-06-14 09:24:49 +02:00
Quentin Gliech
869e2061a7 Buttons to end compat and OAuth2 sessions 2023-06-14 09:24:49 +02:00
Quentin Gliech
01991adc18 Schema update 2023-06-14 09:24:49 +02:00
Quentin Gliech
e967f8cca3 Ability to set the primary email and cleanup the email lists 2023-06-14 09:24:49 +02:00
Quentin Gliech
27c106fba9 Ability to remove emails 2023-06-14 09:24:49 +02:00
Quentin Gliech
b402bf0894 Nicer email management UI 2023-06-14 09:24:49 +02:00
Quentin Gliech
441e9211ef Fix the build and the CompatSsoLoginList query 2023-06-14 09:24:49 +02:00
Quentin Gliech
cdaaad5411 Setup consistent import order and fix eslint errors 2023-06-14 09:24:49 +02:00
Quentin Gliech
f7d37a5947 Use the same pagination primitives in the session lists 2023-06-14 09:24:49 +02:00
Quentin Gliech
c58ebd20fa WIP my account page 2023-06-14 09:24:49 +02:00
Quentin Gliech
f888be5103 WIP my account page 2023-06-14 09:24:49 +02:00
Quentin Gliech
39d9263ee7 WIP my account page 2023-06-14 09:24:49 +02:00
Quentin Gliech
bae3f2d9d0 WIP my account page 2023-06-14 09:24:49 +02:00
Quentin Gliech
e946e67b7e WIP my account page 2023-06-14 09:24:49 +02:00
Quentin Gliech
7784e0f14f ci: pin actions versions 2023-06-13 19:08:48 +02:00
Quentin Gliech
edbafe5bfd ci: Make it set the docker context again 2023-06-13 19:08:48 +02:00
Quentin Gliech
16a0c4bc32 Fix the compat SSO redirect URL generation 2023-06-07 15:09:04 +02:00
dependabot[bot]
818b9d3056 build(deps): bump sigstore/cosign-installer from 3.0.2 to 3.0.5
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.0.2 to 3.0.5.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.0.2...v3.0.5)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-26 16:14:55 +02:00
Quentin Gliech
bcd7d768b3 Bump Rust dependencies 2023-05-26 16:11:17 +02:00
dependabot[bot]
bdc8541a35 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
dependabot[bot]
28e4f07bc8 build(deps): bump figment from 0.10.8 to 0.10.9
Bumps [figment](https://github.com/SergioBenitez/Figment) from 0.10.8 to 0.10.9.
- [Commits](https://github.com/SergioBenitez/Figment/compare/v0.10.8...v0.10.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-26 09:52:12 +02:00
Quentin Gliech
026d826a82 Remove explicit generics from tasks layers
This defines an IdentityLayer<R> which is used to bind the request type
on the service, which helps with type inference.
2023-05-25 18:57:47 +02:00
Quentin Gliech
1b4f48798b Bump Rust dependencies 2023-05-25 18:15:44 +02:00
Quentin Gliech
5d14582686 Make password-based login optional 2023-05-23 17:02:02 +02:00
Kévin Commaille
c63e497d60 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
Doug
5e60116101 Make ClientErrorCode.error_description optional. 2023-05-09 19:10:19 +02:00
dependabot[bot]
311112a4d9 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]
db41733d23 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]
2ad4ed1813 build(deps): bump der from 0.7.4 to 0.7.5
Bumps [der](https://github.com/RustCrypto/formats) from 0.7.4 to 0.7.5.
- [Release notes](https://github.com/RustCrypto/formats/releases)
- [Commits](https://github.com/RustCrypto/formats/compare/der/v0.7.4...der/v0.7.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-25 17:58:14 +02:00
dependabot[bot]
eeeae30924 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
e5cc571a99 Have better output types on mutations 2023-04-25 16:39:15 +02:00
Quentin Gliech
42eefd4a98 Have a new viewer and viewerSession graphql query member
This deprecates `currentUser` and `currentBrowserSession`, but doesn't remove them (yet).

Also start to split the root query in multiple objects
2023-04-25 16:39:15 +02:00
Quentin Gliech
2fbcb5377e Split the mutations and make them use an input object instead of different parameters 2023-04-25 16:39:15 +02:00
Quentin Gliech
602fa3675a 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
665487db40 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