1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-06 05:42:30 +03:00
Commit Graph

95 Commits

Author SHA1 Message Date
e0c98933a1 build(deps-dev): bump @types/node from 20.3.1 to 20.3.2 in /frontend
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.3.1 to 20.3.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-28 09:16:09 +02:00
8dafb2463a build(deps): bump graphql from 16.6.0 to 16.7.1 in /frontend
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.6.0 to 16.7.1.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.6.0...v16.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-27 17:48:19 +02:00
b8c31ee3d3 build(deps-dev): bump @vitejs/plugin-react in /frontend
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@4.0.1/packages/plugin-react)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-20 17:42:26 +02:00
c21b28448d Fix lint 2023-06-20 16:53:53 +02:00
a592f00cf9 Fix the MatrixUser cache in urql 2023-06-20 16:53:53 +02:00
f67cc0d6d0 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
ebb87f0a5e Many frontend fixes & deps bumps 2023-06-20 16:53:53 +02:00
15c3221517 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
4181cbc9d5 Refactor the matrix connection logic
Also make the display name available through the graphql api
2023-06-16 19:52:39 +02:00
7e90564d16 Bump Rust dependencies 2023-06-14 12:02:16 +02:00
3672d2dbde Adopt eslint-config-matrix-org & bump deps 2023-06-14 09:24:49 +02:00
b493f62251 Use Alert component for not logged in message 2023-06-14 09:24:49 +02:00
33da9f05fe First-pass for Compound styles 2023-06-14 09:24:49 +02:00
dfdfc25d00 Bump frontend dependencies
Also properly exclude generated files from eslint
2023-06-14 09:24:49 +02:00
b56c2350a4 Buttons to end compat and OAuth2 sessions 2023-06-14 09:24:49 +02:00
119e3300de Schema update 2023-06-14 09:24:49 +02:00
63d4bfd0d4 Ability to set the primary email and cleanup the email lists 2023-06-14 09:24:49 +02:00
741873b84e Ability to remove emails 2023-06-14 09:24:49 +02:00
e8b7591d7e Nicer email management UI 2023-06-14 09:24:49 +02:00
aa8d5b6aed Fix the build and the CompatSsoLoginList query 2023-06-14 09:24:49 +02:00
826e84904e Setup consistent import order and fix eslint errors 2023-06-14 09:24:49 +02:00
3d6eba6acc Use the same pagination primitives in the session lists 2023-06-14 09:24:49 +02:00
d7403ca0fd WIP my account page 2023-06-14 09:24:49 +02:00
3c933a9d29 WIP my account page 2023-06-14 09:24:49 +02:00
574514638e WIP my account page 2023-06-14 09:24:49 +02:00
f62d045b8c WIP my account page 2023-06-14 09:24:49 +02:00
415d06f209 WIP my account page 2023-06-14 09:24:49 +02:00
ed5c367df6 Have better output types on mutations 2023-04-25 16:39:15 +02:00
3b0f2ea1b0 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
047a91907d Split the mutations and make them use an input object instead of different parameters 2023-04-25 16:39:15 +02:00
be765fe04f 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
31ab146965 build(deps-dev): bump prettier from 2.8.7 to 2.8.8 in /frontend
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.7 to 2.8.8.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.7...2.8.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 23:21:50 +02:00
71e1b5820c build(deps): bump @urql/core from 4.0.4 to 4.0.6 in /frontend
Bumps [@urql/core](https://github.com/urql-graphql/urql/tree/HEAD/packages/core) from 4.0.4 to 4.0.6.
- [Release notes](https://github.com/urql-graphql/urql/releases)
- [Changelog](https://github.com/urql-graphql/urql/blob/main/packages/core/CHANGELOG.md)
- [Commits](https://github.com/urql-graphql/urql/commits/@urql/core@4.0.6/packages/core)

---
updated-dependencies:
- dependency-name: "@urql/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 22:51:51 +02:00
56a52e41b0 build(deps-dev): bump @graphql-codegen/cli in /frontend
Bumps [@graphql-codegen/cli](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/graphql-codegen-cli/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/cli@3.3.1/packages/graphql-codegen-cli)

---
updated-dependencies:
- dependency-name: "@graphql-codegen/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 22:51:13 +02:00
804ce71063 build(deps-dev): bump @vitejs/plugin-react in /frontend
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 3.1.0 to 4.0.0.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@4.0.0/packages/plugin-react)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 22:50:32 +02:00
1a7c15fc3b build(deps-dev): bump @types/node from 18.15.11 to 18.16.0 in /frontend
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.15.11 to 18.16.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 22:31:52 +02:00
674872e2b4 build(deps-dev): bump vite from 4.2.2 to 4.3.1 in /frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.2.2 to 4.3.1.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.3.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 22:28:54 +02:00
90110d81ae build(deps): bump @urql/exchange-graphcache in /frontend
Bumps [@urql/exchange-graphcache](https://github.com/urql-graphql/urql/tree/HEAD/exchanges/graphcache) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/urql-graphql/urql/releases)
- [Changelog](https://github.com/urql-graphql/urql/blob/main/exchanges/graphcache/CHANGELOG.md)
- [Commits](https://github.com/urql-graphql/urql/commits/@urql/exchange-graphcache@6.0.2/exchanges/graphcache)

---
updated-dependencies:
- dependency-name: "@urql/exchange-graphcache"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 22:28:12 +02:00
97fdb9fe40 build(deps-dev): bump postcss from 8.4.22 to 8.4.23 in /frontend
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.22 to 8.4.23.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.22...8.4.23)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20 08:49:36 +02:00
558ee7f197 Bump frontend dependencies & setup better urql cache 2023-04-19 11:39:02 +02:00
62f96ccab8 Bump frontend dependencies 2023-04-18 19:03:51 +02:00
a56abfb9ef Upgrade Storybook to 7.0.0 stable 2023-04-03 11:53:57 +02:00
e65e9adf7e build(deps-dev): bump prettier from 2.8.5 to 2.8.6 in /frontend
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.5 to 2.8.6.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.5...2.8.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 17:02:18 +01:00
73cb454deb Bump frontend dependencies 2023-03-21 09:31:15 +01:00
b26d12f52f frontend: Migrate to jotai and urql
This cuts the bundle size by 50% and makes it easier to reason about state.
It removes the usage of react-router-dom and replaces it with a simple router atom based on jotai-location.
Since the screens will be quite simple, I don't expect that we'll need the advanced caching features of react-relay, hence the switch to urql.
2023-03-20 21:10:04 +01:00
17e4bb70c1 build(deps-dev): bump vite from 4.1.4 to 4.2.0 in /frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.1.4 to 4.2.0.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@4.2.0/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-17 18:41:48 +01:00
22e13feb8a build(deps-dev): bump vitest from 0.29.2 to 0.29.3 in /frontend
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 0.29.2 to 0.29.3.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.29.3/packages/vitest)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-17 17:52:34 +01:00
71d72e99bb build(deps-dev): bump @vitest/coverage-c8 in /frontend
Bumps [@vitest/coverage-c8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-c8) from 0.29.2 to 0.29.3.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.29.3/packages/coverage-c8)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-c8"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-17 17:52:20 +01:00
93826e9b25 build(deps-dev): bump typescript from 4.9.5 to 5.0.2 in /frontend
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.9.5 to 5.0.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-17 17:52:05 +01:00
1f56d9b2f7 Fix frontend code coverage generation 2023-03-14 12:07:09 +01:00