230 Commits

Author SHA1 Message Date
Thomas JANVIER
4aa5bc367d REF: Use PEP440 standard for version comparison 2025-02-22 07:28:38 +10:00
pre-commit-ci[bot]
b37c4f8413 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-22 07:28:38 +10:00
Thomas JANVIER
82a87520ab BUG: Better support PEP440 style plugin versions 2025-02-22 07:28:38 +10:00
notguiltyspark
0cd5ccd42a Simplified authentication configuration step during adding plugin repository process via inserting authentication selector widget directly into repository-adding dialog 2025-02-13 11:11:12 +10:00
Thomas JANVIER
0b8652f526 BUG: Support PEP440 style alpha and beta versions
Support alpha and beta version syntax from PEP440 for python plugins
see https://peps.python.org/pep-0440/
2025-01-14 11:23:51 +01:00
Even Rouault
5665665712 Fix CMake 3.31 warnings 2024-12-04 06:50:16 +10:00
Denis Rouzaud
0f032e5f2d run pre-commit on all files 2024-11-29 15:38:02 +01:00
Borys Jurgiel
00eccb460f Follow up #fa292ca7d49a50a 2024-11-12 08:36:17 +10:00
Borys Jurgiel
e1de76d763 Make plugin watchdog considering timestamp of last run. Fixes #59370 2024-11-12 08:36:17 +10:00
Nyall Dawson
9fe90fdca1 Fix new flake8 warnings 2024-08-30 05:47:31 +10:00
Matthias Kuhn
305cd60593 Copy ui files to output folder
to fix run from build dir
2024-06-30 07:43:35 +02:00
Matthias Kuhn
fd663cc021 [plugins] Remove dependency on pyuic
Eases plugin development and deployment
2024-06-22 14:34:06 +02:00
pathmapper
ba1d45e5df Fix running plugins are not restarted after updating from zip
Follow-up https://github.com/qgis/QGIS/pull/56443, fix https://github.com/qgis/QGIS/issues/56277#issuecomment-1982930532
2024-06-18 16:17:24 +10:00
Mathieu Pellerin
b0f8eed17a [plugins manager] Normalize _all_ version references 2024-03-15 16:01:00 +07:00
Even Rouault
212396c4ed Allow non-explicit supportsQt6 plugins to be installed if (developper-intended) QGIS_DISABLE_SUPPORTS_QT6_CHECK env var is set 2024-02-29 03:31:18 +10:00
Nyall Dawson
4afabb0225 Fix misleading warning after upgrading unloaded plugin 2024-02-22 16:09:10 +10:00
Nyall Dawson
4ad7924119 Fix running plugins are not restarted after upgrading
Fixes #56277
2024-02-22 16:09:10 +10:00
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