308 Commits

Author SHA1 Message Date
Etoh
0cb4df01f6
Readiness override (#671)
* Readiness override (initial implementation)

* Fix broken chat code on server

* Fix room context menu when alone in room
2024-09-30 19:47:29 +01:00
LuK1337
49a402e93e
Adjust QSplitter style
This looks much better when using PySide6 6.7.2.
2024-07-15 20:20:00 +02:00
luk1337
14c82a6d82
Don't pass empty model to QCompleter (#647)
It's empty by default.
2023-11-13 20:59:18 +00:00
Etoh
f4fae95408
Show current offset in set offset dialog (#642) 2023-11-09 18:58:18 +00:00
Etoh
b62b038cdf
Fix ArchLinux GUI TypeError (#600) 2023-04-11 20:22:52 +01:00
Etoh
0571819135
Add detail to GuiConfig update check failure log 2023-03-19 15:14:36 +00:00
Alberto Sottile
2aa73122ab macOS: bundle PySide6 and create a universal2 app
- macOS build: add arch checker for the bundle
- Actions macOS: restrict env to universal2 step
- Actions macOS: universal2 for zope.interface
- Actions macOS: universal2 for cffi and cryptography
- macOS build: ad-hoc sign again bundle after altering it
- macOS build: symlink instead of copy libshiboken6
- vendor.Qt: restrict warnings to QT_VERBOSE
- GHA: re-enable all jobs
- GHA macOS: use Python installer to build universal2 app
- Actions macOS: build Python with pyenv
- Older pyenv version is used...
- Abandon pyenv action
- Bump image to macOS-12
- One more attempt with pyenv
- Try with the official Python installer
- Must run as root
- Switch back to python3 calls
- Manually update PATH
- Momentarily disable other jobs
- Restore app cleaner
- ui: add support for PySide6
- vendor.Qt: "support" PySide6
- Update vendored Qt.py to 1.3.7
- Update requirements_gui
2022-11-05 23:40:30 +01:00
Etoh
e4322e1093
Fix #504 disconnected monitor bug (#505)
* Fix #504 disconnected monitor bug
2022-03-04 14:07:46 +00:00
Etoh
d60efabbad
Windows dark mode (#483)
* Add Dark Mode support for Windows

* Only use dark mode if enabled

* Actions: debug Windows build

* Don't error if dark mode is unavailable

* Revert Actions: debug Windows build

* darkdetect: update vendor copy to 0.5.1

* Revert "Don't error if dark mode is unavailable"

This reverts commit 5a9e871c12312c55355a9eb75df15c66bb4238ac.

* Set up tmate

* Stronger patching of darkdetect is needed

* Revert "Set up tmate"

This reverts commit 4012051f9328c52ab6d1297ede111ab48fad1f2d.

* Fix EXE by using Windows darkdetect directly

* Add try wrap to Windows darkmode check

* darkdetect: update vendor copy to 0.5.2

* Revert to public darkdetect API

Co-authored-by: Alberto Sottile <asottile@gmail.com>
Co-authored-by: Alberto Sottile <alby128@gmail.com>
2021-12-09 16:24:40 +00:00
Etoh
c0e8652c8c
Re-work room persistence (#487)
* Initial server-side room persistence implementation (#434)

* Added room permanence option to server

* Fixed error if roomsDirPath is None

* Sanitized filenames

* Delete room file on empty playlist

* Fixed position not saving when leaving and seeking, and position not loading after a restart

* Decoupled permanence check

* Added --rooms-timer option that limits the max lifespan of persistent rooms

* Assigned filename to variable to deduplicate calculation

* Freed up room when loading unwanted room from file

Co-authored-by: Assistant <assistant.moetron@gmail.com>

* Use sqlite for persistent/permanent rooms (#434)

* Add -temp rooms and persistent room notices

* Use system loanguage for servers

* Make room temp check case-insensitive

* Improve temp room check

* Fix controlled rooms

* Refactor how non-macOS/frozen initialLanguage is fixed

* Fix persistent room list

* Don't send dummy users to new console clients (#434)

* Allow hiding of empty persistent rooms (#434)

* List current rooms in join list

Co-authored-by: Assistant <assistant.moetron@gmail.com>
2021-12-09 16:23:57 +00:00
et0h
16b6623f36 Begin move from m3u/m3u8 to txt for playlist (#408) 2021-10-27 19:18:51 +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
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
et0h
734b425c7f Don't enable DPI scaling in Linux (#257) 2020-05-16 17:40:16 +01: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
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
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
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
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
Alberto Sottile
3695c31ec7 startTLS: set lock button appearance on macOS 2019-02-16 00:06:50 +01:00
Etoh
466e8533d6 Add secure connection icon to press for cert details 2019-02-16 00:06:43 +01:00
Alberto Sottile
24cb681acd startTLS: add link to 'startTLS-server-certificate-invalid' error message 2019-02-16 00:05:04 +01:00
Alberto Sottile
6d91c17432 About dialog: update copyright year 2019-02-01 10:41:48 +01:00
Flisk
ee0bd52615 Remove obsolete encode/decode calls 2018-08-02 05:25:00 +02:00
xNinjaKittyx
a1a3598d82 Reverting more == True statements 2018-07-23 15:07:14 -07:00
xNinjaKittyx
d59afb8f2f Revert any changes to tri logic 2018-07-23 14:41:10 -07:00