Commit Graph

7756 Commits

Author SHA1 Message Date
Laurent Monin
df7a263f06 PICARD-2131: use multi-threaded http server 2021-03-04 12:16:51 +01:00
Philipp Wolfer
417e6548b0 Update picard.pot 2021-03-03 14:28:44 +01:00
Philipp Wolfer
4f02936cc5 Merge pull request #1757 from phw/PICARD-2130
PICARD-2130: Refactor cover art options
2021-03-03 14:27:54 +01:00
Philipp Wolfer
84dc7bd02d PICARD-2130: Simplify CoverOptionsPage 2021-03-03 11:45:24 +01:00
Philipp Wolfer
cacfa768b8 PICARD-2130: Added a placeholder text "cover" to cover_image_filename input
This indicates the default being used if the image filename is not configured.
2021-03-03 11:41:33 +01:00
Philipp Wolfer
f45be774c6 PICARD-2130: Move save_only_one_front_image option from CAA to cover options 2021-03-03 10:39:10 +01:00
Philipp Wolfer
2d7babcc7a PICARD-2130: Move image_type_as_filename option from CAA to cover options
Also refactor the cover options page to be more clear on how settings relate to each other.
2021-03-03 09:59:57 +01:00
Philipp Wolfer
db16283a1c CI: Fixed Github release task 2021-03-02 14:40:35 +01:00
Philipp Wolfer
213310850c Update ticket categories in recent changelog 2021-03-02 14:09:50 +01:00
Philipp Wolfer
78525cd3a0 Release 2.6.0b1 2021-03-02 14:01:27 +01:00
Philipp Wolfer
a6214f81d2 Updated translations 2021-03-02 13:50:21 +01:00
Philipp Wolfer
9a84ae463e Better formatting of script function examples 2021-03-02 08:06:32 +01:00
Laurent Monin
e326dfc1ba Update picard.pot 2021-03-02 07:54:34 +01:00
Laurent Monin
3d54217074 Fix typo in $delprefix() description 2021-03-02 07:53:42 +01:00
Philipp Wolfer
d920e12244 Update picard.pot 2021-03-01 16:31:21 +01:00
Philipp Wolfer
bdee12924b Merge pull request #1740 from Sophist-UK/patch-12
PICARD-2105: Improve script function popup descriptions
2021-03-01 16:30:14 +01:00
Philipp Wolfer
05d520e9a4 Use PyQt 5.15.3 for Windows and macOS 10.14 builds 2021-02-28 20:46:57 +01:00
Philipp Wolfer
d41be0f94d PICARD-2105: Clarify docs for $swapprefix and $delprefix 2021-02-28 17:14:53 +01:00
Philipp Wolfer
8d7c40c1b9 PICARD-2105: Use trailing commas for variable parameters 2021-02-28 17:14:22 +01:00
Philipp Wolfer
f78199d093 Merge pull request #1754 from phw/browser-integration-http-server
Refactor browser integration to use http.server and implement CORS support
2021-02-26 18:01:02 +01:00
Philipp Wolfer
c663df6588 Browser integration: Move most of loading logic to tagger 2021-02-26 17:53:17 +01:00
Philipp Wolfer
69a522b973 PICARD-2088: Fix Windows not writing to settings file
When locking the config file itself writing to it fails on Windows. Hence use a separate lock file.

Choose a name that is distinct from Qt's default lock file name. Also make it hidden on Unix systems.
2021-02-26 17:51:20 +01:00
Philipp Wolfer
b930a9652c Browser integration: Clean up responses
Avoid logging or outputting unvalidated input, do not localize.
2021-02-26 16:49:46 +01:00
Philipp Wolfer
69d75c958b PICARD-715: Allow CORS preflight with experimental private network support
This adds CORS preflight support together with support for the draft at https://wicg.github.io/private-network-access/

This is for future proofing against browsers restricting access to private network resources, see https://bugs.chromium.org/p/chromium/issues/detail?id=590714
2021-02-26 15:47:00 +01:00
Philipp Wolfer
751113ddbe PICARD-2126: Send Access-Control-Allow-Origin in browser integration 2021-02-26 15:47:00 +01:00
Philipp Wolfer
bc1f6fd73a Browser integration: Respond on /
This makes it easier to detect running Picard tagger locally.
2021-02-26 15:46:55 +01:00
Philipp Wolfer
c77e802008 Reimplement browser integration using http.server 2021-02-26 15:46:54 +01:00
Philipp Wolfer
1d637b268a PICARD-2127: Fixed passing tport parameter in metadatabox browser lookup 2021-02-26 14:09:29 +01:00
Laurent Monin
08766f50c0 Merge pull request #1751 from phw/PICARD-2125-enable-caa-release-group-provider
PICARD-2125: Enable CaaReleaseGroup by default
2021-02-24 10:25:52 +01:00
Philipp Wolfer
f58ddc1f47 PICARD-2125: Enable CaaReleaseGroup by default 2021-02-23 17:33:43 +01:00
Philipp Wolfer
d3d596b09a PICARD-2124: Add and fill _releaseannotation variable 2021-02-22 17:34:09 +01:00
Philipp Wolfer
7b8c65611f PICARD-1528: Fix crash on "search similar albums"
The assumption that the first selected object is always a cluster was wrong. In case both clusters and other items where selected this could fail.
2021-02-17 19:26:22 +01:00
Philipp Wolfer
d12db9228a Merge pull request #1747 from phw/PICARD-2088
PICARD-2088: Override QSettings config file syncing
2021-02-17 13:27:58 +01:00
Philipp Wolfer
a3a998e4b1 Build with PyInstaller 4.2 2021-02-16 20:37:55 +01:00
Philipp Wolfer
5bae1f5574 PICARD-2088: Added comments to explain the config deadlock workaround 2021-02-16 08:53:23 +01:00
Philipp Wolfer
cb77bcce8a PICARD-2088: Added fasteners to install_requires 2021-02-15 15:19:05 +01:00
Philipp Wolfer
854a36407d PICARD-2088: Raise PyQt5 dependency to >= 5.10 2021-02-15 15:12:25 +01:00
Philipp Wolfer
c352949cd3 PICARD-2088: Override QSettings config file syncing
As the default implementation for synchronizing the config file can lead to application freezes override it.
Ensure the config file is not updated by more than one process by locking the file using fasteners.
2021-02-15 14:29:38 +01:00
Philipp Wolfer
a71d09b544 PICARD-2114: Show disambiguation comment in cdlookup dialog 2021-02-12 01:15:29 +01:00
Philipp Wolfer
5bee7281d0 Fix CI tests for python-libdiscid
python-libdiscid 2.0 no longer supports Python 3.5, skip the test with this version
2021-02-11 16:48:23 +01:00
Philipp Wolfer
d22863a4df Added missing PICARD-994 to version 2.0 changelog 2021-02-11 16:06:11 +01:00
Philipp Wolfer
f490ff829c PICARD-2113: Do not run scripts on special clusters
Prevents manually run scripts modifying the special "Unclustered Files" / "Unmatched Files" clusters.
2021-02-09 19:43:41 +01:00
Philipp Wolfer
260188a62a PICARD-2102: After cluster action select the Clusters item
After clustering completed, if there is no selection or only Unclustered files is selected without any files, automatically select the Clusters item. This allows for easier workflow as the user can now directly use actions like Lookup on the new clusters.
2021-02-09 19:33:12 +01:00
Philipp Wolfer
718b8a4fe3 PICARD-2110: Add originaldate and originalyear to file naming examples 2021-02-09 19:32:13 +01:00
Tche333
97fae676c6 Update __init__.py 2021-01-22 14:45:09 +01:00
Tche333
758ea525fb Update __init__.py
Add a debug log when receiving a response from WebService.
Useful in case of AcousticId submission, specifically when the submissions are blocked in pending state on server in order to track the status.
2021-01-22 14:45:09 +01:00
Sophist
3423020a68 Consistent description, more examples. 2021-01-19 16:38:54 +00:00
Philipp Wolfer
1f128a2a04 Use PyQt 5.15.2 for Windows builds 2021-01-19 15:01:22 +01:00
Philipp Wolfer
105b8da7c3 Fixed Markdown formatting of $unset function docs 2021-01-18 16:08:16 +01:00
Philipp Wolfer
ee3a07de68 Update copyright years in about dialog 2021-01-18 15:51:56 +01:00