dklimpel
b8a0b4bef5
Move redirect from SimpleForm to Create
...
Change-Id: I7c5c0043a49bcb16c131e400b2ebe022e233c5ae
2024-02-06 15:11:20 +01:00
dklimpel
2c769c309e
Move Toolbar's alwaysEnableSaveButton into SaveButton
...
https: //marmelab.com/react-admin/Upgrade.html#toolbars-alwaysenablesavebutton-prop-has-been-removed
Change-Id: I6c8693d4f55bfabdeaa677bd294d8663b7f14d69
2024-02-06 15:11:20 +01:00
dklimpel
82578c6570
Change unselectAll syntax
...
https: //marmelab.com/react-admin/Upgrade.html#useunselectall-syntax-changed
Change-Id: Ie8d261e863fe4726b3a5925ed0446eb824c6e517
2024-02-06 15:11:20 +01:00
dklimpel
005abfb4a2
Update pagination
...
https: //marmelab.com/react-admin/Upgrade.html#no-more-props-injection-in-custom-pagination-and-empty-components
Change-Id: I6f4d3941dee22cf00da30bada5442f3fdd345127
2024-02-06 15:11:20 +01:00
dklimpel
155e73b9c6
Rename currentSort to sort
...
https: //marmelab.com/react-admin/Upgrade.html#currentsort-renamed-to-sort
Change-Id: I676adefe0073a9a0343dcd598e9559ecf30c38af
2024-02-06 15:11:20 +01:00
dklimpel
1eb787fd9b
Replace "onFailure" with "onError"
...
https://marmelab.com/react-admin/Upgrade.html#onsuccess-and-onfailure-props-have-moved
Change-Id: I30ae51e06df0293391988a7a84be9c6ef2b158b3
2024-02-06 15:11:12 +01:00
dklimpel
691969e1a1
Fix translation of device_id in EventReport
...
Change-Id: Ife6cfdae1fce9b477fc12b2e0cdd6bcea4b8b734
2024-02-06 15:11:07 +01:00
Manuel Stahl
d520c6d618
Export resources as objects
...
Change-Id: I3c501369abf27fa21293c0434c56a00aaf8a64cd
2024-02-05 15:59:43 +01:00
Manuel Stahl
af453eea71
Remove/mark unused parameters
...
All top level components should pass props to the generic react-admin
component to be more versatile.
Change-Id: I25dd099cde1aefacbc748dc4716a8b0a3db9ab93
2024-02-05 15:59:43 +01:00
Manuel Stahl
78d1d34a84
Simplify filters
...
Change-Id: I3e4cb7134a92c949bfb62d753c682a6c8fca6736
2024-02-05 15:59:43 +01:00
dklimpel
a222af273f
Update dataProvider hooks
...
Change-Id: Ic19f7a6ad97b1392c96c91a19e76b8983c9d0fd2
2024-02-05 15:59:43 +01:00
Manuel Stahl
51def5775d
Replace Fragment
with short form
...
https://legacy.reactjs.org/docs/fragments.html#short-syntax
Change-Id: Ib1af57fc5e87ded8c1fee38dcbd60fae8621cb07
2024-02-05 15:59:43 +01:00
Manuel Stahl
6363e3d32e
Use icon as loading spinner in login page
...
Change-Id: Ie0e8d0a9e1242849fb8b18875d752dd15facaaf9
2024-02-05 15:59:43 +01:00
dklimpel
b70ee7c55d
Upgrade to React-Admin 4 ( #332 )
...
Change-Id: Ia03486edfd934438580e614af754a0966f6fd6e3
2024-02-05 13:44:22 +01:00
Manuel Stahl
9f03ec9b0f
Remove unused Menu.js
...
Change-Id: Idac1d6bcfd703ee499a2522eace6411e48ac176b
2024-02-05 12:47:14 +01:00
Dirk Klimpel
d8d393cdf6
Update deprecated resource definitions ( #331 )
2024-02-02 17:14:07 +01:00
Dirk Klimpel
58e02d6dff
Migrate makeStyles
to MUI v5 ( #330 )
2024-02-02 16:37:39 +01:00
Ezwen
8097fa4da4
Add raw sender uid in reports page ( #334 )
...
Fixes #333 .
2023-09-05 10:50:38 +02:00
Stefan Möhrle
ad9a1c502b
Fix SSO-login for base urls with explicit port ( #337 )
2023-09-05 10:49:24 +02:00
Francesco Carmelo Capria
c750f6b8e9
Add italian language option to login page ( #379 )
2023-08-31 21:57:51 +02:00
Francesco Carmelo Capria
0c5c762224
Italian translations ( #374 )
...
* Added italian language
* Bump @testing-library/react from 11.2.7 to 12.1.5 (#327 )
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 11.2.7 to 12.1.5.
- [Release notes](https://github.com/testing-library/react-testing-library/releases )
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/react-testing-library/compare/v11.2.7...v12.1.5 )
---
updated-dependencies:
- dependency-name: "@testing-library/react"
dependency-type: direct:development
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>
* Bump docker/build-push-action from 3 to 4 (#328 )
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4 )
---
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>
* Added italian language
* Fix
* Updated yarn.lock
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 14:50:44 +02:00
Dirk Klimpel
67500a6023
Migrate material-ui icons to v5 ( #329 )
2023-08-30 22:13:14 +02:00
Michael Albert
de03e23524
Fix coding style of french translation
...
Change-Id: Id5e2a5b2fefcbff4cefbd577cc9fae5315be9cb6
2023-01-24 21:50:59 +01:00
Charlie Calendre
a200a8932b
feat: add french translations ( #271 )
...
Co-authored-by: Michael Albert <37796947+awesome-michael@users.noreply.github.com>
2023-01-24 21:41:56 +01:00
Dirk Klimpel
41656748bb
Add dependencies @mui/icons-material
to package ( #242 )
...
* Add dependencies `@mui/icons-material` to package
* Replace MUI icons v4 with v5
* Replace more `@material-ui/core` with `@mui/material`
* consolidate `Dialog`, `DialogContent`, `DialogContentText` and
`DialogTitle`
* update `alpha` `Container` and `useMediaQuery`
2023-01-24 21:27:02 +01:00
Dirk Klimpel
42a4decc2a
Remove not needed translate
( #240 )
2023-01-24 21:25:20 +01:00
Dirk Klimpel
74f77e6988
Replace ({ record })
with useRecordContext()
( #236 )
...
* replace `({ record })` with `useRecordContext()`
* code style
Co-authored-by: Michael Albert <37796947+awesome-michael@users.noreply.github.com>
2023-01-24 16:36:08 +01:00
Dirk Klimpel
8501f19a03
Add admin API for destinations ( #213 )
...
* Add admin API for destinations
* Add rooms and connections to federation/destinations
2023-01-24 16:35:42 +01:00
Dirk Klimpel
6d30af9976
Update usage of useNotify
hook ( #234 )
...
Co-authored-by: Michael Albert <37796947+awesome-michael@users.noreply.github.com>
2023-01-24 15:28:01 +01:00
Dirk Klimpel
2e59190bd0
Migrate useMutation
to useDelete
in devices.js
( #225 )
...
* Migrate `useMutation` to `useDelete` in `devices.js`
* Update deprecated `notify` call
2023-01-24 15:24:14 +01:00
Charlie Calendre
a647c91f4f
fix: prevent requests from failing ( #272 )
...
Encode userid to handle the case of a localpart with a slash
2023-01-24 15:18:09 +01:00
Dirk Klimpel
3b2aa776eb
Fix broken CI / lint ( #320 )
2023-01-24 09:29:14 +01:00
Przemysław Romanik
561daf7737
Add session logout warning below password input ( #212 )
...
Co-authored-by: Michael Albert <37796947+awesome-michael@users.noreply.github.com>
2023-01-16 20:18:21 +01:00
Dirk Klimpel
bd6b6eef85
Use delete room API v2 (delete room in background) ( #211 )
...
Co-authored-by: Michael Albert <37796947+awesome-michael@users.noreply.github.com>
2023-01-16 19:53:17 +01:00
Dirk Klimpel
e23e9ccd82
Create UserEditActions
on user page ( #222 )
...
* Create `UserEditActions` on user page
* Fix crash with crashes `undefined`
2023-01-16 12:52:00 +01:00
Dirk Klimpel
e787b0a940
Add edit user_type
to user ( #209 )
2023-01-16 12:37:30 +01:00
Dirk Klimpel
5aa90c25f7
Add path
to rooms tab "members" ( #232 )
2022-03-22 19:11:12 +01:00
Dirk Klimpel
d97c633cd0
Remove not needed {" "}
from EventReports
( #235 )
2022-03-22 17:59:48 +01:00
Dirk Klimpel
b02396c61f
disableReordering
in users' SimpleFormIterator
(#219 )
2022-03-22 17:58:28 +01:00
Dirk Klimpel
158e7dbe98
Move date format to a constant in EventReports.js
( #237 )
2022-02-17 20:52:13 +01:00
Dirk Klimpel
a642f11503
Fix typo notification
in german language file ( #233 )
2022-02-17 20:51:42 +01:00
Dirk Klimpel
888a3f001b
Move date format to a constant in rooms.js
( #238 )
2022-02-17 20:51:11 +01:00
Dirk Klimpel
4b0845bee8
Move date format to a constant in users.js
( #223 )
...
* Move date format to a constant in `users.js`
* yarn prettier
2022-02-17 20:50:38 +01:00
Dirk Klimpel
f449e3277a
Replace deprecated fade
in devices.js
( #220 )
2022-02-17 20:49:34 +01:00
Dirk Klimpel
3303f253b4
Replace deprecated fade
in media.js
( #221 )
2022-02-17 20:49:19 +01:00
Dirk Klimpel
efed8b2774
Add token based registration creation and management ( #200 )
...
* Add token based registration creation and management
* yarn fix
* Apply suggestions from code review
Remove empty line
* move date to `const date_format`
2022-02-17 20:45:21 +01:00
Nya Candy
c891afa611
feat: support SSO login ( #196 )
...
* feat: support SSO login
* fix: lint
* fix: add back homeserver force protection
* fix: add back login notice
* fix: simplify login options
2022-02-17 20:24:46 +01:00
Michael Albert
38541b8f02
Fix english translation for room deletion
...
Change-Id: I5bb02e64832902a79379d66c77d3128169d3fca8
2022-02-17 20:15:49 +01:00
Dirk Klimpel
0f4c382c18
Remove not needed translation backtolist
( #208 )
2022-01-31 17:50:14 +01:00
Dirk Klimpel
91af8f1c04
Add sorting users by creation timestamp ( #174 )
...
* Add `creation_ts` to list users
* remove filter
* Bring back origin columns sort order
2021-12-08 21:59:09 +01:00
Dirk Klimpel
4adc20f80d
replace undoable
prop with mutationMode
prop ( #202 )
2021-11-15 21:18:29 +01:00
Dirk Klimpel
a5c7d7dd22
Make items in "Room directory" are clickable ( #199 )
2021-11-15 21:15:11 +01:00
Dirk Klimpel
42b3252353
Add pristine
to UserEdit
and ServerNotice
( #185 )
2021-11-15 21:02:47 +01:00
Dirk Klimpel
1a17d3e69b
Automatically set the homeserver for a new user ( #184 )
...
and enhance form validation
2021-11-15 20:57:38 +01:00
Dirk Klimpel
79ef38ee6b
Enable modify user external_ids
( #179 )
...
* Enable modify user `external_ids`
* add input validation
2021-11-15 20:40:05 +01:00
dklimpel
8536f552d4
Add button to quarantine media ( #180 )
...
Change-Id: I6496826fdf75ab8b7b3ed5a9056abf86a50caea3
2021-08-25 10:42:34 +02:00
Dirk Klimpel
e6f01f035b
Add buttons to protect and unprotect users' media from quarantine ( #150 )
2021-08-19 11:51:07 +02:00
Dirk Klimpel
bf3d13916f
Add SSO external_ids
to user ( #168 )
2021-08-18 09:33:22 +02:00
Dirk Klimpel
78a282863a
Fix broken CI with language files ( #165 )
2021-07-06 09:56:09 +02:00
Dirk Klimpel
e50c95b4be
Fix CSV import button ( #154 )
2021-07-05 14:32:51 +02:00
Dirk Klimpel
9f16e5c6ba
Change delete room API to DELETE
( #151 )
2021-07-05 14:32:44 +02:00
Dirk Klimpel
e3d5d51342
Fix broken RoomDirectoryFilter ( #155 )
2021-06-15 11:03:03 +02:00
John Francis Sukamto
d72357f64f
Update en.js ( #144 )
...
Suggested a UI name change for media size (assuming length is size in bytes)
2021-05-25 15:01:13 +02:00
Dirk Klimpel
e19c34324b
Allow fixed homeserver ( #142 )
2021-05-18 12:39:53 +02:00
Dirk Klimpel
3ea1f51eb5
Add a new tab to rooms with forward extremities ( #107 )
...
Add a new tab to rooms with forward extremities.
2021-05-08 19:10:51 +02:00
Manuel Stahl
229518e456
Show room alias or room id in room list if room has no name
...
Change-Id: Iad769f31347566ccf0b8a978b31f5123553e9dbc
2021-05-05 20:24:15 +02:00
Dirk Klimpel
5a5a7143af
Enable sorting of user list ( #133 )
...
New in Synapse 1.32.0
Fixes : #132 , #136
2021-05-05 19:36:47 +02:00
Manuel Stahl
5208198b76
Replace enzyme with testing-library/react
...
Enzyme is not compatible with react 17.
Change-Id: If9bca2c482bfe10a18d2ee2bc213dab966849b5b
2021-05-05 19:23:01 +02:00
Manuel Stahl
c8082a7198
Remove TestContext from App.test.js
...
The TestContext is only required for components that depend on react-admin,
but not for the Admin component itself.
Change-Id: I3e07cb6bfa592f1bf59ca282cdf1c2e6c922f619
2021-05-05 19:23:01 +02:00
Michael Albert
10831796e3
Add missing translation
...
Change-Id: Iab3203742498d2c6768b5885c0522ff8365b58f2
2021-05-05 09:41:05 +00:00
Michael Albert
5ee5288edf
Fix some DOM errors
...
Change-Id: I22a108fd5ce6a344e629e4af0345a0221de44052
2021-05-05 09:40:48 +00:00
Manuel Stahl
a5528d9fe7
yarn: Upgrade packages
...
- eslint 7.25
- ra-language-german 3.13
- react-admin 3.15
- react-dom 17.0
- react-scripts 4.0
Change-Id: Iad982cf647470bc16194000519a72c401009c9fa
2021-05-04 18:42:05 +02:00
Manuel Stahl
e2fd934851
Allow base URL with path
...
Ignore and remove trailing slashes.
Fixes #134 .
Change-Id: Iedf266e9a93e6939f7f66707fee59a2b56226216
2021-05-04 18:41:54 +02:00
Manuel Stahl
0bc1ce3226
Reuse device_id for synapse-admin on login
...
Change-Id: I47bbfd1e33ef8bffb618101ae233aeb093cf0ada
2021-05-04 17:10:49 +02:00
Manuel Stahl
41ce58bac8
Enable sorting in tab of users' media ( #138 )
2021-05-04 16:18:12 +02:00
Nya Candy
0e3375c5ad
Add zh-cn support ( #131 )
2021-05-04 15:06:41 +02:00
Dirk Klimpel
2cdd41b615
Add a new tab to rooms with state events ( #108 )
...
Co-authored-by: Michael Albert <37796947+awesome-michael@users.noreply.github.com>
2021-05-04 14:42:27 +02:00
Dirk Klimpel
2ab4343970
Add the lists of public rooms on the server ( #105 )
...
* Add room directory and the switches to rooms settings
* Fix react admin version
2021-05-04 13:52:43 +02:00
Dirk Klimpel
0268cc0e94
Add joined_local_devices
to rooms ( #96 )
2021-05-04 13:49:20 +02:00
dklimpel
60854bcc60
Add button to delete media by size and date
2021-04-21 10:51:14 +02:00
Manuel Stahl
62b3d094b7
yarn: Upgrade packages
...
- babel: 7.13
- material-ui: 4.11
- prettier: 2.2
- react-admin: 3.14
Change-Id: I26ab6d9d75110f3522282b83cd1131af98b8c43c
2021-04-21 10:50:49 +02:00
Dirk Klimpel
c6b6e54617
Fix broken redirect to login page ( #116 )
2021-03-16 12:13:32 +01:00
Michael Albert
8ff0ac913c
Add missing translations
...
Change-Id: Ie46554bcd10dde771c03e7d3fd0c3639f904429d
2021-03-16 12:12:54 +01:00
Aaron Raimist
8adab0e927
Name device used by Synapse Admin and hook up logout button ( #113 )
...
* Name device used by Synapse Admin
* Actually logout when the logout button is pressed so that old sessions get deleted
* Fix lint
2021-03-02 11:45:05 +01:00
Dirk Klimpel
536ffc2fbf
Disable telemetry which was introduced with react-admin v3.11.0 ( #109 )
2021-03-01 09:26:58 +01:00
Dirk Klimpel
7f92e1a3c0
Add new list with information about users' media ( #89 )
2021-02-11 21:14:02 +01:00
Dirk Klimpel
ea59d0dd02
Add a new tab to user page with media ( #87 )
...
* Add a new tab to user page with media
2021-02-11 21:11:34 +01:00
Dirk Klimpel
706114a382
Add a new tab to user page with room memberships ( #73 )
...
The admin API for user's room memberships is new in synapse v1.21.0.
Co-authored-by: Michael Albert <37796947+awesome-michael@users.noreply.github.com>
2021-02-11 20:45:02 +01:00
Dirk Klimpel
f2a1275673
Add a new tab to user page with pushers ( #85 )
...
* Add a new tab to user page with pushers
* Update pushers `total` and `id`
2021-02-11 20:37:20 +01:00
Dirk Klimpel
425c210cfc
Add delete button to room detail page ( #97 )
...
* Add delete button to room detail page
* Add confirmation dialog for room deletion
2021-02-11 20:24:17 +01:00
Dirk Klimpel
b184954ffa
Update total
in dataProvider ( #101 )
2021-02-11 20:20:42 +01:00
Dirk Klimpel
2f96951c19
Add view of reported events ( #84 )
2021-01-04 09:14:33 +01:00
Dirk Klimpel
eadc04a6a0
Update helper text for activate an user ( #95 )
2020-12-14 13:12:13 +01:00
Manuel Stahl
1432724a64
yarn: Upgrade packages
...
- react-admin: 3.10.0
- react-dom: 16.14.0
- react-scripts: 3.4.4
Change-Id: I805bcd2f65419747f7e8c5a3e2c6b9896010ca9e
2020-11-16 13:31:39 +01:00
Manuel Stahl
c841720f0c
Fix style
...
Change-Id: I345a942905f15edfa21f51de228efd7671f080c7
2020-11-16 10:55:00 +01:00
Dirk Klimpel
60ecafdf54
Bugfix translation in users' device tab ( #86 )
2020-11-16 10:54:43 +01:00
Dirk Klimpel
5de5015655
Add SearchInput to RoomFilter ( #83 )
2020-11-12 14:56:21 +01:00
dklimpel
2bf8a6debb
Switch to relative URL for example.csv
2020-11-12 14:48:11 +01:00
dklimpel
c8d9a6db55
Bugfix URL for import users from CSV
2020-11-12 14:48:11 +01:00
Michael Albert
e5d2d895d9
Import users from CSV
...
Change-Id: I3565dae7531b7de1d68ebcb2392be931083dda9e
2020-11-02 18:29:56 +00:00