6.4.0-alpha.2 version.
This commit is contained in:
parent
a8150a26eb
commit
c52d231435
@ -1,6 +1,6 @@
|
||||
# Changelog
|
||||
|
||||
## 6.4.0-alpha.1
|
||||
## 6.4.0-alpha.2
|
||||
|
||||
### New Features
|
||||
|
||||
@ -14,6 +14,8 @@ TODO?: mod_s2s_peertubelivechat: dont allow to connect to remote server that are
|
||||
TODO: when sanitizing remote chat endpoint, check that the domain is the same as the video domain (or is room.videodomain.tld).
|
||||
TODO: outgoing s2s connection have a session.secure=true hardcoded. Should not.
|
||||
TODO: only compatible with Prosody 0.12.x. So it should be documented for people using «system Prosody». And i should fix the ARM AppImage.
|
||||
TODO: it seems that in some case A->B can be Websocket, and B->A direct S2S. Check if this is fine. And maybe we can optimise some code, by allowing directS2S event if current server dont accept it.
|
||||
TODO: alpha.2 version force Websocket S2S when available, even if s2s is possible. Revert this before releasing.
|
||||
|
||||
### Minor changes and fixes
|
||||
|
||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "peertube-plugin-livechat",
|
||||
"version": "6.4.0-alpha.1",
|
||||
"version": "6.4.0-alpha.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "peertube-plugin-livechat",
|
||||
"version": "6.4.0-alpha.1",
|
||||
"version": "6.4.0-alpha.2",
|
||||
"license": "AGPL-3.0",
|
||||
"dependencies": {
|
||||
"async": "^3.2.2",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "peertube-plugin-livechat",
|
||||
"description": "PeerTube plugin livechat: offers a way to embed a chat system into Peertube.",
|
||||
"version": "6.4.0-alpha.1",
|
||||
"version": "6.4.0-alpha.2",
|
||||
"license": "AGPL-3.0",
|
||||
"author": {
|
||||
"name": "John Livingston",
|
||||
|
@ -10,12 +10,13 @@ function discover_websocket_s2s(event)
|
||||
local to_host = event.to_host;
|
||||
module:log("debug", "Searching websocket s2s for remote host %s", to_host);
|
||||
|
||||
local f_s2s = io.open(path.join(server_infos_dir, to_host, 's2s'), "r");
|
||||
if f_s2s ~= nil then
|
||||
io.close(f_s2s);
|
||||
module:log("debug", "Remote host is a known Peertube %s that has s2s activated, we will let legacy s2s module handle the connection", to_host);
|
||||
return;
|
||||
end
|
||||
-- FIXME: this was commented for the 6.4.0-alpha2, to test ws s2s. Revert before releasing.
|
||||
-- local f_s2s = io.open(path.join(server_infos_dir, to_host, 's2s'), "r");
|
||||
-- if f_s2s ~= nil then
|
||||
-- io.close(f_s2s);
|
||||
-- module:log("debug", "Remote host is a known Peertube %s that has s2s activated, we will let legacy s2s module handle the connection", to_host);
|
||||
-- return;
|
||||
-- end
|
||||
|
||||
local f_ws_proxy = io.open(path.join(server_infos_dir, to_host, 'ws-s2s'), "r");
|
||||
if f_ws_proxy == nil then
|
||||
|
Loading…
x
Reference in New Issue
Block a user