From d4df33d53ecdea0ace3a09eb8bb50650254be259 Mon Sep 17 00:00:00 2001 From: 7PH Date: Wed, 6 Dec 2023 00:02:40 +0100 Subject: [PATCH] Drop obsolete google analytics ID & Fix setup --- README.md | 1 - app/template/.env.json.template | 1 - app/template/preferences.json.template | 1 + 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 8b0e607b..68af72db 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,6 @@ By default, the application will be listening to `localhost:8080` and assume it | users_passwords_salt | string | "$RANDOM_SALT" | Password salt. | | users_token_salt | string | "$RANDOM_SALT" | Token salt. | | youtube_api_key | string | "" | [Youtube api key](#setup-youtube) | -| google_analytics_id | string | "" | [Optional google analytics ID](https://analytics.google.com/analytics/web) | | op | string[] | [] | OP usernames. OP usernames can use the /setright command. | | op_passcode | string? | "$RANDOM_PASSCODE" | OP passcode. Activate your OP session with `/op $op_passcode` | | email_transport | nodemailer.JSONTransport | {"sendmail": true,"newline": "unix","path": "/usr/sbin/sendmail"} | Value given to [nodemailer.createTransport](https://nodemailer.com/about/) to initialize the mailer | diff --git a/app/template/.env.json.template b/app/template/.env.json.template index 12f80348..ac24f527 100644 --- a/app/template/.env.json.template +++ b/app/template/.env.json.template @@ -14,7 +14,6 @@ "users_passwords_salt": "$SALT", "users_token_salt": "$SALT", "youtube_api_key": "", - "google_analytics_id": "", "op": [], "op_passcode": "$PASSCODE", "email_transport": { diff --git a/app/template/preferences.json.template b/app/template/preferences.json.template index f42bc9e5..91d1bae1 100644 --- a/app/template/preferences.json.template +++ b/app/template/preferences.json.template @@ -1,5 +1,6 @@ { "minRightForMessageHistory": -1, + "minRightForShortTermMessageHistory": -1, "minRightForPublicMessages": -1, "minRightForPrivateMessages": -1, "minRightForUserModeration": "op",