62287 Commits

Author SHA1 Message Date
Alessandro Pasotti
860fb23e36 Server little cleanup (class documentation)
Plus removed sql injection protection from
sanitize because:

1. it was not required: the value goes into a QgsExpression and it's
never sent to a provider directly
2. it could have been misused with the wrong assumption that
it was robust implementation (it wasn't)
2020-04-23 12:17:09 +02:00
rldhont
5d06aa57da
Merge pull request #35937 from rldhont/server-wms-getprint-group-layer-mask
[Tests][Server] WMS GetPrint group Mask file
2020-04-23 12:13:02 +02:00
Alexander Bruy
b5e2365d07 silence debug information from delimited text provider (fix #35552) 2020-04-23 11:30:37 +02:00
Alexander Bruy
51418d2669 fix providers order in the Datasource mnager 2020-04-23 12:24:33 +03:00
Alexander Bruy
bb2ed141fb make slot private 2020-04-23 12:17:41 +03:00
Alexander Bruy
000ea8e0be add tooltip for WMS title to allow read long titles (refs #28861) 2020-04-23 12:17:41 +03:00
Alexander Bruy
acdcfba244 doc coverage 2020-04-23 12:17:41 +03:00
Alexander Bruy
3dd44e4b79 use standard "Referer" field in the new WMS connection dialog instead of
custom field in the WMS options group
2020-04-23 12:17:41 +03:00
Alexander Bruy
7fcdbcab86 [needs-docs] remove "Add default servers" button from the WMS
conenctions dialog (fix #29873)
2020-04-23 12:17:41 +03:00
Alexander Bruy
f1c0b8a163 [ux] disable some buttons (e.g. Edit, Delete, Save) in connection dialogs
if connection list is empty
2020-04-23 12:17:41 +03:00
Alexander Bruy
e2f106bab9 [ux] don't enable OK button in new connection dialogs if required fields
are empty (fix #26038)
2020-04-23 12:17:41 +03:00
Alexander Bruy
2239b306e6 save/restore tile pixel ratio for XYZ connections when performing
import/export
2020-04-23 12:17:41 +03:00
Alexander Bruy
c34210e20e
Merge pull request #35891 from alexbruy/wfs-export
include missed WFS connection settings into XML exchange file (fix #35866)
2020-04-23 12:16:07 +03:00
Nyall Dawson
5dd3916970 [layouts] Add explicit button to insert expressions in legend text
While this has been possible for a while by manually entering a
"[% expression %]" string as part of a legend item's text, this
is completely hidden from users and rather useless.

Now that we have a dedicated widget to allow configuration of
individual legend items, we've got the capacity to show a dedicated
"insert expression" button, just like we do for layout labels.

This makes it immediately clear to users that expressions CAN be
used in legend item text, and also helps them construct valid
expressions using the available expression context.
2020-04-23 19:13:09 +10:00
Alexander Bruy
8681826f92 look for qgis_global_settings.ini also in the AppDataLocation (fix #31288)
Allow to put global settings file in the default location managed by the
user or system administrator which is not touched by installer and does
not require any additional setup like passing commandline parameters or
settings environment variable.
2020-04-23 11:31:11 +03:00
rldhont
0e5536b908 [Tests][Server] WMS GetPrint group Mask file
To complete PR #35277
2020-04-23 09:04:19 +02:00
Harrissou Sant-anna
9fc5985c74 More doc strings 2020-04-23 08:37:28 +02:00
Alexander Bruy
a94d195408 remove explicit default empty string 2020-04-23 08:58:24 +03:00
Peter Petrik
4f91bee104
fix INSTALL for MacOS (#35915)
fix INSTALL for MacOS
2020-04-23 06:59:40 +02:00
Nyall Dawson
b6dcd5d9c3 Return null point instead of null geometry for
QgsGeometry.fromWkt('Polygon ((0 0, 1 1, 1 0, 0 0))').intersection(QgsGeometry.fromWkt('Point (42 0)'))

Refs #35776
2020-04-23 06:23:45 +10:00
rldhont
a48474d0e5
Merge pull request #35277 from rldhont/server-wms-getprint-group-layer
[Tests][Server] WMS GetPrint group
2020-04-22 17:47:52 +02:00
Matthias Kuhn
78639b8ea8
Merge pull request #35918 from rduivenvoorde/cmakelist_proj_log
Make cmake output slightly better
2020-04-22 15:53:04 +02:00
Denis Rouzaud
97814517da
add missing protobuf include (#35902)
this fixes build on mac
2020-04-22 15:06:51 +02:00
rldhont
dda54412e8
Merge pull request #35900 from Gustry/project_validator
move the QGIS Server validator from the project properties to its own class
2020-04-22 14:10:07 +02:00
rldhont
a06984cfaa Fix [Tests][Server] Add WMS GetPrint group 2020-04-22 14:05:13 +02:00
rldhont
13434dca1c [Tests][Server] Add WMS GetPrint group 2020-04-22 14:02:20 +02:00
rldhont
6ccb9c084a [Tests][Server] project_groups: change layer checked in tree 2020-04-22 14:01:31 +02:00
Richard Duivenvoorde
546db9e88e Make cmake output slightly better 2020-04-22 13:52:36 +02:00
Nyall Dawson
947aedba2c Show description in model input reorder dialog, not raw parameter name 2020-04-22 19:51:25 +10:00
Nyall Dawson
888819c462 [processing] Rework model input reorder approach to use QStandardItemModel
Allows for drag and drop reorder of inputs, hopefully resolves issues on
some qt versions
2020-04-22 19:51:25 +10:00
Etienne Trimaille
4e7018db79
update english after PR review in the project validator 2020-04-22 11:22:45 +02:00
olivierdalang
74d7eca123 gitignore all windows builds 2020-04-22 09:55:24 +02:00
olivierdalang
746ec8c498 make build dir configurable in package-nightly.cmd 2020-04-22 09:55:24 +02:00
Etienne Trimaille
471979aa50
move the QGIS Server validator from the project properties to its own class 2020-04-22 09:33:08 +02:00
Denis Rouzaud
a270618408
fix typo in comment 2020-04-22 07:47:46 +02:00
Alexander Bruy
f5691e175e
Merge pull request #35869 from alexbruy/python-deprecated
fix deprecation warning in qgis.utils (fix #32786)
2020-04-22 08:43:47 +03:00
Nyall Dawson
9327ea6cf7 Nicer preview symbols for patches 2020-04-22 12:43:01 +10:00
Nyall Dawson
ec2894ea32 Show favorited legend patches in legend patch button menu 2020-04-22 12:43:01 +10:00
Nyall Dawson
8a0e007ba5 [FEATURE] Support legend patch shapes in style manager databases
And clean up a lot of duplicate code which makes adding new types
to QgsStyle painful
2020-04-22 12:43:01 +10:00
Nyall Dawson
99d50bb17a Fix double-rendering of layout legends on some circumstances 2020-04-22 05:27:16 +10:00
Jan Caha
a2cbd9ceea add is_multipart expression 2020-04-22 05:26:54 +10:00
Martin Dobias
45bead2bb9 Fix a crash when reordering a vector tile layer in layer tree view 2020-04-21 15:53:06 +02:00
Denis Rouzaud
af1576a431
try with MSSQL sources for ubuntu 19.04
since they are not ready yet for 20.04
see https://packages.microsoft.com/ubuntu/20.04/prod/pool/main/m/
2020-04-21 15:48:54 +02:00
Denis Rouzaud
e070520c40
use allow-unauthenticated to install packages 2020-04-21 15:20:41 +02:00
Denis Rouzaud
35a1692837
try with updated package source for MSSQL 2020-04-21 14:37:44 +02:00
Denis Rouzaud
fd0900a50c
followup on focal Docker image, use appropriate UTF-8 symbol 2020-04-21 14:15:45 +02:00
Denis Rouzaud
f257621bea
use focal to build Docker images (#35897) 2020-04-21 14:07:31 +02:00
vsklencar
8011b1eead Changed filter for Android provider registry due to changes in naming
Providers for Android are now with arch postfix which causes that some providers have been filter out
2020-04-21 13:58:03 +02:00
Alexander Bruy
b524929d20 remove condition 2020-04-21 14:47:56 +03:00
Alexander Bruy
0e59d13af5 fix deprecation warning in qgis.utils caused by deprecating
imp.new_module() call in Python 3.4 (fix #32786)
2020-04-21 14:47:56 +03:00