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
cf6dce693a
Some TODO.
2023-05-31 16:52:51 +02:00
John Livingston
5d0b80e8d4
Some TODO.
2023-05-31 16:52:51 +02:00
John Livingston
c52d231435
6.4.0-alpha.2 version.
2023-05-31 16:52:51 +02:00
John Livingston
a8150a26eb
Fix typo.
2023-05-31 16:52:51 +02:00
John Livingston
efdf01cef2
Fix condition.
2023-05-31 16:52:50 +02:00
John Livingston
ff96ff7763
Bump version 6.4.0-alpha.1
2023-05-31 16:52:50 +02:00
John Livingston
2961513d22
Refresh remote server infos when outdated.
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
4f9534dc11
Removing some old PoC code.
2023-05-31 16:52:49 +02:00
John Livingston
b38d9a6426
Cleaning an aborted PoC
2023-05-31 16:52:49 +02:00
John Livingston
627b45ffc7
Chat Federation WIP: code cleaning.
2023-05-31 16:52:49 +02:00
John Livingston
8fe48a068f
Refactoring the debug mode code, and adding some options.
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
ef3417dab0
Fix debug option.
2023-05-31 16:52:48 +02:00
John Livingston
92f076d425
Fix debug option.
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
John Livingston
1174f661be
TODO notes
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
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
mose
3cf0376436
add link to docker-dev repo
2023-04-25 09:18:21 +02:00
John Livingston
3ac504a345
Fix changelog.
2023-04-21 19:44:31 +02:00
John Livingston
95d0f4f36a
Bump version 6.3.0
2023-04-21 19:40:40 +02:00
John Livingston
2c759023a6
Bump version 6.3.0-beta4
2023-04-21 19:29:12 +02:00
John Livingston
cf0b14d382
Fix import. Seems i am tired...
2023-04-21 19:28:43 +02:00
John Livingston
ee8c9deee1
Bump version 6.3.0-beta3
2023-04-21 19:25:29 +02:00
John Livingston
1a5989d9a9
Fix.
2023-04-21 19:24:55 +02:00
John Livingston
5a4eb7fc33
Fix: wrong usage of URL.protocol, again
2023-04-21 18:57:18 +02:00
John Livingston
493c3dd25b
Bump version 6.3.0-beta2
2023-04-21 18:51:59 +02:00
John Livingston
4a02f74563
Fix cross domain BOSH.
2023-04-21 18:49:15 +02:00
John Livingston
ba573c1211
Fix protocol detection.
2023-04-21 18:38:43 +02:00
John Livingston
6e290a3ef6
Fix beta version name.
2023-04-21 18:08:54 +02:00
John Livingston
252dd30db1
Bump version 6.3.0-beta1
2023-04-21 17:35:14 +02:00
John Livingston
0ce95d4a39
Chat Federation: don't display chat when anonymous connections are disabled
2023-04-21 17:24:16 +02:00
John Livingston
a07a7a6ce8
Changelog
2023-04-21 17:09:24 +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
b85a1dc90a
Fix: wrong usage of URL.protocol
2023-04-21 16:33:17 +02:00
John Livingston
732138e745
Chat Federation: some data caching to reduce disk load.
2023-04-21 12:25:00 +02:00
John Livingston
333590defd
Chat Federation: send the information to the frontend.
2023-04-21 12:02:52 +02:00
John Livingston
b1f1271389
Fix missing case.
2023-04-20 18:32:13 +02:00
John Livingston
5028d37c18
Chat federation: storing chat information
2023-04-20 18:28:08 +02:00