From 433ad8d1d785e21888dd42d8c5ad9a6d3b181ce9 Mon Sep 17 00:00:00 2001 From: dklimpel <5740567+dklimpel@users.noreply.github.com> Date: Mon, 24 Oct 2022 09:28:45 +0200 Subject: [PATCH] Add erasure status to users --- README.md | 2 +- src/components/users.js | 2 ++ src/i18n/de.js | 1 + src/i18n/en.js | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4b5ee45..d070c30 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ This project is built using [react-admin](https://marmelab.com/react-admin/). ### Supported Synapse -It needs at least [Synapse](https://github.com/matrix-org/synapse) v1.42.0 for all functions to work as expected! +It needs at least [Synapse](https://github.com/matrix-org/synapse) v1.71.0 for all functions to work as expected! You get your server version with the request `/_synapse/admin/v1/server_version`. See also [Synapse version API](https://matrix-org.github.io/synapse/develop/admin_api/version_api.html). diff --git a/src/components/users.js b/src/components/users.js index b6d47dc..70fd6ee 100644 --- a/src/components/users.js +++ b/src/components/users.js @@ -185,6 +185,7 @@ export const UserList = props => { + { source="deactivated" helperText="resources.users.helper.deactivate" /> + diff --git a/src/i18n/de.js b/src/i18n/de.js index 29c4436..7737b5f 100644 --- a/src/i18n/de.js +++ b/src/i18n/de.js @@ -108,6 +108,7 @@ const de = { is_guest: "Gast", admin: "Server Administrator", deactivated: "Deaktiviert", + erased: "Gelöscht", guests: "Zeige Gäste", show_deactivated: "Zeige deaktivierte Benutzer", user_id: "Suche Benutzer", diff --git a/src/i18n/en.js b/src/i18n/en.js index fb63005..14d765c 100644 --- a/src/i18n/en.js +++ b/src/i18n/en.js @@ -107,6 +107,7 @@ const en = { is_guest: "Guest", admin: "Server Administrator", deactivated: "Deactivated", + erased: "Erased", guests: "Show guests", show_deactivated: "Show deactivated users", user_id: "Search user",