Commit Graph

353 Commits

Author SHA1 Message Date
743c4eabd9 Chat Federation, avoid spoofing:
When sanitizing remote informations, we check that urls and hosts are on
the correct domain or subdomain.
2023-05-31 16:52:54 +02:00
4faf8a3aea Fix DNS documentation. 2023-05-31 16:52:54 +02:00
c097f5a596 Enabling again direct s2s. 2023-05-31 16:52:54 +02:00
b3582e6bfa Fix missing self signed certificates is some conditions. 2023-05-31 16:52:53 +02:00
2f52dc802a Bump version 6.4.0-alpha5 2023-05-31 16:52:53 +02:00
a6e361d1dd Fix typo + secure test 2023-05-31 16:52:53 +02:00
8132e7f51a Bump version 6.4.0-alpha4 2023-05-31 16:52:53 +02:00
fddf68a0cc Disabling direct s2s for alpha.4 2023-05-31 16:52:53 +02:00
3b8042ebe2 Fix timer. 2023-05-31 16:52:52 +02:00
589db6566c Bump version 6.4.0-alpha3 2023-05-31 16:52:52 +02:00
c00ffc31b2 Federated chat: enabling the direct s2s mode. 2023-05-31 16:52:52 +02:00
2de38661d6 Websocket S2S: ping every 55s to keep alive. 2023-05-31 16:52:52 +02:00
92d92e3350 Fix: i misunderstood the parameter s2s_close_timeout. And removing a duplicate hook. 2023-05-31 16:52:52 +02:00
9d40405f75 Fix session.secure for outgoint websocket s2s. 2023-05-31 16:52:51 +02:00
cf6dce693a Some TODO. 2023-05-31 16:52:51 +02:00
5d0b80e8d4 Some TODO. 2023-05-31 16:52:51 +02:00
c52d231435 6.4.0-alpha.2 version. 2023-05-31 16:52:51 +02:00
ff96ff7763 Bump version 6.4.0-alpha.1 2023-05-31 16:52:50 +02:00
627b45ffc7 Chat Federation WIP: code cleaning. 2023-05-31 16:52:49 +02:00
8fe48a068f Refactoring the debug mode code, and adding some options. 2023-05-31 16:52:49 +02:00
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
1174f661be TODO notes 2023-05-31 16:52:47 +02:00
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
3ac504a345 Fix changelog. 2023-04-21 19:44:31 +02:00
252dd30db1 Bump version 6.3.0-beta1 2023-04-21 17:35:14 +02:00
a07a7a6ce8 Changelog 2023-04-21 17:09:24 +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
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
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
7cae2de92f Version 6.2.3 2023-03-08 10:25:47 +01:00
e5c063afb5 Fix italian translation + v6.2.2. 2023-03-07 16:03:57 +01:00
b9c93c41fd update npm dependencies. 2023-03-07 15:57:14 +01:00
6716888fd1 Changelog. 2023-03-07 14:59:48 +01:00
3bb8b9886a Changelog v6.2.0 2023-03-06 12:10:02 +01:00
d964a96654 Credits. 2023-02-17 09:47:21 +01:00
20a9530992 update changelog 2023-02-16 07:00:41 +01:00
c97cb5bb18 Partial german settings translations. 2023-02-15 15:02:22 +01: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
42c21ead94 Moving public directory away:
Moving `public/images` dir to `assets/images`, because it conflicts with gitlab CI/CD for documentation.
Moving `assets/styles.css` to `assets/styles/styles.css`.

Related to #117.
2023-02-14 10:19:55 +01:00
2950fdeddf link to the new documentation. 2023-02-13 18:03:23 +01:00
dc1de61a95 Release v6.1.0 2023-02-01 14:45:49 +01:00
43b49dc4f0 Fix changelog. 2023-02-01 14:38:27 +01:00
d6030afabc ConverseJS: in readonly mode, don't show any info messages (except when disconnected).
Related to #111 #133 #134
2023-01-16 18:04:20 +01:00
f1fe010409 ConverseJS: remove browser notifications, and browser tab message count. 2023-01-12 11:53:12 +01:00
0545a1034a ConverseJS optimization:
* ConverseJS: Don't send state notifications. #134
* ConverseJS: Don't show join/leave messages. #134
2023-01-12 11:46:02 +01:00
ce9d531db7 Share chat link popup: add an option to generate an iframe.
Implements #110, and #92 partially.
2023-01-11 19:24:13 +01:00
f16f8fa948 Missing changelog entry. 2022-12-12 19:31:30 +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