Commit Graph

68 Commits

Author SHA1 Message Date
cfc5e98d90 Improving the pruning mechanism. 2024-04-19 09:58:36 +02:00
ce2d8ed123 Possibility to configure an OpenID Connect provider on the instance level WIP (#128)
Pruning external users periodically.
2024-04-19 09:58:36 +02:00
8a65f447c8 Possibility to configure an OpenID Connect provider on the instance level WIP (#128)
Get avatar from remote service.
2024-04-19 09:58:35 +02:00
3a5f27e751 Possibility to configure an OpenID Connect provider on the instance level WIP (#128). 2024-04-19 09:58:33 +02:00
e67b21dd9f Updating slow mode duration on existing rooms when changing channel options (related to #332). 2024-03-07 17:33:18 +01:00
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
93f2cc277d Fix mod_muc_slow_mode: add min value for slow_mode_duration field. 2024-02-23 15:50:43 +01:00
96270c5ac5 Slow Mode Fix: ignore messages without body. 2024-02-22 10:19:51 +01:00
3d9237624d Naming:
* changing delay by duration for slow mode options
* better labels
2024-02-16 17:35:55 +01:00
92af46641e Fix indentation. 2024-02-16 17:35:54 +01:00
f452c3529c Fix set_slow_mode_delay + Fix typo 2024-02-16 17:35:54 +01:00
68e51aec4b Fix typo. 2024-02-16 17:35:54 +01:00
3c8563bec4 Fix naming. 2024-02-16 17:35:54 +01:00
afbc78d0e6 Slow Mode WIP (#192): option position 2024-02-16 17:35:54 +01:00
9ed689b5f1 Slow mode WIP (#192):
* backend rejects messages when the slow mode is not respected.
2024-02-16 17:35:54 +01:00
cf179d7f72 Slow mode WIP (#192):
* default delay is configurable in channel's chat rooms options.
2024-02-16 17:35:53 +01:00
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