Commit Graph

73 Commits

Author SHA1 Message Date
John Livingston
2aaacb44a7
Init support/forbidden_words 2023-09-22 20:15:10 +02:00
John Livingston
d80cedfee5
Auto ban anonymous IP:
* New settings: "Ban anonymous user's IP when user is banned from a chatroom":
  * if enabled, every time a streamer bans an anonymous user, it will ban its IP on the chat server,
  * banned IPs are logged on disk, so server's admin can use them to feed fail2ban (for example),
  * option disabled by default, because could be used to create trapped-rooms on public servers
2023-09-22 18:17:54 +02:00
John Livingston
f97e54d499
Moderation Bot integration WIP:
* Start and stop the bot WIP
* Prosody: removing the BOSH module from the global scope (must only be present on relevant virtualhosts)
* Some refactoring
2023-09-22 16:45:06 +02:00
John Livingston
35c9494ed7
Store bot configuration WIP 2023-09-22 16:45:04 +02:00
John Livingston
e4683cf282
WIP: store and get relation between rooms and channels:
* rebuildData
* handling video update (to check for channel changes)
2023-09-22 16:45:04 +02:00
John Livingston
c900d2d1d4
WIP: store and get relation between rooms and channels (refactoring) 2023-09-22 16:45:04 +02:00
John Livingston
32b52adebb
WIP: store and get relation between rooms and channels 2023-09-22 16:45:03 +02:00
John Livingston
b4db6be7c0
Documentation. 2023-09-22 16:45:03 +02:00
John Livingston
501f6d53ab
doc and css fix 2023-09-22 16:45:03 +02:00
John Livingston
d0ba7d017d
External Components interface configuration:
You can now configure on which network interfaces Prosody will listen for external components.
2023-09-22 16:45:02 +02:00
John Livingston
b165364748
Some technical documentation. 2023-09-07 12:53:07 +02:00
John Livingston
22f7d8fcef
Fix #200: externalizing the Prosody AppImage build:
The build process for the Prosody AppImage only worked on Debian based
stations.
See: https://github.com/JohnXLivingston/peertube-plugin-livechat/issues/200

With this commit, the Prosody AppImage is no more built in this plugin, but downloaded from [prosody-appimage](https://github.com/JohnXLivingston/prosody-appimage).
2023-08-07 16:59:06 +02:00
John Livingston
9f8a9ae5ae
Fix typo. 2023-08-07 10:19:42 +02:00
John Livingston
609b9e99ec Fix #100: API endpoint enhancement
Bypassing Nginx for API call originated from Prosody (if Peertube >=5.1).
Can also fix some Docker setup, which needed to set the prosody-peertube-uri settings.
2023-08-02 17:08:42 +02:00
John Livingston
f8ad15d324
Documentation: fix typo. 2023-07-27 13:15:32 +02:00
John Livingston
c66c15fa76
Some documentation. 2023-07-27 11:43:31 +02:00
John Livingston
c78b137b70
Fix typo 2023-07-27 10:45:06 +02:00
John Livingston
f0bff2352e
Fix typo. 2023-07-26 18:53:43 +02:00
John Livingston
8db4f10584
Improving Documentation (#220)
Documentation improvement (Related to https://github.com/JohnXLivingston/peertube-plugin-livechat/issues/117)

* new introduction and homepage
* Fix livechat_label shortcode: no line breaks
* refactoring/rewriting user documentation
* troubleshooting section
* Updating documentation po files
* ...
2023-07-25 18:00:41 +02:00
mose
546fa75825 a cd was missing 2023-07-19 08:41:01 +02:00
John Livingston
f5b3b68c4f
Fix documentation: translate doc not translated:
The example of livechatnotranslation usage in the page was triggering
the doc-translate script... So the page was marked as "don't translate".
2023-07-17 17:09:39 +02:00
John Livingston
c9bf187299
Fix typo. 2023-07-17 16:56:24 +02:00
John Livingston
d8d1de3ceb
Trying to trick github CI for po4a version. 2023-07-17 16:33:44 +02:00
John Livingston
9d3c7eef65
No markdown table in documentation, not compatible with po4a. 2023-07-17 16:01:00 +02:00
John Livingston
d8d0b48e60
Doc. 2023-07-17 15:40:55 +02:00
John Livingston
3ba3a7cc5f
Fix doc typo. 2023-07-17 13:26:19 +02:00
John Livingston
732344a37c
Update develop documentation, with correct dependencies. 2023-07-17 12:47:42 +02:00
John Livingston
a7a62e76b6
Fix doc. 2023-07-14 19:56:21 +02:00
John Livingston
56df985745
Documentation translation (#199)
Documentation translation using weblate.

* Use po4a to generate .po files from the english markdowns, then to generate translated files
* Some pages can be marked as «english only» (for technical documentation for example)
* New Hugo shortcode to use application strings in documentation (for example for settings names)
* The code of conduct is no more translated, but there is a link to official Contributor Covenant translations
* Adding all plugin's supported languages

Related to https://github.com/JohnXLivingston/peertube-plugin-livechat/issues/117
2023-07-14 19:15:30 +02:00
John Livingston
cc68eb9010
Documentation cleaning. 2023-07-06 16:21:21 +02:00
John Livingston
f6d473a000
Documentation cleaning + settings label update 2023-07-06 16:06:38 +02:00
John Livingston
da21d36b87
Fix typo 2023-07-06 14:10:50 +02:00
Alecks Gates
bf5ae50443 Podcast RSS Documentation 2023-07-06 14:10:05 +02:00
John Livingston
995dfa4dff Some refactoring. 2023-07-06 14:10:05 +02:00
John Livingston
81110da5e1
ActivityPub discovery documentation (#113) 2023-07-05 16:42:56 +02:00
John Livingston
3627ef25f6
FEP-1970: name attribute.
Related to #113.
2023-07-05 12:10:27 +02:00
John Livingston
9e12bd0306
Framasoft Weblate credits 2023-06-14 11:42:11 +02:00
John Livingston
f73ccbbf7e
Localization refactoring:
* the front-end now use global constants, based on the translation key
* build-client.js use the ESBuild "define" directive to replace these
  globals at compile time, by the english value
* build:client must now be called after build:languages
* moving the loadLoc and loc backend functions in a separate lib
2023-06-12 19:36:14 +02:00
John Livingston
93e3b5cdd4
Fix typo 2023-06-12 10:40:11 +02:00
John Livingston
aeb3c76b69
Documentation update: new translation process. 2023-06-09 18:31:48 +02:00
John Livingston
8f66ea4032
Fix #180: Letsencrypt import not working
Letsencrypt certificate import procedure was not working on server that had never installed Prosody.
Adding `prosody_user` in the Prosody configuration file to fix this.
Updating the procedure: the `chown` is no more needed in `/etc/letsencrypt/renewal-hooks/deploy/prosody.sh`.
2023-06-08 10:22:43 +02:00
Alecks Gates
083b075445 Fix find -exec documentation for docker certificate renewal 2023-06-05 18:06:40 +02:00
John Livingston
f644ad0d88
Fix #124 (dirty hack):
This commit is a dirty hack to fix issue with ARM64 Prosody AppImage.
The fixed appimagebuild tool is not released by the dev team.
So i patch it in my build script. This is not a good solution, but it
works, and let me go forward.
2023-05-31 18:13:35 +02:00
John Livingston
4faf8a3aea
Fix DNS documentation. 2023-05-31 16:52:54 +02:00
John Livingston
8fe48a068f
Refactoring the debug mode code, and adding some options. 2023-05-31 16:52:49 +02:00
John Livingston
9a2da60b7d
Chat Federation (and a lot more) WIP:
Note: websocket s2s is not working yet, still WIP.

New Features

* Chat Federation:
  * You can now connect to a remote chat with your local account.
  * This remote connection is done using a custom implementation of [XEP-0468: WebSocket S2S](https://xmpp.org/extensions/xep-0468.html), using some specific discovering method (so that it will work without any DNS configuration).

Minor changes and fixes

* Possibility to debug Prosody in development environments.
* Using process.spawn instead of process.exec to launch Prosody (safer, and more optimal).
* Prosody AppImage: fix path mapping: we only map necessary /etc/ subdir, so that the AppImage can access to /etc/resolv.conf, /etc/hosts, ...
* Prosody AppImage: hidden debug mode to disable lua-unbound, that seems broken in some docker dev environments.
2023-05-31 16:52:47 +02:00
John Livingston
1003378b24
Documentation. 2023-05-31 16:51:06 +02:00
Alecks Gates
862991e086 Add directions for trusted certificate generation under Docker 2023-05-30 11:27:48 +02:00
John Livingston
df249efd16
Fix typo in documentation 2023-05-18 15:38:14 +02:00
Thibault François
51bdd91c5e [typo] carioca en trop 2023-05-12 10:06:14 +02:00