Nyall Dawson
c64ce53425
Don't show any status bar messages for new plugins
...
We have so many plugins, and the vast majority aren't relevant
to the majority of users... it's just noise to advise when
a new plugin is released.
2022-09-09 11:56:26 +10:00
Mathieu Pellerin
637e99687c
[ui] Fix broken img within HTML labels when referring to qrc images
2022-04-19 09:04:48 +10:00
Damiano Lombardi
d9c4ace14a
Avoid python error when plugin was not found
2022-04-14 15:31:53 +10:00
Ismail Sunni
42df6455eb
Fix #46538 , fix misleading warning when uninstalling experimental plugin.
2022-02-02 08:36:52 +10:00
Germán Carrillo
6d3cec6dcf
[plugins] Minor improvement to find_dependencies: avoid two consecutive calls to updateAvailablePlugins(); add missing keys to Plugins dict in installer_data
2021-11-05 07:26:42 +11:00
Germán Carrillo
10633af446
[plugins] In dependencies dialog, make sure column Name's width is enough to show the whole plugin name
2021-11-05 07:26:42 +11:00
Germán Carrillo
f9c203cafa
[plugins] Add support for experimental dependencies
2021-11-05 07:26:42 +11:00
Germap
a0b7f14d58
Use 'with OverrideCursor(Qt.WaitCursor)' block in installer.py
2021-09-10 19:17:17 -05:00
Germap
d8f02f98c6
Set wait cursor while installing plugin from ZIP
2021-09-10 16:52:29 -05:00
Germán Carrillo
c1dcb2c717
Plugin dependencies followup: load dependent plugins after their dependencies on QGIS startup
2021-09-07 09:07:50 +10:00
Germán Carrillo
a31af8b77a
In installFromZipFile(), if plugin was active, no need to call startPlugin() before reloading it. This commit makes installFromZipFile() act like installPlugin().
2021-08-24 12:37:42 +10:00
Germán Carrillo
926a1b6100
In uninstallPlugin(), remove plugin's QSetting (inside group 'PythonPlugins'), which says if a plugin is available
2021-08-24 12:37:42 +10:00
Nyall Dawson
22cc4da6e9
Update python/pyplugin_installer/installer_data.py
...
Co-authored-by: nicogodet <39594821+nicogodet@users.noreply.github.com>
2021-06-02 07:12:51 +10:00
Nyall Dawson
00c7232f1c
Fix typehint
2021-06-02 07:12:51 +10:00
Nyall Dawson
154c7f0196
Some minor cleanups to pyplugin_installer.py
...
- add some type hints
- remove unnecessary comment lines
- replace raw ints with descriptive enum values
2021-06-02 07:12:51 +10:00
Denis Rouzaud
da08c8a435
[cmake] generalize Python output directory in UseTest macro ( #43191 )
...
* [cmake] generalize Python output directory in UseTest macro
this is helpful in case we set up another python output directory (eg PySide2)
* define python output directories to the parent scope
* try with target_include_directories
* define vars on top level
* Update UsePythonTest.cmake
* some cleanup
* more cleanup
* fix uic
* fix path for all platforms
* fix var
2021-05-13 07:32:03 +02:00
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
Denis Rouzaud
eddf6feb45
modernize CMakeLists.txt files
2020-11-12 07:14:46 +10: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
Juergen E. Fischer
b1edb5e70c
test_defwindowtitle.sh: also check Dialog
2020-05-16 20:55:59 +02:00
Nyall Dawson
b6a7a10703
Fix some more python formatting issues, remove more flake exceptions
2020-05-11 11:41:50 +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
Borys Jurgiel
ffb38e8a32
Revert 5c1cc4a40d84. I wasn't aware dashes in plugin directory names have been authorized at some point and we have a number of affected plugins now (please note personally I am opposed to putting dashes to Python package names). Fixes #32968 .
2019-11-21 04:54:39 +10:00
Borys Jurgiel
5c1cc4a40d
[Plugin installer] properly handle zip file names with a dash as a version suffix separator
2019-10-04 22:17:51 +02:00
Borys Jurgiel
1aa102815c
[Plugin Installer] Only force http icon protocol for http-based repositories. Fixes #31783
2019-09-16 08:30:47 +02: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
Denis Rouzaud
1dc7b2f6ed
allow to follow redirect for custom plugin repo url ( #30869 )
2019-07-23 12:53:33 +02:00
Bas Couwenberg
2628c480c5
Don't include revision in sources.
...
Prevent changes to files that weren't changed between releases.
This eases review of the changes between releases significantly.
2019-05-17 16:47:47 +02:00
Alessandro Pasotti
46a4435e65
Use a function to access plugins_metadata_parser global object
2019-05-10 10:21:05 +02:00
Alessandro Pasotti
0b3043fc75
Fix plugin dependencies
2019-05-09 13:53:42 +02:00
Juergen E. Fischer
40c790f5d9
fix 3d7c711db (refs #21872 )
2019-04-17 23:56:31 +02:00
Juergen E. Fischer
3d7c711db0
fix #21872 (refs #21774 ; partly reverts e57d1e06f0 and 507e327c0c)
...
src/python/qgspythonutilsimpl.cpp:596 produces "lost sys.stdout" when
qgis.utils.updateAvailablePlugins() returns.
2019-04-17 22:30:01 +02:00
Alessandro Pasotti
507e327c0c
Handle broken plugins when searching for dependencies
2019-04-12 14:38:52 +02:00
Alessandro Pasotti
e57d1e06f0
Fix plugin loading from zip (dependencies followup)
2019-04-09 15:21:09 +02:00
Juergen E. Fischer
eabf56bfb3
fix #21774
2019-04-05 01:15:16 +02:00
Alessandro Pasotti
2a10c3fcef
Add missing lib plugindependencies.py
2019-03-25 10:38:16 +01:00
Alessandro Pasotti
c6c3d0971a
Fix typo and do not spellcheck the json plugins testdata
2019-03-25 10:04:31 +01:00
Alessandro Pasotti
8e40481284
Minor changes in file header, stretch last column in deps table
2019-03-25 09:01:13 +01: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
Mathieu Pellerin
3057fd61b0
[plugin manager] Dont disconnect overall finished signal
2019-03-09 18:45:30 +07: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
Juergen E. Fischer
9ad01cf9ba
replace three dots with ellipsises in translation strings
2018-10-27 19:06:37 +02:00
Borys Jurgiel
b7673c7616
[Plugin Manager] Fix plugin status checkbox not refreshed after installing from zip
2018-10-16 23:06:13 +02:00
Nyall Dawson
ff90c13b3a
Capitalization
2018-10-11 09:04:55 +10:00
Borys Jurgiel
9bd532faf6
Use QgsPasswordLineEdit for zip file pasword prompt.
2018-09-14 00:09:57 +02:00