70855 Commits

Author SHA1 Message Date
Alessandro Pasotti
d8a155b846 Add relative WMS to sources 2021-05-10 12:56:00 +02:00
Alessandro Pasotti
144d6fe8df
Update src/server/services/landingpage/qgslandingpagehandlers.h
Co-authored-by: Paul Blottiere <blottiere.paul@gmail.com>
2021-05-07 09:23:01 +02:00
Alessandro Pasotti
91c83b3de9 Fix relative WMS urls in catalog view 2021-05-07 09:09:30 +02:00
Alessandro Pasotti
27bfb09fb8 Support for custom URL prefix for landing page
Add a QGIS_SERVER_LANDING_PAGE_PREFIX server
setting:

Prefix of the path component of the landing page base URL, default is empty (since QGIS 3.20).
2021-05-06 18:15:04 +02:00
Alessandro Pasotti
497197e316 Updated js 2021-05-06 14:55:30 +02:00
Nyall Dawson
6a9133c747 [layouts] When determining whether a layout requires rasterization
in order to export correctly, skip over any items which aren't visible

These don't affect the output in any way, so showing warnings about
forced rasterization is misleading
2021-05-06 18:23:36 +10:00
Nyall Dawson
5eb2d7244b Add unit tests for methods 2021-05-06 18:23:36 +10:00
Nyall Dawson
dce9c15f57 [layouts] Move methods for determining if a layout requires
rasterization or contains advanced effects to QgsLayoutExporter
instead of QgsLayoutDesignerDialog

This places them in a re-usable, testable location instead of
in private code
2021-05-06 18:23:36 +10:00
Nyall Dawson
be2c5382cb Add utility function QgsSymbolLayerUtils::condenseFillAndOutline
Attempts to condense a fill and outline layer, by moving the
outline layer to the fill symbol's stroke if possible.
2021-05-06 18:23:09 +10:00
Matthias Kuhn
6991f2cce3
Merge pull request #43093 from zy6p/patch_qtextstream
Fix QTextStream encode with UTF-8
2021-05-06 08:29:13 +01:00
knowmore
a06e9d275b Fix QTextStream encode with UTF-8 2021-05-06 14:17:02 +08:00
Paul Blottiere
346bffc5a1
Merge pull request #43085 from DelazJ/patch-21
Remove duplicate word and fix labels
2021-05-05 19:45:17 +02:00
Harrissou Sant-anna
411e33ec01
Fix GUI labels case 2021-05-05 17:33:25 +02:00
Harrissou Sant-anna
e659eb0aa4
Remove unnecessary colon 2021-05-05 17:33:13 +02:00
Harrissou Sant-anna
ce56e39f1b
Remove duplicate word 2021-05-05 16:59:10 +02:00
Matthias Kuhn
bf2a8b11ed
Merge pull request #42890 from rldhont/unvirtualize-setdatasource
[API] Unvirtualize layer setDataSource method
2021-05-05 10:22:09 +01:00
MorriganR
c640f46509 last small fix 2021-05-05 18:12:47 +10:00
MorriganR
a69199c523 fixed small misunderstood 2021-05-05 18:12:47 +10:00
MorriganR
dcf20494f2 Add connect timeout for Postgres NOTIFY Listener 2021-05-05 18:12:47 +10:00
MorriganR
c4346f92e2 Fix crash when init a layer with invalid or not postgres data provider and Refresh on Notify Enabled 2021-05-05 18:12:47 +10:00
MorriganR
b7f990d77b Fix db login procedure for listener 2021-05-05 18:12:47 +10:00
vcloarec
89c069f695 address review 2021-05-05 09:03:13 +02:00
vcloarec
843eebc6ec do not use hybrid symbol layer type 2021-05-05 09:03:13 +02:00
vcloarec
4bb0dcab84 fix indentation and other minor 2021-05-05 09:03:13 +02:00
vcloarec
9a3ad85533 interpolated line symbol layer 2021-05-05 09:03:13 +02:00
Matthias Kuhn
ef3d9a2c32
Merge branch 'master' into unvirtualize-setdatasource 2021-05-05 08:01:26 +01:00
Nyall Dawson
02685f1224 [feature] Add "persist layer metadata" checkbox to export vector file dialog
When checked (as it is by default), any layer metadata present in the
source layer will be copied and stored in the newly created destination
file.

So e.g. when right clicking a layer a project (or browser) with metadata
attached and exporting to a new format, this option will ensure that
the metadata is nicely transferred over to the newly created gpkg.
2021-05-05 14:12:50 +10:00
Nyall Dawson
93b7a0c3d5 [api] Add option to QgsVectorFileWriter to store layer metadata for
created layer
2021-05-05 14:12:50 +10:00
Nyall Dawson
921e6fa1a1 Fix incorrect error message when .shp.xml metadata file doesn't exist 2021-05-05 14:12:50 +10:00
Martin Pergler
2fed93cdfd
Better help for format function
Added description of what syntax/parsing engine is used for the formatting. Motivated by https://github.com/qgis/QGIS/issues/42806, but in general a good idea so users can look up more in detail what is possible. Also uniformized spelling (placeholder vs placeholder).
2021-05-05 09:04:36 +10:00
Nyall Dawson
f5449a1fe9 (optionally) Store layer notes in QML/QLR and allow copying/pasting
when copying styles between layers

Sponsored by Alta Ehf
2021-05-05 08:44:22 +10:00
Nyall Dawson
7ec1abb725 Add some unit tests for layer notes 2021-05-05 08:44:22 +10:00
Nyall Dawson
3bdb2bbcbd Move layer notes utils to a new QgsLayerNotesUtils class so that they are accessible from core 2021-05-05 08:44:22 +10:00
Nyall Dawson
d07348d328 Add tests 2021-05-05 06:57:58 +10:00
Nyall Dawson
928e3ee2fe Dox 2021-05-05 06:57:58 +10:00
Nyall Dawson
208c51b4a2 Fix version numbers 2021-05-05 06:57:58 +10:00
Nyall Dawson
79f0db1a0a Avoid unused variable warnings 2021-05-05 06:57:58 +10:00
Nyall Dawson
26ba5cc5ce Dox++ 2021-05-05 06:57:58 +10:00
Nyall Dawson
2f77f6f015 Dox++ 2021-05-05 06:57:58 +10:00
Nyall Dawson
e9a0ecdd1e Cleaner return 2021-05-05 06:57:58 +10:00
Nyall Dawson
755182c134 Expose more geos methods 2021-05-05 06:57:58 +10:00
Matthias Kuhn
06eb55ea6d Remove extra parenthesis 2021-05-05 05:59:44 +10:00
Matthias Kuhn
edbe6347c7 Improve output of flaky test 2021-05-05 05:59:44 +10:00
rldhont
b5d919065b
Merge pull request #43070 from rldhont/processing-tests-parameters-desc-file-dest
[Tests][Processing] Add getParameterFromString tests - File and Destination
2021-05-04 16:31:09 +02:00
rldhont
ed37c049f4 [Processing][Test] QgsProcessingParameterFileDestination description string 2021-05-04 15:01:03 +02:00
rldhont
a30f5fe2d4 [Processing][Test] QgsProcessingParameterFolderDestination description string 2021-05-04 15:01:03 +02:00
rldhont
59ab80bb32 [Processing][Test] QgsProcessingParameterRasterDestination description string 2021-05-04 15:01:03 +02:00
rldhont
13bb8627da [Processing][Test] QgsProcessingParameterVectorDestination description string 2021-05-04 15:01:03 +02:00
rldhont
bb57221f9c [Processing][Test] QgsProcessingParameterFile description string 2021-05-04 15:01:03 +02:00
Nedjima Belgacem
e4f74ed90a
[remote EPT] [point cloud] fix UI freeze bug (#42965)
* fix UI freeze bug

* fix spelling

* fix spelling

* refactor a bit of the code

* rename getPointCloudBlock to pointCloudBlock

* use a feedback object instead of cancelled callback

* do not use QMetaObject::Connection

* Qgs3DRenderContext doesn't need to be QObject

* remove Q_OBJECT
2021-05-04 10:12:46 +02:00