Commit Graph

417 Commits

Author SHA1 Message Date
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
c561851bb6 Fix a regression in OIDC handling. 2024-09-09 21:21:44 +02:00
edca1be70a Final eslint 8.57 adjustements.
There are still some FIXME, but should be enought for now.
2024-09-09 20:37:45 +02:00
c010758164 eslint 8.57 WIP:
* tweaking rules
* fixing issues
2024-09-09 18:47:21 +02:00
7b3d93b290 Typescript v5 + eslint 8.57 WIP
This commit also improves some type handling in the project.
2024-09-09 15:57:04 +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
08017ac2bb Emoji only mode WIP:
* refactoring + optimization
* migration
2024-09-06 11:01:48 +02:00
5db4f46421 Emoji only mode WIP:
Fix emojis regexp. The RCPE2 library can't handle long regexp, so we
switch to Oniguruma.
2024-09-05 19:12:07 +02:00
1a75b30c50 Emoji only mode WIP 2024-09-05 18:28:54 +02:00
0e98cbaba5 ConverseJS upstream update:
* update ConverseJS version
* remove concord theme from settings (and migrate to peertube)
* added cyberpunk theme
* fixed settings localization
2024-09-02 12:11:21 +02:00
8e99199f29 New option to use and configure Prosody mod_firewall WIP (#97):
* new setting
* new configuration screen for Peertube admins
* include the mod_firewall module
* load mod_firewall if enabled
* sys admin can disable the firewall config editing by creating a
  special file on the disk
* user documentation
2024-08-13 10:35:47 +02:00
a4497739fa Search user messages WIP (#145) 2024-08-01 16:54:31 +02:00
ebc8fc8797 Option to hide moderator name who made actions WIP (#137). 2024-07-29 15:00:02 +02:00
c6c365abf0 Avatar set for anonymous users: new 'none' choice (that will fallback to Converse new colorized avatars). 2024-07-25 15:34:27 +02:00
e57d39c8ab Fix #481:
* Moderation bot was not able to connect when remote chat was disabled.
* Some cleaning in code generating Prosody configuration file.
* Bump version 10.3.3
2024-07-25 12:09:55 +02:00
2f98dfa538 Bad english corrections. 2024-07-10 11:55:54 +02:00
7a54594967 Moderation delay WIP (#132):
* default channel value for moderation delay
2024-07-09 16:15:07 +02:00
f870aa6cfb Moderation delay WIP (#132):
* mod_muc_moderation_delay, first shot.
2024-07-09 11:40:37 +02:00
14ffa90208 Poll WIP (#231):
* muted participants can't vote
* removed "Choice N" from button labels.
2024-07-05 11:23:30 +02:00
6dda0cc44f Poll WIP (#231):
* refactoring update messages, for a more efficient and proper way to
  handle it
2024-07-05 11:23:30 +02:00
6f7c5c50f7 Poll WIP (#231):
* frontend message localization
2024-07-05 11:23:29 +02:00
4168b2ce41 Poll WIP (#231):
* various fix and improvements
2024-07-05 11:23:28 +02:00
b792588364 Poll WIP (#231):
* mod_muc_poll
* feature detection and create poll button in Converse
2024-07-05 11:23:21 +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
bd211d777e Fix url in comment. 2024-06-25 13:32:05 +02:00
e6721b1fa8 Terms&Conditions (#18) WIP:
* fix terms deletion.
2024-06-25 12:40:00 +02:00
a06ef00e2a Terms&Conditions (#18) WIP:
* channel terms
2024-06-25 12:21:01 +02:00
b110456029 Terms&Conditions (#18) WIP:
* Converse module to display terms.
* Prosody module to send terms.
2024-06-25 12:21:01 +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
83dd3130a1 Fix #436: Saving emojis per batch, to avoid hitting max payload limit. 2024-06-20 11:14:00 +02:00
8a2d556d4e Replace github documentation link by framagit ones + fix some links 2024-06-19 11:06:11 +02:00
257fdbd2c2 Authentication token generation (#98):
* setting to disable the feature (aka "panic button")
2024-06-17 15:25:02 +02:00
6bb29d79f8 Authentication token generation WIP (#98)
* fix stored data format
* implement user_exists and check_password
2024-06-17 12:44:26 +02:00
90afdafbd9 Authentication token generation WIP (#98)
You can now generate links to join chatrooms with your current user. This can be used to create Docks in OBS for example. This could also be used to generate authentication token to join the chat from 3rd party tools.
2024-06-17 11:43:59 +02:00
9e8e2a2572 Reading livechat-active parameter on live creation API endpoint:
So that the Android Peertube Live app can pass the parameter withing the first (and only) API call.
Implements #400.
2024-06-14 17:56:22 +02:00
ae2d45b007 Enable the chat by default when a live is created:
So that lives created by the Android Peertube Live app will have chat by default.
Fix #400.
2024-06-14 17:33:49 +02:00
7312297e25 Missing SPDX. 2024-06-12 10:53:14 +02:00
ad27a76fab Deregister prosodyctl interval callback when spawn.stdin disappears
To avoid running into "write EPIPE" errors.
2024-06-11 22:45:00 +02:00
f1cf98921f Custom channel emoticons WIP (#130):
* fix reset when opening multiple chat
* disable default converseJs custom icons
2024-06-07 13:45:07 +02:00
200d21d5a6 Custom channel emoticons WIP (#130): federation 2024-06-07 13:45:06 +02:00
3c65aa3fd3 Custom channel emoticons WIP (#130): cache 2024-06-07 13:45:06 +02:00
a777c7ac8d Custom channel emoticons WIP (#130) 2024-06-07 13:45:06 +02:00
893708d93a Custom channel emoticons WIP (#130) + Fix cleanup on channel deletion. 2024-06-07 13:45:05 +02:00
92e9d6d1af Custom channel emoticons WIP (#130) 2024-06-07 13:45:05 +02:00
04403225fb Custom channel emoticons WIP (#130) + various fix 2024-06-07 13:45:04 +02:00
688ab4f029 Custom channel emoticons WIP (#130) 2024-06-07 13:45:04 +02:00