Commit Graph

1476 Commits

Author SHA1 Message Date
dependabot[bot]
99e850f335 build(deps-dev): bump @types/react from 18.2.18 to 18.2.19 in /frontend
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.18 to 18.2.19.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-08 19:25:13 +02:00
Quentin Gliech
f81899b72c Allow a trailing slash on the compat SSO route 2023-08-08 19:23:07 +02:00
dependabot[bot]
f12d5de76f build(deps): bump axum from 0.6.19 to 0.6.20
Bumps [axum](https://github.com/tokio-rs/axum) from 0.6.19 to 0.6.20.
- [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.19...axum-v0.6.20)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-08 19:21:47 +02:00
dependabot[bot]
dadd1abf8e build(deps-dev): bump the vite group in /frontend with 1 update
Bumps the vite group in /frontend with 1 update: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).

- [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.4.9/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-08 19:05:18 +02:00
dependabot[bot]
db20706c18 build(deps-dev): bump @types/node from 20.4.6 to 20.4.8 in /frontend
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.4.6 to 20.4.8.
- [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-08-08 19:05:03 +02:00
dependabot[bot]
6f75af9860 build(deps-dev): bump the eslint group in /frontend with 1 update
Bumps the eslint group in /frontend with 1 update: [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier).

- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.10.0...v9.0.0)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: eslint
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-08 19:04:46 +02:00
dependabot[bot]
81a971548c build(deps): bump axum-extra from 0.7.5 to 0.7.7
Bumps [axum-extra](https://github.com/tokio-rs/axum) from 0.7.5 to 0.7.7.
- [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-extra-v0.7.5...axum-extra-v0.7.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-08 18:46:39 +02:00
Quentin Gliech
687724f3b7 frontend: disable CSS code splitting 2023-08-08 18:35:32 +02:00
Quentin Gliech
904a3aca85 frontend: fix additional email counts on the <UserHome /> 2023-08-08 18:35:32 +02:00
Quentin Gliech
64cf5ad441 frontend: write stories and tests for the user home 2023-08-08 18:35:32 +02:00
Quentin Gliech
254edb99d8 frontend: split the various lists off the home page 2023-08-08 18:35:32 +02:00
Quentin Gliech
df31ea6ae5 frontend: make the add email form messages better 2023-08-08 18:35:32 +02:00
Quentin Gliech
7092ce61b6 frontend: make the link behavior better
It now ignores clicks with modifiers and has the right full href
2023-08-08 18:35:32 +02:00
Quentin Gliech
022cd46c66 frontend: make the navbar better and push it under the user avatar/name 2023-08-08 18:35:32 +02:00
Quentin Gliech
b212b41fb4 frontend: simple "active only" list filtering 2023-08-08 18:35:32 +02:00
Quentin Gliech
989763ce8b frontend: move the email verification form to a dedicated page 2023-08-08 18:35:32 +02:00
Quentin Gliech
32bebc5fbf frontend: add tests & stories for many components
Also more compound adoption
Also prettier upgrade
2023-08-08 18:35:32 +02:00
Quentin Gliech
7cbc2bfb55 frontend: start using CSS modules for components with design tokens 2023-08-08 18:35:32 +02:00
Kévin Commaille
301a4787e2 Add client-side support for software statement, ID and version
According to RFC7591

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2023-08-08 18:20:22 +02:00
Kévin Commaille
a5a4f0fab9 Add tests for Matrix API scope tokens
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2023-08-08 18:19:22 +02:00
Kévin Commaille
2b25a64f9a Add type support for Matrix CS API guest scope
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2023-08-08 18:19:22 +02:00
Kévin Commaille
d80c01115c Add tests for generating URL
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2023-08-08 18:14:04 +02:00
Kévin Commaille
2bd817f6d9 Remove unnecessary clippy override
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2023-08-08 18:14:04 +02:00
Kévin Commaille
c8196575db Add client-side support for RP-Initiated logout
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2023-08-08 18:14:04 +02:00
dependabot[bot]
e4eb09e0a5 build(deps): bump serde from 1.0.180 to 1.0.181
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.180 to 1.0.181.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.180...v1.0.181)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-04 23:18:07 +02:00
dependabot[bot]
8b531c9c5f build(deps): bump apalis-core from 0.4.3 to 0.4.4
Bumps apalis-core from 0.4.3 to 0.4.4.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-04 22:53:07 +02:00
dependabot[bot]
832127719f build(deps): bump time from 0.3.24 to 0.3.25
Bumps [time](https://github.com/time-rs/time) from 0.3.24 to 0.3.25.
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](https://github.com/time-rs/time/compare/v0.3.24...v0.3.25)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-04 22:50:01 +02:00
Quentin Gliech
effb3f8110 mas-graphql: post-async-graphql upgrade fixes 2023-08-03 17:22:10 +02:00
dependabot[bot]
795d25efe3 build(deps): bump async-graphql from 5.0.10 to 6.0.1
Bumps [async-graphql](https://github.com/async-graphql/async-graphql) from 5.0.10 to 6.0.1.
- [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-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 17:22:10 +02:00
Quentin Gliech
99c7ee1d18 cli: always include all OTEL exporters 2023-08-03 17:13:37 +02:00
dependabot[bot]
40d72250fb build(deps-dev): bump the storybook group in /frontend with 8 updates
Bumps the storybook group in /frontend with 8 updates:

| Package | Update |
| --- | --- |
| [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/actions) | 7.2.0 to 7.2.1 |
| [@storybook/addon-backgrounds](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/backgrounds) | 7.2.0 to 7.2.1 |
| [@storybook/addon-controls](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/controls) | 7.2.0 to 7.2.1 |
| [@storybook/addon-docs](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/docs) | 7.2.0 to 7.2.1 |
| [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/essentials) | 7.2.0 to 7.2.1 |
| [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/code/renderers/react) | 7.2.0 to 7.2.1 |
| [@storybook/react-vite](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-vite) | 7.2.0 to 7.2.1 |
| [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli) | 7.2.0 to 7.2.1 |


Updates `@storybook/addon-actions` from 7.2.0 to 7.2.1
- [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.2.1/code/addons/actions)

Updates `@storybook/addon-backgrounds` from 7.2.0 to 7.2.1
- [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.2.1/code/addons/backgrounds)

Updates `@storybook/addon-controls` from 7.2.0 to 7.2.1
- [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.2.1/code/addons/controls)

Updates `@storybook/addon-docs` from 7.2.0 to 7.2.1
- [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.2.1/code/addons/docs)

Updates `@storybook/addon-essentials` from 7.2.0 to 7.2.1
- [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.2.1/code/addons/essentials)

Updates `@storybook/react` from 7.2.0 to 7.2.1
- [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.2.1/code/renderers/react)

Updates `@storybook/react-vite` from 7.2.0 to 7.2.1
- [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.2.1/code/frameworks/react-vite)

Updates `storybook` from 7.2.0 to 7.2.1
- [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.2.1/code/lib/cli)

---
updated-dependencies:
- dependency-name: "@storybook/addon-actions"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- dependency-name: "@storybook/addon-backgrounds"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- dependency-name: "@storybook/addon-controls"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- dependency-name: "@storybook/addon-docs"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: storybook
- 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>
2023-08-03 16:52:28 +02:00
dependabot[bot]
82036630fc build(deps): bump @fontsource/inter from 5.0.5 to 5.0.7 in /frontend (#1439)
Bumps [@fontsource/inter](https://github.com/fontsource/font-files/tree/HEAD/fonts/google/inter) from 5.0.5 to 5.0.7.
- [Changelog](https://github.com/fontsource/font-files/blob/main/fonts/google/inter/CHANGELOG.md)
- [Commits](https://github.com/fontsource/font-files/commits/HEAD/fonts/google/inter)

---
updated-dependencies:
- dependency-name: "@fontsource/inter"
  dependency-type: direct:production
  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>
2023-08-03 16:47:18 +02:00
Quentin Gliech
ce3ad05c8d graphql: API to set the user displayname (#1412) 2023-08-03 14:45:59 +00:00
Quentin Gliech
ebe11efc8e dependabot: group eslint and include "opentelemetry" in the right group 2023-08-03 15:55:02 +02:00
Quentin Gliech
4bfad57f97 Merge pull request #1413 from matrix-org/quenting/user-lock
Add a way to lock and deprovision users
2023-08-03 15:52:53 +02:00
Quentin Gliech
04099d5235 Merge branch 'main' into quenting/user-lock 2023-08-03 15:20:05 +02:00
dependabot[bot]
9da472f62b build(deps-dev): bump @types/node from 20.4.5 to 20.4.6 in /frontend
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.4.5 to 20.4.6.
- [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-08-03 15:18:54 +02:00
dependabot[bot]
874a7876f2 build(deps): bump serde from 1.0.177 to 1.0.180
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.177 to 1.0.180.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.177...v1.0.180)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 15:18:17 +02:00
dependabot[bot]
4b448c459e build(deps): bump time from 0.3.23 to 0.3.24
Bumps [time](https://github.com/time-rs/time) from 0.3.23 to 0.3.24.
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](https://github.com/time-rs/time/compare/v0.3.23...v0.3.24)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 15:18:05 +02:00
dependabot[bot]
858aae3c62 build(deps): bump Swatinem/rust-cache from 2.5.1 to 2.6.0
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](https://github.com/swatinem/rust-cache/compare/v2.5.1...v2.6.0)

---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 15:14:51 +02:00
Quentin Gliech
07ec4b5a34 mas-matrix: fix clippy warnings 2023-08-03 15:06:45 +02:00
Quentin Gliech
649d86c1cf mas-tasks: refactor worker building behind a macro 2023-08-03 15:02:40 +02:00
Quentin Gliech
bea8e4eff4 Call the homeserver for user deactivation 2023-08-03 14:06:34 +02:00
Quentin Gliech
c821e3de54 Properly trace the cleanup-expired-tokens job 2023-08-03 14:06:34 +02:00
Quentin Gliech
30cd9f6113 Show and log the policy violations better 2023-08-03 14:06:34 +02:00
Quentin Gliech
ef29dd15f5 Implement a mocked HomeserverConnection which keeps state around 2023-08-03 14:06:34 +02:00
Quentin Gliech
e4c3b9fd9f storage-pg: add tests for user locking 2023-08-03 14:06:34 +02:00
Quentin Gliech
7f3aa06153 Add a way to lock users 2023-08-03 14:06:34 +02:00
dependabot[bot]
f3d35e26d6 build(deps): bump @vector-im/compound-web in /frontend
Bumps [@vector-im/compound-web](https://github.com/vector-im/compound-web) from 0.2.1 to 0.2.3.
- [Commits](https://github.com/vector-im/compound-web/commits)

---
updated-dependencies:
- dependency-name: "@vector-im/compound-web"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 12:15:22 +02:00
Quentin Gliech
1f865736a8 Bump frontend dependencies 2023-08-02 15:54:10 +02:00