Commit Graph

472 Commits

Author SHA1 Message Date
91b44497bd Changing the default avatar to minimize blinking effect when a user sends his first message 2024-02-07 11:38:15 +01:00
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
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
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
2b1e0fd3e9 Fix typo: improvment/improvement 2024-01-31 18:25:19 +01:00
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
9eb986ea85 Changelog. 2024-01-29 17:45:35 +01:00
890ea6c873 Changelog. 2024-01-17 17:09:28 +01:00
873067d2a2 Fix #136: display anonymous users at the end of the participants list 2024-01-16 18:52:18 +01:00
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
ee48b01ae7 UI/UX improvment:
Hide nickname changes when previous nickname was like "Anonymous 12345".
Helps to improve performances when massive anonymous users are joining (#138), and prevent displaying unnecessary messages (#111).
2024-01-15 17:48:56 +01:00
5e60060052 Anonymous chat user: store last nickname in localStorage, and expires
after 12 hours
2024-01-09 17:56:33 +01:00
e3a61b95b6 Fix #287: add a label before the anonymous nickname prompt. 2024-01-09 16:55:13 +01:00
a56467c6cd Authenticated users: if current user nickname is already used in the room, automatically add a suffix. 2024-01-09 16:17:47 +01:00
d0a250a91d Better Anonymous chat user UX:
* Remember the chosen nickname in sessionStorage, to avoid entering it again too often.
* Fix: if an anonymous chat user enter spaces in the nickname choice, it will allows them to keep the random nickname.
2024-01-09 12:54:30 +01:00
10406aaed0 Translation changelog. 2024-01-09 10:04:58 +01:00
985fdb410e npm audit fix + Bump v8.0.4 2023-12-27 10:59:05 +01:00
6d7a8199ae Fix #140:using ConverseJS prune_messages_above to purge old messages, keeping only last 100. 2023-12-21 16:01:29 +01:00
e14c349ddf Changelog 2023-12-12 09:23:25 +01:00
ffc736c71f npm audit fix 2023-11-16 11:17:14 +01:00
9cee881383 Bump version 8.0.3 2023-11-16 11:15:10 +01:00
73922680c1 Fix #276: Peertube v6.0.0 compatibility in chatrooms page:
Using channel.avatars if channel.avatar is not available.
2023-11-16 10:46:58 +01:00
27b32f022b Fix #275: Peertube v6.0.0 compatibility for avatars:
Using account.avatars if account.avatar is not available in
mod_vcard_peertubelivechat.
2023-11-16 10:33:16 +01:00
1949580eb9 Changelog. 2023-11-16 09:56:35 +01:00
6be175eacb changelog 2023-09-28 09:29:52 +02:00
5614987901 Fix self-signed certificates on ubuntu + v8.0.2:
* On some Ubuntu server, the self-signed certificates generation fails:
  * See [issue #268](https://github.com/JohnXLivingston/peertube-plugin-livechat/issues/268)
  * This prevents the bot to connect to the server
  * As a fallback, we directly call openssl to generate the certificates
2023-09-27 14:29:17 +02:00
05b45fe6b5 Bump v8.0.1 2023-09-26 15:22:20 +02:00
af2798366c Renaming "pre-recorded messages" to "timers" 2023-09-26 14:41:46 +02:00
353f2d03f3 Fix disabling bot 2023-09-26 14:37:56 +02:00
89fb6a7ac6 Don't validate hidden fields. 2023-09-26 14:28:06 +02:00
03dfa3de6f Help button. 2023-09-26 14:21:32 +02:00
eb99369bea Fix button margin 2023-09-26 14:15:29 +02:00
8506b38adf Fix dark mode for channel configuration buttons. 2023-09-26 14:12:30 +02:00
6ed5e4497a Bump v8.0.0 2023-09-25 17:48:20 +02:00
d80cedfee5 Auto ban anonymous IP:
* New settings: "Ban anonymous user's IP when user is banned from a chatroom":
  * if enabled, every time a streamer bans an anonymous user, it will ban its IP on the chat server,
  * banned IPs are logged on disk, so server's admin can use them to feed fail2ban (for example),
  * option disabled by default, because could be used to create trapped-rooms on public servers
2023-09-22 18:17:54 +02:00
2735ae703a Changelog 2023-09-22 16:45:09 +02:00
f97e54d499 Moderation Bot integration WIP:
* Start and stop the bot WIP
* Prosody: removing the BOSH module from the global scope (must only be present on relevant virtualhosts)
* Some refactoring
2023-09-22 16:45:06 +02:00
862076b9b9 Changelog. 2023-09-22 16:45:03 +02:00
85e7598c1f Clean changelog after rebase 2023-09-22 16:45:02 +02:00
d0ba7d017d External Components interface configuration:
You can now configure on which network interfaces Prosody will listen for external components.
2023-09-22 16:45:02 +02:00
efb8710f67 Moderation configuration screen: WIP. 2023-09-22 16:45:01 +02:00
64668733c8 Code refactoring:
Splitting API code in several files.
2023-09-07 17:20:01 +02:00
5ecff1d916 Localized help urls:
Links to documentation are now using the front-end language to point to the translated documentation page
(except for some links generated from the backend, in the diagnostic tool for example).

Partial fix for #224.
2023-09-06 17:58:54 +02:00
0cc6298229 ConverseJS 10.1.6. 2023-09-04 12:16:14 +02:00
d8cce224e8 Changelog 2023-09-04 12:08:36 +02:00
759809cf0a Changelog 2023-08-15 16:35:28 +02:00
0eb5ae5d97 Bump version 7.2.2 2023-08-07 17:12:26 +02:00
22f7d8fcef Fix #200: externalizing the Prosody AppImage build:
The build process for the Prosody AppImage only worked on Debian based
stations.
See: https://github.com/JohnXLivingston/peertube-plugin-livechat/issues/200

With this commit, the Prosody AppImage is no more built in this plugin, but downloaded from [prosody-appimage](https://github.com/JohnXLivingston/prosody-appimage).
2023-08-07 16:59:06 +02:00
16587a0d0b Changelog 2023-08-07 10:20:12 +02:00
609b9e99ec Fix #100: API endpoint enhancement
Bypassing Nginx for API call originated from Prosody (if Peertube >=5.1).
Can also fix some Docker setup, which needed to set the prosody-peertube-uri settings.
2023-08-02 17:08:42 +02:00