Nyall Dawson
1cb1051528
Simplify code, make PyQt6 compatible
2024-01-28 13:33:23 +10:00
Nyall Dawson
8c52728faf
Remove server side filtering
2024-01-25 09:17:51 +10:00
Nyall Dawson
e90cb8c42d
Don't try to load plugins which aren't compatible with qt 6
...
Add a plugin metadata key for "supports_qt6". Plugins which can
safely be loaded in QGIS builds based on Qt6 can set
supportsQt6=yes
in their metadata.txt to advertise that they are safe to load
on Qt 6 builds
2024-01-25 09:17:51 +10: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
5ef1dcee64
Manually fix enum deprecated in qt5.9
2024-01-19 19:44:48 +10:00
Nyall Dawson
f8ad0d5f52
Manually fix an enum
2024-01-19 19:44:48 +10:00
Thomas Baumann @work
50b8842895
Update installer_data.py
...
update to handle (temporary) empty repositories
2023-12-20 15:15:39 +01: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
Alexander Bruy
fc3e3953a9
unload active plugin before updating or reinstalling it ( fix #54968 )
2023-10-21 10:58:45 +13:00
Etienne Trimaille
54438f76b6
Minor review of the Python code in the QGIS plugin manager
2023-08-04 08:25:48 +10:00
pathmapper
5fee930371
Fix plugin voting from within plugin manager
...
Update URL, check reply status code and use blockingPost to be able to handle redirects.
2023-07-25 05:05:29 +10:00
Borys Jurgiel
43d152802c
[Plugin installer] Don't show wait cursor when fetching repositories
2023-04-22 17:41:32 +02:00
Denis Rouzaud
8dc67afdf3
allow full access from Python
2023-02-19 07:19:17 +01:00
Denis Rouzaud
4759610ddd
[settings] use dedicated category for plugin manager
2023-02-19 07:19:17 +01:00
Denis Rouzaud
91effce867
fix import
2023-02-03 09:05:37 +01:00
Denis Rouzaud
34eb0826c3
change QgsSettings to QgsSettingsTree in code base
2023-02-03 09:05:37 +01:00
Denis Rouzaud
7d628998d5
follow-up rename QgsSettingsTreeElement to QgsSettingsTreeNode
2023-01-30 10:03:39 +10:00
Denis Rouzaud
166ad00f6c
avoid overriding method in subclass
2023-01-16 09:00:52 +01:00
Denis Rouzaud
5be8887187
fix tests
2023-01-16 09:00:52 +01:00
Denis Rouzaud
80e3f35e88
migrate plugin manager settings and replace settings in app
2023-01-16 09:00:52 +01:00
Matthias Kuhn
f591542ffe
Merge pull request #50740 from DelazJ/txIssues
2022-12-17 08:37:12 +01:00
Harrissou Sant-anna
d6b5b070d8
Remove unicode string notifier from python files
2022-12-11 08:58:21 +01:00
Andrea Giudiceandrea
32572b03aa
[plugin manager] Fix metadata parsing language
...
Use QGIS user interface language instead of system language
2022-12-01 18:00:56 +01:00
Harrissou Sant-anna
6a4684b94d
Solve misc issues reported in Transifex
2022-10-30 09:20:33 +01:00
Etienne Trimaille
bf4496437e
UX - Switch from level info to level success when appropriate
2022-10-29 09:57:24 +10:00
Nyall Dawson
094cd30650
Move plugins "automatically check for updates" settings key to
...
a new key
This change moves the old "app/plugin_installer/checkOnStart" setting
key to a new "plugins/automatically-check-for-updates" key, and
switches the default value to enable automatic checks
This is designed to switch all existing QGIS users to the new
default behavior of checking for plugin updates at startup (at
a maximum of once every 3 days).
It is intended to offer a better QGIS experience to our users,
by proactively informing all users when plugins should be
updated, ensuring that ALL users are more likely to upgrade
plugins and get the bug fixes for plugins promptly.
Enterprise users who have customised this setting in their
deployments will need to adapt their scripts for the new
setting key.
2022-09-16 18:11:47 +10:00
Nyall Dawson
9e12c70f21
Remove option to control plugin update check frequency, and hardcode
...
to every 3 days
This level of configuration is not warranted here
2022-09-16 18:11:47 +10:00
Nyall Dawson
9c4d0a2064
[plugins] Default to checking for plugin updates every 3 days
...
instead of manually
Too many QGIS users use outdated plugins without even realising it,
leading to an overall buggier QGIS experience then they should have...
2022-09-15 14:40:22 +10:00
Nyall Dawson
f2534f01ed
Use message bar to show notifications when plugin updates are available
...
This is a more standard, more visible place to advise users of
these updates
2022-09-09 11:56:26 +10:00
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