583 Commits

Author SHA1 Message Date
et0h
07499aaef4 Don't send dummy users to new console clients (#434) 2021-11-07 15:47:57 +00:00
et0h
e2605577f5 Add queue and select command (#472) 2021-10-28 01:25:25 +01:00
et0h
16b6623f36 Begin move from m3u/m3u8 to txt for playlist (#408) 2021-10-27 19:18:51 +01:00
Luke Dashjr
a593b850c1
Console: Document setting offset in help (#435) 2021-10-27 19:03:13 +01:00
et0h
0b8c2ddc4b Remove redundant help button from dialogs (#403) 2021-10-18 20:36:27 +01:00
et0h
69621ee710 Fix room name case sensitivity UI issue (#403) 2021-10-18 20:30:31 +01:00
Tremolo4
2bf3931f59
Trusted Domains: Allow trusting a domain regardless of HTTP basic auth credentials (#437)
* Trusted Domains: don't consider HTTP basic auth credentials part of the domain name

* Trusted Domains: hide "add as trusted domain" menu item if entry does not contain domain

* Trusted Domains: strip HTTP basic auth credentials also when adding as trusted domain via context menu
2021-10-17 13:44:07 +01:00
Alberto Sottile
98ad0a9222
Add notice for Python in third party collection file (#404)
* Add notice for Python in third party collection file

* Convert third party notices file to plain text

* Adapt codebase to third party notices format change
2021-03-28 21:08:51 +01:00
et0h
b248f6c2f7 Ignore benign AA_EnableHighDpiScaling error (#388, #377, etc.) 2021-02-25 14:13:40 +00:00
Alberto Sottile
f791faca91
Migrate from Travis CI to GitHub Actions (#374)
* Migrate from Travis CI to GitHub Actions

* Remove snapcraft build
2021-01-11 18:55:59 +00:00
et0h
d44f5ff4e6 Actually save/load autoplayRequireSameFilenames 2020-11-25 12:47:07 +00:00
et0h
69607c740c Fix crash when launching with managed room specified (#357) 2020-10-09 15:54:00 +01:00
et0h
b3d8e14c4c Increase width of join room button 2020-09-22 21:08:13 +01:00
et0h
16e33a4eef Tweak VLC messages and make them appear again 2020-09-22 11:48:57 +01:00
et0h
9a10730e54 Add warning about erroneous VLC seeks (#354) 2020-09-19 14:50:10 +01:00
et0h
92d2d580f9 Auto save room name by default (optional), make room name list alphabetical 2020-09-13 19:56:15 +01:00
et0h
28069a150c Move 'edit room list' up the menu bar order (#336) 2020-09-13 18:46:34 +01:00
et0h
10981abb88 Tweaks, refactoring and fixes for console improvements (#327) 2020-09-13 18:44:16 +01:00
Florian Badie
b09fb90b34
Console improvements (#327), including work from #316 and #319
* add videos to playlist from chat

* add urls to playlist

* add files in media directory to playlist

* add commands to show the playlist and select an index

* add command to delete files from the playlist

* show selected index in playlist

* fix adding files with queue command in GUI mode

* start indexing the playlist at 1

or at least that's what it would look like to the user

* start all commands related to playlist with `q`

Co-authored-by: kiscs <csandras05@gmail.com>
2020-09-13 16:45:38 +01:00
et0h
3c7ca9706d Rename room history to room list & re-work GUI 2020-09-13 14:26:06 +01:00
Gabriel Dolberg
86bd299a58
Room history (#337)
* Add room history mechanism (Syncplay#336)

* new 'roomhistory' value in configuration
* change gui room input to combobox to display history
* update history upon startup using the configuration room

* Prevent room history from saving empty room name

* Add rooms editing ability
* add rooms dialog
* new button to open rooms dialog
2020-09-13 12:49:25 +01:00
et0h
ad48498367 Reduce disruption when connecting with a path specified (#315) 2020-05-25 10:57:38 +01:00
et0h
734b425c7f Don't enable DPI scaling in Linux (#257) 2020-05-16 17:40:16 +01:00
Noah Saso
7901542431
Fixed variables flipped around to resolve #281 (#311) 2020-05-13 23:25:29 +01:00
Alexandria
ff5b669683
fix warning message (#297)
/usr/lib/syncplay/syncplay/ui/GuiConfiguration.py:323: SyntaxWarning: "is not" with a literal. Did you mean "!="?
2020-04-17 14:08:58 +01:00
ObserverOfTime
bf5c8dd531 Fix string equality checks (#267) 2019-12-30 12:56:27 +00:00
et0h
7d694797aa Add load/save playlist from/to file menu options 2019-08-19 17:43:21 +01:00
et0h
51cc57ce03 Load playlist from file (command line argument + drop) (#232) 2019-08-17 18:37:17 +01:00
et0h
1d8ae6ea56 Upver to 1.6.4a (release 79) and show revision in window title 2019-06-23 11:53:06 +01: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
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
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
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
aaf332b74c Refactor: Avoid complicate your/their file/stream concatenation 2019-02-26 22:21:01 +00:00
Etoh
14af13c526
Merge pull request #223 from albertosottile/master
Opportunistic TLS support
2019-02-18 22:17:21 +00:00
Etoh
7f23ac44e0 Enable high-DPI scaling where available 2019-02-17 11:00:27 +00:00
Alberto Sottile
0add282db6 startTLS: set font size in dialog only on macOS 2019-02-16 00:07:11 +01:00
Alberto Sottile
b5f191bb68 startTLS: multilanguage strings in certificate dialog 2019-02-16 00:07:05 +01:00
Alberto Sottile
b35a4fec9d startTLS: add custom certificate info dialog 2019-02-16 00:06:57 +01:00