75 Commits

Author SHA1 Message Date
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
77de9fc5ce [Plugin manager] remove depreciated and unused stuff 2017-10-29 20:26:35 +01: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
Mario Baranzini
78af413dcc Remove python future compatibility layer 2017-08-07 10:27:15 +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
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
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
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
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Matthias Kuhn
bb79d13e82 Remove deprecated Qgis::WKBType and API cleanup (#3325)
* Remove deprecated Qgis::WKBType and API cleanup

Renames QgsWKBTypes to QgsWkbTypes

Replaces usage of the enums:

* Qgis::WKBType with QgsWkbTypes::Type
* Qgis::GeometryType with QgsWkbTypes::GeometryType

Their values should be forward compatible (a fact that was already
explited up to now by casting between the types)

Renames some SSLxxx to SslXxx and URIxxx to UriXxx

* Fix build warnings and simplify type handling

* Add a fixer to rewrite imports

* The forgotten rebase conflictThe forgotten rebase conflicts

* QgsDataSourcURI > QgsDataSourceUri

* QgsWKBTypes > QgsWkbTypes

* Qgis.WKBGeom > QgsWkbTypes.Geom

* Further python fixes

* Guess what... Qgis::wkbDimensions != QgsWkbTypes::wkbDimensions

* Fix tests

* Python 3 updates

* [travis] pull request caching cannot be disabled

so at least use it in r/w mode

* Fix python3 print in plugins
2016-08-04 09:10:08 +02:00
Alexander Bruy
156c09880b [plugin manager] mark installed plugins as trusted (fix #15338) 2016-07-25 20:24:12 +03:00
Nyall Dawson
1a2231f10c Rename QGis class to Qgis, for capitalisation consistency 2016-07-21 22:01:38 +10: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
Matthias Kuhn
48943d44f6 Prefer usage of https:// over http:// 2016-04-04 11:08:23 +02:00
Matthias Kuhn
e133b42896 Enable console with Python3 / PyQt5 2016-03-29 08:20:43 +02:00
Juergen E. Fischer
06f995316e plugin installer: switch to pyqt wrappers 2016-03-21 17:00:25 +01:00
Juergen E. Fischer
fb3fcfa3a0 Python3/Qt5/2to3 updates:
* pyqtwrappers update (add QtNetwork, QtXml, QtSql, QtTest, uic)
* 2to3 updates
* move QPyNullVariant/NULL to PyQt.QtCore
* add global unicode/basestring/long for Python3
* expand QtGui, QtCore module and star exports
* Qscintilla2
* replace Set import with set builtin
2016-03-14 20:38:20 +01:00
Matthias Kuhn
30910df388 Partially revert fa40e78
It failed to load functional plugins also
2016-02-15 12:51:53 +01:00
Matthias Kuhn
fa40e78f60 [Plugins] disable plugins which crash on load 2016-02-15 10:23:39 +01:00
Nyall Dawson
cbe8cb7282 Formatting update, using newer autopep8 version 2016-01-30 09:33:24 +11: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
Martin Dobias
7bdc9c1939 Do not mark python plugins as broken in plugin installer when having dash in the name
Although plugin with a dash in the name is not a correct python package name,
the qgis python support recognizes them as valid plugins - so let's have the same
behavior in the installer.
2015-03-24 16:57:40 +07: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
88e8f9d6b6 [Plugin Installer] More robust xml parsing: fix lonely ampersands. Fixes #9524 2014-02-18 17:01:41 +01: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
81374eb520 [Plugin Installer] Better error handling for parsing metadata 2013-09-13 16:26:10 +00:00
Alexander Bruy
6d5df7cb25 [FEATURE] add option to show/hide deprecated plugins in plugin manager 2013-09-13 12:10:16 +03: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
Borys Jurgiel
b9c9ec440b [Plugin Installer] Don't forget about plugins in QGIS-PLUGINPATH env variable. Fix #8376 2013-07-30 17:31:25 +02:00
Borys Jurgiel
edf32f939b Follow up commit:7a7e54270 2013-07-15 17:23:53 +02:00
Borys Jurgiel
7a7e542706 [Plugin Installer] Handle all exception types when loading plugins. Fixes #8295. Breaks string freeze because it's a critical fix. 2013-07-15 16:34:21 +02:00
Borys Jurgiel
682a89c957 [Plugin Installer] Fixes #8244 (crash on closing http request) 2013-07-09 17:39:05 +02:00
Juergen E. Fischer
a39b5ab2fa plugin installer: destroy network replies (fixes #8233) 2013-07-07 21:43:48 +02:00
Borys Jurgiel
7f99708c17 [Plugin Installer] Only test not loaded Python plugins when (re)building metadata registry. Loaded plugins prove they are ok just being loaded. It prevents possible bugs when already loaded plugin is imported again. 2013-06-27 21:55:54 +02:00
Borys Jurgiel
619558dabc [Plugin Installer] Fix #8080 2013-06-26 00:20:39 +02:00
Borys Jurgiel
0485aa0fb4 follow up 86bebab3ce 2013-06-25 23:56:03 +02:00