29 Commits

Author SHA1 Message Date
Denis Rouzaud
0f032e5f2d run pre-commit on all files 2024-11-29 15:38:02 +01:00
Matthias Kuhn
fd663cc021 [plugins] Remove dependency on pyuic
Eases plugin development and deployment
2024-06-22 14:34:06 +02:00
Nyall Dawson
dd2f8a9d01 Upgrade enums 2024-01-22 19:02:40 +10:00
Nyall Dawson
e42abf7dc5 Update python files 2024-01-22 05:46:15 +10:00
Nyall Dawson
c16a1e2b3d Update enums 2024-01-19 19:44:48 +10:00
Nyall Dawson
98c19b38ac Cleanup qgis.utils.home_plugin_path 2023-11-25 07:40:02 +10:00
Nyall Dawson
7925d7261e Cleanup files 2023-11-25 07:40:02 +10:00
Nyall Dawson
13bc09e706 Remove redundant "import qgis" lines from python files
These were only needed way back in the early days of qgis 3.0
transition, now they have no effect
2023-11-25 07:40:02 +10:00
olivierdalang
c924cfd1d2 [feature][plugin manager] allow to install stable or experimental 2020-03-04 18:38: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
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
Juergen E. Fischer
6dfedc38e9 translation string fixes and cleanups 2018-02-15 22:31:15 +01:00
Borys Jurgiel
3da5ab6996 [Plugin installer] Properly handle 301 Redirection 2017-12-11 21:03:44 +01:00
Alessandro Pasotti
bb36fa7f48 [bugfix] Use QgsApplication.authManager()
instead of the old singleton
2017-11-07 08:57:27 +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
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02: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
Alexander Bruy
4e904f7e6e [pluginmanager] apply auth also when downloading plugin package 2016-03-03 20:29:32 +02: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
Juergen E. Fischer
4cb37b1af2 support for python plugin directory with accents in username (fixes #2512 again) 2013-10-10 23:55:28 +02:00
Juergen E. Fischer
a39b5ab2fa plugin installer: destroy network replies (fixes #8233) 2013-07-07 21:43:48 +02:00
Borys Jurgiel
86bebab3ce [Plugin Installer] Fix #8111. Better repository error handling. 2013-06-25 21:25:38 +02:00
Borys Jurgiel
cd676e399f [Plugin Installer] Follow up 4ecf3ebd0 (use QgsNetworkManager in plugin installer) 2013-06-25 17:15:21 +02:00
Juergen E. Fischer
4ecf3ebd0b use QgsNetworkManager in plugin installer (fixes #8137) 2013-06-23 21:15:58 +02:00
Juergen E. Fischer
9bbc647c54 identation update and fix clang 3.3 warnings 2013-06-20 23:40:51 +02:00
James Tomlinson
84eb6f81f7 pyplugin_installer moved to QNetworkAccessManager from QHttp 2013-06-11 21:19:17 +01:00
Borys Jurgiel
780301c980 [PluginManager] Code cleanup: keep one class per file also in Python 2013-06-09 00:29:27 +02:00