Commit Graph

32 Commits

Author SHA1 Message Date
3624dd5c3c Reverting usage of RE2 (WIP):
**Breaking changes**

The livechat v13 introduced a new library to handle regular expressions in forbidden words, to avoid
[ReDOS](https://en.wikipedia.org/wiki/ReDoS) attacks.
Unfortunately, this library was not able to install itself properly on some systems, and some admins were not able
to install the livechat plugin.

That's why we have disabled this library in v14, and introduce a new settings to enable regexp in forbidden words.
By default this settings is disabled, and your users won't be able to use regexp in their forbidden words.

The risk by enabling this feature is that a malicious user could cause a denial of service for the chat bot, by using a
special crafted regular expression in their channel options, and sending a special crafter message in one of their
rooms. If you trust your users (those who have rights to livestream), you can enable the settings. Otherwise it is not
recommanded. See the documentation for more informations.

**Minor changes and fixes**

* Channel's forbidden words: new "enable" column.
* New settings to enable regular expressions for channel forbidden words.
* "Channel advanced configuration" settings: removing the "experimental feature" label.
2025-06-19 17:11:13 +02:00
80a5b76172 Updating SPDX headers. 2025-06-09 10:48:43 +02:00
bb992e29a6 Fix linting according to new rules, and disable buggy rules. 2024-10-08 17:23:18 +02:00
c010758164 eslint 8.57 WIP:
* tweaking rules
* fixing issues
2024-09-09 18:47:21 +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
2739bb823a Logger: improving the logger, and using it in client code. 2024-06-14 15:17:14 +02:00
63d8e9789e Fix: resetting validationError on update. 2024-06-13 12:48:58 +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
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
1b9ecea443 Custom channel emoticons WIP (#130): tabs 2024-06-07 13:45:07 +02:00
5c87eef915 Custom channel emoticons WIP (#130) + various fix/refactoring 2024-06-07 13:45:05 +02:00
607a71b8cb Fix help buttons. 2024-06-07 13:45:04 +02:00
1cf16d79be Fix one typo that wasted hours of debugging 2024-05-28 13:43:07 +02:00
cc75aadeb4 Supercharged tags input 2024-05-28 13:43:07 +02:00
35d9663559 Channel configuration validation + tags input 2024-05-28 13:43:07 +02:00
d95312aa11 More cleanup 2024-05-28 13:43:07 +02:00
0f99d66ac4 fixing errors from linting 2024-05-28 13:43:07 +02:00
fb7f44692c fix linting 2024-05-28 13:43:07 +02:00
f549142ae4 Several fixes around channel configuration 2024-05-28 13:43:07 +02:00
0672dc24a0 Typescript and lit version change + fix form submit. 2024-05-28 13:43:07 +02:00
732f7aedcd REUSE compliance. 2024-05-28 13:43:07 +02:00
1d14bbbda0 Cleaning more stuff. 2024-05-28 13:43:07 +02:00
b72b23d6ae Cleaning some stuff. 2024-05-28 13:43:07 +02:00
0491539dfd Fix button style 2024-05-28 13:43:07 +02:00
fb3a5d26aa Fixing ShadowDOM situation with CSS 2024-05-28 13:43:07 +02:00
de974eae22 Better structure + channel home in LitElement format 2024-05-28 13:43:07 +02:00