Commit Graph

52 Commits

Author SHA1 Message Date
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
40bf9c613f FIXME. 2024-02-12 17:27:03 +01:00
1f3677684d Fix new avatars content-type. 2024-02-12 17:20:21 +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
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
e2c85af001 Bot avatar:
* For now, only one avatar possible,
* uses mod_random_vcard_peertubelivechat,
* mod_random_vcard_peertubelivechat has a new option with the avatar
  list (instead of a hardcoded avatar number)
* Peertube lists available avatars files, and pass it to mod_random_vcard_peertubelivechat
2023-09-25 11:20:46 +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
e0c31f09aa Fix bot authentication. 2023-09-22 16:45:06 +02:00
2289d79c28 Various fix and wip 2023-09-22 16:45:06 +02:00
472caf9f5b Fix: direct s2s connection not always possible
Trying to connect to a remote instance using direct s2s won't work if local instance has not the feature enabled, and if the remote instance does not know the local one.
So using Websocket S2S in such case (that embed a discovery mecanism).
2023-06-01 13:06:59 +02:00
c097f5a596 Enabling again direct s2s. 2023-05-31 16:52:54 +02:00
a6e361d1dd Fix typo + secure test 2023-05-31 16:52:53 +02:00
fddf68a0cc Disabling direct s2s for alpha.4 2023-05-31 16:52:53 +02:00
3b8042ebe2 Fix timer. 2023-05-31 16:52:52 +02:00
c00ffc31b2 Federated chat: enabling the direct s2s mode. 2023-05-31 16:52:52 +02:00
2de38661d6 Websocket S2S: ping every 55s to keep alive. 2023-05-31 16:52:52 +02:00
92d92e3350 Fix: i misunderstood the parameter s2s_close_timeout. And removing a duplicate hook. 2023-05-31 16:52:52 +02:00
9d40405f75 Fix session.secure for outgoint websocket s2s. 2023-05-31 16:52:51 +02:00
c52d231435 6.4.0-alpha.2 version. 2023-05-31 16:52:51 +02:00
a8150a26eb Fix typo. 2023-05-31 16:52:51 +02:00
6ed69d2c2f Chat Federation: refactoring ActivityPub data:
The data format used by plugin v6.3.0 was not well suited.
Here comes a new data format, with S2S informations.
The plugin can automatically upgrade old format.
It also continues to provide the old format, so than remote instance
that did not update the plugin will still work.
2023-05-31 16:52:50 +02:00
4f9534dc11 Removing some old PoC code. 2023-05-31 16:52:49 +02:00
627b45ffc7 Chat Federation WIP: code cleaning. 2023-05-31 16:52:49 +02:00
b525c203da Chat Federation: first working PoC! 2023-05-31 16:52:49 +02:00
6fbfb8ef67 Fix var name + log. 2023-05-31 16:52:48 +02:00
5a945a0cb7 Chat Federation WIP:
Found that net.websocket is not appropriate.
This commit is a proof of concept. It has to be cleaned.
Still not working, but close!
2023-05-31 16:52:48 +02:00
cd3afe2b26 Chat Federation WIP:
Trying to fix some non-working code. Still not working.
2023-05-31 16:52:48 +02:00
92f076d425 Fix debug option. 2023-05-31 16:52:48 +02:00
9a2da60b7d Chat Federation (and a lot more) WIP:
Note: websocket s2s is not working yet, still WIP.

New Features

* Chat Federation:
  * You can now connect to a remote chat with your local account.
  * This remote connection is done using a custom implementation of [XEP-0468: WebSocket S2S](https://xmpp.org/extensions/xep-0468.html), using some specific discovering method (so that it will work without any DNS configuration).

Minor changes and fixes

* Possibility to debug Prosody in development environments.
* Using process.spawn instead of process.exec to launch Prosody (safer, and more optimal).
* Prosody AppImage: fix path mapping: we only map necessary /etc/ subdir, so that the AppImage can access to /etc/resolv.conf, /etc/hosts, ...
* Prosody AppImage: hidden debug mode to disable lua-unbound, that seems broken in some docker dev environments.
2023-05-31 16:52:47 +02:00
38023df6be XMPP clients connections WIP + fix mod_muc_http_defaults 2023-04-14 11:33:41 +02:00
8f5bb9945a Changing avatars. 2022-01-07 00:53:54 +01:00
7d4576716a Random avatars: adding some colors. 2022-01-06 07:08:54 +01:00
4e201ef82e Random avatars: adding some colors. 2022-01-06 06:48:00 +01:00
f966a69249 Random avatars: png instead of svg. 2022-01-06 05:57:09 +01:00
bf35172856 Builtin Prosody: display random avatars for anonymous users. 2022-01-06 05:30:55 +01:00
cb60a7799d Cleaning. 2022-01-06 03:29:52 +01:00
2effa8e4e9 Changelog & cleaning. 2022-01-05 20:13:59 +01:00
a5385e99cd Fixes. 2022-01-05 20:11:22 +01:00
eeaba121de Adding Fullname field. 2022-01-05 19:23:20 +01:00
0ba58ac284 Add some cache. 2022-01-05 19:17:40 +01:00
6afb640df2 Builtin-Prosody: use Peertube's avatar. 2022-01-05 18:53:44 +01:00
cf8a013195 Update prosody-modules (mod_muc_moderation, mod_auth_http) 2022-01-05 01:09:55 +01:00
b64d9730d0 Adding last activity informations. 2021-07-19 16:51:51 +02:00
b65d6ddde7 Fix identation. 2021-07-19 16:19:06 +02:00
8674ee3f99 Fix identation. 2021-07-19 16:17:34 +02:00
47bf53bafb Merge branch 'release/3.2.0' into prosody_room_list 2021-06-22 13:47:39 +02:00
a526feac19 Diagnostic tool: testing API communication from Prosody to Peertube. 2021-06-22 12:57:24 +02:00
7279761c66 Diagnostic tool: testing API communication between Peertube and Prosody. 2021-06-22 10:26:45 +02:00
30d70e033e Retrieving list rooms from prosody. 2021-06-12 03:52:45 +02:00
236a9301bc mod_muc_moderation 2021-05-11 16:49:55 +02:00