1564 Commits

Author SHA1 Message Date
Alberto Sottile
58ccca5766 startTLS: enabled on server and client, TCP stays as default 2019-02-15 23:51:22 +01:00
Alberto Sottile
13fb63b12f TLS: client-server implementation with self-issued certs on IPv4 2019-02-15 23:50:14 +01:00
Alberto Sottile
e1af902f7c VLC: hopefully fixes issue #213 2019-02-10 16:26:18 +01:00
Etoh
b781f62ed4 Ensure sycnplay.lua is user-writable 2019-02-10 12:26:01 +00:00
Etoh
a7fab29536 Create syncplay.lua intf directory if needed 2019-02-10 12:01:48 +00:00
Etoh
d8ebb50da7 Only copy syncplay.lua when needed 2019-02-09 17:58:26 +00:00
Alberto Sottile
89f8a28f3f Correct addWidget invocation to avoid a TypeError with qt 5.12.1 2019-02-07 16:46:27 +01:00
Etoh
99954ad4f4 Automatically copy syncplay.lua to VLC user intf directory 2019-02-02 01:21:56 +00:00
Etoh
4815b80cb3 Address missing/unused messages 2019-02-01 16:18:55 +00:00
Etoh
fb9b3ceeea Handle non-UTF8 messages to server (fixes #210, based on #214 by xNinjaKittyx) 2019-02-01 14:08:00 +00:00
Etoh
a5075816f0 Print actual exception when Twisted cannot load 2019-02-01 11:05:25 +00:00
Alberto Sottile
6d91c17432 About dialog: update copyright year 2019-02-01 10:41:48 +01:00
Alberto Sottile
43486e9be8 Stop connection retrying from client when bad packets are detected 2019-01-27 15:54:39 +01:00
Alberto Sottile
be6c84f34d Show the destination IP of the connection in the UI 2019-01-27 15:52:03 +01:00
Alberto Sottile
2fa37400cf Upver to 1.6.3 beta / build 72 2019-01-27 11:43:37 +01:00
Etoh
04ab645823 Reimplement connection error handling 2019-01-27 11:43:12 +01:00
Alberto Sottile
218105d4ec IPv6: use HostnameEndpoint in client for both IPv4 and IPv6
This change was originally introduced and then deleted.
Now is reintroduced after tests on both protocols.
HostnameEndpoint is needed in some configurations to resolve
IPv6-only hostnames, so it is required. The connection now works
with both protocols on clients and servers.

NOTE: now a wrong server/address/port DOES NOT trigger a Connection
with Server Failed error immediately, the error stays in Deferred.
This must be fixed before putting this code in production.
2019-01-27 11:42:34 +01:00
Alberto Sottile
a78c646556 IPv6: GUI and client fixes 2019-01-27 11:42:13 +01:00
Alberto Sottile
21d4604578 IPv6: accept IPv6 address and port in hostname 2019-01-27 11:41:58 +01:00
Alberto Sottile
68a05cb021 IPv6: use hostname endpoint in client 2019-01-27 11:41:51 +01:00
albertosottile
eba4666fcf Upver to 1.6.2 / build 71 2019-01-15 12:08:16 +01:00
mordner
553c023b4c add-environment-support
For --password and --salt we now check the environment for the corresponding
variables SYNCPLAY_PASSWORD and SYNCPLAY_SALT. If they are found their values
are used as long as the options are not given via CLI.

Setting both options this way is highly encouraged. It fixes leaking these
secret options to other system users (e.g. on Linux everybody can see them
with 'ps' or looking at '/proc/<pid>/cmdline'.
2018-12-16 04:46:42 +01:00
Tobias Umbach
4362f1f372
Create XDG_CONFIG_HOME with safe permissions
"If, when attempting to write a file, the destination directory is non-existant an attempt should be made to create it with permission 0700."

https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
2018-12-06 11:34:40 +01:00
albertosottile
6f840e4b4c Add custom error message if Twisted is not installed
Fixes #206.
2018-10-30 12:00:45 +01:00
albertosottile
cb33724784 Upver to 1.6.1 / build 70 2018-10-03 10:04:14 +02:00
albertosottile
3042efddbc Fixes issue #205 with managed room names 2018-10-03 10:02:16 +02:00
Etoh
0f2bdb6a61 Mark as 1.6.0 Final 2018-09-23 14:41:40 +01:00
Etoh
80a0638de9 Upver to 1.6.0 RC1 / build 68 2018-09-16 20:38:42 +01:00
albertosottile
b4c8bd9548 Fix filename argument in syncplayClient 2018-09-13 14:52:33 +02:00
Etoh
9a590afe4d Fix server password Python 3 bug (#200) 2018-09-02 20:51:34 +01:00
Flisk
ee0bd52615 Remove obsolete encode/decode calls 2018-08-02 05:25:00 +02:00
Etoh
64df31aca3
Upver to build 67 2018-07-28 18:59:20 +01:00
Alberto Sottile
3234d9bc1a Server Stats: use a separate class to manage the database 2018-07-27 00:54:44 +02:00
Alberto Sottile
de4e9892f4 Server Stats: addressing review comments 2018-07-27 00:20:28 +02:00
Alberto Sottile
c99c6e57ac Server Stats: remove sqlite3 dependency and enable stats for non-isolated servers 2018-07-26 23:53:51 +02:00
albertosottile
6012a2b109 Server Stats: incapsulate collection code in try-catch 2018-07-26 16:06:28 +02:00
albertosottile
6564f22d3a Server Stats: use twisted asynchronous adbapi 2018-07-26 16:06:18 +02:00
albertosottile
d1e0c974da Server Stats: remove port, room_index, and play_status 2018-07-26 16:06:12 +02:00
albertosottile
bd766b4dfa Server Stats: remove unnecessary type casting before query 2018-07-25 17:36:30 +02:00
albertosottile
a630860d2e Server Stats: rename feature 2018-07-25 17:36:10 +02:00
albertosottile
14863fbbe7 Server Stats: use parametrized query and change column definitions 2018-07-25 17:34:37 +02:00
albertosottile
c32bd1191c Server logger: add roomIndex and playStatus 2018-07-25 17:34:30 +02:00
albertosottile
9f52834ae4 Server logger: fix bug and sanitize version string 2018-07-25 17:34:23 +02:00
albertosottile
8a8859694c Enable logging support on server for client versions 2018-07-25 17:34:17 +02:00
Daniel Ahn
2d143aefca Final Spacing changes for PR 2018-07-24 09:05:49 -07:00
Daniel Ahn
bf8e96010d fix numOfBytes variable name not changed in the rest of the function call 2018-07-24 08:58:14 -07:00
xNinjaKittyx
a1a3598d82 Reverting more == True statements 2018-07-23 15:07:14 -07:00
xNinjaKittyx
3d35d2e02d Revert a typo and an equality check 2018-07-23 14:57:29 -07:00
xNinjaKittyx
d59afb8f2f Revert any changes to tri logic 2018-07-23 14:41:10 -07:00
Daniel Ahn
ac4da59479 Revert "Revert "Code Syntax Refactoring""
This reverts commit 51fba3722f653156eca30d45cb07846fb725a777.
2018-07-23 14:12:09 -07:00