diff --git a/ActivateUser.sh b/ActivateUser.sh index 8d145e3..eec7ea0 100644 --- a/ActivateUser.sh +++ b/ActivateUser.sh @@ -5,6 +5,7 @@ # # Requirements: +# - The script has to be executed on the same machine where Matrix Synapse is installed. # - A new password for the user must be specified. # - For authentication, you will need the access token of your (admin) account. # You can obtain it in your Element client: "All settings" > "Help & About" > scroll down > click on "" to get your access token. diff --git a/ChangeUserPassword.sh b/ChangeUserPassword.sh index 0ae152d..77ae90a 100644 --- a/ChangeUserPassword.sh +++ b/ChangeUserPassword.sh @@ -5,6 +5,7 @@ # # Requirements: +# - The script has to be executed on the same machine where Matrix Synapse is installed. # - For authentication, you will need the access token of your (admin) account. # You can obtain it in your Element client: "All settings" > "Help & About" > scroll down > click on "" to get your access token. # Copy this token and paste it further down (variable "token"). diff --git a/CleanupMedia.sh b/CleanupMedia.sh index 8eec193..fdf72ff 100644 --- a/CleanupMedia.sh +++ b/CleanupMedia.sh @@ -5,6 +5,7 @@ # # Requirements: +# - The script has to be executed on the same machine where Matrix Synapse is installed. # - You'll need the domain of your server (variable "serverDomain"). # - For authentication, you will need the access token of your (admin) account. # You can obtain it in your Element client: "All settings" > "Help & About" > scroll down > click on "" to get your access token. diff --git a/DeactivateUser.sh b/DeactivateUser.sh index 400fadb..7709b1c 100644 --- a/DeactivateUser.sh +++ b/DeactivateUser.sh @@ -6,6 +6,7 @@ # IMPORTANT: You cannot delete a user from a Matrix server, a user can just get deactivated. # Requirements: +# - The script has to be executed on the same machine where Matrix Synapse is installed. # - For authentication, you will need the access token of your (admin) account. # You can obtain it in your Element client: "All settings" > "Help & About" > scroll down > click on "" to get your access token. # Copy this token and paste it further down (variable "token"). diff --git a/GetAllUsers.sh b/GetAllUsers.sh index 50d2e1b..0beaf05 100644 --- a/GetAllUsers.sh +++ b/GetAllUsers.sh @@ -5,6 +5,7 @@ # # Requirements: +# - The script has to be executed on the same machine where Matrix Synapse is installed. # - Python 2.6+ has to be installed on the system. # - For authentication, you will need the access token of your (admin) account. # You can obtain it in your Element client: "All settings" > "Help & About" > scroll down > click on "" to get your access token. diff --git a/UpdateRoomVersion.sh b/UpdateRoomVersion.sh index cfcc0f3..e6ec4a4 100644 --- a/UpdateRoomVersion.sh +++ b/UpdateRoomVersion.sh @@ -5,22 +5,16 @@ # # Requirements: +# - The script has to be executed on the same machine where Matrix Synapse is installed. # - You need the room ID of the room to update. You can find it in the room's settings under "acvanced" (internal room ID). # - For authentication, you will need the access token of your (admin) account. # You can obtain it in your Element client: "All settings" > "Help & About" > scroll down > click on "" to get your access token. # Copy this token and paste it further down (variable "token"). # -serverDomain="" token="" newRoomVersion="" -if [ -z "$serverDomain" ] -then - read -p "Enter the Matrix server domain: (e.g. matrix.mydomain.com): " serverDomain - echo "" -fi - if [ -z "$newRoomVersion" ] then read -p "Enter the new room version (e.g. 6): " newRoomVersion