Commit Graph

312 Commits

Author SHA1 Message Date
John Livingston de15b7d480
Slow mode duration:
* channel option is no more a default value, but the current value
* changing naming in accordance
* changing labels and documentation
2024-03-07 17:56:27 +01:00
John Livingston e67b21dd9f
Updating slow mode duration on existing rooms when changing channel options (related to #332). 2024-03-07 17:33:18 +01:00
John Livingston 5f58246a10
Changelog. 2024-03-07 16:37:41 +01:00
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 93f2cc277d
Fix mod_muc_slow_mode: add min value for slow_mode_duration field. 2024-02-23 15:50:43 +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 f34958fbb3
Changelog 2024-02-21 16:07:24 +01:00
John Livingston 2fb22ff00b
Changelog 2024-02-21 15:54:27 +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 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 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 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
John Livingston d83b3e6561
Fix ConverseJS build: translations were missing, and only english was available. 2024-02-15 15:11:48 +01:00
John Livingston 1f3677684d
Fix new avatars content-type. 2024-02-12 17:20:21 +01:00
John Livingston 8a400d2d9f
New abstract avatars 2024-02-12 16:50:08 +01:00
John Livingston fb8a2144c4
Version 8.2.0 2024-02-12 16:26:11 +01:00
John Livingston f30a45d1fd
UI improvements (fix some colors):
* Fix #310: autocomplete background color.
* Fix #314: input colors.
* Autocomplete: adding a border, for better UI/UX.
2024-02-12 16:14:02 +01:00
John Livingston 1cfaf18517
Translations. 2024-02-12 10:06:46 +01:00
John Livingston 91ef261c16
Fenec avatars. 2024-02-09 15:35:40 +01:00
John Livingston fbeffef34b
Bird avatars. 2024-02-09 15:12:48 +01:00
John Livingston 9561f36b93
Cats avatars. 2024-02-09 13:17:12 +01:00
John Livingston a8165fe441
Changelog 2024-02-09 12:42:29 +01:00
John Livingston b9b0eb41d9
New avatars set WIP:
* adding new avatars by David Revoy
* replacing old avatars to test

TODO: add a settings to choose between legacy and new avatars.
TODO: generate a bot avatar.
2024-02-08 18:49:49 +01:00
John Livingston 99f01014b2
Fix ConverseJS input borders/outline/shadow. (#311) 2024-02-08 11:33:43 +01:00
John Livingston 7b8c961faf
Fix inconsistency between browsers on textarea outlines (#311) 2024-02-08 11:06:35 +01:00
John Livingston 87997826c5
Bump version 8.1.0 + npm audit fix 2024-02-07 16:22:06 +01:00
John Livingston 13135f6df0
Destroy room: remove the challenge, and the new JID 2024-02-07 16:13:40 +01:00
John Livingston 48ecf96375
Removing unecessary plugins:
Removing headless/pubsub, minimize, notifications, profile, omemo, push, roomlist, dragresize.
Generated JS is about 10% lighter.
2024-02-07 16:03:02 +01:00
John Livingston c17fbeef0a
UI improvement: Adding "users" icon in the menu toggle button 2024-02-07 14:46:21 +01:00
John Livingston a8e3524a94
Custom settings livechat_load_all_vcards for the readonly mode 2024-02-07 12:22:40 +01:00
John Livingston 91b44497bd
Changing the default avatar to minimize blinking effect when a user sends his first message 2024-02-07 11:38:15 +01:00
John Livingston 5cdbcec3e8
Performance improvement: don't load all vCards when right menu is not visible (partially fix #106) 2024-02-06 16:43:10 +01:00
John Livingston 98c9bb8788
303 registered users avatars avoid multiple parallel request to peertube (#309)
Peertube users avatars optimization (Fix #303):

* avoid multiple parallel request to load same avatar from Peertube
* send "item-not-found" stanza when no avatar, instead of a vCard without avatar
2024-02-06 11:01:29 +01:00
John Livingston c008e84da7
Fix #295: Prosody: disabling message carbons for anonymous users.
Anonymous users can't use carbons, as they cannot connect with multiple
tabs on the same anonymous account.
So we disable carbons on the anonymous virtualhost, to improve
performances.

See here for some performances tests: https://github.com/JohnXLivingston/livechat-perf-test/tree/main/tests/50-anonymous-carbons
2024-02-01 15:20:52 +01:00
John Livingston 2b1e0fd3e9
Fix typo: improvment/improvement 2024-01-31 18:25:19 +01:00
John Livingston bfef57b1a5
Implement #305: UI/UX improvement:
Don't group "followup" messages, and always display avatar/nickname/datetime besides messages, even when it is the same user as previous one.
2024-01-31 18:23:32 +01:00
John Livingston 9eb986ea85
Changelog. 2024-01-29 17:45:35 +01:00
John Livingston 890ea6c873
Changelog. 2024-01-17 17:09:28 +01:00
John Livingston 873067d2a2
Fix #136: display anonymous users at the end of the participants list 2024-01-16 18:52:18 +01:00
John Livingston 21efc85523
Performance improvments:
* build-conversejs.sh: adding the ability to use a specific commit (to
  include some patches that are not upstream for now)
* Using patched ConverseJS for performance improvment (related to #96):
  * debounce MUC sidebar rendering in ConverseJS (Fix #138)
  * force history pruning, even if messages keep coming (Fix #140)
2024-01-16 12:27:44 +01:00