Commit Graph

3515 Commits

Author SHA1 Message Date
Laurent Monin
9c7aaffc65 Download -> Install
Since we have Update -> Updated, it makes more sense to have Install -> Installed, instead of Download -> Installed
2015-09-27 13:45:54 +02:00
Laurent Monin
7284ca77d2 Reload available plugins -> Reload List of Plugins
See https://github.com/musicbrainz/picard/pull/420#discussion_r40503196
2015-09-27 12:24:46 +02:00
Laurent Monin
e2b1932feb Save/restore plugin list state on load/reload 2015-09-07 13:38:46 +02:00
Laurent Monin
5c58c1c8f1 Display a textual message instead of numerical error code 2015-09-06 17:19:21 +02:00
Laurent Monin
4f1bad19c8 Forbid user interaction during plugins reload
Suggested by @Mineo
2015-09-06 17:14:33 +02:00
Laurent Monin
a2c3b4990d Fix whitespaces, add a whiteline 2015-09-04 14:42:24 +02:00
Laurent Monin
288ccbd1f8 Enable plugin list sorting 2015-09-04 14:41:16 +02:00
Laurent Monin
1b0c902904 Change details after user closed the message dialog 2015-09-04 14:38:57 +02:00
Laurent Monin
8bcf03eef2 Resize plugin list headers 2015-09-04 14:38:21 +02:00
Laurent Monin
b5ce4e982a Fix plugin installation via drag'n'drop 2015-09-04 14:37:58 +02:00
Laurent Monin
762e616c1d Update plugins at next run when replacing files is needed
Replacing during runtime is leading to many issues, either with .zip plugins or
on Windows platform.

So, when it is necessary, require the user to restart Picard to update the module.
2015-09-04 14:37:01 +02:00
Laurent Monin
cef369de3f Simplify code related to existent plugin files 2015-09-02 12:09:13 +02:00
Laurent Monin
1090feff30 Make saving new zipped plugin more robust 2015-09-02 11:59:22 +02:00
Laurent Monin
33e245937f Add a button to reload available plugins list 2015-09-01 13:25:48 +02:00
Laurent Monin
95720f94de Disallow checkbox toggling if plugin isn't installed 2015-09-01 12:51:27 +02:00
Laurent Monin
90b9806de2 Replace plugin flags with properties 2015-09-01 12:37:12 +02:00
Laurent Monin
e70486b91f Get rid of USER_DOWNLOADS_DIR, save zipped module in user plugin directory
Suggested by @mineo.
2015-09-01 11:06:47 +02:00
Laurent Monin
642d7d720a install_plugin(): no need of plugin_dir param, use USER_PLUGIN_DIR 2015-09-01 10:18:33 +02:00
Laurent Monin
3159e82bd0 Installation of zipped modules is now just a copy of the zip file
No need to unzip anything since we now support loading of zipped modules
2015-09-01 10:12:54 +02:00
Laurent Monin
399f501143 Support for direct loading of zipped modules using zipimport
Suggested by @mineo
2015-09-01 10:01:29 +02:00
Laurent Monin
9c871977fc Allow user to install plugins from local zip archives 2015-08-31 21:33:10 +02:00
Laurent Monin
f5d8dae0fd Implement update/download plugins from the web directly from UI
- plugin installation code is modified to support zip archives
- USER_DOWNLOADS_DIR is introduced to store downloaded files
- based on the work of Shadab Zafar
2015-08-31 21:32:36 +02:00
Laurent Monin
fe5400b4aa Display Update or Download buttons for each plugin installed or available
Actions not yet implemented
2015-08-31 21:22:19 +02:00
Laurent Monin
961e3866e0 Refresh details after plugin installation 2015-08-31 21:16:50 +02:00
Laurent Monin
0ab4b5499e Display a message when no plugins are installed. 2015-08-31 21:15:31 +02:00
Laurent Monin
3aa92d6190 Fix up imports 2015-08-31 21:13:50 +02:00
Laurent Monin
bf70cd04de Set CAN_BE_DOWNLOADED flag, if plugin is available online and not installed 2015-08-31 21:08:32 +02:00
Laurent Monin
8eb20f124c Set PluginFlags.CAN_BE_UPDATED flag if a new version is available 2015-08-31 21:01:35 +02:00
Laurent Monin
97bfd3dfdb Display new version in plugin details if one is available 2015-08-31 20:58:10 +02:00
Laurent Monin
35f3f5ca66 Query plugins JSON API for available plugins 2015-08-31 20:52:07 +02:00
Laurent Monin
6e7d39866c Mark forgotten string for translation 2015-08-31 20:45:06 +02:00
Laurent Monin
2ed91b5aa2 Remove open/download plugins button 2015-08-31 20:43:04 +02:00
Laurent Monin
a1be8ec361 Introduce plugin.files_list, displayed in plugin details 2015-08-31 20:37:40 +02:00
Laurent Monin
f5a2faae24 Reformat plugin details
Drop file list for now.
2015-08-31 20:36:24 +02:00
Laurent Monin
c288f50aed PluginWrapper: add license and license_url properties 2015-08-31 20:32:02 +02:00
Laurent Monin
22f990ccc4 PluginWrapper: use @property decorator 2015-08-31 20:32:01 +02:00
Laurent Monin
0d19c2da1a Introduce PluginShared class as parent of PluginWrapper
It will be used later.
2015-08-31 20:32:01 +02:00
Laurent Monin
f31975f234 Use flags to store plugin state 2015-08-31 20:32:01 +02:00
Laurent Monin
86320f02d0 Merge pull request #419 from zas/futurize_stage1
Improve python3 compatibility, minor changes
2015-08-28 13:42:38 +02:00
Philipp Wolfer
6700ac993a Removed unused exception handler
UnknownFunction is a subclass of ScriptError, which is already handled.
2015-08-28 10:28:18 +02:00
Philipp Wolfer
bd83dac05a CAA: Fixed call to self.error with wrong number of arguments 2015-08-28 10:26:36 +02:00
Philipp Wolfer
5fdc5a945a Fixed test not run due to duplicated method name 2015-08-28 10:22:47 +02:00
Philipp Wolfer
d8ec03e05c Removed duplicated code 2015-08-28 10:19:34 +02:00
Laurent Monin
68a62b745a Fix up import 2015-08-26 17:28:15 +02:00
Laurent Monin
a12ee509aa import print_function 2015-08-25 11:16:05 +02:00
Laurent Monin
55b2207a27 import print_function 2015-08-25 11:15:15 +02:00
Laurent Monin
691db2bdde sys.maxint -> sys.maxsize 2015-08-25 11:14:23 +02:00
Laurent Monin
c4950c37ad next() 2015-08-25 11:14:03 +02:00
Laurent Monin
7a94d5b268 Python3-style lambda 2015-08-25 11:13:53 +02:00
Laurent Monin
9d6e5f15c6 print() and next() 2015-08-25 11:13:39 +02:00