Commit Graph

12 Commits

Author SHA1 Message Date
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 f5b9ffe616
Temporary security fix for #332: rollback of v8.3.1:
* Setting video owner as room owner as side effects. Like leaking the instance moderator/admin list. And maybe others.
  * So we rollback this feature, waiting for a better way to allow room admins/moderators to change room settings.
  * As a consequence, users that are not Peertube moderator/administrator can't change the slow mode configuration without deleting/recreating the room. This will be fixed in a later plugin version.
2024-03-01 15:25:29 +01:00
John Livingston 97b85be4ad
Fix #322: "Sepia is no longer an owner of this groupchat" message when joining the chat.
* This was related to the fact that the bot was owner because of the "admins" Prosody config key, and not registered in the room.
* To fix it, i added the bot as owner when creating rooms.
* This means that the fix only work for newly created rooms.
* There might still be an issue in ConverseJS or Prosody, don't know exactly where.
2024-03-01 12:20:32 +01:00
John Livingston 3ec09ce267
Fix: video owner must be room owner, not only admin. Otherwise they can't edit room parameters (including slow mode settings). 2024-02-22 18:08:06 +01:00
John Livingston 7db856ce0f
Using types declarations from the official @peertube/peertube-types package. 2022-01-11 01:29:33 +01:00
John Livingston 5c0b274f39
Builtin Prosody: adding the prosody-room-type settings to allow rooms to be per channel or per video. WIP. 2021-08-05 15:41:49 +02:00
John Livingston ddaf57b5d5
Minor fix + code refactoring. 2021-08-04 00:57:14 +02:00
John Livingston 5484947f51 Fix: if the video owner is already owner of the chatroom, he should not be downgraded to admin. 2021-05-06 21:05:46 +02:00
John Livingston f590cf2c7b Builtin Prosody: use Peertube domain instead of localhost. 2021-05-06 13:31:55 +02:00
John Livingston bda306b461 Dont add chat admin for remote videos. 2021-05-06 12:42:07 +02:00
John Livingston 27d8ab7fc6 Prosody: the video owner is admin for the room. 2021-05-05 18:00:03 +02:00
John Livingston 07353bd327 Prosody: instance moderators and administrators are automatically owner of rooms. 2021-05-05 15:22:37 +02:00