Commit Graph

7535 Commits

Author SHA1 Message Date
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
Laurent Monin
e71cd1d5f4 Move reconnect() helper function to picard.util 2018-09-27 14:47:51 +02:00
Laurent Monin
40a0e3b1a4 Improve Reload Plugins feedback
- only remove items in the callback
- display a message about reload being in progress
2018-09-27 14:47:51 +02:00
Laurent Monin
7558b682b7 No need of calling refresh_details() when update_plugin_item() is called with make_current=True 2018-09-27 14:47:51 +02:00
Laurent Monin
8fa5ea4af5 Use QMessageBox static methods for information/warning/error dialogs 2018-09-27 14:47:51 +02:00
Laurent Monin
163ebcd95a Connect clicked signal instead of pressed, fix always pressed button after error 2018-09-27 14:47:51 +02:00
Laurent Monin
9ae88d574c Show a dialog when an error occurs during plugin installation 2018-09-27 14:47:51 +02:00
Laurent Monin
0b8e3e07f5 Use different fonts depending on plugin status
- bold font for plugins installed and enabled
- normal font for plugins installed but disabled
- italic font for not yet installed plugins
2018-09-27 14:47:51 +02:00
Laurent Monin
dd7c658981 Fix enabled after remove 2018-09-27 14:47:51 +02:00
Laurent Monin
2ad54b7599 Fix up logic for enable/disable/install/update/remove actions 2018-09-27 14:47:51 +02:00
Laurent Monin
35281ae622 Use icons in Plugins UI 2018-09-27 14:47:51 +02:00
Laurent Monin
70af040b3f Select first item after restore defaults 2018-09-27 14:47:51 +02:00