7915 Commits

Author SHA1 Message Date
Denis Rouzaud
3ee9cd7186 fix test 2019-09-24 13:09:22 +02:00
Denis Rouzaud
44727291d4 display value rather than NULL 2019-09-24 09:13:21 +02:00
Denis Rouzaud
4c0c6c9d88 add test for QgsCheckBoxFieldFormatter 2019-09-24 08:22:27 +02:00
Alessandro Pasotti
f568e6f06c Server OGC API OPENAPI validation
Fix some OPENAPI validation issues.

Swagger is happy now, except for the MAP=/...
in the query string: no query string parameters
are allowed in the endpoint, but we can
fix this in the web server configuration.
2019-09-21 15:43:12 +02:00
Alessandro Pasotti
9a13e9be89 Fix JSON utils QStringList to json conversion
unreported
2019-09-21 15:42:35 +02:00
Nyall Dawson
cc94aebc6f [layout] Fix invalid svg exports when including metadata
The generated svgs with cc:Work elements were failing xml validation,
causing illustrator to reject them. Add the required ns for cc:Work
and also adapt the svg metadata to be compatible both with the svg
spec AND the metadata format Inkscape uses.

Fixes #28130
2019-09-21 06:04:44 +10:00
Julien Cabieces
cb481d4cfd make the layer editable to the default value constraint could be updated 2019-09-20 09:49:12 +10:00
Julien Cabieces
a3caf512c1 Select feature to fix the multiedit mode test 2019-09-20 09:49:12 +10:00
Julien Cabieces
484ee53899 Add a utils method fieldIsEditable 2019-09-20 09:49:12 +10:00
Julien Cabieces
5848c27a7f Fix multi edit button not displayed for auxiliary storage attribute 2019-09-20 09:49:12 +10:00
Nyall Dawson
5db6165fb5 [layouts] Fix crash when opening layout with dynamic image in html label
Fixes #28996
2019-09-20 06:37:53 +10:00
Even Rouault
f43b9f73a3
Merge pull request #31765 from rouault/fix_31026
[WFS provider] Re-inject custom query parameters in DCP HTTP URLs (fixes #31026)
2019-09-19 13:35:11 +02:00
Denis Rouzaud
cc64787ee6
Merge pull request #31859 from 3nids/layer_tree_insertion_point_v2
[layer tree] dedicated method in QgisApp to determine insertion point
2019-09-19 11:17:58 +02:00
nirvn
015b7e91a1 Add test case covering drawing of effects in legend renderer 2019-09-19 14:26:15 +07:00
Nyall Dawson
2f220022b0 Update reference images 2019-09-19 16:56:50 +10:00
Alessandro Pasotti
f410ea9234
Merge pull request #31876 from elpaso/bugfix-gh30550-gpkg-project-removed-dirty
Set GPKG-stored project dirty when removed
2019-09-19 08:54:26 +02:00
Nyall Dawson
6b5d43ec26 More test mask updates 2019-09-19 14:38:42 +10:00
Nyall Dawson
6c4d0efa1f Fix test which relied on local layout default font setting 2019-09-19 14:38:42 +10:00
Nyall Dawson
c988bd8c23 More test mask updates 2019-09-19 14:38:42 +10:00
Nyall Dawson
570ce04b00 Add some test mask images 2019-09-19 14:38:42 +10:00
Even Rouault
1494246359
Merge pull request #31860 from rouault/fix_30518
[OGR provider] Invalid feature count on layer reload (fixes #30518)
2019-09-18 21:42:25 +02:00
Alessandro Pasotti
e4ea247c6a Set GPKG-stored project dirty when removed
if it's the current project

Fixes #30550
2019-09-18 21:12:00 +02:00
rldhont
7a77d90c52
Merge pull request #31351 from rldhont/server-wms-dimensions
Support WMS dimensions in QGIS Server
2019-09-18 18:26:31 +02:00
Alessandro Pasotti
6146456075
Merge pull request #31865 from elpaso/bugfix-gh31846-server-contextual-legend-no-width-no-height
Server fix getLegendGraphic default WIDTH/HEIGHT when BBOX
2019-09-18 12:09:11 +02:00
Alessandro Pasotti
10cf18a995 Add mask to getLegendGraphic test and check SRC(HEIGHT/WIDTH) 2019-09-18 11:32:05 +02:00
Alessandro Pasotti
3be3984e8e
Merge pull request #31841 from elpaso/bugfix-gh31799-tid-in-views
PG views: be tolerant for unsupported field type ...
2019-09-18 11:21:48 +02:00
Even Rouault
cd3940df7c
Merge pull request #31813 from rouault/fix_29844
[WFS provider] Fix recovery of GeoServer server error when lack of primary key (fixes #29844)
2019-09-18 11:00:58 +02:00
Nyall Dawson
2c69b24ffe Avoid use of deprecated method in test 2019-09-18 10:35:23 +10:00
Nyall Dawson
fcd21e4850 [reports] Fix predefined scale mode is incompatible with report outputs
Fixes #29196
2019-09-18 10:35:23 +10:00
Nyall Dawson
3de0593957 Ensure atlas expression evaluation has access to coverage layer scope
Fixes #31807
2019-09-18 07:55:46 +10:00
Even Rouault
2a2cb87f8e
[OGR provider] Invalid feature count on layer reload (fixes #30518) 2019-09-17 22:33:50 +02:00
Denis Rouzaud
838dbef3c0 [layer tree] dedicated method in QgisApp to determine insertion point
and create bindings to get the current insertion point in QgisInterface
2019-09-17 20:55:40 +02:00
Nyall Dawson
421e68cf5a [layouts] Resizing pages to content should not create empty page size
if no items are present

Fixes #29034
2019-09-18 04:29:35 +10:00
Nyall Dawson
f5afebe5dd [layouts] Fix map rotation does not immediately restore in reports
Fixes #31217
2019-09-18 04:29:14 +10:00
Nyall Dawson
979237515c [properties] Do not return nan values when an assistant is used
with min val == max val

Fixes #31242
2019-09-18 04:28:52 +10:00
Alessandro Pasotti
5b3360081b Server getLegendGraphic default WIDTH/HEIGHT when BBOX
is set.

Fixes #31846
2019-09-17 18:55:01 +02:00
Alessandro Pasotti
4c8bac06c8 Add test for tid key types in PG views 2019-09-17 14:37:58 +02:00
Alessandro Pasotti
f7d1971d01 PG views: be tolerant for unsupported field type ...
... if it's in URI key

Fixes #31799
2019-09-17 14:30:33 +02:00
Sandro Santilli
6942b4b93d
Fix endless loop on curve linearization with maxdistance tolerance higher than arc radius (#31838)
* Test curve linearization with higher than sagitta tolerance
* segmentizeArc: keep max distance tolerance below twice the radius

Fixes #31832
2019-09-17 13:58:17 +02:00
Even Rouault
ea09452b5b
[WFS provider] Fix recovery of GeoServer server error when lack of primary key (fixes #29844) 2019-09-17 11:59:03 +02:00
Matthias Kuhn
b7693d1826
Merge pull request #31793 from Gustry/unittest
use a single comment checking unittest in DB Manager SQL window
2019-09-17 10:46:15 +02:00
Even Rouault
bbaa62af0c test_qgsrasterfilewritertask.py: test failure 2019-09-17 08:58:25 +10:00
Even Rouault
7e3c9d98e2 QgsRasterFileWriter: fix crash when exporting to GS7BG driver (fixes #31775), and detect more potential crashing situations 2019-09-17 08:58:25 +10:00
Even Rouault
ae013b0de3
Merge pull request #31811 from rouault/add_pgdump
QgsVectorFileWriter: add PGDUMP output format (fixes #31421)
2019-09-16 20:27:15 +02:00
Even Rouault
c4c46ae099
QgsVectorFileWriter: add PGDUMP output format (fixes #31421) 2019-09-16 18:24:03 +02:00
Denis Rouzaud
f13e0ebc86
[locator] fix sorting of grouped results (#31797)
when they do not arrive in a sequence
2019-09-16 16:14:51 +02:00
Etienne Trimaille
4a8f489722
use a single unittest in DB Manager SQL window 2019-09-16 10:52:35 +02:00
Alexander Bruy
993c6e7b5f [processing] export vector layers which use VSI mechanism (fix #29001) 2019-09-16 11:56:28 +10:00
Alessandro Pasotti
04f0879ed5 Processing editing in place: handle constraints
Fixes #31634
2019-09-16 10:41:58 +10:00
Even Rouault
e6e829c244
Merge pull request #31768 from rouault/fix_31213
[Postgresql Provider] Fix crash in discoverRelations() on invalid layer (fixes #31213)
2019-09-15 19:02:37 +02:00