Merge branch 'main' into new_placeholders

This commit is contained in:
John Livingston 2021-05-20 10:11:42 +02:00
commit 65b5e16a64
5 changed files with 13 additions and 6 deletions

View File

@ -19,6 +19,12 @@
* Builtin Prosody: settings archive_expires_after was useless without mod_mam
## 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

View File

@ -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

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "peertube-plugin-livechat",
"version": "2.2.0",
"version": "2.2.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -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": [

View File

@ -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
})