Commit Graph

5546 Commits

Author SHA1 Message Date
Laurent Monin
f71bb2bc71 Merge branch 'master' into picard-1369 2018-10-07 19:52:52 +02:00
Philipp Wolfer
c7ce9b24b0 Freeze pip dependencies for production release 2018-10-07 19:52:19 +02:00
Wieland Hoffmann
d4167ed1e2 PICARD-1369: Retry opening URLs
This is a workaround for https://bugs.python.org/issue31014. The first time
webbrowser.open is called, an exception is thrown when initializing the list of
browsers on the system. Ignoring that first exception leaves the webbrowser
module in a possibly-not-optimal state regarding the list of browsers it uses,
but it does successfully open URLs. Since there's no point in fixing this in
Picard itself, just continue with a not optimal browser choice.
2018-10-07 18:52:25 +02:00
Wieland Hoffmann
b5114de19f PICARD-1368: Correctly set log levels (#996)
Previously, despite having the option to set one of 4 log levels, it was only
possible to toggle between WARNING and DEBUG, because log.debug_mode only set
either logging.DEBUG or VERBOSITY_DEFAULT (logging.WARNING). Now we correctly
pass the selected log level to log.set_level.
2018-10-07 18:23:07 +02:00
Philipp Wolfer
985c642275 PICARD-1366: Show Python version in About (#991) 2018-10-07 12:58:29 +02:00
Philipp Wolfer
613e461d08 PICARD-792: Customized tiles for Windows 10 start menu 2018-10-07 12:32:42 +02:00
Philipp Wolfer
f417bc8ded Merge pull request #988 from phw/win-pyqt-5.11
PICARD-1365: Working Windows builds with PyQt 5.11
2018-10-07 12:16:46 +02:00
Philipp Wolfer
ee80a4004e Merge pull request #992 from phw/PICARD-1367-open-search-in-browser
PICARD-1367: Open search in browser
2018-10-06 09:33:06 +02:00
Philipp Wolfer
78ec12c20c Windows build: bdist_nsis is no longer used 2018-10-05 20:03:16 +02:00
Philipp Wolfer
68b361318e Appveyor: Build against Python 3.5.6 2018-10-05 20:03:16 +02:00
Philipp Wolfer
59aed98b02 Working Windows builds with PyQt 5.11 2018-10-05 20:03:16 +02:00
Philipp Wolfer
d2dec6ca6d PICARD-1364: Write version information to picard.exe 2018-10-05 19:53:05 +02:00
Philipp Wolfer
46815478d4 PICARD-1367: Respect "advanced query syntax" status 2018-10-05 16:59:18 +02:00
Philipp Wolfer
31dd042483 PICARD-1367: Allow opening a search in browser from search dialogs 2018-10-05 16:54:48 +02:00
Laurent Monin
bda4858391 Merge pull request #986 from zas/browser_integration
PICARD-1359: improve builtin server reliability and debugging output
2018-10-05 16:32:59 +02:00
Laurent Monin
faecb4cdd4 Use urlparse() and parse_qs() to process request 2018-10-04 21:48:52 +02:00
Laurent Monin
964c2c6a2f Enclose whole parsing in try/except to catch all corner cases 2018-10-04 16:04:52 +02:00
Laurent Monin
8c87ddf77d Internal server: improve query parsing and error handling
Check for valid mbid, and returns 400 response in case of bad syntax
2018-10-04 16:04:52 +02:00
Laurent Monin
cca65a2b31 Move response strings to constants 2018-10-04 16:04:52 +02:00
Laurent Monin
b58be63ca0 Returns 500 on error 2018-10-04 16:04:52 +02:00
Laurent Monin
263228eb94 PICARD-1359: improve builtin server reliability and debugging output 2018-10-04 16:04:52 +02:00
Laurent Monin
a11224258a Merge pull request #985 from zas/ws_tidyup
Minor WS code tidy up
2018-10-04 15:26:47 +02:00
Laurent Monin
716be80493 bearer -> authorization 2018-10-02 14:54:01 +02:00
Laurent Monin
fae51b5b00 Log network cache infos on one line 2018-10-02 12:55:41 +02:00
Laurent Monin
fc66113efb Reduce code redundancy, introducing high_prio_no_cache _init_headers() param 2018-10-02 12:52:08 +02:00
Laurent Monin
21e3858b9b Shorten lines a bit, importing QNetworkRequest 2018-10-02 12:28:39 +02:00
Laurent Monin
9ad3e41bf3 Introduce add_request() and reduce code redundancy a bit 2018-10-02 12:16:01 +02:00
Laurent Monin
dad0432cd4 Use super() 2018-10-02 12:15:23 +02:00
Laurent Monin
582451916f Simplify code 2018-10-02 12:15:07 +02:00
Laurent Monin
2e01ea3c04 Merge pull request #976 from zas/plugins_mng
PICARD-1313: Rework plugins option page
2018-10-02 11:21:35 +02:00
Laurent Monin
07a41ea9ed Invert Actions sort order so one has only one click to move all installed pugins to the top 2018-10-01 10:56:21 +02:00
Laurent Monin
13f363978b Make version conversion to tuple safer 2018-10-01 10:55:31 +02:00
Laurent Monin
d2eace9e9a Actually remove the plugin from plugin list after uninstall
It fixes the display quirk reported by rdswift
2018-10-01 10:34:54 +02:00
Laurent Monin
159f3389f3 Sort Version column using tuple of int, and Actions column depending on item status 2018-10-01 01:26:54 +02:00
Laurent Monin
ca780cb69c Reduce code redundancy 2018-09-30 15:02:28 +02:00
Laurent Monin
ae3cc78949 Merge branch 'master' into plugins_mng 2018-09-29 18:56:27 +02:00
Philipp Wolfer
5ea90c6138 PICARD-1285: Set MainWindow.show_close_window 2018-09-29 14:43:25 +02:00
Philipp Wolfer
36664bb67a PICARD-1285: Add Close Window menu entry for macOS 2018-09-29 14:43:25 +02:00
Philipp Wolfer
7aa93e6420 Plugins: Hide install button after installation 2018-09-29 12:13:01 +02:00
Philipp Wolfer
f40131a3f7 Plugins: Don't mark downloadable plugins italic 2018-09-29 12:11:50 +02:00
Philipp Wolfer
29d9fabbbf Plugins: Set install icon to down arrow 2018-09-29 12:01:12 +02:00
Philipp Wolfer
859f060841 Plugins: Add separate version column 2018-09-29 12:00:40 +02:00
Laurent Monin
03ee4a807b Improve upgrade/install buttons 2018-09-28 19:02:24 +02:00
Laurent Monin
8f571cc201 Fix Uninstall button not showing again 2018-09-28 12:11:58 +02:00
Laurent Monin
d2f96ca3ad Fix up columns width (finally) 2018-09-28 11:20:45 +02:00
Laurent Monin
c58a44fdab Move Uninstall button to the left, and preserve its space when hidden 2018-09-28 11:19:05 +02:00
Laurent Monin
0a1b5654b6 Disable sort while populating 2018-09-28 11:17:08 +02:00
Laurent Monin
726de6a24e Only query plugins when needed and better offline behavior
- when the network wasn't available the previous behavior wasn't user-friendly at all
- if the list cannot be retrieved, still display installed plugins
- on failure, do not retry, the user can reload the list manually when the connection is back
2018-09-27 16:53:40 +02:00
Laurent Monin
b7fcf164cd Show enable/disable button and hide install button if installed
Suggested by Philip Wolfer
2018-09-27 16:15:38 +02:00
Laurent Monin
bfb49d46aa Move uninstall_processor() near where it is used 2018-09-27 14:47:51 +02:00