24553 Commits

Author SHA1 Message Date
qgis-bot
96b09f244d auto sipify 🍺 2025-02-07 02:28:08 +00:00
Julien Cabieces
c5dee65d0f fix(RuleBasedRendering): keep rule key while cloning when needed
rule key is used by other object as reference (masking for instance)

Fixes #46402
2025-02-07 12:25:19 +10:00
Hannes
b7bd622523 Fix QgsError.isEmpty() documentation
The method checks if there is an empty message list. It will actually return `TRUE` if there is *no* error message and `FALSE` if there *is* an error.
2025-02-07 12:24:59 +10:00
qgis-bot
a4ccbb07a8 auto sipify 🍺 2025-02-07 00:26:40 +00:00
Jean Felder
a46f3e9752 postprocessing: Use QgsLayerTreeRegistryBridge to add layers
When a profile tool is already opened, the output of a procssing is
not added to its layer tree. This is because it relies on a
`QgsLayerTreeRegistryBridge`. Indeed, `QgsLayerTreeRegistryBridge`
listens to the `QgsProject::legendLayersAdded()` signal in order to
update the elevation profile tree view. However this signal is not
triggered by the current logic in `Postprocessing.py`because
`QgsProject::addMaplayer` is called with `addToLegend` set to
False. Then, the layer is added to the tree by calling
`QgsLayerTreeGroup::insertChildNode`.

This issue is fixed by creating a
`QgsLayerTreeRegistryBridge::InsertionPoint` to set the insertion
point and then calling `QgsProject::addMaplayer` with `addToLegend`
set to True.
2025-02-07 10:22:53 +10:00
Jean Felder
bd4eb2f2cf qgslayertreeregistrybridge: Add a layerInsertionPoint getter 2025-02-07 10:22:53 +10:00
Alexander Bruy
6b4ffb39a8
Merge pull request #60480 from alexbruy/processing-script-editor-typos
add missed import and fix getThemeIcon() call (follow-up #60261)
2025-02-06 12:10:34 +00:00
Alexander Bruy
b6d1d7e8d6 add missed import and fix getThemeIcon() call (follow-up #60261) 2025-02-06 09:54:48 +00:00
qgis-bot
d4526d748f auto sipify 🍺 2025-02-06 09:24:44 +00:00
Loïc Bartoletti
79e4ccbe16 fix(QgsMapToolCapture): Allow snapping point with different crs 2025-02-06 19:21:50 +10:00
qgis-bot
32881f55aa auto sipify 🍺 2025-02-05 23:18:35 +00:00
Nyall Dawson
8a0bb7f0fa On systems with keychain support, automatically just create a random
master authentication password and store in keychain

This avoids the need for users to manually create a pw, and makes
things MUCH nicer for plugins which want to utilise the secure
authentication framework.

Right now the options for plugins are:
1. Create a auto generated password themselves and force it on
the user (basically what we are doing here automatically now)
2. Show a confusing/scary message to users asking them to set
a master password. From my experience users have NO idea what
this means and consider it a QGIS bug.
2025-02-06 09:15:43 +10:00
qgis-bot
e32f996094 auto sipify 🍺 2025-02-05 22:40:01 +00:00
Alexander Bruy
2fd017500b restore default scalebar style only if fill symbol is invisible 2025-02-06 08:37:09 +10:00
Alexander Bruy
1f7d1ad3d0 restore fill brush when switching back to single and double box scalebar
(fix #37413)
2025-02-06 08:37:09 +10:00
qgis-bot
33aad3ef38 auto sipify 🍺 2025-02-05 18:41:06 +00:00
Nyall Dawson
431bf62fae Cleanup memory management in paint effects
Don't use raw pointers, memory allocation
2025-02-06 04:38:13 +10:00
qgis-bot
aa8c16895d auto sipify 🍺 2025-02-05 15:16:47 +00:00
Alessandro Pasotti
e381be985b
Merge pull request #60441 from nyalldawson/auth_manager_ux_tweaks
Auth manager ux tweaks
2025-02-05 16:13:50 +01:00
Alexander Bruy
e7d22c7e7c always return "main" label for main annotation layer 2025-02-05 20:54:06 +10:00
qgis-bot
6b3d6c843f auto sipify 🍺 2025-02-05 08:46:22 +00:00
Nyall Dawson
f705bad517 [sensorthings] Hide proxy fields for interval fields in filter builder
These don't exist on the backend, so just hide them from the builder
dialog to avoid user confusion.

(Note that it's impossible to show the actual non-proxy fields
here, as we can ONLY show fields with types compatible with native
QGIS field types in this dialog)

Fixes #59528
2025-02-05 18:43:13 +10:00
qgis-bot
e021958e99 auto sipify 🍺 2025-02-05 04:47:39 +00:00
Nyall Dawson
20972fceed More fixes for use of inline data for SVG content
Followup https://github.com/qgis/QGIS/pull/59589

Fixes #60427
2025-02-05 14:44:50 +10:00
qgis-bot
b676079373 auto sipify 🍺 2025-02-05 04:21:13 +00:00
Nyall Dawson
d26104f31f Fix potential crashes when layer tree insertion target group is deleted 2025-02-05 14:18:25 +10:00
qgis-bot
997a59109c auto sipify 🍺 2025-02-04 23:51:06 +00:00
Julien Cabieces
ed11cc6951 design(MaskSymbolLayer): add clearMasks only in mask symbol layer 2025-02-05 09:48:12 +10:00
Julien Cabieces
87ffd09aff fix(CategorizedRenderer): reset mask information on source symbol
Both symbol layer ids and masks need to be removed from symbol
layers which can be inherited from a converted renderer
2025-02-05 09:48:12 +10:00
Andrea Giudiceandrea
cc53e8a6ef [processing][gui] Fix InterpolationDataWidget
Fix initialisation of "Use Z-coordinate for interpolation" checkbox
2025-02-05 09:30:15 +10:00
Nyall Dawson
cbee8326ca
Can't use SIP_DEPRECATED with non-methods 2025-02-05 09:11:18 +10:00
Nyall Dawson
db7b9afb6b
Use translated string for password helper
And fix capitalisation of strings
2025-02-05 08:26:32 +10:00
qgis-bot
638e6a9011 auto sipify 🍺 2025-02-04 20:17:58 +00:00
Nyall Dawson
be08c2521b Don't transform 2d bounding boxes when geocentric crs involved
This is meaningless and will give a misleading/useless result,
so raise a descriptive QgsCsException instead.
2025-02-05 06:15:05 +10:00
Nyall Dawson
fa1bae1a4f Adapt tests for proj 8.2 results 2025-02-05 06:15:05 +10:00
qgis-bot
0459679c4b auto sipify 🍺 2025-02-04 01:07:52 +00:00
PatrikSylve
12a2079225
Ensure consistent label positioning by sorting rule based label providers 2025-02-04 11:04:57 +10:00
qgis-bot
f51d66d69d auto sipify 🍺 2025-02-03 22:28:34 +00:00
Even Rouault
b63d11ea0d Apply suggestions from code review 2025-02-04 08:24:35 +10:00
Even Rouault
597a945995 Apply suggestions from code review
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
2025-02-04 08:24:35 +10:00
Nyall Dawson
d4c592e6d0 Move provider-specific credential redaction logic to QgsProviderMetadata
Followup 1907ab3
2025-02-04 08:24:35 +10:00
qgis-bot
775c2070a7 auto sipify 🍺 2025-02-02 22:08:07 +00:00
Even Rouault
1907ab32fe QgsMapLayer::publicSource(): make it redact/remove GDAL credentials
Fixes #60292
2025-02-03 08:05:17 +10:00
qgis-bot
f24a5c44b8 auto sipify 🍺 2025-02-02 21:54:44 +00:00
Even Rouault
530eb4bc2f Test and code adjustments related to MIME type serialization for PointCloudLayer going from 'pointcloud' to 'point-cloud' 2025-02-03 07:51:53 +10:00
Even Rouault
47a72b4056 Limit number of hardcoded strings for layer type by leveraging QgsMapLayerFactory::typeToString() 2025-02-03 07:51:53 +10:00
qgis-bot
65670a5e93 auto sipify 🍺 2025-01-31 07:14:22 +00:00
Nyall Dawson
4a3f5d5d5c [sensorthings] Remove option for basic authentication
This is not supported by the provider, only authentication config
is supported

Fixes #59721
2025-01-31 17:11:29 +10:00
qgis-bot
91c4e96f66 auto sipify 🍺 2025-01-30 20:58:30 +00:00
Nyall Dawson
8c99b4c39c Remove dead code from PROJ <8.1 2025-01-31 06:55:32 +10:00