Commit Graph

74 Commits

Author SHA1 Message Date
John Livingston d16bdd9a87
Task lists WIP:
* fix retractation
2024-05-13 10:52:33 +02:00
John Livingston d91cbb9e25
Task lists WIP:
* aborted attempt to auto create the first task list
2024-05-13 10:52:33 +02:00
John Livingston df788473cd
Task lists WIP:
* pubsub manager
* some refactoring
* various fixes
2024-05-13 10:52:33 +02:00
John Livingston ff976ee0ad
Task lists WIP:
* fix mod pubsub
* front-end WIP
2024-05-13 10:52:32 +02:00
John Livingston 82b741b4fc
Task lists WIP:
* rewriting mod_pubsub_livechat
2024-05-13 10:52:32 +02:00
John Livingston 7608f7c14b
Task lists WIP:
* first shot for the pubsub module that will handle tasks.
2024-05-13 10:52:32 +02:00
John Livingston cfc5e98d90
Improving the pruning mechanism. 2024-04-19 09:58:36 +02:00
John Livingston 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
John Livingston 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
John Livingston 3a5f27e751
Possibility to configure an OpenID Connect provider on the instance level WIP (#128). 2024-04-19 09:58:33 +02: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 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 93f2cc277d
Fix mod_muc_slow_mode: add min value for slow_mode_duration field. 2024-02-23 15:50:43 +01:00
John Livingston 96270c5ac5
Slow Mode Fix: ignore messages without body. 2024-02-22 10:19:51 +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 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 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
John Livingston 40bf9c613f
FIXME. 2024-02-12 17:27:03 +01:00
John Livingston 1f3677684d
Fix new avatars content-type. 2024-02-12 17:20:21 +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 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
John Livingston 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
John Livingston 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
John Livingston e0c31f09aa
Fix bot authentication. 2023-09-22 16:45:06 +02:00
John Livingston 2289d79c28
Various fix and wip 2023-09-22 16:45:06 +02:00
John Livingston 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
John Livingston c097f5a596
Enabling again direct s2s. 2023-05-31 16:52:54 +02:00
John Livingston a6e361d1dd
Fix typo + secure test 2023-05-31 16:52:53 +02:00
John Livingston fddf68a0cc
Disabling direct s2s for alpha.4 2023-05-31 16:52:53 +02:00
John Livingston 3b8042ebe2
Fix timer. 2023-05-31 16:52:52 +02:00
John Livingston c00ffc31b2
Federated chat: enabling the direct s2s mode. 2023-05-31 16:52:52 +02:00
John Livingston 2de38661d6
Websocket S2S: ping every 55s to keep alive. 2023-05-31 16:52:52 +02:00
John Livingston 92d92e3350
Fix: i misunderstood the parameter s2s_close_timeout. And removing a duplicate hook. 2023-05-31 16:52:52 +02:00
John Livingston 9d40405f75
Fix session.secure for outgoint websocket s2s. 2023-05-31 16:52:51 +02:00
John Livingston c52d231435
6.4.0-alpha.2 version. 2023-05-31 16:52:51 +02:00
John Livingston a8150a26eb
Fix typo. 2023-05-31 16:52:51 +02:00
John Livingston 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
John Livingston 4f9534dc11
Removing some old PoC code. 2023-05-31 16:52:49 +02:00
John Livingston 627b45ffc7
Chat Federation WIP: code cleaning. 2023-05-31 16:52:49 +02:00
John Livingston b525c203da
Chat Federation: first working PoC! 2023-05-31 16:52:49 +02:00
John Livingston 6fbfb8ef67
Fix var name + log. 2023-05-31 16:52:48 +02:00
John Livingston 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
John Livingston cd3afe2b26
Chat Federation WIP:
Trying to fix some non-working code. Still not working.
2023-05-31 16:52:48 +02:00
John Livingston 92f076d425
Fix debug option. 2023-05-31 16:52:48 +02:00