435 Commits

Author SHA1 Message Date
c3142a3282 use upstream 2025-05-12 16:55:10 -04:00
134d94d6fc Merge branch 'main' of https://github.com/JohnXLivingston/peertube-plugin-livechat 2025-05-12 16:50:25 -04:00
John Livingston
88376b82ee
Adding a warning in settings if theme is not set to Peertube or if autocolors are disabled. 2025-05-12 15:40:27 +02:00
John Livingston
c0d2c0caae
Addapt linting to dependency update. 2025-05-12 13:05:43 +02:00
John Livingston
35236328b2
Fix #660: don't send headers twice on emoji router errors. 2025-05-12 11:18:29 +02:00
99a0ba6945 hopefully fix crashing 2025-05-10 23:49:38 -04:00
a4bf37d534 Merge branch 'main' of https://github.com/JohnXLivingston/peertube-plugin-livechat 2024-12-03 17:03:42 -05:00
John Livingston
bb992e29a6
Fix linting according to new rules, and disable buggy rules. 2024-10-08 17:23:18 +02:00
John Livingston
77ec284ade
Fix build & CI 2024-10-08 16:53:55 +02:00
John Livingston
1b53a6ec2d
Fix #300: prosody tweaking. 2024-09-17 10:34:11 +02:00
John Livingston
538ec28da9
Fix typo. 2024-09-12 17:36:48 +02:00
John Livingston
f0088671ea
New features: announcements WIP (#518):
* prevent annoucement spoofing on backend.
2024-09-12 11:44:35 +02:00
John Livingston
33be9b3fc5
Update dependencies:
* update @tsconfig/nodes12 to @tsconfig/node16
* Peertube >= 5.2.0 required
2024-09-11 11:29:28 +02:00
John Livingston
4c84146cff
Replace v11.1.0 by v12.0.0:
There will probably be some breaking changes, so renaming v11.1.0 to
v12.0.0.
Also fixing a typo in a filename.
2024-09-11 10:34:47 +02:00
John Livingston
6f479d26c5
Moving max and default values in constants. 2024-09-11 10:34:47 +02:00
John Livingston
5225257bb5
New option for the moderation bot: forbid duplicate messages (#516). 2024-09-11 10:34:44 +02:00
John Livingston
4b5f83c45f
Updating dependencies. 2024-09-10 10:15:35 +02:00
John Livingston
c561851bb6
Fix a regression in OIDC handling. 2024-09-09 21:21:44 +02:00
John Livingston
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
John Livingston
c010758164
eslint 8.57 WIP:
* tweaking rules
* fixing issues
2024-09-09 18:47:21 +02:00
John Livingston
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
John Livingston
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
John Livingston
91cddfa8d8
Emoji only mode WIP:
* Button to enable it on all rooms.
2024-09-06 11:53:07 +02:00
John Livingston
08017ac2bb
Emoji only mode WIP:
* refactoring + optimization
* migration
2024-09-06 11:01:48 +02:00
7e0cfee8f1 Merge branch 'main' of https://github.com/JohnXLivingston/peertube-plugin-livechat 2024-09-05 22:17:17 -04:00
John Livingston
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
John Livingston
1a75b30c50
Emoji only mode WIP 2024-09-05 18:28:54 +02:00
John Livingston
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
John Livingston
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
f8c34213cb maybe fr fr fix it? 2024-08-05 19:46:09 -04:00
eb889711f5 fix invalid-avatar set 2024-08-05 19:32:57 -04:00
cde9b3f74a add options in config 2024-08-05 17:54:22 -04:00
John Livingston
a4497739fa
Search user messages WIP (#145) 2024-08-01 16:54:31 +02:00
John Livingston
ebc8fc8797
Option to hide moderator name who made actions WIP (#137). 2024-07-29 15:00:02 +02:00
John Livingston
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
John Livingston
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
John Livingston
2f98dfa538
Bad english corrections. 2024-07-10 11:55:54 +02:00
John Livingston
7a54594967
Moderation delay WIP (#132):
* default channel value for moderation delay
2024-07-09 16:15:07 +02:00
John Livingston
f870aa6cfb
Moderation delay WIP (#132):
* mod_muc_moderation_delay, first shot.
2024-07-09 11:40:37 +02:00
John Livingston
14ffa90208
Poll WIP (#231):
* muted participants can't vote
* removed "Choice N" from button labels.
2024-07-05 11:23:30 +02:00
John Livingston
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
John Livingston
6f7c5c50f7
Poll WIP (#231):
* frontend message localization
2024-07-05 11:23:29 +02:00
John Livingston
4168b2ce41
Poll WIP (#231):
* various fix and improvements
2024-07-05 11:23:28 +02:00
John Livingston
b792588364
Poll WIP (#231):
* mod_muc_poll
* feature detection and create poll button in Converse
2024-07-05 11:23:21 +02:00
John Livingston
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
John Livingston
bd211d777e
Fix url in comment. 2024-06-25 13:32:05 +02:00
John Livingston
e6721b1fa8
Terms&Conditions (#18) WIP:
* fix terms deletion.
2024-06-25 12:40:00 +02:00
John Livingston
a06ef00e2a
Terms&Conditions (#18) WIP:
* channel terms
2024-06-25 12:21:01 +02:00
John Livingston
b110456029
Terms&Conditions (#18) WIP:
* Converse module to display terms.
* Prosody module to send terms.
2024-06-25 12:21:01 +02:00
John Livingston
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