Commit Graph

113 Commits

Author SHA1 Message Date
0be11fb2ae Security Fix: mitigate ReDOS attacks on the chat bot. 2025-06-06 16:41:22 +02:00
60ea2b4ed0 Fix #626: Bot timer was buggy, using seconds as delay instead of minutes.
There was a regression some months ago in the "bot timer" functionnality.
In the channels settings, the delay between two quotes is supposed to be in minutes, but in fact we applied seconds.
We don't have any way to detect if the user meant seconds or minutes when they configured their channels (it depends if it was before or after the regression).
So we encourage all streamers to go through their channel settings, check the frequency of their bot timers (if enabled), set them to the correct value, and save the form.
Users must save the form to be sure to apply the correct value.
2025-05-21 17:51:54 +02:00
8a12ddabc2 Fix: bot timer can't be negative or null. 2025-05-21 17:12:14 +02:00
1b8531a198 Fix: bot timer can't be negative or null. 2025-05-21 16:51:47 +02:00
577eec6fa4 Add style compat with peertube v7 2024-11-28 10:47:29 +01:00
bb992e29a6 Fix linting according to new rules, and disable buggy rules. 2024-10-08 17:23:18 +02:00
6f479d26c5 Moving max and default values in constants. 2024-09-11 10:34:47 +02:00
5225257bb5 New option for the moderation bot: forbid duplicate messages (#516). 2024-09-11 10:34:44 +02:00
4b5f83c45f Updating dependencies. 2024-09-10 10:15:35 +02:00
c010758164 eslint 8.57 WIP:
* tweaking rules
* fixing issues
2024-09-09 18:47:21 +02:00
f15d3ed542 New option for the moderation bot:
* forbid messages with too many special characters (#517).
* update moderation bot to v0.4.0.
* refactoring localization segments to reuse existing one in multiple
  context.
* npm run doc:translate
2024-09-07 12:40:38 +02:00
91cddfa8d8 Emoji only mode WIP:
* Button to enable it on all rooms.
2024-09-06 11:53:07 +02:00
b673a49af6 Improved accessibility (#118):
* channel configuration: adding title to inputs.
* channel configuration: `aria-hidden="true"` on icons for add and
  remove row buttons.
2024-08-29 12:20:36 +02:00
944bdcebb7 Improved accessibility (#118):
* aria-hidden on the channel avatar in the `p/livechat/configuration`
  page.
2024-08-29 11:28:58 +02:00
ebc8fc8797 Option to hide moderator name who made actions WIP (#137). 2024-07-29 15:00:02 +02:00
7a54594967 Moderation delay WIP (#132):
* default channel value for moderation delay
2024-07-09 16:15:07 +02:00
934c07e34e Fix #449: Remove the constraint for custom emojis shortnames to have ":" at the beginning and at the end. 2024-06-25 17:12:46 +02:00
af04f70611 Terms&Conditions (#18) WIP:
* user documentation
* settings documentation
2024-06-25 12:21:02 +02:00
45a63eaecd Terms&Conditions (#18):
* new settings for instance's terms
* new channel option for channel's terms
2024-06-25 12:21:01 +02:00
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
1be95f01b1 Fix: clicking on the import custom emojis button, without selected any file, was resulting in a state with all action button disabled. 2024-06-20 14:39:15 +02:00
48905dd70d Fix #437: removing last line if empty when importing emojis. 2024-06-20 11:45:36 +02:00
a0b4b5f61a Fix: the emojis import function could add more entries than max allowed emoji count.
+ another minor fix.
2024-06-20 11:38:04 +02:00
83dd3130a1 Fix #436: Saving emojis per batch, to avoid hitting max payload limit. 2024-06-20 11:14:00 +02:00
2739bb823a Logger: improving the logger, and using it in client code. 2024-06-14 15:17:14 +02:00
4851e35fba Fix lit class attribute. 2024-06-14 10:45:36 +02:00
a1eada96e8 Channel emojis: adding an empty line by default. 2024-06-13 15:10:12 +02:00
ae429c65a7 Fix. 2024-06-13 15:05:22 +02:00
8dede18070 Fix notifier messages/titles. 2024-06-13 15:01:31 +02:00
63d8e9789e Fix: resetting validationError on update. 2024-06-13 12:48:58 +02:00
591e0ad3fd Fix. 2024-06-13 10:57:34 +02:00
7cabf12864 Fix tags-input:
* the code handling `separators` was buggy, so i simplified to use only
  one separator
* was not practical for bot quotes (can't edit), so replaced by a
  textarea
2024-06-13 10:48:13 +02:00
8cc9061092 Fix lit linting. (some fix could be better...) 2024-06-12 19:13:35 +02:00
d4692c81e0 Fix lit linting, WIP. 2024-06-12 18:51:04 +02:00
be1e7456bd Fix action button. 2024-06-12 17:14:39 +02:00
4976a4f282 Refactoring: moving some template to separate files + classMap fix. 2024-06-12 17:14:39 +02:00
2c3739f633 Refactoring: simplifing the peertube context. 2024-06-12 17:14:38 +02:00
268c60d699 Refactoring. 2024-06-12 17:14:38 +02:00
72c4b0804d Better UI for channel configuration pages. 2024-06-12 17:14:38 +02:00
e811c549fd Fix checkbox. 2024-06-12 17:14:38 +02:00
2668e5174c Dynamic table description: always displayed, in a separate line. 2024-06-12 17:14:37 +02:00
597afc8ba6 New page loading and error cases:
* adding new custom elements: spinner and error
* using them on async tasks
2024-06-12 17:14:37 +02:00
75ac7a1052 Various improvements:
* CSS cleaning
* disabling buttons during loading
* reset buttons on forms
2024-06-12 17:14:37 +02:00
2da97245ae Fix orphan opening div. 2024-06-12 17:14:36 +02:00
6f56a026bb Custom emojis: import/export functions. 2024-06-10 19:17:49 +02:00
92cf83dcdf Custom channel emoticons WIP (#130): fix CSS 2024-06-07 14:08:35 +02:00
47b580d132 Custom channel emoticons WIP (#130) 2024-06-07 13:45:07 +02:00
1b9ecea443 Custom channel emoticons WIP (#130): tabs 2024-06-07 13:45:07 +02:00
a777c7ac8d Custom channel emoticons WIP (#130) 2024-06-07 13:45:06 +02:00
92e9d6d1af Custom channel emoticons WIP (#130) 2024-06-07 13:45:05 +02:00