Commit Graph

1443 Commits

Author SHA1 Message Date
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
Quentin Gliech
31f18a5c01 Upgrade compound-web and fix form refs 2023-08-02 13:11:33 +02:00
Quentin Gliech
7afb9c648a ci: do not cache for PRs when building binaries 2023-07-28 17:13:07 +02:00
Quentin Gliech
ea00250137 docs: expand the setup documentation and configuration file reference 2023-07-28 17:13:07 +02:00
Quentin Gliech
b0e16cc374 docs: greatly improve the setup documentation (WIP) 2023-07-28 17:13:07 +02:00
Quentin Gliech
6f65d8eca4 ci: fix the macOS build 2023-07-28 17:13:07 +02:00
Quentin Gliech
ff5b523bc1 ci: fix the binary build 2023-07-28 17:13:07 +02:00
Quentin Gliech
bde1c2af70 ci: fix the download-artifacts action version 2023-07-28 17:13:07 +02:00
Quentin Gliech
73b038f6a2 ci: also build binaries for macOS 2023-07-28 17:13:07 +02:00
Quentin Gliech
b9c885faf9 ci: fix the dist build assets path 2023-07-28 17:13:07 +02:00
Quentin Gliech
5bdee14b16 ci: build nightly binaries 2023-07-28 17:13:07 +02:00
dependabot[bot]
6a58195ae9 build(deps): bump serde from 1.0.176 to 1.0.177
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.176 to 1.0.177.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.176...v1.0.177)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-27 23:28:07 +02:00
Quentin Gliech
a94ba97b5b ci: cache less things to make it more efficient
also removes the jobs for testing with Rust beta and nightly
2023-07-27 18:03:33 +02:00
Quentin Gliech
a8544467b2 ci: use script to build the docs 2023-07-27 17:51:08 +02:00
Quentin Gliech
a0df94953d Bump frontend dependencies 2023-07-27 17:48:03 +02:00
dependabot[bot]
5d3bdc183f build(deps-dev): bump @types/node from 20.4.2 to 20.4.5 in /frontend
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.4.2 to 20.4.5.
- [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-07-27 17:24:45 +02:00
dependabot[bot]
9d00bf5717 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 4.0.1 to 5.0.0
- [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.0/packages/graphql-codegen-cli)

Updates `@graphql-codegen/client-preset` from 4.0.1 to 4.1.0
- [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.1.0/packages/presets/client)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-27 17:23:25 +02:00
Quentin Gliech
a9b3445493 Bump Rust dependencies and remove unused ones 2023-07-27 17:23:08 +02:00
dependabot[bot]
97563dae48 build(deps-dev): bump the vite group in /frontend with 2 updates
Bumps the vite group in /frontend with 2 updates: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) and [vite-plugin-graphql-codegen](https://github.com/danielwaltz/vite-plugin-graphql-codegen).


Updates `vite` from 4.4.6 to 4.4.7
- [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.7/packages/vite)

Updates `vite-plugin-graphql-codegen` from 3.2.2 to 3.2.3
- [Release notes](https://github.com/danielwaltz/vite-plugin-graphql-codegen/releases)
- [Changelog](https://github.com/danielwaltz/vite-plugin-graphql-codegen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/danielwaltz/vite-plugin-graphql-codegen/compare/v3.2.2...v3.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-27 17:13:36 +02:00
dependabot[bot]
be672d1ccd 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.1.0 to 7.1.1 |
| [@storybook/addon-backgrounds](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/backgrounds) | 7.1.0 to 7.1.1 |
| [@storybook/addon-controls](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/controls) | 7.1.0 to 7.1.1 |
| [@storybook/addon-docs](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/docs) | 7.1.0 to 7.1.1 |
| [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/essentials) | 7.1.0 to 7.1.1 |
| [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/code/renderers/react) | 7.1.0 to 7.1.1 |
| [@storybook/react-vite](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-vite) | 7.1.0 to 7.1.1 |
| [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli) | 7.1.0 to 7.1.1 |


Updates `@storybook/addon-actions` from 7.1.0 to 7.1.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.1.1/code/addons/actions)

Updates `@storybook/addon-backgrounds` from 7.1.0 to 7.1.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.1.1/code/addons/backgrounds)

Updates `@storybook/addon-controls` from 7.1.0 to 7.1.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.1.1/code/addons/controls)

Updates `@storybook/addon-docs` from 7.1.0 to 7.1.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.1.1/code/addons/docs)

Updates `@storybook/addon-essentials` from 7.1.0 to 7.1.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.1.1/code/addons/essentials)

Updates `@storybook/react` from 7.1.0 to 7.1.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.1.1/code/renderers/react)

Updates `@storybook/react-vite` from 7.1.0 to 7.1.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.1.1/code/frameworks/react-vite)

Updates `storybook` from 7.1.0 to 7.1.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.1.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-07-27 17:13:26 +02:00
Quentin Gliech
3de11d8bfe ci: add script to build the docs in Cloudflare Pages 2023-07-27 16:18:53 +02:00
Quentin Gliech
ddf426c5d8 frontend: vendor the compound dependencies 2023-07-27 16:18:53 +02:00
dklimpel
c562f66b5e revert changes in README 2023-07-24 15:03:28 +02:00
Dirk Klimpel
5f6c608567 Apply suggestions from code review
Co-authored-by: Quentin Gliech <quenting@element.io>
2023-07-24 15:03:28 +02:00
Dirk Klimpel
d55e1bfe34 make database migrations clearer 2023-07-24 15:03:28 +02:00
Dirk Klimpel
8063aaf2b7 require postgres 13+ 2023-07-24 15:03:28 +02:00
dklimpel
cede3eb58c update installation documentation 2023-07-24 15:03:28 +02:00
Quentin Gliech
1411cd91cf storage: remove the deperecated and unused UpstreamOAuthLinkRepository::list_paginated method 2023-07-24 13:53:57 +02:00
dependabot[bot]
9b92d26c7e build(deps): bump serde from 1.0.171 to 1.0.174
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.171 to 1.0.174.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.171...v1.0.174)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-22 00:17:55 +02:00
dependabot[bot]
60813d7f33 build(deps): bump tower-http from 0.4.1 to 0.4.3
Bumps [tower-http](https://github.com/tower-rs/tower-http) from 0.4.1 to 0.4.3.
- [Release notes](https://github.com/tower-rs/tower-http/releases)
- [Commits](https://github.com/tower-rs/tower-http/compare/tower-http-0.4.1...tower-http-0.4.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 23:39:20 +02:00
dependabot[bot]
1fb3c7015f build(deps): bump the urql group in /frontend with 2 updates
Bumps the urql group in /frontend with 2 updates: [@urql/core](https://github.com/urql-graphql/urql/tree/HEAD/packages/core) and [@urql/exchange-graphcache](https://github.com/urql-graphql/urql/tree/HEAD/exchanges/graphcache).


Updates `@urql/core` from 4.0.11 to 4.1.0
- [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.1.0/packages/core)

Updates `@urql/exchange-graphcache` from 6.1.4 to 6.2.0
- [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.2.0/exchanges/graphcache)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 23:37:31 +02:00
dependabot[bot]
5de9c62b32 build(deps): bump clap from 4.3.15 to 4.3.18
Bumps [clap](https://github.com/clap-rs/clap) from 4.3.15 to 4.3.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.3.15...v4.3.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 23:37:10 +02:00
dependabot[bot]
3cbf1cae7a build(deps): bump serde_yaml from 0.9.24 to 0.9.25
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.9.24 to 0.9.25.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases)
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.24...0.9.25)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 23:36:54 +02:00
dependabot[bot]
7a65034a92 build(deps): bump async-trait from 0.1.71 to 0.1.72
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.71 to 0.1.72.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.71...0.1.72)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 23:36:36 +02:00