Commit Graph

1938 Commits

Author SHA1 Message Date
dependabot[bot]
5ef56a8bbb build(deps-dev): bump postcss from 8.4.30 to 8.4.31 in /frontend
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.30 to 8.4.31.
- [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.30...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-05 19:45:14 +02:00
dependabot[bot]
a466ecf7dd build(deps-dev): bump @types/react from 18.2.22 to 18.2.24 in /frontend
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.22 to 18.2.24.
- [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-10-05 19:37:05 +02:00
dependabot[bot]
023178157c build(deps): bump sqlx from 0.7.1 to 0.7.2
Bumps [sqlx](https://github.com/launchbadge/sqlx) from 0.7.1 to 0.7.2.
- [Changelog](https://github.com/launchbadge/sqlx/blob/main/CHANGELOG.md)
- [Commits](https://github.com/launchbadge/sqlx/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-05 19:36:48 +02:00
dependabot[bot]
195a7097b2 build(deps): bump @vector-im/compound-web in /frontend
Bumps [@vector-im/compound-web](https://github.com/vector-im/compound-web) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/vector-im/compound-web/releases)
- [Commits](https://github.com/vector-im/compound-web/compare/v0.4.3...v0.4.4)

---
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-10-05 19:36:17 +02:00
Quentin Gliech
b5d694cda1 ci: fix the localazy workflows 2023-10-05 19:31:45 +02:00
Quentin Gliech
13f88aae5e templates: fix the error.html template when missing the locale 2023-10-05 19:29:23 +02:00
Quentin Gliech
49a4ff7899 router: fix a test in the url builder because a field changed name 2023-10-05 19:29:23 +02:00
Quentin Gliech
11a8c4d6b3 i18n-scan: fix the test now that we don't pre-fill the translations values anymore 2023-10-05 19:29:23 +02:00
Quentin Gliech
266a8e53ff handlers: fix test after a translation update 2023-10-05 19:29:23 +02:00
Quentin Gliech
d39a07e3a3 ci: add workflow to download the translations from localazy 2023-10-05 19:29:23 +02:00
Quentin Gliech
0d69e42021 templates: translate a lot more stuff 2023-10-05 19:29:23 +02:00
Quentin Gliech
c2c35673fd templates: fix the _ function not working in macros 2023-10-05 19:29:23 +02:00
Quentin Gliech
a7c5874c59 templates: more translations 2023-10-05 19:29:23 +02:00
Quentin Gliech
4ea29eb6b0 handlers/templates: infer the language from the Accept-Language browser header 2023-10-05 19:29:23 +02:00
Quentin Gliech
671e16b5f3 i18n: fix clippy warnings 2023-10-05 19:29:23 +02:00
Quentin Gliech
ae62b41683 axum-utils: Accept-Language header encoder and decoder 2023-10-05 19:29:23 +02:00
Quentin Gliech
1d11b71443 i18n: setup localazy 2023-10-05 19:29:23 +02:00
Quentin Gliech
16481bc81a i18n: include context when looking for translation keys 2023-10-05 19:29:23 +02:00
Quentin Gliech
d6f3cbe39f templates: escape translation placeholders 2023-10-05 19:29:23 +02:00
Quentin Gliech
ad8cc6be9e templates: add translations function 2023-10-05 19:29:23 +02:00
Quentin Gliech
a5033d9c69 templates: expose escape_html function to fix tests 2023-10-05 19:29:23 +02:00
Quentin Gliech
a7e703e56a i18n-scan: remove tera support & cleanup minijinja support 2023-10-05 19:29:23 +02:00
Quentin Gliech
8960d1702f templates: replace tera with minijinja 2023-10-05 19:29:23 +02:00
Quentin Gliech
a8101db19b i18n-scan: support for minijinja templates 2023-10-05 19:29:23 +02:00
Quentin Gliech
701a349b9e i18n-scan: utility to scan translatable strings in templates 2023-10-05 19:29:23 +02:00
Quentin Gliech
76f63838a3 i18n: translator structure, to hold translations 2023-10-05 19:29:23 +02:00
Quentin Gliech
be20a50acc i18n: clippy cleanups 2023-10-05 19:29:23 +02:00
Quentin Gliech
a82fcc990d i18n: simple translation tree structure 2023-10-05 19:29:23 +02:00
Quentin Gliech
95ba05aa25 i18n: sprintf.js port 2023-10-05 19:29:23 +02:00
Quentin Gliech
20d7770011 Add a way to discover the GraphQL endpoint in the .well-known/openid-configuration
This adds a `org.matrix.matrix-authentication-service.graphql_endpoint` key to it
2023-10-05 16:43:13 +02:00
Kerry
4329c00087 Generic session list header component (#1832)
* add session list header component

* remove unused

* copyright year
2023-09-26 20:18:55 +00:00
Quentin Gliech
9f18fd9e90 frontend: remove an unused svgr config option 2023-09-26 14:53:08 +02:00
Quentin Gliech
03ef447120 Update the svgr imports 2023-09-26 14:51:23 +02:00
dependabot[bot]
285659bf42 build(deps-dev): bump the vite group in /frontend with 2 updates
Bumps the vite group in /frontend with 2 updates: [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) and [vite-plugin-svgr](https://github.com/pd4d10/vite-plugin-svgr).


Updates `@vitejs/plugin-react` from 4.0.4 to 4.1.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/v4.1.0/packages/plugin-react)

Updates `vite-plugin-svgr` from 3.2.0 to 4.0.0
- [Release notes](https://github.com/pd4d10/vite-plugin-svgr/releases)
- [Commits](https://github.com/pd4d10/vite-plugin-svgr/compare/v3.2.0...v4.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-26 14:51:23 +02:00
dependabot[bot]
38a4de1ef0 build(deps): bump time from 0.3.28 to 0.3.29
Bumps [time](https://github.com/time-rs/time) from 0.3.28 to 0.3.29.
- [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.28...v0.3.29)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-26 14:48:05 +02:00
dependabot[bot]
f5dceef2e7 build(deps): bump async-graphql from 6.0.6 to 6.0.7
Bumps [async-graphql](https://github.com/async-graphql/async-graphql) from 6.0.6 to 6.0.7.
- [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-09-26 14:37:54 +02:00
dependabot[bot]
d9127efb56 build(deps): bump sea-query from 0.30.1 to 0.30.2
Bumps [sea-query](https://github.com/SeaQL/sea-query) from 0.30.1 to 0.30.2.
- [Release notes](https://github.com/SeaQL/sea-query/releases)
- [Changelog](https://github.com/SeaQL/sea-query/blob/master/CHANGELOG.md)
- [Commits](https://github.com/SeaQL/sea-query/compare/0.30.1...0.30.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-26 14:37:45 +02:00
dependabot[bot]
41bfa57c62 build(deps): bump @radix-ui/react-alert-dialog in /frontend
Bumps [@radix-ui/react-alert-dialog](https://github.com/radix-ui/primitives) from 1.0.4 to 1.0.5.
- [Changelog](https://github.com/radix-ui/primitives/blob/main/release-process.md)
- [Commits](https://github.com/radix-ui/primitives/commits)

---
updated-dependencies:
- dependency-name: "@radix-ui/react-alert-dialog"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-26 14:37:33 +02:00
dependabot[bot]
a3e9d089ee build(deps): bump aes-gcm from 0.10.2 to 0.10.3
Bumps [aes-gcm](https://github.com/RustCrypto/AEADs) from 0.10.2 to 0.10.3.
- [Commits](https://github.com/RustCrypto/AEADs/compare/aes-gcm-v0.10.2...aes-gcm-v0.10.3)

---
updated-dependencies:
- dependency-name: aes-gcm
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-26 10:58:09 +02:00
dependabot[bot]
6a5a19d2d4 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.4.4 to 7.4.5
- [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.4.5/code/addons/essentials)

Updates `@storybook/react` from 7.4.4 to 7.4.5
- [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.4.5/code/renderers/react)

Updates `@storybook/react-vite` from 7.4.4 to 7.4.5
- [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.4.5/code/frameworks/react-vite)

Updates `storybook` from 7.4.4 to 7.4.5
- [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.4.5/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>
2023-09-26 10:56:19 +02:00
dependabot[bot]
f4b51f1b10 build(deps-dev): bump the eslint group in /frontend with 1 update
Bumps the eslint group in /frontend with 1 update: [eslint](https://github.com/eslint/eslint).

- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.49.0...v8.50.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-26 10:53:20 +02:00
dependabot[bot]
96d06a8ed7 build(deps-dev): bump happy-dom from 12.1.6 to 12.2.0 in /frontend (#1852)
Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 12.1.6 to 12.2.0.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](https://github.com/capricorn86/happy-dom/compare/v12.1.6...v12.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-26 15:27:27 +13:00
dependabot[bot]
8a1def7b9b build(deps-dev): bump the eslint group in /frontend with 1 update
Bumps the eslint group in /frontend with 1 update: [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript).

- [Release notes](https://github.com/import-js/eslint-import-resolver-typescript/releases)
- [Changelog](https://github.com/import-js/eslint-import-resolver-typescript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.6.0...v3.6.1)

---
updated-dependencies:
- dependency-name: eslint-import-resolver-typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: eslint
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-22 22:44:25 +02:00
dependabot[bot]
2cec515e32 build(deps): bump actions/checkout from 4.0.0 to 4.1.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-22 22:32:20 +02:00
dependabot[bot]
89b572375a build(deps-dev): bump autoprefixer from 10.4.15 to 10.4.16 in /frontend
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.15 to 10.4.16.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.15...10.4.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-22 22:31:25 +02:00
dependabot[bot]
8cb00fe5ec 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.4.3 to 7.4.4
- [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.4.4/code/addons/essentials)

Updates `@storybook/react` from 7.4.3 to 7.4.4
- [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.4.4/code/renderers/react)

Updates `@storybook/react-vite` from 7.4.3 to 7.4.4
- [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.4.4/code/frameworks/react-vite)

Updates `storybook` from 7.4.3 to 7.4.4
- [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.4.4/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>
2023-09-22 22:31:17 +02:00
dependabot[bot]
9dfc7673f2 build(deps-dev): bump happy-dom from 12.1.5 to 12.1.6 in /frontend
Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 12.1.5 to 12.1.6.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](https://github.com/capricorn86/happy-dom/compare/v12.1.5...v12.1.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-22 22:30:58 +02:00
dependabot[bot]
f6473083c2 build(deps): bump insta from 1.31.0 to 1.32.0
Bumps [insta](https://github.com/mitsuhiko/insta) from 1.31.0 to 1.32.0.
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mitsuhiko/insta/compare/1.31.0...1.32.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-22 22:30:40 +02:00
Quentin Gliech
0ad1ab1bca Bump opa-wasm & remove unnecessary cargo deny exceptions 2023-09-22 22:30:20 +02:00
dependabot[bot]
c24c15ac29 build(deps): bump wasmtime from 12.0.2 to 13.0.0
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 12.0.2 to 13.0.0.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v12.0.2...v13.0.0)

---
updated-dependencies:
- dependency-name: wasmtime
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-22 22:30:20 +02:00