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