- 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
* 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>
* 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>
* 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
* 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
* 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>
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)
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