Commit Graph

87 Commits

Author SHA1 Message Date
John Livingston
5a455fff93
New option to only allow registered users to speak WIP (#233):
* Prosody mod_muc_peertubelivechat_roles module
* Fix ConverseJS to disable the message field when room is unmoderated
  and user is visitor
* Mute/voice anonymous users when changing room configuration.
* Display a specific message to muted anonymous users.
* Default value for mute_anonymous in channel options.
* Feature documentation
2024-06-21 11:37:06 +02:00
John Livingston
e8382f163b
SPDX headers. 2024-05-23 12:18:17 +02:00
John Livingston
5745e8c8a3
Changing defaults MUC affiliation (#385):
* video/channel owner is MUC owner
* the bot is MUC owner
* the bot is admin on the MUC component
* Peertube moderators/admins have no more special access (by default)
* migration script to update all existing rooms
2024-05-17 11:47:37 +02:00
John Livingston
b273d0a1b7
Task list: Technical documentation. 2024-05-13 13:45:44 +02:00
John Livingston
31a95f774d
Comments. 2024-05-13 10:53:43 +02:00
John Livingston
8aa12eb575
Task lists WIP:
* disco support
2024-05-13 10:52:36 +02:00
John Livingston
b4f4eca5ea
Task lists WIP:
* Create first task list when node is created.
2024-05-13 10:52:35 +02:00
John Livingston
4345ae09b1
Task lists WIP:
* optimizing and fixing the loss of affiliation
* fix: unsubscribing based on bare_sessions does not work with remote
  servers. So we use the muc-occupant-left hook instead.
2024-05-13 10:52:35 +02:00
John Livingston
0326fbc4a5
Task lists WIP:
* handling affilation loss
* handling user with no current connection
2024-05-13 10:52:35 +02:00
John Livingston
a976b2a1d8
Task lists WIP:
* dropping role support, does not work.
2024-05-13 10:52:35 +02:00
John Livingston
4f8e11d17d
Fix indentation 2024-05-13 10:52:35 +02:00
John Livingston
e7e2780ace
Clean. 2024-05-13 10:52:35 +02:00
John Livingston
529f0aa703
Task lists WIP:
* limit
2024-05-13 10:52:34 +02:00
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