From 5984722880b3a28b5a9a3a3c427ea38cb3f9f711 Mon Sep 17 00:00:00 2001 From: John Livingston Date: Tue, 18 May 2021 20:51:07 +0200 Subject: [PATCH 1/3] =?UTF-8?q?Revert=20=C2=ABBetter=20default=20values=20?= =?UTF-8?q?for=20settings=C2=BB,=20because=20of=20a=20bug=20in=20Peertube.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 6 ++++++ server/lib/settings.ts | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd196262..62a358b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## v2.2.1 + +### Fixes + +* Revert «Better default values for settings», because of a [bug in Peertube](https://github.com/Chocobozzz/PeerTube/issues/4106) + ## v2.2.0 ### Features diff --git a/server/lib/settings.ts b/server/lib/settings.ts index 4af71794..8b34ec53 100644 --- a/server/lib/settings.ts +++ b/server/lib/settings.ts @@ -56,7 +56,7 @@ Before asking for help, please use this diagnostic tool: name: 'chat-auto-display', label: 'Automatically open the chat', type: 'input-checkbox', - default: true, + default: false, // FIXME: set true when Peertube 3.2.0 is out (https://github.com/Chocobozzz/PeerTube/issues/4106) private: false }) registerSetting({ @@ -64,20 +64,20 @@ Before asking for help, please use this diagnostic tool: label: 'Show the «open in new window» button', private: false, type: 'input-checkbox', - default: true + default: false // FIXME: set true when Peertube 3.2.0 is out (https://github.com/Chocobozzz/PeerTube/issues/4106) }) registerSetting({ name: 'chat-only-locals', label: 'Chats are only available for local videos.', type: 'input-checkbox', - default: true, + default: false, // FIXME: set true when Peertube 3.2.0 is out (https://github.com/Chocobozzz/PeerTube/issues/4106) private: false }) registerSetting({ name: 'chat-all-lives', label: 'Activate chat for all lives', type: 'input-checkbox', - default: true, + default: false, // FIXME: set true when Peertube 3.2.0 is out (https://github.com/Chocobozzz/PeerTube/issues/4106) descriptionHTML: 'If checked, a chat will be added to all lives.', private: false }) From c406fba2cf515ef3759d42d55b577e90b1e92c77 Mon Sep 17 00:00:00 2001 From: John Livingston Date: Tue, 18 May 2021 20:51:52 +0200 Subject: [PATCH 2/3] 2.2.1 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 539635bd..26b191a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "peertube-plugin-livechat", - "version": "2.2.0", + "version": "2.2.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index d7f6b7c4..94683bda 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "peertube-plugin-livechat", "description": "PeerTube plugin livechat", - "version": "2.2.0", + "version": "2.2.1", "author": "John Livingston", "bugs": "https://github.com/JohnXLivingston/peertube-plugin-livechat/issues", "clientScripts": [ From a35446f1cb3f2d54988e8476afc64bc26f40c6a8 Mon Sep 17 00:00:00 2001 From: John Livingston Date: Tue, 18 May 2021 21:06:52 +0200 Subject: [PATCH 3/3] Roadmap. --- ROADMAP.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ROADMAP.md b/ROADMAP.md index 82a6c43d..f49dcc79 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -22,6 +22,7 @@ This roadmap is given as an indication. It will be updated as we go along accord [x] | [ ] | Builtin Prosody | Allow moderators to delete messages (mod_muc_moderation). | Not Released Yet [ ] | [ ] | ConverseJS | For anonymous user, automatically log in with a random nickname (and allow to change afterward) [ ] | [x] | JS | Modernise code to use new placeholders provided by Peertube 3.2.0 (with or without backward compatibility) +[ ] | [x] | Settings | Restore default values for some checkbox to true (see [this bug](https://github.com/Chocobozzz/PeerTube/issues/4106)) [ ] | [x] | Settings | Replace some checkbox by a select (for the webchat mode). Migrate old checkbox values. [ ] | [x] | Settings | Dynamic settings screen. Inline help/documentation. | First changes in v2.2.0