Commit Graph

1747 Commits

Author SHA1 Message Date
John Livingston
4dd4f18965
Fix #87: updating chat room title when video/channel title is changed:
* renaming module list_rooms to manage_rooms
* added some API to update room info
* when a video or a channel is updated, sending an API call to update
  the room
2024-03-07 16:22:14 +01:00
John Livingston
2115b352a4
Updating xmppjs-chat-box version. 2024-03-07 10:14:36 +01:00
John Livingston
7c544600f9
Bump version 8.3.2 + npm audit fix. 2024-03-01 15:31:21 +01:00
John Livingston
f5b9ffe616
Temporary security fix for #332: rollback of v8.3.1:
* Setting video owner as room owner as side effects. Like leaking the instance moderator/admin list. And maybe others.
  * So we rollback this feature, waiting for a better way to allow room admins/moderators to change room settings.
  * As a consequence, users that are not Peertube moderator/administrator can't change the slow mode configuration without deleting/recreating the room. This will be fixed in a later plugin version.
2024-03-01 15:25:29 +01:00
John Livingston
97b85be4ad
Fix #322: "Sepia is no longer an owner of this groupchat" message when joining the chat.
* This was related to the fact that the bot was owner because of the "admins" Prosody config key, and not registered in the room.
* To fix it, i added the bot as owner when creating rooms.
* This means that the fix only work for newly created rooms.
* There might still be an issue in ConverseJS or Prosody, don't know exactly where.
2024-03-01 12:20:32 +01:00
John Livingston
9ec7167da1
Debug Mode: new option to promote some JIDs as admins on the MUC component. 2024-02-29 15:58:41 +01:00
John Livingston
0b299883b1
fix typo 2024-02-28 15:52:40 +01:00
John Livingston
131711a9e9
link to xep draft. 2024-02-28 15:50:08 +01:00
John Livingston
6bbea26da0
Slow Mode XEP WIP (XEP-0143 compliance). 2024-02-26 11:04:24 +01:00
John Livingston
7c5b67ef99
Slow Mode XEP WIP (RFC 2119 compliance). 2024-02-23 17:57:31 +01:00
John Livingston
93f2cc277d
Fix mod_muc_slow_mode: add min value for slow_mode_duration field. 2024-02-23 15:50:43 +01:00
John Livingston
ec442fbd2b
Slow Mode XEP WIP (including comments from XSF discussion room). 2024-02-23 15:32:44 +01:00
John Livingston
6e9e99ec19
Slow Mode XEP WIP. 2024-02-23 15:04:55 +01:00
John Livingston
1ac1b24e65
Slow Mode XEP WIP (including comments from XSF discussion room). 2024-02-23 14:54:56 +01:00
John Livingston
fbae210832
Slow Mode XEP WIP. 2024-02-23 12:56:44 +01:00
John Livingston
f1a4908e20
Slow Mode XEP WIP. 2024-02-23 12:18:40 +01:00
John Livingston
93e95123ae
Slow Mode XEP WIP. 2024-02-23 12:14:44 +01:00
John Livingston
3d7c2099a2
Slow Mode XEP WIP. 2024-02-23 12:12:35 +01:00
John Livingston
5783f262d8
Slow Mode XEP WIP. 2024-02-23 12:07:25 +01:00
John Livingston
c0407ceb3f
Slow Mode XEP WIP. 2024-02-22 18:18:38 +01:00
John Livingston
0b063c2910
Bump version v8.3.1 2024-02-22 18:08:53 +01:00
John Livingston
3ec09ce267
Fix: video owner must be room owner, not only admin. Otherwise they can't edit room parameters (including slow mode settings). 2024-02-22 18:08:06 +01:00
John Livingston
48fb636bf5
Bump version v8.3.0. 2024-02-22 16:22:16 +01:00
John Livingston
26846b3eda
Trying better UI for the slow mode info box. 2024-02-22 16:05:12 +01:00
John Livingston
3a9c17fba8
Slow Mode (#192): help button + fix field css 2024-02-22 14:53:41 +01:00
John Livingston
0fd94e7a44
Slow Mode: infobox translation. 2024-02-22 12:43:41 +01:00
John Livingston
005c3f629f Translated using Weblate (French)
Currently translated at 100.0% (163 of 163 strings)

Translation: PeerTube LiveChat/Peertube Plugin LiveChat
Translate-URL: https://weblate.framasoft.org/projects/peertube-livechat/peertube-plugin-livechat/fr/
2024-02-22 10:24:50 +01:00
John Livingston
96270c5ac5
Slow Mode Fix: ignore messages without body. 2024-02-22 10:19:51 +01:00
John Livingston
88081cca13
Fix french 2024-02-21 16:33:07 +01:00
John Livingston
5adbaa558a Translated using Weblate (French)
Currently translated at 100.0% (569 of 569 strings)

Translation: PeerTube LiveChat/Peertube Plugin Livechat Documentation
Translate-URL: https://weblate.framasoft.org/projects/peertube-livechat/peertube-plugin-livechat-documentation/fr/
2024-02-21 16:07:49 +01:00
John Livingston
f34958fbb3
Changelog 2024-02-21 16:07:24 +01:00
John Livingston
2fb22ff00b
Changelog 2024-02-21 15:54:27 +01:00
Victor Hampel
cc1f1238be Translated using Weblate (German)
Currently translated at 100.0% (569 of 569 strings)

Translation: PeerTube LiveChat/Peertube Plugin Livechat Documentation
Translate-URL: https://weblate.framasoft.org/projects/peertube-livechat/peertube-plugin-livechat-documentation/de/
2024-02-21 15:43:47 +01:00
Victor Hampel
18ab6f008c Translated using Weblate (German)
Currently translated at 100.0% (163 of 163 strings)

Translation: PeerTube LiveChat/Peertube Plugin LiveChat
Translate-URL: https://weblate.framasoft.org/projects/peertube-livechat/peertube-plugin-livechat/de/
2024-02-21 15:43:17 +01:00
John Livingston
e9d6bd04fb
Fix typo 2024-02-17 08:10:59 +01:00
John Livingston
3f8d1bfe9c
Documentation: slow mode + several fix + screenshot updates. 2024-02-16 18:09:55 +01:00
John Livingston
7d13f567d4
Slow Mode WIP (#192):
* front-end: disable the message field during the slow mode duration.
2024-02-16 17:35:55 +01:00
John Livingston
5828cdeea4
Slow Mode WIP (#192): button to close the info box 2024-02-16 17:35:55 +01:00
John Livingston
3d9237624d
Naming:
* changing delay by duration for slow mode options
* better labels
2024-02-16 17:35:55 +01:00
John Livingston
1e876ec43c
Slow Mode WIP (#192):
* frontend: display an infobox when slow mode is active (WIP)
2024-02-16 17:35:55 +01:00
John Livingston
9efd53b2a7
Fix ConverseJS: room information not correctly refreshed when modifications are made by other users 2024-02-16 17:35:55 +01:00
John Livingston
92af46641e
Fix indentation. 2024-02-16 17:35:54 +01:00
John Livingston
f452c3529c
Fix set_slow_mode_delay + Fix typo 2024-02-16 17:35:54 +01:00
John Livingston
68e51aec4b
Fix typo. 2024-02-16 17:35:54 +01:00
John Livingston
3c8563bec4
Fix naming. 2024-02-16 17:35:54 +01:00
John Livingston
cd97d91f79
Replaced a sync file operation by an async one, to avoid blocking the server. 2024-02-16 17:35:54 +01:00
John Livingston
afbc78d0e6
Slow Mode WIP (#192): option position 2024-02-16 17:35:54 +01:00
John Livingston
9ed689b5f1
Slow mode WIP (#192):
* backend rejects messages when the slow mode is not respected.
2024-02-16 17:35:54 +01:00
John Livingston
cf179d7f72
Slow mode WIP (#192):
* default delay is configurable in channel's chat rooms options.
2024-02-16 17:35:53 +01:00
John Livingston
ee71d3f729
Slow mode WIP (#192):
* new option in room configuration to set the slow mode delay (new prosody module mod_muc_slow_mode).
2024-02-16 17:35:48 +01:00