23878 Commits

Author SHA1 Message Date
Alessandro Pasotti
987c38eda6
[auth][api] QgsAuthConfigurationStorage classes and tests (#57992)
Implementation of QEP 
Authentication System: allow Database storage for authentication DB
https://github.com/qgis/QGIS-Enhancement-Proposals/issues/248
2024-09-12 09:18:15 +02:00
Nyall Dawson
059a37f87d
Fix struct attributes descriptions missing from PyQGIS docs (#58672)
Fixes https://github.com/qgis/pyqgis-api-docs-builder/issues/177
2024-09-12 07:12:52 +02:00
qgis-bot
10b16ab9ac auto sipify 🍺 2024-09-12 01:15:26 +00:00
Mathieu Pellerin
73ab085bbc
Merge pull request #58584 from nirvn/processing_openstreetmap_policy
Further safeguards from (perceived or actual) bulk download of OpenStreetMap tiles
2024-09-12 08:12:17 +07:00
qgis-bot
8448cf8e90 auto sipify 🍺 2024-09-11 22:37:25 +00:00
Mathieu Pellerin
83e53cb09a Address comment, fix crash seen on Qt6 CI 2024-09-12 08:34:13 +10:00
Mathieu Pellerin
5bcc310768 Address review 2024-09-12 08:34:13 +10:00
Mathieu Pellerin
48b98def64 [geos] Add mechanism for empty interior rings to be skipped 2024-09-12 08:34:13 +10:00
Nyall Dawson
c85589e52a Fix malformed docs for register_function, qgsfunction 2024-09-11 08:51:05 +02:00
qgis-bot
89c27fee8d auto sipify 🍺 2024-09-11 03:46:06 +00:00
Nyall Dawson
5734116a10 Support h1/h2/.../h6 formatting in html labels 2024-09-11 13:43:00 +10:00
qgis-bot
87692cd20a auto sipify 🍺 2024-09-10 22:27:51 +00:00
Nyall Dawson
90524634f9 [feature] Add support for word-spacing CSS in html labels
...and other places HTML text formatting is accepted.

This allows use of CSS "word-spacing: 12" to increase the word
spacing in a section of HTML text. The word spacing is always
treated as being in point units.
2024-09-11 08:24:39 +10:00
Andrea Giudiceandrea
5a70c3c1b4 [processing][grass] Make some strings translatable 2024-09-11 05:59:12 +10:00
qgis-bot
2861ba89f6 auto sipify 🍺 2024-09-10 16:09:57 +00:00
Nyall Dawson
569da98cd8 If a rule is not available on the system (eg geos too old):
- grey out the rule in the rules list
- show an explanatory tooltip
- don't allow users to create copies of that rule
2024-09-11 02:06:41 +10:00
Nyall Dawson
15ed38644b Sipify 2024-09-11 02:06:41 +10:00
Nyall Dawson
6c2055fc1e Generate user-friendly tooltips 2024-09-11 02:06:41 +10:00
Nyall Dawson
2d3e6aac43 Allow labeling rules to be de-activated 2024-09-11 02:06:41 +10:00
Nyall Dawson
3ec7665fec Add gui for configuring project advanced labeling rules 2024-09-11 02:06:41 +10:00
Nyall Dawson
98bd60e4ba Add __repr__ 2024-09-11 02:06:41 +10:00
Nyall Dawson
940949cbf9 Rules can have user-configurable names 2024-09-11 02:06:41 +10:00
Nyall Dawson
538cec5970 Fix seealso 2024-09-11 02:06:41 +10:00
Nyall Dawson
15a7079a39 [api] Implementation of labeling engine rules
See https://github.com/qgis/QGIS-Enhancement-Proposals/issues/299

Implements the API framework for setting advanced labeling engine
rules for a project, and implements 4 initial rule types:

- QgsLabelingEngineRuleMinimumDistanceLabelToFeature: prevents labels
  being placed too *close* to features from a different layer
- QgsLabelingEngineRuleMaximumDistanceLabelToFeature: prevents labels
  being placed too *far* from features from a different layer
- QgsLabelingEngineRuleMinimumDistanceLabelToLabel: prevents labels
  being placed too close to labels from a different layer
- QgsLabelingEngineRuleAvoidLabelOverlapWithFeature: prevents labels
  being placed overlapping features from a different layer

(note that the first 3 rules require a build based on GEOS >= 3.10,
they are not available for older GEOS builds)

Also implements a registry for storing available rule classes,
and serialization of rules and configuration in QGIS projects
2024-09-11 02:06:41 +10:00
qgis-bot
8db3ed6de5 auto sipify 🍺 2024-09-10 08:36:19 +00:00
Nyall Dawson
391b61544e
Handle SIP_OUT with void functions 2024-09-10 11:46:47 +10:00
Nyall Dawson
b39f760cbc
Correctly handle multiline SIP_OUT param documentation 2024-09-10 11:11:25 +10:00
Jeroen Ticheler
99e9d57dfd
Update search_backend.py (#58621)
Change the request parameter name to offset
2024-09-09 15:03:21 -04:00
Nyall Dawson
f21722a0f1 [sipify] Minor cleanup to auto additions
Condense injections into a single block instead of multiple
separate blocks
2024-09-09 16:56:29 +10:00
qgis-bot
ed15dacef9 auto sipify 🍺 2024-09-09 04:19:31 +00:00
Loïc Bartoletti
dc65b077aa PostgreSQL: Add new geometry types
Allow PolyhedralSurface and TIN in PostgreSQL table.
Add a new GeometryColumnType and Capabilities : Surfaces.
2024-09-09 06:16:25 +02:00
Jean Felder
f43e5ad17c geometry: Add triangulatedsurface support 2024-09-09 06:16:25 +02:00
Jean Felder
3d070316eb qgis: Add support for TIN type 2024-09-09 06:16:25 +02:00
Jean Felder
59e12d50ae qgsgeometry: Use QgsPolyhedralSurface in fromBox3D 2024-09-09 06:16:25 +02:00
Jean Felder
371eca55e8 geometry: Add polyhedralsurface support 2024-09-09 06:16:25 +02:00
Jean Felder
3295d7e803 qgis: Add support for polyhedralsurface type 2024-09-09 06:16:25 +02:00
Jean Felder
e99d4d2306 qgssurface: Do not define surfaceToPolygon
`surfaceToPolygon` is only useful for `QgsCurvePolygon` which inherits
from `QgsSurface`. The next commit will introduce
`QgsPolyhedralSurface` which also inherits from `QgsSurface`. For
`QgsPolyhedralSurface`, it does not make sense to have
`surfaceToPolygon`.

By moving `surfaceToPolygon` definition in `QgsCurvePolygon` this
allows to keep the functionality.
2024-09-09 06:16:25 +02:00
qgis-bot
647f2991df auto sipify 🍺 2024-09-08 06:09:29 +00:00
Nyall Dawson
38af55cb85 Add missing docs 2024-09-08 16:06:22 +10:00
Nyall Dawson
cfd251e7f7 Capture signal arguments 2024-09-08 16:06:22 +10:00
Mathieu Pellerin
7fa383dc06 Address review 2024-09-06 14:57:05 +07:00
qgis-bot
36ebb12334 auto sipify 🍺 2024-09-05 06:53:26 +00:00
Mathieu Pellerin
ef39464f8a
Merge pull request #58550 from nirvn/processing_openstreetmap_policy
[processing] Insure that processing algorithms are not used to breach the OSMF tile usage policy on bulk download
2024-09-05 13:50:20 +07:00
Björn
6aeda2a29e [metasearch] Fix missing import
fix https://github.com/qgis/QGIS/issues/47823
2024-09-05 16:49:52 +10:00
qgis-bot
bd9ecd53ad auto sipify 🍺 2024-09-04 23:22:09 +00:00
Nyall Dawson
4ec5290a46 [layouts] Add support merging cells in manual tables
Allows adjacent cells to be merged in layout manual table items.

From the table editor, select multiple cells in a rectangular
shape and then from the Table menu, click "Merge Selected Cells".
Merged cells can be un-merged via the "Split Selected Cells"
menu action.

Fixes #51694
2024-09-05 09:19:02 +10:00
qgis-bot
b8cf79b7b4 auto sipify 🍺 2024-09-04 13:52:07 +00:00
Nyall Dawson
561961a11d Fix malformed enum documentation
Fixes #50176
2024-09-04 20:34:44 +10:00
qgis-bot
440539389d auto sipify 🍺 2024-09-04 09:09:38 +00:00
Nyall Dawson
519b82183c Fix numeric format configuration in dialog mode 2024-09-04 19:06:26 +10:00