Commit graph

598 commits

Author SHA1 Message Date
Manuel Stahl
fce6e03fc5 Regroup source code
- components directory contains react components
- pages directory contains all custom pages
- resources directory contains everything that exports ResourceProps

Change-Id: I5b9b68f67e232044fabf11810482873ce5b32053
2024-07-09 13:03:53 +02:00
Manuel Stahl
ec0fc14b68 Use custom data provider method for "delete_media"
This is not a REST endpoint, so it's better to use a custom method, see
https://marmelab.com/react-admin/DataProviders.html#adding-custom-methods

Change-Id: I256286949e77b998f759f671b2d4e9790f8ca39c
2024-07-09 13:03:53 +02:00
Manuel Stahl
f55e02730e Dedupe yarn.lock
Change-Id: Ib7177d237e5411634fa8d0ab07220e9990f526c0
2024-07-09 13:03:53 +02:00
dependabot[bot]
c48f560fb0
Bump @mui/material from 5.15.16 to 5.16.0 (#571)
Bumps [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material) from 5.15.16 to 5.16.0.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/v5.16.0/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.16.0/packages/mui-material)

---
updated-dependencies:
- dependency-name: "@mui/material"
  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-07-09 11:24:42 +02:00
dependabot[bot]
a5714386f4
Bump @types/node from 20.14.0 to 20.14.10 (#568)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.14.0 to 20.14.10.
- [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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 11:24:33 +02:00
dependabot[bot]
659730ce2e
Bump ts-jest from 29.1.2 to 29.2.0 (#570)
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 29.1.2 to 29.2.0.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v29.1.2...v29.2.0)

---
updated-dependencies:
- dependency-name: ts-jest
  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>
2024-07-09 11:21:42 +02:00
dependabot[bot]
cc51b3edbe
Bump react-hook-form from 7.51.3 to 7.52.1 (#569)
Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.51.3 to 7.52.1.
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.51.3...v7.52.1)

---
updated-dependencies:
- dependency-name: react-hook-form
  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-07-09 11:21:21 +02:00
dependabot[bot]
c07ec04b4e
Bump JamesIves/github-pages-deploy-action from 4.6.0 to 4.6.3 (#572)
Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.6.0 to 4.6.3.
- [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases)
- [Commits](https://github.com/jamesives/github-pages-deploy-action/compare/v4.6.0...v4.6.3)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  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-07-09 11:17:46 +02:00
dependabot[bot]
c7f3fa9212
Bump eslint-plugin-jsx-a11y from 6.8.0 to 6.9.0 (#567)
Bumps [eslint-plugin-jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y) from 6.8.0 to 6.9.0.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/compare/v6.8.0...v6.9.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsx-a11y
  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>
2024-07-09 11:13:20 +02:00
dependabot[bot]
9c5e755f3f
Bump softprops/action-gh-release from 2.0.5 to 2.0.6 (#561)
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.0.5 to 2.0.6.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](69320dbe05...a74c6b72af)

---
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-07-09 11:12:58 +02:00
dependabot[bot]
048a43f404
Bump docker/build-push-action from 5 to 6 (#554)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-09 11:12:34 +02:00
dependabot[bot]
f8ac0403a9
Bump @typescript-eslint/parser from 7.8.0 to 7.15.0 (#565)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.8.0 to 7.15.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.15.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-03 08:32:53 +02:00
dependabot[bot]
cbfdc1d6f6
Bump @eslint/js from 9.1.1 to 9.6.0 (#563)
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.1.1 to 9.6.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.6.0/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  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>
2024-07-03 08:32:40 +02:00
Dirk Klimpel
8cadfbd3af
Support darkTheme (#459)
* add darkTheme

* set `palette` to `darkTheme`
2024-07-03 08:31:24 +02:00
dependabot[bot]
dbc7d328cc
Bump the npm_and_yarn group with 2 updates (#560)
Bumps the npm_and_yarn group with 2 updates: [braces](https://github.com/micromatch/braces) and [ws](https://github.com/websockets/ws).


Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

Updates `ws` from 8.16.0 to 8.17.1
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.16.0...8.17.1)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: ws
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-03 08:30:20 +02:00
dependabot[bot]
e21e44362c
Bump @types/node from 20.12.7 to 20.14.0 (#547)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.12.7 to 20.14.0.
- [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-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-04 09:28:56 +02:00
dependabot[bot]
38057de5c8
Bump softprops/action-gh-release from 2.0.4 to 2.0.5 (#530)
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](9d7c94cfd0...69320dbe05)

---
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-06-04 09:26:35 +02:00
dependabot[bot]
882fe264b2
Bump vite from 5.2.9 to 5.2.12 (#545)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.2.9 to 5.2.12.
- [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/v5.2.12/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  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-06-04 09:21:45 +02:00
Dirk Klimpel
002b63acad
Set relative base path in vite.config.ts (#536) 2024-06-04 09:21:17 +02:00
Dirk Klimpel
b5ca951b32
Add locked status to users (#413) 2024-05-07 13:14:15 +02:00
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