Commit Graph

100 Commits

Author SHA1 Message Date
John Livingston
d410d4e08e
Settings to disable the bot and the advances channel configuration 2023-09-22 16:45:02 +02:00
John Livingston
5373fb1570
Renaming 'moderation' pages to 'configuration'. 2023-09-22 16:45:02 +02:00
John Livingston
7e89e430d0
Moderation configuration screen: store options. 2023-09-22 16:45:02 +02:00
John Livingston
0987a036a0
Moderation configuration screen: WIP. 2023-09-22 16:45:01 +02:00
John Livingston
cb6decfa84
Fix: only local channels. 2023-09-22 16:45:01 +02:00
John Livingston
a25c4822fa
Moderation configuration screen: WIP. 2023-09-22 16:45:01 +02:00
John Livingston
02728bb38d
Moderation configuration screen: WIP. 2023-09-22 16:45:01 +02:00
John Livingston
64668733c8
Code refactoring:
Splitting API code in several files.
2023-09-07 17:20:01 +02:00
John Livingston
f7a32e95d4
Code refactoring:
Cleaning some backend code, for a better readability.
2023-08-01 18:42:24 +02:00
John Livingston
d33795f7a1
Code refactoring WIP:
Cleaning the way ConverseJS parameters are given to the full page.
2023-08-01 17:01:09 +02:00
John Livingston
efdf01cef2
Fix condition. 2023-05-31 16:52:50 +02:00
John Livingston
e719dc3079
Chat Federation: fetch remote server information when missing. 2023-05-31 16:52:50 +02:00
John Livingston
6ed69d2c2f
Chat Federation: refactoring ActivityPub data:
The data format used by plugin v6.3.0 was not well suited.
Here comes a new data format, with S2S informations.
The plugin can automatically upgrade old format.
It also continues to provide the old format, so than remote instance
that did not update the plugin will still work.
2023-05-31 16:52:50 +02:00
John Livingston
b38d9a6426
Cleaning an aborted PoC 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
3bc05d88df
Chat Federation: using S2S if available.
* if both local and remote instance have external XMPP connections enabled, the user joins the remote room with his local account
* some code refactoring (builtin.ts)

Note: documentation and settings descriptions are to do.

Related to #112
2023-05-31 16:52:47 +02:00
John Livingston
4a02f74563
Fix cross domain BOSH. 2023-04-21 18:49:15 +02:00
John Livingston
5d323b2dfd
Chat Federation, connection to remote chat:
Front-end connect using BOSH or WS directly on the remote server.
If use is logged-in, his nickname is use as default nickname.
2023-04-21 16:56:48 +02:00
John Livingston
333590defd
Chat Federation: send the information to the frontend. 2023-04-21 12:02:52 +02:00
John Livingston
115fcd8484
Chat federation: add metadata in ActivityPub. WIP 2023-04-19 19:07:08 +02:00
John Livingston
310419ad66
Fix Peertube crash:
Peertube could crash when someone attemps to connect to Websocket endpoint during plugin initialization.
2023-04-17 11:14:41 +02:00
John Livingston
38023df6be XMPP clients connections WIP + fix mod_muc_http_defaults 2023-04-14 11:33:41 +02:00
John Livingston
3f47c3c65a
Refactoring and simplification (#122) 2023-01-11 18:05:18 +01:00
John Livingston
c178213e19
Use ESBuild for frontend build.
Replacing webpack by ESBuild for client code compilation (as in the
official quickstart plugin).

So we can remove deprecated webpack dependencies.

Note: webpack is still used for ConverseJS build.
This may be removed soon.

Related to issue #122.
2022-12-12 19:31:29 +01:00
John Livingston
901d1e96ab
Update @peertube/peertube-types to 4.2.2:
* using a stable version (4.2.2)
* minimum Peertube version is now 4.2.0
* removing some type customizations

Related to issue #122.

Note: there are still some quirks. See: https://github.com/Chocobozzz/PeerTube/issues/5446
2022-12-12 19:31:17 +01:00
John Livingston
ae5860e537
Implements #123: «disable websocket» settings». 2022-12-08 11:25:57 +01:00
John Livingston
91ea442ce6
Fix «autocolor» mecanism when no color provided (raised an error) 2022-11-01 15:17:21 +01:00
John Livingston
0be08c7b57
Using Peertube v5.0.0 websocket capacities. 2022-10-13 18:34:41 +02:00
John Livingston
67062aac62
Better implementation. 2022-10-13 10:47:36 +02:00
John Livingston
6f8c7b8a93
Websocket for builtin Prosody. WIP 2022-10-13 10:47:33 +02:00
John Livingston
507da6e042
Fix Peertube crash when stopping the BOSH proxy. 2022-10-13 10:44:02 +02:00
John Livingston
de179e90d3
Promisify proxy close. 2022-10-13 10:44:01 +02:00
John Livingston
1bb202d9d3
Replacing express-http-proxy by http-proxy + code refactoring. 2022-10-13 10:43:59 +02:00
John Livingston
2b7174eb96
Comment. 2022-10-13 10:41:09 +02:00
John Livingston
7259ae59a2
Builtin Prosody: BOSH path without plugin version, so it can be optimized in the nginx configuration. 2022-10-13 10:40:06 +02:00
John Livingston
7906ddf625
Prosody mode only:
Removing old modes (ConverseJS and External URI).
Work in progress.
2022-10-10 18:08:20 +02:00
John Livingston
80ac08bd18
Transparent background + fix
* Builtin Prosody, Share chat url: option to have a transparent background (for streaming integration).
* Builtin Prosody, Share chat url: fixed new day hidding when no scrollbar in readonly mode.
2022-01-16 17:50:11 +01:00
John Livingston
7db856ce0f
Using types declarations from the official @peertube/peertube-types package. 2022-01-11 01:29:33 +01:00
John Livingston
9a4608863b
Auto viewer mode (WIP). 2022-01-07 19:20:28 +01:00
John Livingston
04b1945239
Builtin Prosody, Share chat url: ability to show/hide the scrollbar in readonly mode. 2022-01-04 17:42:03 +01:00
John Livingston
148b28ef84
ConverseJS Readonly mode. Changing muc_mention_autocomplete_min_chars. 2021-12-14 13:02:15 +01:00
John Livingston
8999133dcc
Autocolors
WIP on a new feature: trying to guess current Peertube theme's colors,
and apply them to ConverseJS.
2021-11-19 16:45:10 +01:00
John Livingston
9b20042aad
ConverseJS: theme settings. 2021-11-18 11:08:12 +01:00
John Livingston
aaea040a4f
Renaming. 2021-08-05 18:48:06 +02:00
John Livingston
0e14ec6649
Removed the settings «Chats are only available for local videos».
From now on, webchat can only be activated for local videos.
It will never be displayed on remote videos.
This is because an incompatibility with a new feature (webchat per channel).
Moreover this feature was very limited: the webchat was not shared with the remote instance (this will probably be achieved in a future release).
2021-08-05 18:45:06 +02:00
John Livingston
3dcbba57e6
Room list: force channel or video room. 2021-08-05 18:34:38 +02:00
John Livingston
e9d1e55084
Room list: handle channel rooms. 2021-08-05 18:25:27 +02:00
John Livingston
5c0b274f39
Builtin Prosody: adding the prosody-room-type settings to allow rooms to be per channel or per video. WIP. 2021-08-05 15:41:49 +02:00
John Livingston
3ca97fcf0e
Fix #63: On some old Peertube installations, there can be usernames with upper-case letters. Adding a toLowerCase() for the XMPP jid. 2021-08-05 11:51:16 +02:00
John Livingston
523a5f35ab
Fix. 2021-08-04 17:32:47 +02:00