65 Commits

Author SHA1 Message Date
Benjamin Jakimow benjamin.jakimow@geo.hu-berlin.de
048af492b1 QgsPluginInstaller can now read zipfiles where 1st internal file is located in plugin subfolder 2021-02-25 14:57:03 +01:00
Etienne Trimaille
6180938400 Plugin installer - rephrase error message when plugin is not found 2020-08-06 15:30:14 +10:00
Nyall Dawson
98603b7866 [plugins] When a user clicks the "Reload all repositories" button
manually in the plugin manager, then force a reload of the repositories
and don't rely on cached copies of the repo manifest

Otherwise it's not possible to force a refresh on certain types of
plugin repositories where it's not possible to modify the Cache-Control
attribute of the repo

Note that to avoid unnecessary server load, we still use cached
copies during startup and by default. It's only when a user explicitly
hits the "Reload all repositories" button that we force a non-cached
fetch.

Fixes #34351
2020-05-29 03:47:39 +10:00
Ivan Ivanov
e090036a11 Adds support to sort the plugins by update date; Show the plugin version update time 2020-03-30 05:02:50 +03:00
olivierdalang
c924cfd1d2 [feature][plugin manager] allow to install stable or experimental 2020-03-04 18:38:42 +01:00
Sergio Ramírez
8b68121ac2 Use QgsHelp Class instead webbrowser lib to point to the documentation in The Install From ZIP tab 2019-09-06 12:16:47 -05:00
Sergio Ramírez
23dd0f0399 Change message wording and add a button for more information pointing to the documentation 2019-09-06 10:28:34 -05:00
Sergio Ramírez
6456b7912c Prevent installation of ZIP plugins if they don't have the root folder Fixes #30063 2019-08-23 11:11:09 -05:00
Alessandro Pasotti
b85d5af0c0 Add test for plugin dependencies
Also made minor changes to the function and
class names, to be more consistent with QGIS
naming conventions.
2019-03-18 09:20:06 +01:00
Alessandro Pasotti
1622d73e25 [feature][needs-docs] Plugin dependencies
Implementation of QEP 132:

Manage python cross-plugins dependencies

A new optional metadata entry will be added to metadata.txt: plugin_dependencies
The metadata will contain a comma separated list of plugin names, with a format similar
of the one used by pip, with optional version.
After a successful plugin installation, if the plugin has any unsatisfied dependency,
a dialog will pop-up with the list of unmet dependencies and the user
will be able to choose if she wants to install or upgrade the
dependencies or ignore them.

Example metadata:

plugin_dependencies = QuickMapServices==0.19.10.1,QuickWKT

Funded by GISCE-TI S.L.
2019-03-15 17:40:42 +01:00
Nyall Dawson
ca06d407a0 Add custom QNetworkRequest::Attributes for initiator network request class name and internal id
And allow these to be retrieved from QgsNetworkRequestParameters.
This allows logging code to identify the area of code where a request
originated from, making debugging much easier!

Tag all requests created with appropriate class name and IDs
2019-01-25 23:47:05 +11:00
Borys Jurgiel
b7673c7616 [Plugin Manager] Fix plugin status checkbox not refreshed after installing from zip 2018-10-16 23:06:13 +02:00
Borys Jurgiel
9bd532faf6 Use QgsPasswordLineEdit for zip file pasword prompt. 2018-09-14 00:09:57 +02:00
Borys Jurgiel
0f7a09947c [FEATURE][Plugin installer] Support for encrypted zips when installing plugins from local files 2018-09-13 17:39:33 +02:00
Denis Rouzaud
3dc3d9d1b2 unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
make enum items lower case
remove unused QgsMessageLog::None and All
2018-02-06 08:56:40 -04:00
Alexander Bruy
08255f7ba0 fix indentation 2018-01-22 18:50:43 +02:00
Alexander Bruy
c6870777e7 fix sending plugin votes 2018-01-22 16:20:54 +02:00
Borys Jurgiel
e69fa14455 [Plugin installer] Desaturate toolbar icons 2017-12-27 22:51:08 +01:00
Borys Jurgiel
63e5558297 [Plugin installer] Move the status bar label to the right and make it less verbose 2017-12-27 08:05:23 +01:00
Borys Jurgiel
3a52412c20 [Plugin installer][needs-docs] Display an icon rather than a text in the status bar when new a plugin or plugin upgrade is available 2017-12-26 21:22:37 +01:00
Borys Jurgiel
c0b56a3a65 [Plugin Manager] Reload manager contents after installing a plugin from zip. Fixes #17626 2017-12-22 23:47:53 +01:00
Borys Jurgiel
97018cf2e6 [Plugin installer] Remove trailing colon if it's a very end of the message. 2017-12-19 18:24:17 +01:00
Borys Jurgiel
cfec339c30 [Plugin manager] [needs-doc] Don't preload plugins for a test if they are broken. That function slowed down QGIS startup 2017-11-04 22:46:03 +01:00
Borys Jurgiel
fb7f8f17f7 [Plugin installer] Fix broken warning about outdated plugin updates in the user directory masking a newer core version 2017-11-03 19:12:44 +01:00
Gary Sherman
65c6974d1d Remove invalid decode statements from plugin installer 2017-10-23 09:04:37 -08:00
Borys Jurgiel
c33dbd96fe Plugin manager: Use QgsFileWidget for installing from zip files 2017-10-16 23:27:02 +02:00
Juergen E. Fischer
ecc5bb508e pep8/pyflakes3 cleanups 2017-03-04 02:38:15 +01:00
Juergen E. Fischer
a10c890383 More QgsSettings updates:
* revives WMS
* QgsSettings::clear() added
* section added to QgsSettings::contains()
* type parameter added to sip binding of QgsSettings.value()
* TODO: customization & evis
2017-03-04 02:37:59 +01:00
Alexander Bruy
afe85ca39e [FEATURE] allow installing plugins from local ZIP packages
This may be useful for users who have plugin packages, so they
don't need to extract them manually.
2017-02-01 17:31:09 +02:00
Denis Rouzaud
b119744773 replace cancelling, cancelled and cancellation by canceling, canceled and cancelation, respectively (#4000)
* replace cancelling and cancelled by canceling and canceled, respectively

see https://github.com/qgis/qgis3_UIX_discussion/issues/19

* replace cancellation by cancelation
2017-01-16 22:27:14 +01:00
Alessandro Pasotti
74c00be061 No need to decode a str 2016-09-27 15:48:45 +02:00
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Alexander Bruy
6e1302047c [pluginmanager] show trusted plugins (fix #14916) 2016-06-01 13:48:47 +03:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
Juergen E. Fischer
06f995316e plugin installer: switch to pyqt wrappers 2016-03-21 17:00:25 +01:00
Matthias Kuhn
fa40e78f60 [Plugins] disable plugins which crash on load 2016-02-15 10:23:39 +01:00
Larry Shaffer
36e7026c0d [FEATURE][auth] Add support to Plugin Manager 2015-12-03 17:52:22 -07:00
Juergen E. Fischer
b39055b39c indentation update (now including autopep8) 2015-08-22 14:29:41 +02:00
Juergen E. Fischer
956c155e8f fix python pep8 warnings and fix some revealed errors
pep8 --ignore=E111,E128,E201,E202,E203,E211,E221,E222,E225,E226,E227,E231,E241,E261,E265,E272,E302,E303,E501,E701 \
     --exclude="ui_*.py,debian/*,python/ext-libs/*" \
     .
2015-02-01 20:46:47 +01:00
Borys Jurgiel
3b198d9000 [FEATURE] [Plugin Manager] Voting for plugins from Plugin Manager 2014-04-01 16:35:28 +02:00
Borys Jurgiel
cdbe1ee303 [Plugin manager] Replace confirmation popup dialogs with an internal QgsMessageBar 2014-03-27 11:20:53 +01:00
Borys Jurgiel
b114dceb1a [Plugin installer] fix #8876 2013-10-17 11:55:16 +02:00
Juergen E. Fischer
4cb37b1af2 support for python plugin directory with accents in username (fixes #2512 again) 2013-10-10 23:55:28 +02:00
Borys Jurgiel
c093ab91b0 [Plugin Manager] New tab for all plugins. New class QgsPluginItemDelegate 2013-09-15 12:05:44 +00:00
Alexander Bruy
8a27c76560 [FEATURE] clearly mark deprecated plugins in plugin manager 2013-09-13 12:10:16 +03:00
Borys Jurgiel
f6e0bbc24e [Plugin Installer] Remove hardcoded 2.0 version in order to use the native 2.0 2013-09-01 09:27:28 +02:00
Alexander Bruy
ec2992e8f9 correct handling for non ASCII characters in plugin installer (fix #8452) 2013-08-12 14:46:39 +03:00
Borys Jurgiel
018e95845f [Plugin Installer] fix #8410 2013-08-04 22:52:53 +02:00
Borys Jurgiel
4af8946906 [Plugin Installer] Follow up 619558dabc 2013-06-29 12:30:57 +02:00
Borys Jurgiel
afbc9b8408 [Plugin Installer] partially revert fd2b221e65 . Still QGIS restart is needed after plugin update in some cases. 2013-06-26 02:10:07 +02:00