6.4.0-alpha.2 version.
This commit is contained in:
parent
a8150a26eb
commit
c52d231435
@ -1,6 +1,6 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## 6.4.0-alpha.1
|
## 6.4.0-alpha.2
|
||||||
|
|
||||||
### New Features
|
### 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: 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: 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: 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
|
### Minor changes and fixes
|
||||||
|
|
||||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "peertube-plugin-livechat",
|
"name": "peertube-plugin-livechat",
|
||||||
"version": "6.4.0-alpha.1",
|
"version": "6.4.0-alpha.2",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "peertube-plugin-livechat",
|
"name": "peertube-plugin-livechat",
|
||||||
"version": "6.4.0-alpha.1",
|
"version": "6.4.0-alpha.2",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"async": "^3.2.2",
|
"async": "^3.2.2",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "peertube-plugin-livechat",
|
"name": "peertube-plugin-livechat",
|
||||||
"description": "PeerTube plugin livechat: offers a way to embed a chat system into Peertube.",
|
"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",
|
"license": "AGPL-3.0",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "John Livingston",
|
"name": "John Livingston",
|
||||||
|
@ -10,12 +10,13 @@ function discover_websocket_s2s(event)
|
|||||||
local to_host = event.to_host;
|
local to_host = event.to_host;
|
||||||
module:log("debug", "Searching websocket s2s for remote host %s", 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");
|
-- FIXME: this was commented for the 6.4.0-alpha2, to test ws s2s. Revert before releasing.
|
||||||
if f_s2s ~= nil then
|
-- local f_s2s = io.open(path.join(server_infos_dir, to_host, 's2s'), "r");
|
||||||
io.close(f_s2s);
|
-- if f_s2s ~= nil then
|
||||||
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);
|
-- io.close(f_s2s);
|
||||||
return;
|
-- 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);
|
||||||
end
|
-- return;
|
||||||
|
-- end
|
||||||
|
|
||||||
local f_ws_proxy = io.open(path.join(server_infos_dir, to_host, 'ws-s2s'), "r");
|
local f_ws_proxy = io.open(path.join(server_infos_dir, to_host, 'ws-s2s'), "r");
|
||||||
if f_ws_proxy == nil then
|
if f_ws_proxy == nil then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user