2021-02-20 13:22:24 +00:00
# Changelog
2022-01-04 16:42:03 +00:00
## ???
2022-01-04 16:49:41 +00:00
### Features
2022-01-04 16:42:03 +00:00
* Builtin Prosody, Share chat url: ability to show/hide the scrollbar in readonly mode.
2022-01-05 19:13:59 +00:00
* Builtin Prosody: display Peertube users avatars.
2022-01-06 04:30:55 +00:00
* Builtin Prosody: display random avatars for anonymous users.
2022-01-04 16:42:03 +00:00
2022-01-05 00:09:55 +00:00
### Minor changes and fixes
2022-01-04 16:49:41 +00:00
* ConverseJS plugin livechatWindowTitlePlugin: Avoid errors when model is not initialized.
2022-01-05 00:09:55 +00:00
* Update prosody-modules (mod_muc_moderation, mod_auth_http)
2022-01-05 01:01:54 +00:00
* Enable Prosody modules pep and vcard_legacy
2022-01-05 19:22:33 +00:00
* ConverseJS Peertube theme: hide avatars under 250px width instead of 576px.
2022-01-04 16:49:41 +00:00
2022-01-04 04:05:32 +00:00
## 5.2.4
### Fixes
* Fix Autocolors on chrome browser
2022-01-04 03:23:13 +00:00
## 5.2.3
### Fixes
* Fix ConverseJS: livechatWindowTitlePlugin was broken (window title won't be set to the room name)
2022-01-03 17:27:56 +00:00
## 5.2.1
### Fixes
* Trying to fix an OBS cache problem, where OBS can't connect to the chat after a plugin update.
2022-01-03 16:32:54 +00:00
## 5.2.0
2022-01-03 16:20:39 +00:00
### Features
* Using ConverseJS 9.0.0 (instead of 7.0.6).
* NB: the «spoiler» function is disabled, as it is buggy in ConverseJS 9.0.0 (see < https: // github . com / conversejs / converse . js / issues / 2627 > )
2021-12-28 15:30:03 +00:00
## 5.1.0
2021-12-08 15:56:47 +00:00
2021-12-11 18:09:01 +00:00
### Features
2021-12-14 14:41:34 +00:00
* Builtin Prosody:
* Readonly mode. You can open the chat in readonly mode. Could be used to integrate in OBS for example.
* Share chat url: modal for video owner (and instance's moderators) that allows to generate a link to the chat. So you can - for example - obtain the url to use for OBS integration.
2021-12-11 18:09:01 +00:00
* Builtin Prosody: you can now allow «external XMPP components» to connect. This can be used for exemple to connect bots or bridges. For now, only connections from localhost will be allowed.
2021-12-11 17:02:48 +00:00
### Minor changes and fixes
2021-12-08 16:22:54 +00:00
2021-12-11 17:02:48 +00:00
* Spanish translations (thanks [rnek0 ](https://github.com/rnek0 )).
2021-12-28 12:01:10 +00:00
* Occitan translations (thanks [Mejans ](https://github.com/Mejans ))
2021-12-11 16:12:04 +00:00
* Hide secret keys in diagnostic tool.
2021-12-14 10:59:36 +00:00
* Builtin ConverseJS mode: fix advanced controls hiding.
2021-12-14 12:02:15 +00:00
* Builtin Prosody & Builtin ConverseJS: muc_mention_autocomplete_min_chars set to 2 (3 previously)
2021-12-08 16:22:54 +00:00
2021-12-08 18:33:28 +00:00
## v5.0.2
### Fixes
* Fix some cases where the chat immediatly close (Peertube events are not fired in the good order).
2021-12-01 14:11:56 +00:00
## v5.0.1
2021-11-09 09:55:12 +00:00
2021-12-01 13:48:55 +00:00
### Breaking changes
* If you have some CSS customization for the plugin, it may be broken.
* Auto color detection can have bad result for some Peertube themes. If so, you can disable it in the settings.
2021-12-08 16:22:54 +00:00
* Note: if updating the plugin to v5.0.1 fails with an error like `Cannot find module 'validate-color'` , try to restart peertube, then install/update the plugin. See < https: // github . com / Chocobozzz / PeerTube / issues / 4593 >
2021-12-01 13:48:55 +00:00
2021-11-09 09:55:12 +00:00
### Features
* UI/UX improvements. Now using a custom ConverseJS build.
2021-11-19 15:45:10 +00:00
* Auto color detection: when using ConverseJS, the plugin tries to guess colors to apply to its theme.
2021-12-01 11:57:15 +00:00
* Builtin Prosody: new settings to choose how long the room's content is archived, and if it should be archived by default.
2021-11-09 09:55:12 +00:00
2021-12-01 13:47:16 +00:00
### Fixes
* Fix plugin register when Prosody enabled but not installed (again)
2021-11-09 09:59:26 +00:00
## v4.0.3
2021-11-04 12:57:37 +00:00
### Features
* Brand new documentation, in french and english. (Work in Progress)
2021-11-02 16:13:38 +00:00
### Minor changes and fixes
* Updating dependencies
* Message near the diagnostic button to suggest to refresh the page if not working.
2021-11-05 11:13:31 +00:00
* New pl translations. Thanks [mkljczk ](https://github.com/mkljczk )
2021-11-02 16:13:38 +00:00
2021-11-02 14:39:28 +00:00
## v4.0.2
2021-11-02 16:13:38 +00:00
### Minor changes and fixes
2021-11-02 14:39:28 +00:00
* Updating dependencies
* Better package description
2021-09-14 14:49:11 +00:00
## v4.0.1
2021-08-06 14:33:34 +00:00
### Minor changes and fixes
* NPM dependencies update
2021-09-14 14:49:11 +00:00
* Fix plugin register when Prosody enabled but not installed
2021-08-06 14:33:34 +00:00
2021-08-05 16:45:06 +00:00
## v4.0.0
### Breaking changes
* Removed the settings «Chats are only available for local videos». From now on, webchat can only be activated for local videos. It will never be displayed on remote videos. This is because an incompatibility with a new feature (webchat per channel). Moreover this feature was very limited: the webchat was not shared with the remote instance (this will probably be achieved in a future release).
2021-08-03 22:22:19 +00:00
### Features
2021-08-04 15:38:26 +00:00
* Possibility to have webchat per channel (see [this request ](https://github.com/JohnXLivingston/peertube-plugin-livechat/issues/58 ))
2021-08-05 16:37:40 +00:00
* Builtin Prosody: instance's admins can choose if rooms are per video, or grouped by channel. Only one settings for the whole instance.
2021-08-04 15:38:26 +00:00
* Builtin ConverseJS on external XMPP server: new placeholders for the room name: CHANNEL_ID, CHANNEL_NAME.
* External webchat tool: new placeholder CHANNEL_ID in the webchat url.
2021-08-03 22:22:19 +00:00
2021-08-05 09:51:16 +00:00
### Fixes
* Builtin Prosody: Fix [#63 ](https://github.com/JohnXLivingston/peertube-plugin-livechat/issues/63 ). On some old Peertube installations, there can be usernames with upper-case letters. Adding a toLowerCase() for the XMPP jid.
2021-06-22 11:42:34 +00:00
## v3.2.0
2021-06-17 08:45:04 +00:00
2021-07-14 16:48:24 +00:00
### Features
2021-07-14 17:21:56 +00:00
* Builtin Prosody: list existing rooms in the settings page
2021-08-05 09:51:16 +00:00
* Builtin Prosody: new settings to enable local C2S. For example, can be used with Matterbridge (thanks [https://github.com/tytan652 ](https://github.com/tytan652 ))
2021-06-17 08:45:04 +00:00
2021-07-20 00:52:58 +00:00
### Fixes
* Fix broken API diagnostic.
2021-06-17 08:45:04 +00:00
## v3.1.0
2021-06-22 08:26:45 +00:00
### Features
2021-06-22 11:23:01 +00:00
* Builtin Prosody: optional settings to change the url for Prosody's API calls.
2021-06-22 10:57:24 +00:00
* Diagnostic tool: testing API communication from Peertube to Prosody.
* Diagnostic tool: testing API communication from Prosody to Peertube.
2021-06-22 11:28:15 +00:00
* Diagnostic tool: correctly parse Prosody nightly build versions.
2021-06-17 08:45:04 +00:00
2021-06-02 10:06:24 +00:00
## v3.0.0
### Important Notes
* This version requires at least Peertube version 3.2.0. It is no more compatible with previous Peertube versions.
### Features
2021-06-03 10:00:21 +00:00
* New simpler settings screen.
2021-06-08 16:08:58 +00:00
* New field in live video form, to activate the webchat per video. There is a setting for enabling this new feature.
2021-06-02 10:06:24 +00:00
### Changes
* Removed compatibility with Peertube previous to 3.2.0.
2021-06-02 13:56:12 +00:00
* Restoring default values for checkboxes in settings (there was a bug with Peertube previous to 3.2.0)
2021-06-08 16:08:58 +00:00
* New settings
* By default, the «activate chat for all lives» is disabled (now that we can enable the webchat per video)
2021-06-02 10:06:24 +00:00
2021-06-02 14:10:56 +00:00
## v2.3.1
2021-06-02 14:12:14 +00:00
### Features
* Added Dockerfile to use builtin prosody in Peertube docker installations.
2021-06-02 14:10:56 +00:00
### Fixes
* Fix typo: builtin prosody won't stop when desactivated.
2021-05-27 12:08:17 +00:00
## v2.3.0
2021-05-11 13:37:34 +00:00
### Features
* Builtin prosody use a working dir provided by Peertube (needs Peertube >= 3.2.0)
2021-05-11 14:10:57 +00:00
* Starting with Peertube 3.2.0, builtin prosody save room history on server. So when a user connects, he can get previously send messages.
2021-05-11 15:31:20 +00:00
* Starting with Peertube 3.2.0, builtin prosody also activate mod_muc_moderation, enabling moderators to moderate messages.
2021-05-12 09:48:38 +00:00
* Prosody log level will be the same as the Peertube's one.
2021-05-12 12:59:52 +00:00
* Prosody log rotation every 24 hour.
2021-05-18 17:09:29 +00:00
* ConverseJS is using sessionStorage rather than localStorage.
2021-05-11 14:10:57 +00:00
2021-05-18 16:06:11 +00:00
### Peertube 3.2.0
* Use peertubeHelpers.plugin methods when available. Backward compatibility is maintained.
2021-05-26 12:21:35 +00:00
* Use new DOM placeholder for webchat when available.
2021-05-18 16:06:11 +00:00
2021-05-11 14:10:57 +00:00
### Fixes
* Builtin Prosody: settings archive_expires_after was useless without mod_mam
2021-05-11 13:37:34 +00:00
2021-05-18 18:51:07 +00:00
## v2.2.1
### Fixes
* Revert «Better default values for settings», because of a [bug in Peertube ](https://github.com/Chocobozzz/PeerTube/issues/4106 )
2021-05-11 08:06:39 +00:00
## v2.2.0
2021-05-07 14:45:55 +00:00
2021-05-07 16:52:01 +00:00
### Features
2021-05-10 09:16:25 +00:00
* Don't display webchat when viewing a playlist (requires Peertube 3.2.0).
2021-05-07 17:18:41 +00:00
* Better default values for settings.
2021-05-10 19:04:04 +00:00
* Settings: hide unnecessary settings depending on webchat mode (requires Peertube 3.2.0).
2021-05-07 16:52:01 +00:00
2021-05-07 14:45:55 +00:00
### Fixes
* Fix: starting with Peertube 3.2.0, there is a header 'X-Frame-Options'. Removing it on the iframe route.
2021-05-07 17:18:41 +00:00
* Remove old Peertube 3.0.1 compatibility (default value for checkbox settings should be false)
2021-05-07 14:45:55 +00:00
2021-05-06 19:00:42 +00:00
## v2.1.3
* Fix: 2.1.0 was in fact correct... Did not work on my preprod env because of... a Livebox bug...
2021-05-06 19:05:46 +00:00
* Fix: if the video owner is already owner of the chatroom, he should not be downgraded to admin.
2021-05-06 19:00:42 +00:00
2021-05-06 12:04:16 +00:00
## v2.1.2
* Fix: revert 2.1.1, and revert using the real domain for prosody
2021-05-06 11:59:45 +00:00
## v2.1.1
* Fix bad proxy settings when not working on localhost
2021-05-06 11:33:30 +00:00
## v2.1.0
2021-04-29 14:50:30 +00:00
2021-04-30 15:39:27 +00:00
### Important Notes
* This version requires at least Peertube version 3.1.0. It is no more compatible with Peertube 3.0.1.
### Features
2021-04-29 14:50:30 +00:00
* Builtin Prosody: use mod_muc_http_defaults to set rooms properties and prevent unauthorized room creation.
2021-05-04 09:30:00 +00:00
* Builtin Prosody: use mod_auth_http to auto login peertube users
2021-05-06 10:37:49 +00:00
* Builtin Prosody: instance's admins and moderators are owner of all created room. Video's owner is admin of the room.
2021-04-29 14:50:30 +00:00
2021-05-02 12:41:54 +00:00
### Fixes
* Fix converseJS: show the participant list when not in iframe
2021-04-18 15:48:21 +00:00
## v2.0.3
* Fix Peertube server crash when prosody is not installed
2021-04-18 13:02:04 +00:00
## v2.0.2
* Trying to fix dependencies installation problems
## v2.0.1
* Trying to fix dependencies installation problems
2021-04-16 15:55:48 +00:00
## v2.0.0
2021-04-07 16:26:17 +00:00
* Code is now in Typescript
2021-04-16 13:24:59 +00:00
* Builtin Prosody server, for easy configuration
* Diagnostic tools for helping admins to find misconfigurations
2021-04-07 16:26:17 +00:00
2021-04-07 16:23:05 +00:00
## v1.0.8
2021-04-07 16:17:17 +00:00
* Fix: typo that can prevent settings chat-only-locals to work
2021-03-12 16:34:57 +00:00
## v1.0.7
2021-03-12 16:25:55 +00:00
* New tutorial to setup [Prosody on the Peertube server ](documentation/tutorials/prosody.md )
2021-03-12 16:34:57 +00:00
* Add link to documentation in the settings page.
2021-03-12 16:25:55 +00:00
2021-03-09 09:14:37 +00:00
## v1.0.6
* New icons by [Porrumentzio ](https://github.com/Porrumentzio )
2021-03-08 09:22:41 +00:00
## v1.0.5
2021-03-08 10:35:06 +00:00
* New buttons and logo.
2021-08-05 09:51:16 +00:00
* Fix: changing default value to false for every checkbox settings (Peertube bug in < =3.0.1: [https://github.com/Chocobozzz/PeerTube/issues/3838 ](https://github.com/Chocobozzz/PeerTube/issues/3838 )).
2021-03-08 09:22:41 +00:00
2021-03-01 18:00:39 +00:00
## v1.0.4
### Features
* Translations for ca, eo, es and eu. Thanks to [Porrumentzio ](https://github.com/Porrumentzio ).
* UX improvments. Buttons are now icons, and placed on top of the chat container.
### Bug Fixes
* Fix buttons disappearing when lives started of finished.
2021-02-21 15:10:52 +00:00
## v1.0.3
### Various changes
* Using converseJS ^7.0.4
* Updating documentation
2021-02-21 01:00:13 +00:00
## v1.0.2
### Bug fixes
* Quick fix: add a min-height for the iframe, so that it is not too tiny when under the video.
2021-02-21 00:22:07 +00:00
## v1.0.1
### Bug fixes
* When installing the plugin from npm, the node_modules don't come with: copying converseJS to dist folder.
## v1.0.0
2021-02-20 22:29:07 +00:00
### Features
* Optional Builtin ConverseJS
2021-02-20 22:37:23 +00:00
* Option for enabling live only on local videos
2021-02-20 23:13:29 +00:00
* The «open in new window» button is optional
2021-02-20 22:29:07 +00:00
2021-02-20 15:31:16 +00:00
## v0.0.8
### Features
* The chat is displayed on the right of the video
2021-02-20 15:03:44 +00:00
## v0.0.7
### Bug Fixes
* Fix incomplete commit
2021-02-20 13:22:24 +00:00
## v0.0.6
2021-02-20 13:28:02 +00:00
### Features
* Use eslint to lint the code
2021-02-20 14:45:45 +00:00
### Bug fixes
2021-02-20 13:28:02 +00:00
* Fix dom positionning
2021-02-20 14:41:00 +00:00
* Chat should be displayed for waiting and ended lives
* Chat and chat buttons must be cleaned out of the dom on navigation
2021-02-20 13:22:24 +00:00
## v0.0.5
2021-02-20 13:28:02 +00:00
* Initial release