1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-23 11:02:35 +03:00
Commit Graph

2245 Commits

Author SHA1 Message Date
Quentin Gliech
edfcea0419 Make the layout wider on "account" pages
This also fixes a bug where a double "layout" was applied to the not
found pages.

It also sets the layout min height to use 100svh instead of 100vh, so
that it doesn't unecessarily scroll on iOS.
2024-02-19 17:56:06 +01:00
Quentin Gliech
90cebeeefc Remove unnecessary debugging printf in i18n crate 2024-02-19 17:53:45 +01:00
Quentin Gliech
1c000a1fed Make sure the locale fallback works as expected
- Also makes sure that the fallback runs in the backend and is then
   picked up by the frontend
 - and explicitely fallback zh-CN to zh-Hans
2024-02-19 11:43:36 +01:00
Quentin Gliech
d88bf1faa5 Fix the zh-Hans translation
This had the wrong code in localazy, and I think the Localazy download
action doesn't remove old files, so I did that manually.
2024-02-19 09:56:25 +01:00
sandhose
008bae3d02 Translations updates 2024-02-17 11:22:41 +01:00
Quentin Gliech
aefcc3cae2 Move the cross signing reset UI in its own page 2024-02-17 09:48:53 +01:00
Quentin Gliech
0d4b941b43 Make sure all the loader use the abort signal
This makes sure that the loader stops loading when navigating away
2024-02-17 09:48:53 +01:00
Quentin Gliech
f10a1c7830 Make sure the error boundary & loading spinner don't suspend
This is done by making it possible to render the GenericError, Layout
and Footer with a `dontSuspend` prop. This then sets the `useSuspense`
to `false` in translations, and sets a default translations in case they
haven't been loaded yet.
2024-02-17 09:48:53 +01:00
Quentin Gliech
ebcd6222fd Upgrade compound-web to remove React warning 2024-02-17 09:48:53 +01:00
Quentin Gliech
b7030f1ac7 Add a TooltipProvider in the storybook preview 2024-02-16 15:11:31 +01:00
Quentin Gliech
017ef2fd43 Revamp the confirmation dialog 2024-02-16 15:11:31 +01:00
Quentin Gliech
dd6f1cbc9b Update the email list to match the new design 2024-02-16 15:11:31 +01:00
Quentin Gliech
e041f47dfe Replace Jotai with @tanstack/router (#2359)
* Start replacing jotai with @tanstack/router

* Remove jotai completely

* Move the common layout & reimplement the ?action parameter

This also makes sure everything is properly loaded in the route loader,
and we use fragment where it makes sense

* Change the default error component

* GraphQL API: make the sessions fetchable through node(id: ID!)
2024-02-15 17:19:05 +01:00
Quentin Gliech
f0f7497d2d Finish replacing jotai-urql with bare urql
Mostly remaining was pagination related stuff & fixing tests
2024-02-15 14:17:20 +01:00
Quentin Gliech
3f90839744 Replace remaining atomWithQuery with urql except paginated lists 2024-02-15 14:17:20 +01:00
Quentin Gliech
0591fbfb2b Replace all GraphQL mutations with urql 2024-02-15 14:17:20 +01:00
Quentin Gliech
1b75b3b185 WIP: start replacing jotai-urql with urql 2024-02-15 14:17:20 +01:00
github-actions[bot]
3d90d0861c 0.8.0 v0.8.0 2024-02-09 15:29:13 +00:00
Quentin Gliech
9e2d761e62 frontend: upgrade to Vite 5 2024-02-09 15:57:11 +01:00
github-actions[bot]
237e820a5c 0.8.0-rc.1 v0.8.0-rc.1 2024-02-08 18:15:19 +00:00
dependabot[bot]
4fc0a72086 build(deps): bump rustls-pki-types from 1.1.0 to 1.2.0
Bumps [rustls-pki-types](https://github.com/rustls/pki-types) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/rustls/pki-types/releases)
- [Commits](https://github.com/rustls/pki-types/compare/v/1.1.0...v/1.2.0)

---
updated-dependencies:
- dependency-name: rustls-pki-types
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-08 18:44:39 +01:00
Quentin Gliech
52f8c83e42 Upgrade compound and fix bad focus rings on inputs 2024-02-08 17:54:10 +01:00
dependabot[bot]
bc77d9375a build(deps-dev): bump the storybook group in /frontend with 4 updates
Bumps the storybook group in /frontend with 4 updates: [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/essentials), [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/code/renderers/react), [@storybook/react-vite](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-vite) and [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli).


Updates `@storybook/addon-essentials` from 7.6.12 to 7.6.13
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v7.6.13/code/addons/essentials)

Updates `@storybook/react` from 7.6.12 to 7.6.13
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v7.6.13/code/renderers/react)

Updates `@storybook/react-vite` from 7.6.12 to 7.6.13
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v7.6.13/code/frameworks/react-vite)

Updates `storybook` from 7.6.12 to 7.6.13
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v7.6.13/code/lib/cli)

---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- dependency-name: "@storybook/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- dependency-name: "@storybook/react-vite"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- dependency-name: storybook
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-08 15:32:30 +01:00
dependabot[bot]
a9db966011 build(deps): bump the i18next group in /frontend with 1 update
Bumps the i18next group in /frontend with 1 update: [react-i18next](https://github.com/i18next/react-i18next).


Updates `react-i18next` from 14.0.3 to 14.0.5
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v14.0.3...v14.0.5)

---
updated-dependencies:
- dependency-name: react-i18next
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: i18next
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-08 15:32:18 +01:00
dependabot[bot]
5ecb52909c build(deps-dev): bump the graphql-codegen group
Bumps the graphql-codegen group in /frontend with 2 updates: [@graphql-codegen/cli](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli) and [@graphql-codegen/client-preset](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/presets/client).


Updates `@graphql-codegen/cli` from 5.0.0 to 5.0.2
- [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@5.0.2/packages/graphql-codegen-cli)

Updates `@graphql-codegen/client-preset` from 4.2.1 to 4.2.2
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/presets/client/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/client-preset@4.2.2/packages/presets/client)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-08 15:32:09 +01:00
dependabot[bot]
f6efa2120c build(deps): bump EmbarkStudios/cargo-deny-action from 1.5.12 to 1.5.13
Bumps [EmbarkStudios/cargo-deny-action](https://github.com/embarkstudios/cargo-deny-action) from 1.5.12 to 1.5.13.
- [Release notes](https://github.com/embarkstudios/cargo-deny-action/releases)
- [Commits](https://github.com/embarkstudios/cargo-deny-action/compare/v1.5.12...v1.5.13)

---
updated-dependencies:
- dependency-name: EmbarkStudios/cargo-deny-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-08 15:31:45 +01:00
dependabot[bot]
b064e67878 build(deps): bump open-policy-agent/setup-opa from 2.1.0 to 2.2.0
Bumps [open-policy-agent/setup-opa](https://github.com/open-policy-agent/setup-opa) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/open-policy-agent/setup-opa/releases)
- [Commits](https://github.com/open-policy-agent/setup-opa/compare/v2.1.0...v2.2.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>
2024-02-08 15:31:33 +01:00
dependabot[bot]
51e38aed4b build(deps): bump actions/upload-artifact from 4.3.0 to 4.3.1
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.3.0...v4.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-08 15:31:22 +01:00
dependabot[bot]
d1c2e3c839 build(deps): bump actions/deploy-pages from 4.0.3 to 4.0.4
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/actions/deploy-pages/releases)
- [Commits](https://github.com/actions/deploy-pages/compare/v4.0.3...v4.0.4)

---
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>
2024-02-08 15:31:10 +01:00
Quentin Gliech
a980bc79cf Update config schema
Because enabled the serde_json feature which preserves the order in
dicts, keys moved around in the generated schema.
2024-02-08 15:28:43 +01:00
Quentin Gliech
293150894b Introduce mas-cli doctor, a simple diagnostic tool
This should help users to diagnose common issues with their setup.
2024-02-08 15:28:43 +01:00
Jason Robinson
ea223a2c4e Clarify syn2mas docs on skipping tokens without devices 2024-02-08 15:10:25 +01:00
Jason Robinson
ff815c0333 syn2mas: Skip access tokens that don't have a device ID
These can't be migrated. They are likely enirely valid tokens created by puppeting a user via the Synapse admin api. Treating them as fatal errors will make it impossible to migrate any host that has ever used this admin API feature.
2024-02-08 15:10:25 +01:00
Jason Robinson
114c5fc33f Allow Synapse OIDC provider idp_name to be null
It's not required, though technically it should be given if there are multiple providers.

Synapse config loads it defaulted to `OIDC` if not given: be65a8ec01/synapse/config/oidc.py (L299-L299)
2024-02-07 17:41:55 +01:00
Quentin Gliech
41ee350766 Fix the AS login docs 2024-02-07 17:27:24 +01:00
Quentin Gliech
de22a7f1b4 Fix compound tooltips by adding the missing TooltipProvider to the tree 2024-02-07 17:22:19 +01:00
Quentin Gliech
0beb842195 Make the user agree to T&C during registration 2024-02-07 17:21:22 +01:00
Quentin Gliech
90c386847a Setup a repository to track user terms agreements 2024-02-07 17:21:22 +01:00
Quentin Gliech
c0afe98507 Warn loudly about encrypted appservices being unsupported 2024-02-07 17:13:01 +01:00
Quentin Gliech
d3e5f1b101 Automatically run migrations on service startup 2024-02-07 16:31:36 +01:00
Quentin Gliech
6c4205dfad Bump most frontend dependencies & fix CSS nesting warning 2024-02-06 15:40:08 +01:00
Quentin Gliech
d790e18499 Upgrade compound 2024-02-06 15:08:57 +01:00
dependabot[bot]
d5d7d779fd build(deps-dev): bump the storybook group in /frontend with 4 updates
Bumps the storybook group in /frontend with 4 updates: [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/essentials), [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/code/renderers/react), [@storybook/react-vite](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-vite) and [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli).


Updates `@storybook/addon-essentials` from 7.6.0 to 7.6.12
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v7.6.12/code/addons/essentials)

Updates `@storybook/react` from 7.6.0 to 7.6.12
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v7.6.12/code/renderers/react)

Updates `@storybook/react-vite` from 7.6.0 to 7.6.12
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v7.6.12/code/frameworks/react-vite)

Updates `storybook` from 7.6.0 to 7.6.12
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v7.6.12/code/lib/cli)

---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- dependency-name: "@storybook/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- dependency-name: "@storybook/react-vite"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- dependency-name: storybook
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-06 15:03:57 +01:00
Quentin Gliech
91418095fe ci: set the docker annotations on both the manifest and the index 2024-02-06 15:00:14 +01:00
Quentin Gliech
ad13601de3 Hold back react-i18next 2024-02-06 14:41:45 +01:00
dependabot[bot]
803fa4fcec build(deps): bump the i18next group in /frontend with 4 updates
Bumps the i18next group in /frontend with 4 updates: [i18next](https://github.com/i18next/i18next), [i18next-http-backend](https://github.com/i18next/i18next-http-backend), [react-i18next](https://github.com/i18next/react-i18next) and [i18next-parser](https://github.com/i18next/i18next-parser).


Updates `i18next` from 23.7.6 to 23.8.2
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v23.7.6...v23.8.2)

Updates `i18next-http-backend` from 2.4.2 to 2.4.3
- [Changelog](https://github.com/i18next/i18next-http-backend/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next-http-backend/compare/v2.4.2...v2.4.3)

Updates `react-i18next` from 13.5.0 to 14.0.3
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v13.5.0...v14.0.3)

Updates `i18next-parser` from 8.9.0 to 8.12.0
- [Release notes](https://github.com/i18next/i18next-parser/releases)
- [Changelog](https://github.com/i18next/i18next-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next-parser/compare/8.9.0...8.12.0)

---
updated-dependencies:
- dependency-name: i18next
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: i18next
- dependency-name: i18next-http-backend
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: i18next
- dependency-name: react-i18next
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: i18next
- dependency-name: i18next-parser
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: i18next
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-06 14:41:45 +01:00
github-actions[bot]
eb6a6d315e 0.8.0-rc.0 v0.8.0-rc.0 2024-02-02 23:13:43 +00:00
Quentin Gliech
fe2344baca ci: automate dependencies version bump on release 2024-02-03 00:12:02 +01:00
Jason Robinson
9d96cdde1f Exit syn2mas advisor with non-zero exit code on errors
When running the advisor in an automated fashion, getting a non-zero exit code on errors helps enormously.
2024-02-02 23:46:43 +01:00
dependabot[bot]
724cec47e5 build(deps): bump actions/upload-pages-artifact from 2.0.0 to 3.0.0
Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/actions/upload-pages-artifact/releases)
- [Commits](https://github.com/actions/upload-pages-artifact/compare/v2.0.0...v3.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-02 23:45:42 +01:00