Commit Graph

1465 Commits

Author SHA1 Message Date
et0h
1d8ae6ea56 Upver to 1.6.4a (release 79) and show revision in window title 2019-06-23 11:53:06 +01:00
et0h
a35c7a5c9c Set 1.6.4 as most recent client 2019-06-23 11:40:20 +01:00
albertosottile
3ea4822e7f Upver to release 78 2019-06-21 23:36:40 +02:00
albertosottile
763406b660 ConfigDialog: adjust dialog height when errors are shown on macOS 2019-06-21 23:34:06 +02:00
et0h
b37a514050 Fix issue displaying GuiConfig errors when using PyQt >= 5.12.1 (#240) 2019-06-21 22:26:24 +01:00
Alberto Sottile
291463bb0d Upver to 1.6.4 / release 76 2019-06-21 18:41:29 +02:00
Alberto Sottile
b334dd5e77 Do not ask to press enter from CLI after quitting mpv
Fixes: #238
2019-06-18 18:49:54 +02:00
Alberto Sottile
b1a3d0f793 Release some files under the MIT license.
The freedesktop project requires that the AppStream metadata are
released under a subset of licenses that does not include Apache 2.0.
For this reason, we decided to change the license of the README file
and release it under the MIT license (after obtaining explicit
permission from all the contributors to that file). With the same
goal, the script that generates the AppImage and the AppStreams
metadata is also released under the MIT license. The README file now
clearly states the project license and that some files are released
under a different license, as declared in their header or in our
third-party notices file.
2019-05-27 22:41:21 +02:00
Alberto Sottile
7788e533eb vendor: upgrade Darkdetect to 0.1.1 2019-05-27 22:41:21 +02:00
Alberto Sottile
0279702f73 Do not throw a KeyError when GUI is not available 2019-05-24 17:20:02 +02:00
Alberto Sottile
a9172f9fa6 Support for Snap VLC on Linux
Add the snap VLC path to the discovery list and automatically copy
our lua script in the correct path for snap installations.

Fixes: #222
2019-05-20 11:26:35 +02:00
et0h
7862c27d54 Initial support for VLC Portable (#235) 2019-05-19 20:59:04 +01:00
et0h
f3b04ad39d Don't make space for icon within player path combobox 2019-05-19 18:58:24 +01:00
et0h
2ecd9e7877 Prevent long player paths from making GuiConfig window too wide 2019-05-19 18:29:00 +01:00
Alberto Sottile
f6414c39cc Linux: fix selection highlight in MainWindow userList
Apparently, this fix is required also on Linux. The same fix used
for macOS is used, with automatic detection of the background
color.
2019-05-14 16:45:49 +02:00
Alberto Sottile
8f5b77c0bf Certificate dialog: Hi-DPI scaling of the padlock 2019-05-14 16:00:22 +02:00
Alberto Sottile
bc242c2565 macOS: add support for Mojave Dark Mode
This commit adds to our UI the support for macOS 10.14+ Dark Mode.
Qt already adapts a large fraction of the color scheme, but some
label colors had to be adjusted and were put in separate STYLE_DARK
constants. To determine if the OS is set in Dark or Light Mode, we
use a new dependency, included in the vendor folder:
Darkdetect - license: BSD-3-Clause

To allow the app bundle to use the Dark Mode APIs, a constant is
added in the info.plist ('NSRequiresAquaSystemAppearance': False)
2019-05-14 16:00:22 +02:00
Alberto Sottile
12fc04326a macOS: add localized Edit menu with dictation support and emoji picker
Qt on macOS automatically adds these entries to the menubar of GUI apps,
providing that such apps have an Edit menu at their startup.
Hence, this commit contains the following changes (macOS only):
- create the menubar in the first dialog shown by the app (GuiConfiguration)
- create an Edit menu, populate it with Cut/Copy/Paste/Select all actions
- connect system-wide shortcuts to these new actions
- pass the menubar and the Edit menu to the MainWindow through config and
through an added optional argument in getUI and GraphicalUI
- populate the menubar created before and not a new menubar in MainWindow
- provide localized strings for the entries in the Edit menu
- add xx.lproj folders in Syncplay.app/Contents/Resources/ to allow
automatic localization of the entries added by the OS

Known issues:
- automatically added entries will always be in the OS language
- the Edit menu might retain the previous language after a language
change in the app settings. Reboot the app solves the issue.
- the automatically added entries might disappear if the app language
does not match the OS language
2019-05-14 16:00:22 +02:00
Alberto Sottile
b3545a35bb macOS: fix random password loaded in the GUI
macOS puts a -psn_0_xxxxxx argument when running an app via GUI.
This argument was interpreted as a password (-p) and overloaded the
value stored in the settings. Catching the -psn argument explicitely
should prevent this.

See https://stackoverflow.com/questions/10242115/os-x-strange-psn-command-line-parameter-when-launched-from-finder
for further information about this legacy argument.
2019-05-14 16:00:22 +02:00
Alberto Sottile
a2294d0916 Server EP: removed unnecessary 'import socket' 2019-05-14 16:00:22 +02:00
Alberto Sottile
ce8884f4c7 macOS: fix selection highlight in MainWindow userList 2019-05-14 16:00:22 +02:00
albertosottile
ff6bb74b49 Use dictionaries to get constant values for different OS 2019-05-14 16:00:22 +02:00
Alberto Sottile
4ff359a820 macOS: appearance fixes on the config dialog UI 2019-05-14 16:00:22 +02:00
Alberto Sottile
03263b3a4c macOS: appearance fixes on the main dialog UI 2019-05-14 16:00:22 +02:00
Alberto Sottile
819e6b6cae About dialog: attempt Hi-DPI scaling of the logo 2019-05-06 23:45:08 +02:00
Alberto Sottile
cf35fd73fe Upgrade qt5reactor to version 0.5 2019-05-06 23:44:54 +02:00
Etoh
ca9e1875e9
Config dialog: Remove 'update list' button and tweak sizes (#233)
Also aligns executable input with other inputs
2019-05-01 19:14:51 +01:00
Etoh
5a9e2cde23
Don't identify mpv SMPlayer as mplayer (#234) 2019-04-16 20:52:46 +01:00
Alberto Sottile
281d8023fd Edit folder structure and add setuptools support (#231)
* setuptools: Initial commit

* setuptools: remove the .py extension from installed commands

* setuptools: restructure scripts to use entry_points in setup.py

* setuptools: include TLS dependencies and remove unneeded code

* setuptools: change resources path

* AppVeyor: upgrade Python and py2exe, embed TLS dependencies

* buildpy2exe: fix path for resources

* AppVeyor: upgrade py2exe and PySide2

* Amend setup.py according to the suggestions from PR #230

* Insert TLS dependencies in requirements

* AppVeyor: fix build for master

* AppVeyor: revert to PySide2 5.12.0
2019-04-13 14:39:55 +01:00
Etoh
bcf8174b7d Mark as 1.6.3 release 2019-03-15 11:21:49 +00:00
Alberto Sottile
c07206c189 Run mpv subprocess with a system PYTHONPATH env on macOS.
youtube-dl relies on system python to run on macOS, but system
python cannot be executed in a subprocess created from the frozen
python3 executable. This makes youtube-dl unusable from frozen
versions of Syncplay on macOS. So, the environment of the mpv
subprocess is modified with system PYTHONPATH, allowing the
execution of /usr/bin/python (and hence, of youtube-dl)
from within the subprocess in frozen executables.

Fixes: #228
2019-03-14 18:40:33 +01:00
Etoh
f39fe4c01b Update Twisted version advice to >= v16.4.0 2019-03-03 20:54:02 +00:00
Etoh
6ca64847eb
Upver to release 74 2019-02-27 23:11:19 +00:00
Alberto Sottile
5d31aba2d6 Italian translation: resolve all the TODO messages 2019-02-27 11:17:11 +01:00
Bruno Cattáneo
276eed4b1d Add Spanish translation (#227)
Add Spanish translation and small fix on others.

* Added missing languages in 'language-argument' and new 'es' language

* Small fix on 'unpause-ifothersready-tooltip'

* Adds Spanish translation to Syncplay and its installer
2019-02-27 10:04:28 +00:00
Etoh
aaf332b74c Refactor: Avoid complicate your/their file/stream concatenation 2019-02-26 22:21:01 +00:00
Alberto Sottile
2b7d36f45c
Merge pull request #226 from daniel-123/master
Workaround for older twisted versions which don't support raiseMinimumTo. Ensure server support for Twisted >=16.4.0
2019-02-26 08:45:13 +01:00
Alberto Sottile
d3a3635736 Ensure client support for Twisted >=16.4.0 2019-02-26 08:35:11 +01:00
Daniel Wróbel
ddca044641 Rearrange import order for OpenSSL 2019-02-24 17:51:21 +01:00
Daniel Wróbel
75416463a6 Make catching the SSL exception due to old Twisted version more specific. 2019-02-24 17:50:15 +01:00
Alberto Sottile
f8ea2381a6 sendHello only after a successful startTLS handshake, if one is attempted 2019-02-24 16:18:47 +01:00
Daniel Wróbel
30c8cbbc08 Workaround for older twisted versions which don't support raiseMinimumTo. 2019-02-23 20:54:35 +01:00
c@ttaneo.uy
d87b9d7b93 Remove NOTICE tag for clientversion messages 2019-02-21 20:15:31 -03:00
Alberto Sottile
32085f80a3 Fix: TLS lock icon disappeared when any user disconnected 2019-02-19 12:53:33 +01:00
Alberto Sottile
d7fa6ccf14 TLS cert rotation: reset retry counter after successful rotation 2019-02-19 10:49:58 +01:00
Alberto Sottile
a60e6aac8a TLS cert rotation: attempt to load valid certs for 10 times before disabling TLS 2019-02-19 10:49:58 +01:00
Alberto Sottile
e8d797550b TLS cert rotation: restructure server methods to improve error messages 2019-02-19 10:49:58 +01:00
Alberto Sottile
8b8e45a4d6 TLS cert rotation: check validity after cert update 2019-02-19 10:49:58 +01:00
Alberto Sottile
0b19d526a1 protocols: fix typo in TLS cert rotation code 2019-02-19 10:49:58 +01:00
Alberto Sottile
890e8ea2ab Implement TLS automatic certificate rotation 2019-02-19 10:49:58 +01:00