Commit graph

378 commits

Author SHA1 Message Date
Dirk Klimpel
fac09cb9bb
Add erasure status to users (#294) 2024-05-07 13:01:24 +02:00
Manuel Stahl
c9f5360779 Bump typescript-eslint from 7.7.1 to 7.8.0
Change-Id: Iee221c0a0582ad1b2e19cfba49bc512ac51db0ea
2024-05-07 10:48:06 +02:00
dependabot[bot]
5c492a2ecf Bump @typescript-eslint/parser from 7.7.1 to 7.8.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.7.1 to 7.8.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.8.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 10:44:34 +02:00
dependabot[bot]
107d60704b Bump eslint-plugin-unused-imports from 3.1.0 to 3.2.0
Bumps [eslint-plugin-unused-imports](https://github.com/sweepline/eslint-plugin-unused-imports) from 3.1.0 to 3.2.0.
- [Commits](https://github.com/sweepline/eslint-plugin-unused-imports/commits)

---
updated-dependencies:
- dependency-name: eslint-plugin-unused-imports
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 10:44:16 +02:00
Manuel Stahl
5b50838fb7 Fix interface SynapseTranslationMessages
Add missing entries.

Change-Id: Ied393e07b61f5463c849118196a1ad32eee45c23
2024-05-07 10:36:09 +02:00
Manuel Stahl
9da953e78a Dedupe yarn.lock
Change-Id: Ibbb2cb5f64898b8aef23ed04ddb7f3827a51b6ab
2024-05-06 17:52:34 +02:00
Manuel Stahl
91af5068c0 Bump react-admin to 4.16.17
Change-Id: I414befd8876683e59b9882b4bd56bc4be2cb6c6b
2024-05-06 17:52:34 +02:00
Manuel Stahl
ce1d806818 Bump react-router and react-router-dom to 6.23.0
Change-Id: Ice8fb5a70009341e759217789c95d999f76f2aed
2024-05-06 17:52:34 +02:00
Manuel Stahl
211e6e6915 Bump react and react-dom to 18.3.1
Change-Id: I5e2af201bad026a2292d6bcac71ade87a9911197
2024-05-06 17:52:34 +02:00
dependabot[bot]
3ae4dcffab Bump ra-language-french from 4.16.15 to 4.16.16
Bumps [ra-language-french](https://github.com/marmelab/react-admin) from 4.16.15 to 4.16.16.
- [Release notes](https://github.com/marmelab/react-admin/releases)
- [Changelog](https://github.com/marmelab/react-admin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/marmelab/react-admin/compare/v4.16.15...v4.16.16)

---
updated-dependencies:
- dependency-name: ra-language-french
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 16:58:41 +02:00
dependabot[bot]
7061c5cbff Bump ra-language-english from 4.16.15 to 4.16.16
Bumps [ra-language-english](https://github.com/marmelab/react-admin) from 4.16.15 to 4.16.16.
- [Release notes](https://github.com/marmelab/react-admin/releases)
- [Changelog](https://github.com/marmelab/react-admin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/marmelab/react-admin/compare/v4.16.15...v4.16.16)

---
updated-dependencies:
- dependency-name: ra-language-english
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 16:58:31 +02:00
dependabot[bot]
6fe8ab3115 Bump react-test-renderer from 18.2.0 to 18.3.1
Bumps [react-test-renderer](https://github.com/facebook/react/tree/HEAD/packages/react-test-renderer) from 18.2.0 to 18.3.1.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.3.1/packages/react-test-renderer)

---
updated-dependencies:
- dependency-name: react-test-renderer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 16:57:28 +02:00
dependabot[bot]
04243eefa9 Bump react-is from 18.2.0 to 18.3.1
Bumps [react-is](https://github.com/facebook/react/tree/HEAD/packages/react-is) from 18.2.0 to 18.3.1.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.3.1/packages/react-is)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 16:57:10 +02:00
Manuel Stahl
4761ea36bc Update eslint for typescript
Change-Id: I39ad44666fe958dd4f6c8f0d88b3dc960d7cb6c7
2024-05-06 08:33:32 +02:00
Manuel Stahl
72f5ab937e Refactor random MXID and password generator
Change-Id: Ifd8afde0a294adba2d28ca4f620e298aac9a1fa6
2024-05-06 08:33:10 +02:00
Manuel Stahl
39dd6617de Extract date formatting into separate file
Change-Id: I0004617349253450c6c706e4334d63924203a804
2024-04-26 11:48:53 +02:00
Manuel Stahl
2466af6936 Transform code base to typescript
Change-Id: Ia1f862fb5962ddd54b8d7643abbc39bb314d1f8e
2024-04-26 11:48:52 +02:00
Manuel Stahl
03fcd8126a Fix warnings in LoginPage test
Change-Id: I844bb190e1d3ea172395035224bab497f3950912
2024-04-24 20:37:42 +02:00
Manuel Stahl
b112689b8c Bump version to 0.10.1
Change-Id: Ic63e74250db0986a5c141212932bad2c4294947a
2024-04-24 17:31:02 +02:00
Manuel Stahl
ac3b40b188 Add BASE_PATH argument to Dockerfile
Fixes #512, #517.

Change-Id: I0367f681aaf35af4a0f1b324fb0bdbef272e6db4
2024-04-24 17:02:42 +02:00
Manuel Stahl
a490b7bc85 Add BUILDKIT_CONTEXT_KEEP_GIT_DIR=1 to README and docker-compose.yml
Fixes #513, #516.

Change-Id: I18d67a53db51cab622b315f153a106fda153476b
2024-04-24 17:02:42 +02:00
Andreas Schildbach
e094047388 Update README.md
Always mount config files as read-only. Otherwise, the app can corrupt your configuration. This would be an isolation violation.
2024-04-23 21:02:31 +02:00
Manuel Stahl
5d1e43611c Migrate to yarn v4
Use yarn PnP which forces us to install some more explicit dependencies.

Change-Id: Ib35c5c71a37081c98778937bde5a23bf997dd54c
2024-04-23 13:35:19 +02:00
Manuel Stahl
630e809e78 Bump version to 0.10.0
Change-Id: Ifa1a8334ff0352c91d168ec106a9d569b50e39b2
2024-04-23 12:34:28 +02:00
Manuel Stahl
264e0b5ec6 Set base path for github pages
Change-Id: I9e3a9287c288531793aca7f89faa7f1dab4b795a
2024-04-23 12:28:00 +02:00
Manuel Stahl
1837733e07 Fix build output path
Change-Id: I6b77d9942324254b5312d80156f089b183a02201
2024-04-23 12:18:38 +02:00
Manuel Stahl
77be88402f Set package type to "module"
Change-Id: Ie131ec9d5b86c167d561a375aa0dee59c1799531
2024-04-23 11:56:39 +02:00
Manuel Stahl
f4ea63c8f4 Use vite-plugin-version-mark to read project version
Change-Id: I0d46dc57df025538379a2f0786d3e972c56dd248
2024-04-23 11:56:39 +02:00
Manuel Stahl
2e2085cdfe Use vitejs instead of react-scripts
- react-scripts are not maintained anymore
- vitejs is well suited for single page applications

Fixes #335

See https://darekkay.com/blog/create-react-app-to-vite/

Change-Id: Ib884748e373094a640b576894ff67b98c3584ec8
2024-04-23 11:56:39 +02:00
Manuel Stahl
4b1277f653 Rework configuration process
Dynamically loads `config.json` on startup.

Fixes #167, #284, #449, #486

Change-Id: I9efb1079c0c88e6e0272c5fda734a367aa8f84a3
2024-04-23 11:56:39 +02:00
dependabot[bot]
ef3836313c
Bump softprops/action-gh-release from 2.0.3 to 2.0.4 (#510)
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](3198ee18f8...9d7c94cfd0)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  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>
2024-04-23 10:50:40 +02:00
dependabot[bot]
428cb56fdf
Bump JamesIves/github-pages-deploy-action from 4.5.0 to 4.6.0 (#509)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases)
- [Commits](https://github.com/jamesives/github-pages-deploy-action/compare/v4.5.0...v4.6.0)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  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>
2024-04-23 10:50:17 +02:00
Alexander Tumin
c6f9dbec18 Show links to media content from local users and reports (#508)
Change-Id: Ia8993470a9dd5e479c028013b5be6723f569814d
2024-04-23 10:37:52 +02:00
Manuel Stahl
531d8f2d7f Fix translations for registration tokens
Change-Id: I31ec0a60e3aa94d55c86b1b73ef21b91f2356729
2024-04-23 10:37:52 +02:00
Manuel Stahl
0986d95de2 Use officially recommended language packages
See https://marmelab.com/react-admin/TranslationLocales.html

Change-Id: I1e29aef26e8cf02b34cd4c0ba105c3bd68e8637e
2024-04-22 15:20:11 +02:00
Manuel Stahl
5f1dfc95c7 Remove obsolete react-admin translations for german
These are now provided by ra-language-german.

Change-Id: I5f820139fe5322f488398abf879582508507d38d
2024-04-22 11:24:22 +02:00
Manuel Stahl
e666c9c7bd Fallback to english if no translation in the current language is available
Change-Id: I94ecf5f2d742b1653177c49cef6b1b7fd6e96df0
2024-04-22 11:24:22 +02:00
Manuel Stahl
441f7749a2 Get available translations from context in LoginPage
Change-Id: Ie9febb82c0c93ba797241a4e6e22c6b6e72c6b02
2024-04-22 11:23:32 +02:00
Manuel Stahl
028babc885 Bump version to 0.9.4
Change-Id: Ic91bd40e242605986abc48982a5bec8a95c20c7a
2024-04-22 10:17:05 +02:00
Manuel Stahl
400e9aa416 Fix fetching tags in github workflows
The actions/checkout step has some bugs:
https://github.com/actions/checkout/issues/1467

Change-Id: I6bd88433425657081c2033b55bf01587979983df
2024-04-22 10:16:42 +02:00
Manuel Stahl
6d9abe85b0 Bump version to 0.9.3
Change-Id: Ib6bf464fb08d8119cbbcb0d387545f3e58642ade
2024-04-22 09:55:00 +02:00
Manuel Stahl
df1fbbc16b Use nginx:stable-alpine as base image for docker container
Change-Id: Ibc9b430cb79b8c05b111d3993fc3b1543853a515
2024-04-19 09:38:47 +02:00
Manuel Stahl
6bdeadcc3e Use node 20 in github workflows
Change-Id: I5850572bf604edd91b8a6f4e7b34ebf788e5c65b
2024-04-19 09:38:47 +02:00
Manuel Stahl
881760c8d8 Fetch tags in github workflows
Tags are required to construct the version information.

Change-Id: Ic1af3e8f50eafafcc8a0c3ca37f362d6bd05e116
2024-04-19 09:11:20 +02:00
Manuel Stahl
03c4955ef7 Push docker images also to ghcr.io
Fixes #350.

Change-Id: Ifdb7e4e7fda46efd0ed9e760587033f52ff4a130
2024-04-19 09:11:20 +02:00
Manuel Stahl
c9cb9aa9e0 Show Matrix specs supported by the homeserver
Change-Id: I01c110fb4b3de4de49b34f290c91c8bf424521fe
2024-04-18 10:01:52 +02:00
Manuel Stahl
25020c2d5b Remove unused function "renderInput"
Seems to be obsolete since react-admin v4.

Change-Id: I9f1d528a43510efd61befd23a05d1c8ebf40ddfd
2024-04-18 10:01:52 +02:00
Manuel Stahl
1acffdb618 Make functions in dataProvider async
Change-Id: Iab36ba6379340e47e7d58b1b2d882cd7cc111f41
2024-04-18 10:01:52 +02:00
Manuel Stahl
0b4f3a60c0 Make login and logout in authProvider async
Change-Id: I6bfb1c7a5a3c5a43f9fa622e87d9d487a95a0b6e
2024-04-18 10:01:52 +02:00
Manuel Stahl
33d29e01b1 Add authProvider test
Change-Id: Ia5acce659a386437687e38ae03d578e3bccb9324
2024-04-18 10:01:52 +02:00