Commit Graph

313 Commits

Author SHA1 Message Date
01e7fdc9b6 Chat federation: new settings to disable the feature. 2023-04-20 12:13:22 +02:00
4c138f3f5b Chat federation metadata fix, and code refactoring. 2023-04-20 11:10:23 +02:00
115fcd8484 Chat federation: add metadata in ActivityPub. WIP 2023-04-19 19:07:08 +02:00
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
d359d3ad99 Fix Prosody room topic:
Due to a bug in mod_muc_http_defaults (https://hg.prosody.im/prosody-modules/rev/6d99ddd99694),
room topics were badly configured. The plugin will fix them at startup, and stops trying to set the subject.
2023-04-14 11:33:41 +02:00
cf0e4d8061 Fix settings read. 2023-04-14 11:33:41 +02:00
801798852c Prosody: new settings to provide a custom certificates dir 2023-04-14 11:33:41 +02:00
a87a622cba Prosody: renew self signed certificates periodically 2023-04-14 11:33:41 +02:00
b4dabfeeb9 New debug mode:
Debug mode is no more triggered by the NODE_ENV value, but by testing
the existance of a file in the plugin data directory.
2023-04-14 11:33:41 +02:00
f8b83defb5 Fix Prosody configuration. 2023-04-14 11:33:41 +02:00
772689f9ce Prosody: Generating self-signed certificates for s2s connections. 2023-04-14 11:33:41 +02:00
38023df6be XMPP clients connections WIP + fix mod_muc_http_defaults 2023-04-14 11:33:41 +02:00
d544a53b38 XMPP clients connections WIP 2023-04-14 11:33:41 +02:00
4a28991497 XMPP client connection WIP:
Adding an option in the «share chat» dialog to display the XMPP room
address.
2023-04-14 11:33:41 +02:00
4d9d9d39b0 XMPP clients connections WIP:
* new option to allow external xmpp account s2s connections
* settings to setup the port and network interfaces
* documentation WIP

Related to issue #114
2023-04-14 11:33:41 +02:00
c81c2eb9bb Diagnostic tool: add the result of prosodyctl check in the debug section. 2023-04-14 11:33:41 +02:00
9d18e401a7 Implements #153: Settings translations (#155)
Implementing a new translating system, so we can more easily translate
settings strings. Indeed, these strings are difficult to embed in
JSON format.

We still use JSON files for standard strings, but in addition we have
dedicated YAML files to translate settings strings.

There is a new build-languages.js script that merge all translations in JSON files.

Other modifications:
* Eslint: ignoring documentation and build scripts.
* french settings translations.
2023-02-15 11:54:48 +01:00
2950fdeddf link to the new documentation. 2023-02-13 18:03:23 +01:00
3f47c3c65a Refactoring and simplification (#122) 2023-01-11 18:05:18 +01:00
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
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
ed3f236120 Prosody Appimage: supports only x86_64:
* stop trying to generated an ARM64 AppImage (as it is buggy)
* display a warning in the settings if incompatible CPU detected
* documentation for a workaround

Implements #120.
2022-12-12 19:17:43 +01:00
ae5860e537 Implements #123: «disable websocket» settings». 2022-12-08 11:25:57 +01:00
24696acdbe #120: adding a certs directory to avoid Prosody error logs. 2022-12-06 17:19:53 +01:00
e6da0a879f Prosody AppImage: aarch64 architecture. 2022-11-22 11:35:38 +01:00
059c6522b6 Implements #37: diagnostic tools includes last lines from prosody error log files. 2022-11-18 17:48:20 +01:00
6f47ffe19d Comment update. 2022-11-18 17:06:53 +01:00
174b996b74 Updating comment. 2022-11-18 12:36:14 +01:00
187d8be87f Documentation update + remove docker build:
* Update documentation and removed deprecated parts
* removed Docker image build files, as it is no more needed
2022-11-15 18:04:51 +01:00
3ba64d3732 Re-ordering the settings page. 2022-11-15 17:19:49 +01:00
8f5b2ae565 Prosody AppImage: extract in a dedicated folder 2022-11-15 16:30:24 +01:00
27e8fbf05f Fix: creating working directories before extracting Prosody AppImage 2022-11-15 16:07:12 +01:00
459d92cef9 Embedding Prosody using AppImage:
Thanks to this commit, there is no more need to manually install Prosody
on the server.
The plugin now build and embed an AppImage of Prosody.

In this commit:
* building and using a Prosody AppImage.
* Adding a launcher in the AppImage: the first command argument tells if
  we want to run prosody or prosodyctl
* prosodyCtl functions now uses the AppImage.
* Prosody AppImage: extract once at the startup, then run the squashfs
2022-11-15 15:20:10 +01:00
91ea442ce6 Fix «autocolor» mecanism when no color provided (raised an error) 2022-11-01 15:17:21 +01:00
a25cdb44ef Fix WS timeouts:
Nginx as also a timeout. Seems to be 30s. So we ping every 25s, and set an intermediate timeout for Prosody.
2022-11-01 11:58:02 +01:00
90e86a130a Fix Websocket timeouts:
* defining a ping_interval in ConverseJS
* defining a longer c2s_close_timeout in Prosody configuration
2022-11-01 11:37:24 +01:00
6a54f4d747 Disco: hide external components. 2022-11-01 11:23:34 +01:00
ab89351f42 Prosody server: enabling mod_disco. 2022-11-01 10:35:42 +01:00
9e06e32351 Websocket: only activate on Prosody if the feature is available. 2022-10-13 18:56:00 +02:00
0be08c7b57 Using Peertube v5.0.0 websocket capacities. 2022-10-13 18:34:41 +02:00
e7eca75736 Fix Prosody WS configuration. 2022-10-13 10:47:36 +02:00
67062aac62 Better implementation. 2022-10-13 10:47:36 +02:00
6f8c7b8a93 Websocket for builtin Prosody. WIP 2022-10-13 10:47:33 +02:00
507da6e042 Fix Peertube crash when stopping the BOSH proxy. 2022-10-13 10:44:02 +02:00
de179e90d3 Promisify proxy close. 2022-10-13 10:44:01 +02:00
1bb202d9d3 Replacing express-http-proxy by http-proxy + code refactoring. 2022-10-13 10:43:59 +02:00
2b7174eb96 Comment. 2022-10-13 10:41:09 +02:00
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
7906ddf625 Prosody mode only:
Removing old modes (ConverseJS and External URI).
Work in progress.
2022-10-10 18:08:20 +02:00
01a052d380 Fix #97 #54: Settings to hide the chat for anonymous users 2022-04-11 18:12:12 +02:00