23138 Commits

Author SHA1 Message Date
Jacky Volpes
fdc64b79a0 Sipify 2024-02-28 12:34:26 +10:00
Jacky Volpes
a137a459a8 Remove expression evaluation in layout legend widget 2024-02-28 12:34:26 +10:00
Nyall Dawson
150543c6f1 Remove resources.qrc 2024-02-28 11:23:47 +10:00
Nyall Dawson
b45f68274c Remove another compiled icon use 2024-02-28 11:23:47 +10:00
Nyall Dawson
b369f1e1b0 Port dbmanager away from compiled resources
These are not recommended, and removed in PyQt6
2024-02-28 11:23:47 +10:00
Nyall Dawson
86eb5daf9e Remove unused class 2024-02-28 11:23:47 +10:00
Nyall Dawson
ebea330398 Add data provider flags for FastExtent2D/FastExtent3D
These flags reflect that retrieval of the provider's 2D or 3D extent
retrieval via QgsDataProvider::extent()/extent3D() are ALWAYS guaranteed
to be trivial/fast to calculate and involve absolutely no extra work.
2024-02-28 06:04:50 +10:00
Even Rouault
f36caa7274 [Qt6] Fix crash with Python on QgsLocatorResult::userData (fixes #56456) 2024-02-28 06:04:20 +10:00
Nyall Dawson
8c15083f14 Remove unnecessary compatibility code 2024-02-27 12:26:12 +10:00
Nyall Dawson
12dd3b293c [feature] Add layer tree filter for "Show Broken Layers Only"
When checked, only layers with broken sources will be shown in the
tree. This allows users to easily find broken layers in large complex
projects, where they may otherwise escape notice!
2024-02-27 10:15:26 +10:00
Mathieu Pellerin
c32c5a31ec
Merge pull request #56527 from nirvn/sts
[network logger] Insure the actual request URL is properly reflected in the logger
2024-02-27 04:47:15 +07:00
Nyall Dawson
ec1b4f822a QVariant.Type, Qt.ItemFlag and Qt.CheckState need to be int compatible
For reasons(?) these aren't IntEnums/IntFlags on PyQt6, but we need
them to be int compatible for compatibility with PyQt5 code
2024-02-26 17:37:31 +01:00
Mathieu Pellerin
f2d70de878 Address review 2024-02-26 11:43:23 +07:00
Mathieu Pellerin
e79bd538b6 [network logger] Insure the actual request URL is properly reflected in the logger 2024-02-26 11:05:12 +07:00
rldhont
55bc8b53c8
Merge pull request #56483 from rldhont/server-plugin-filter-onprojectready
Server: onProjectReady method for filter plugin
2024-02-23 13:27:53 +01:00
Alessandro Pasotti
db37ff8fc9
Merge pull request #56334 from elpaso/bugfix-gh55532-line-break-in-html-labels
[labeling] fix BR in HTML labels
2024-02-23 09:28:08 +01:00
rldhont
9c2f0a7bd9 Server: onProjectReady method for filter plugin
The `onProjectReady` method is called after the `QgsProject` instance is ready for the request and before entering the main switch for core services.

The `onRequestReady` method is called after the `QgsRequestHandler` is ready and populated with parameters but before the `QgsProject` instance is ready.

The `onProjectReady` method coud be used to perform operation at the project level like adding variables, checking vector layer categories, etc.

Funded by 3Liz
2024-02-23 09:25:35 +01:00
Nyall Dawson
58e31ad3c0
Revert "Restore default metadata from DB" 2024-02-23 09:12:26 +10:00
Thomas Bonfort
42f8b56745 Avoid error when plugin loaded with QGIS_NO_OVERRIDE_IMPORT 2024-02-23 08:54:14 +10:00
Nyall Dawson
ed43556c93 Don't show misleading null in variant warnings when converting objects
for Python

This isn't something we are doing wrong, it's how sip handles these
objects.
2024-02-23 05:41:22 +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
Mathieu Pellerin
c3287126d5 [ui][db manager] Insure the information views are friendly to dark themes 2024-02-22 16:08:47 +10:00
Nyall Dawson
7d0d81f373 Add setters for QgsWeakRelation layer sources 2024-02-21 12:31:15 +10:00
Nyall Dawson
f1d762eba7 Update python/plugins/processing/gui/BatchPanel.py
Co-authored-by: Nicolas Godet <39594821+nicogodet@users.noreply.github.com>
2024-02-21 08:11:58 +10:00
Nyall Dawson
ece5d30a0b Ensure correct context is used when determining parameters for row
Fixes #56132
2024-02-21 08:11:58 +10:00
Nyall Dawson
496fd18e55 Add typehints 2024-02-21 08:11:58 +10:00
Nyall Dawson
def984cd4f Cleanup code, only run checks when warnOnInvalid is True
Refs #56132
2024-02-21 08:11:58 +10:00
Alessandro Pasotti
1850b9b2e6
Merge pull request #55924 from elpaso/bugfix-gh55726-restore-default-metadata
Restore default metadata from DB
2024-02-20 18:14:51 +01:00
Even Rouault
ca336f7810
Merge pull request #55847 from rouault/wfs_complex_content
[WFS provider] Handle documents with Complex Feature schemas (using OGR GMLAS driver), and JSON'ify content of complex properties
2024-02-20 09:32:58 +01:00
Even Rouault
c331244989 [Vector file writer] Save source field domains to output file (fixes #56184) 2024-02-20 10:24:47 +10:00
Even Rouault
c61231f67f
[WFS provider] Change feature paging enabled option to be tri-state (default, enabled, disabled), to allow a user to effectively override server capabilities 2024-02-19 20:09:14 +01:00
Even Rouault
be57a36ffd
QgsOgcUtils: take into account properties with a complex XPath 2024-02-19 18:53:34 +01:00
Even Rouault
0108743033
QgsGmlStreamingParser: take into account complexContent and JSON'ify it 2024-02-19 18:53:33 +01:00
Even Rouault
d26b498192
Merge pull request #56223 from rouault/remove_obsolete_since
Remove obsolete "since QGIS 1.x/2.x/3.0" mentions
2024-02-19 14:52:21 +01:00
Even Rouault
d6d4802685
Remove obsolete since 1.x 2024-02-19 11:35:09 +01:00
Even Rouault
f3ef66d073
Header files: remove all mentions of '\since QGIS 3.0' 2024-02-19 11:35:07 +01:00
Vytax
88ac2056a3
ArcGIS URL's with web proxy prefix support
Support of the ArcGIS server links with WEB Proxy prefixes
2024-02-19 15:15:55 +10:00
pathmapper
cc6ed07454 More unit docs for QGIS_SERVER_PROJECT_CACHE_CHECK_INTERVAL
ref https://github.com/qgis/QGIS/pull/56213#issuecomment-1930853774
2024-02-19 08:43:34 +10:00
Nyall Dawson
da594b18f5 Add python __repr__ for QgsInterval 2024-02-19 07:36:08 +10:00
Even Rouault
d72e2cc0ac
Add \deprecated 2024-02-18 20:57:23 +01:00
Even Rouault
844e2a953f
Add missing parameter documentation 2024-02-18 20:57:23 +01:00
Even Rouault
15ea5c46bc
Header files: remove all mentions of '\since QGIS 3.0' 2024-02-18 20:57:23 +01:00
Even Rouault
02caeb9db7
Header files: remove all mentions of '\since QGIS 2.' 2024-02-18 20:46:01 +01:00
Even Rouault
a5c8f01003
Header files: remove all mentions of '\since QGIS 1.' 2024-02-18 20:46:00 +01:00
Andrea Giudiceandrea
42f3a60743 Apply suggestions from code review 2024-02-18 06:52:52 +10:00
Andrea Giudiceandrea
5eb58df57e Fix typo 2024-02-18 06:52:52 +10:00
Andrea Giudiceandrea
dbdf35be77 gdal:fillnodata Skip testing NO_MASK parameter if GDAL >= 3.4.0 2024-02-18 06:52:52 +10:00
Andrea Giudiceandrea
3945c73b84 Rise an exception instead of an info message 2024-02-18 06:52:52 +10:00
Andrea Giudiceandrea
5a721c47c0 [processing] Fix GDAL "Fill NoData" algorithm
The gdal_fillnodata.py -nomask option is no longer supported since GDAL 3.4.0
2024-02-18 06:52:52 +10:00