131 Commits

Author SHA1 Message Date
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
Chris Mayo
70a37bf981 Tidy installer_data.py and utils.py
- Fix unused and missing imports
- Only import configparser is needed for Python 3
- Unnecessary string u prefix for Python 3
- Comment typo
2018-09-06 05:56:09 +10:00
Chris Mayo
051e4d1c02 Mark a Python plugin without an __init__.py as broken
utils.findPlugins() checks for the existence of an __init__.py which
results in an attempt to enable a plugin without an __init__.py being
blocked with the only notification being a message in the Plugins log:

WARNING    Plugin "<name>" is not compatible with this version of QGIS.
             It will be disabled.

This is not very informative, especially because it is the same message
used for a metadata version mismatch.

Adding this check to Plugins.getInstalledPlugin(), which already
duplicates the metadata checks from utils.findPlugins(), results in the
plugin being marked as broken in the Plugins dialog.
2018-08-30 19:32:53 +01:00
Nyall Dawson
1ac5e29da6 Restore window geometry on plugin repo download dialog 2018-07-24 08:51:26 +10:00
Denis Rouzaud
f060566287 fix downloading plugins for custom repo
I am using github releases files which are apparently stored on amazon and give a 302 code.
I have been successfully tested this patch
2018-07-20 07:20:49 +10:00
Nyall Dawson
343872b719 Flip some code to use format 2018-05-22 06:02:55 +10:00
Nyall Dawson
3de7b383b0 Fix bad regex escaping 2018-05-22 06:02:55 +10:00
luz.paz
f01bff25ac Typos
Found via `codespell`
2018-05-08 09:33:07 +10:00
Juergen E. Fischer
6dfedc38e9 translation string fixes and cleanups 2018-02-15 22:31:15 +01: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
cef2db9ae3
Merge pull request #5904 from borysiasty/pyQgisVersion
Make QGIS 2.99 compatible with 3.0 plugins by introducing PyQGIS API version
2018-01-03 18:09:24 +01: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
b43386605f [Plugin installer] Make QGIS x.99 only compatible with plugins for the next major release. Introduce 'pyQgisVersion' that usually sticks to QGIS_VERSION, but bumps up to the next release for all the .99 versions 2017-12-18 17:30:15 +01:00
Borys Jurgiel
7c01b7e647 [Plugin installer] Follow up 54f312fa7f5b1ff and temporarily hardcode plugin compatibility as 3.0 2017-12-18 14:58:35 +01:00
Borys Jurgiel
3da5ab6996 [Plugin installer] Properly handle 301 Redirection 2017-12-11 21:03:44 +01:00
Borys Jurgiel
4677026c3e
Merge pull request #5532 from borysiasty/nopreloading
[Plugin manager] [needs-doc] Don't preload all plugins for a test
2017-11-07 22:19:57 +01:00
Alessandro Pasotti
bb36fa7f48 [bugfix] Use QgsApplication.authManager()
instead of the old singleton
2017-11-07 08:57:27 +01:00
Borys Jurgiel
a8f46652d4 [Plugin manager] Remove dead code 2017-11-04 22:55:11 +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
Borys Jurgiel
4b6228d81e Move plugin installer's settings to the [app] section 2017-11-02 09:15:34 +01:00
Borys Jurgiel
5fe43efe72
Merge pull request #5509 from borysiasty/settings
Remove dead code
2017-11-01 23:08:01 +01:00
Nyall Dawson
7dc48f3a17
Merge pull request #5508 from DelazJ/message_spacing
Fixing messages displayed in GUI
2017-11-02 08:13:25 +11:00
Borys Jurgiel
2d30c1156f Remove dead code 2017-11-01 21:53:26 +01:00
Borys Jurgiel
77de9fc5ce [Plugin manager] remove depreciated and unused stuff 2017-10-29 20:26:35 +01:00
Borys Jurgiel
2c53ba9a0e [Plugin manager][needs-docs] Update a tooltip to tell users they can also use file:// protocol for plugin repositories 2017-10-28 15:05:17 +02:00
Borys Jurgiel
4cde520248 [Plugin manager][needs-doc] Read a CHANGELOG file in case the relevant metadata key is empty 2017-10-27 21:01:40 +02:00
Harrissou Sant-anna
2614ca1a96 Remove trailing spacing and punctuation in ui items 2017-10-27 01:43:26 +02: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
Mario Baranzini
78af413dcc Remove python future compatibility layer 2017-08-07 10:27:15 +02:00
Nyall Dawson
b83415688a Save/restore window geometry for plugin installer repo fetching dialog 2017-07-18 13:49:03 +10: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
Denis Rouzaud
0a63d1f2c2 [spellcheck] properly look into various cases and add more fixes" 2017-01-16 16:39:20 +01:00
Denis Rouzaud
6c74e4ea5d spelling fixes 2017-01-12 22:01:50 +01:00
DelazJ
a56f928f71 Replace unicode by Unicode 2016-12-29 01:46:18 +01:00
Richard Duivenvoorde
54f312fa7f Temporarily hardcode plugins version in url ?qgis=3.0
If QGIS 3.0 is actually released this line should be removed.
2016-10-28 16:57:42 +02:00
Alessandro Pasotti
74c00be061 No need to decode a str 2016-09-27 15:48:45 +02:00
Mathieu Pellerin
eefeef573d fix a couple of python warnings (#3526) 2016-09-23 07:36:05 +02:00
Mathieu Pellerin
e7c9400b06 [plugin manager] fix broken QDirIterator next() call, make it pyqt5 5.7 compatible (#3517) 2016-09-22 09:25:32 +02:00