Philipp Wolfer
bbcd54ea27
PICARD-1390: Set webservice transfer timeout on config changes
...
Avoid reading the config on each request
2020-10-11 11:45:45 +02:00
Philipp Wolfer
52abe10821
PICARD-1390: Allow configuring network timeout in options
2020-10-11 11:45:45 +02:00
Philipp Wolfer
a4d254dd7c
PICARD-1390: Apply a timeout to network requests without data transfer
...
If a network request does not transfer any data for 30 seconds abort it. Prevents Picard getting stuck waiting on network requests.
2020-10-11 11:45:45 +02:00
Philipp Wolfer
6558fc6ad1
PICARD-1969: Fix browser integration port setting getting saved when canceling options
2020-10-11 11:45:45 +02:00
Philipp Wolfer
ff2c62c024
PICARD-534: Add support for SOCKS proxy
2020-10-10 17:04:40 +02:00
Philipp Wolfer
49464e95fd
PICARD-1964: Support right-to-left text flow in scripting docs
...
Set the general text direction to right-to-left, but still render entire code blocks as left-to-right
2020-10-10 16:05:33 +02:00
Philipp Wolfer
1027dafa78
Fixed wrong indentation in script documentation
2020-10-09 13:46:35 +02:00
Philipp Wolfer
9916267fb9
Disable CodeQL for C code for now
2020-10-09 11:20:16 +02:00
Philipp Wolfer
c9bba31019
Create codeql-analysis.yml
2020-10-09 10:56:32 +02:00
Philipp Wolfer
4fd90db079
Fixed scripting documentation window not remembering size
2020-10-09 08:44:02 +02:00
Philipp Wolfer
2c83f4ecc5
PICARD-259: Have file metadata available when manually running script
...
Ensure that file metadata is also available to script when being run on a track manually after loading. If clear_existing_tags is present tags that would be deleted are not available. Technical variables are always available.
2020-10-09 08:13:19 +02:00
Philipp Wolfer
cedb3d7497
Update picard.pot
2020-10-08 19:51:08 +02:00
Philipp Wolfer
373908e1d1
PICARD-1965: Allow opening AcoustID options from missing API key dialog
2020-10-08 18:02:36 +02:00
Philipp Wolfer
957c921592
Merge pull request #1651 from phw/fix-clear-existing-tags
...
PICARD-259: Fix clear_existing_tags
2020-10-08 15:19:35 +02:00
Philipp Wolfer
e75bd0612a
Merge pull request #1654 from phw/event-processing-iterator
...
Add process_events_iter to allow iteration while processing events
2020-10-07 20:52:45 +02:00
Philipp Wolfer
c3ccd6a392
Make MultiMetadataProxy fully compatible with Metadata
...
Run the same test cases against both Metadata and MultiMetadataProxy
2020-10-07 17:48:24 +02:00
Philipp Wolfer
38cfe4255d
Time based approach for process_events_iter
2020-10-07 16:26:31 +02:00
Philipp Wolfer
8c16546aa9
Fixed variables in Hebrew installer translation
2020-10-07 14:28:58 +02:00
Philipp Wolfer
d0f788e6ca
Added Hebrew and Portuguese (Brazil) installer translations
2020-10-07 13:32:56 +02:00
Philipp Wolfer
6816fd8b94
GHA: Migrate to using enviroment files
...
set-env and add-path are deprecated, see https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
2020-10-07 10:53:31 +02:00
Philipp Wolfer
0fb58520eb
Fix CI builds for macOS and Windows by downgrading markdown
...
Building with markdown 3.3 causes some incompatibility with PyInstaller. Downgrade to 3.2.2 for macOS and Windows builds.
2020-10-07 10:38:55 +02:00
Philipp Wolfer
ce7215dd78
PICARD-1963: Avoid stack overflow when loading large amount of files
...
When loading a large list of files this could result in a stack overflow,
since tagger.move_files calls QCoreApplication.processEvents, which in
return might process an event to call tagger.move_files again, resulting
in a deep recursion.
Refactor the special case of moving a single file into a separate method.
2020-10-07 09:24:33 +02:00
Philipp Wolfer
96def71c6b
PICARD-259: Use MultiMetadataProxy to make file metadata available to scripts
2020-10-06 20:06:49 +02:00
Philipp Wolfer
06508560f9
MultiMetadataProxy to combine multiple metadata objects
2020-10-06 20:04:52 +02:00
Philipp Wolfer
0b0eb06761
PICARD-1957: Only load files on double click in file browser
...
Double clicking on a folder expands it, do not also load it.
2020-10-06 17:00:44 +02:00
Philipp Wolfer
8012d54a5b
Generate the process_events_iter iterator with yield
2020-10-06 15:37:33 +02:00
Philipp Wolfer
fbe16857f8
Add EventProcessingIterator to allow iteration while processing events
...
This acts as a wrapper around another iterable to allow running QCoreApplication.processEvents.
Instead of running processEvent on every iteration it is done in steps.
2020-10-06 15:16:31 +02:00
Philipp Wolfer
69b0d0e073
PICARD-1961: Keep instrument and other attributes spelling as is
...
This was introduced very eraly in d923c9a . Originally MB provided a more fixed list of instruments, with instrument names as attributes actually being camel cased.
This is no longer the case and instruments should now be used as given in the API response.
2020-10-05 10:43:52 +02:00
Philipp Wolfer
6b723d5f09
PICARD-259: Fix clear_existing_tags
...
This broke in 09c382f when scripting for file metadata was enabled.
2020-10-04 17:18:24 +02:00
Philipp Wolfer
adb420aeda
Update picard.pot
2020-10-04 10:03:08 +02:00
Philipp Wolfer
b9cb55ec91
PICARD-1952: Show warning if user chooses to use system theme
2020-10-04 10:01:35 +02:00
Philipp Wolfer
6165693281
PICARD-1952: Allow user to force system theme on Linux
2020-10-04 10:01:35 +02:00
Philipp Wolfer
fc37b12f0f
PICARD-1960: Allow adding/removing tags in EditTagDialog with Insert/Del
2020-10-04 09:55:12 +02:00
Philipp Wolfer
7f2a8bc277
PICARD-1960: Enable insert key for adding items to list widgets
2020-10-04 09:55:12 +02:00
Philipp Wolfer
7597704234
Updated pot file
2020-10-03 10:43:36 +02:00
Philipp Wolfer
304cb43eee
PICARD-1959: Rename disc ID "Lookup in Browser" to "Submit disc ID"
2020-10-02 20:09:17 +02:00
Philipp Wolfer
26aba8c070
theme.py: Use properties instead of getters
2020-10-02 20:08:21 +02:00
Philipp Wolfer
a98dfae496
PICARD-1882: Generic detection of dark color scheme in use
2020-10-02 20:08:21 +02:00
Philipp Wolfer
0a5aba7c8f
PICARD-1958: Add a symlink to /Applications to macOS DMG
2020-10-02 20:06:32 +02:00
Philipp Wolfer
d7b1dae98b
macOS: Handle OS version 11.0 in package script ( #1646 )
2020-10-02 20:03:07 +02:00
Philipp Wolfer
3bc7571a57
Updated Windows installer translations:
...
Added Albanian, Estonian and Japanese translation, updated Spanish
2020-09-30 13:22:08 +02:00
Philipp Wolfer
4c2aa6f15e
Updated picard.pot
2020-09-29 17:51:05 +02:00
Philipp Wolfer
386faeef3e
PICARD-1782: Show a tooltip when user clicks on locked table header
2020-09-29 17:49:38 +02:00
Philipp Wolfer
d7222c3a8e
PICARD-1957: Load files in file browser on double click
2020-09-29 14:03:07 +02:00
Philipp Wolfer
ad5fffba06
PICARD-1782: Allow locking itemview table headers
...
Locked headers cannot be changed. This prevents accidental resorting and changes to the list views. The lock state of each table header is persisted.
2020-09-29 14:02:47 +02:00
Philipp Wolfer
25daebe8a3
PICARD-1888: Cluster files attached to tracks with original metadata
...
When files currently attached to tracks are dragged to the Cluster list, they get clustered with their new metadata from the tracks. Ensure they get their original data reset prior to doing the clustering.
2020-09-29 12:59:11 +02:00
Philipp Wolfer
a02131234e
PICARD-1956: Optimized Cluster.add_files
...
Converting the lists to sets first and using set difference is a magnitude faster then checking for exitance in the list.
2020-09-29 10:19:23 +02:00
Philipp Wolfer
12c09ee2f5
PICARD-1956: Prevent the same file being added to a cluster more than once
2020-09-29 10:19:23 +02:00
Philipp Wolfer
ab5e11a9e4
Updated picard.pot
2020-09-29 10:03:30 +02:00
Philipp Wolfer
9f23160cc7
PICARD-1908: Show release search dialog for release-group URLs
...
This allows dragging release-group URLs into Picard or entering them in the search field. The release search dialog will be shown filtered by the release-group MBID.
2020-09-28 19:34:49 +02:00