Commit Graph

12 Commits

Author SHA1 Message Date
John Livingston c097f5a596
Enabling again direct s2s. 2023-05-31 16:52:54 +02:00
John Livingston a6e361d1dd
Fix typo + secure test 2023-05-31 16:52:53 +02:00
John Livingston 3b8042ebe2
Fix timer. 2023-05-31 16:52:52 +02:00
John Livingston 2de38661d6
Websocket S2S: ping every 55s to keep alive. 2023-05-31 16:52:52 +02:00
John Livingston 92d92e3350
Fix: i misunderstood the parameter s2s_close_timeout. And removing a duplicate hook. 2023-05-31 16:52:52 +02:00
John Livingston 9d40405f75
Fix session.secure for outgoint websocket s2s. 2023-05-31 16:52:51 +02:00
John Livingston 627b45ffc7
Chat Federation WIP: code cleaning. 2023-05-31 16:52:49 +02:00
John Livingston b525c203da
Chat Federation: first working PoC! 2023-05-31 16:52:49 +02:00
John Livingston 6fbfb8ef67
Fix var name + log. 2023-05-31 16:52:48 +02:00
John Livingston 5a945a0cb7
Chat Federation WIP:
Found that net.websocket is not appropriate.
This commit is a proof of concept. It has to be cleaned.
Still not working, but close!
2023-05-31 16:52:48 +02:00
John Livingston cd3afe2b26
Chat Federation WIP:
Trying to fix some non-working code. Still not working.
2023-05-31 16:52:48 +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