Script description; cleanup

This commit is contained in:
DecaTec 2022-02-23 11:42:35 +01:00
parent 2646aaa0bb
commit fc9798cec0
6 changed files with 6 additions and 7 deletions

View File

@ -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 "<click to reveal>" to get your access token.

View File

@ -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 "<click to reveal>" to get your access token.
# Copy this token and paste it further down (variable "token").

View File

@ -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 "<click to reveal>" to get your access token.

View File

@ -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 "<click to reveal>" to get your access token.
# Copy this token and paste it further down (variable "token").

View File

@ -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 "<click to reveal>" to get your access token.

View File

@ -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 "<click to reveal>" 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