51158 Commits

Author SHA1 Message Date
Blottiere Paul
f74f78557d Fixes #19906 - GetMap request with line in the SLD is correctly rendered 2018-09-27 16:24:22 +01:00
Denis Rouzaud
f6f3174e1e
Merge pull request #8038 from qgis/3nids-patch-3
fix missing include of Qt libs in src/test/qgstest.h
2018-09-27 06:49:16 -08:00
Denis Rouzaud
97c5ed0225
better fix for detecting QWTPOLAR without DESKTOP 2018-09-27 10:38:47 -04:00
Denis Rouzaud
057aafe17a
WITH_QWTPOLAR is only defined when building with desktop 2018-09-27 10:20:25 -04:00
Denis Rouzaud
bb81f71dcd
remove dependency on qgis_gui from native tests 2018-09-27 09:43:26 -04:00
Denis Rouzaud
1c8b99e38b
fix missing include of Qt libs in src/test/qgstest.h
because it includes QgsApplication -> QApplication
2018-09-27 07:38:09 -04:00
Matthias Kuhn
2275853ce6
Merge pull request #8008 from m-kuhn/missingVertexCheck
Add QgsGeometryMissingVertexCheck
2018-09-27 10:50:27 +02:00
Matthias Kuhn
3c379d36e6
Fix test 2018-09-27 10:12:08 +02:00
nirvn
b85db09b4f [ui] add icon view icon for the symbol list widget 2018-09-27 14:26:34 +07:00
Alessandro Pasotti
08ac1f0ede
Merge pull request #8037 from elpaso/bugfix-db-manager-sql
Bugfix db manager sql
2018-09-27 09:18:43 +02:00
Alessandro Pasotti
c06c475b9c [db-manager] Update sql dialog buttons status
Fixes #19958 - Database manager allows one to create saved query with no name
2018-09-27 08:29:27 +02:00
Alessandro Pasotti
94ded32f4e [db-manager] Allow multiline filters in sql window
Fixes #19956 - Update SQL layer results in invalid SQL expression
2018-09-27 08:01:40 +02:00
Martin Dobias
a1d130ac97 Fix spelling 2018-09-27 00:46:37 +02:00
Martin Dobias
8831f19b79 Fix missing indicators after they are moved to a different group
The issue was that during drag&drop, we first connect to layer's signal
for the second time, but then the disconnect() call on removal of the original
layer node would disconnect all connections (not just one). For that reason
now we only connect/disconnect when the layer is in the tree only once.
2018-09-27 00:46:37 +02:00
Matthias Kuhn
c3066c2c46
Cleanup 2018-09-26 19:47:26 +02:00
Matthias Kuhn
0e3280768c
Change canCommitChanges to allowCommit flag 2018-09-26 18:31:03 +02:00
Matthias Kuhn
cda4950dd8
Change canCommitChanges to allowCommit flag 2018-09-26 17:35:53 +02:00
Matthias Kuhn
d2bb3d606b
Fix python signature? 2018-09-26 17:15:53 +02:00
rldhont
68ba754617 [Server][WFS] Use editor widget setup for Range fields 2018-09-26 17:11:02 +02:00
rldhont
37c1e2373f [Server][WFS] Use editor widget setup for DateTime fields
The user can define with the editor widget the data type of the field with more accuracy than the data provider.
In the case of DateTime, this data can be stored in a text field or the field is DateTime by default because the data provider does not identify Date or Time.

QGIS Server in the WFS case can use this config to provide well formed data and description.
2018-09-26 17:11:02 +02:00
Matthias Kuhn
a56deacf54
Add QgsVectorLayer::canCommitChanges
to control if changes can be saved or not. This signal is emitted before a layer is being saved and if a connected slot marks the canCommit variable as False, the layer will not be saved
2018-09-26 16:17:24 +02:00
Matthias Kuhn
374756b371
Add missing include 2018-09-26 15:21:39 +02:00
Matthias Kuhn
fd869d83d4
Add test for missing vertex check 2018-09-26 14:23:04 +02:00
Matthias Kuhn
b05ea1a1dc
Do not report duplicate errors in missing vertex check 2018-09-26 14:22:37 +02:00
Alessandro Pasotti
51574069a0 Fixes blocking if the edit in place functionality is used in the locator bar (with ef) on an non-modifiable layer
Fixes #19950
2018-09-26 14:19:58 +02:00
rldhont
cfddac586d [Server][WFS] Define encodeValueToText to correctly format field values 2018-09-26 14:15:54 +02:00
rldhont
6de6c08ada [Server][WFS] Set correctly attribute type for number fields in XSD
Replace `double` by `decimal`

Use `int`, `unsignedInt`, `long` and `unsignedLong` for `QVariant::Int`, `QVariant::UInt`, `QVariant::LongLong` and `QVariant::ULongLong`

Define double with 0 precision to `integer`
2018-09-26 14:15:54 +02:00
Harrissou Sant-anna
d9517f7b1e
Fix Help button connection 2018-09-26 11:07:14 +02:00
Harrissou Sant-anna
42aaa236d1
Fix method name
It's not only about storing in database
2018-09-26 11:06:54 +02:00
Harrissou Sant-anna
bbe1aaef4b
Fix save style dialog expansion
and declutter the UI
2018-09-26 10:56:04 +02:00
Martin Dobias
5047571c13 Move recursive "collect layers" algorithm to QgsLayerTreeUtils + tests 2018-09-26 09:55:37 +02:00
Martin Dobias
ea1716261a Make sure that also groups with "required" layers cannot be removed
Fixes an unreported bug where it was possible to select a layer tree group
and remove even when it contained required layers.

When removing layers/groups, the following checks will now also recursively
test layers and not just directly selected layers:
- test for layers with unsaved changes
- test for layers with active tasks running in background
2018-09-26 09:55:37 +02:00
Alessandro Pasotti
6aa00b14f3
Merge pull request #8022 from elpaso/bugfix-19831-db-manager-import-srid
[dbmanager] Fixes DB Manager does not read SRID automatically
2018-09-26 08:49:32 +02:00
Harrissou Sant-anna
346073a2a5 Add more tags to find the "Line substring" algorithm 2018-09-26 08:07:28 +10:00
Nyall Dawson
6e03253143 [processing][gdal] Fix empty fid is passed if FID option is not set
Also add full range of unit tests for OgrToPostGis algorithm.

Fixes #19947
2018-09-26 08:07:09 +10:00
Alexandre Neto
80723e89fd Adds .qgz files on --help description
Lists .qgz files in the possible project files to open from the command line
2018-09-26 04:27:56 +10:00
Nyall Dawson
3d70f1b51d [layouts] Fix is_layer_visible does not work within layout map items 2018-09-26 04:27:27 +10:00
Nyall Dawson
0f62685963 Fix is_layer_visible to allow direct layer objects and handle removed layers 2018-09-26 04:27:27 +10:00
Nyall Dawson
f29c48b99b Dox 2018-09-26 04:27:08 +10:00
Nyall Dawson
fd1d6c1037 Add more descriptive error messages for raster calculation failure
With unit tests
2018-09-26 04:27:08 +10:00
Nyall Dawson
f4bbb147b2 Dox++ 2018-09-26 04:27:08 +10:00
Nyall Dawson
d26f25cf94 Deprecate unused QgsProcessingAlgorithm::helpString method 2018-09-26 04:26:49 +10:00
Nyall Dawson
844a3fb1b1 [processing] Allow help url to be set for models within help edit dialog
Refs #18767
2018-09-26 04:26:49 +10:00
Nyall Dawson
95d68e9172 [processing] Default to hiding help button for algorithms
And require that showing help is opt-in. Apart from a handful
of built-in providers, most providers will not have help pages
available within the QGIS documentation (including model and
script algorithms). Accordingly, we should hide the help button
by default and only show it for these selected providers.

Note that 3rd party algorithms can still specify custom helpUrl
urls, in which case the button WILL be shown.
2018-09-26 04:26:49 +10:00
Nyall Dawson
e2082a0935 [processing] Fix modeler help/description generation, allow setting
of model short description text

Fixes #18767
2018-09-26 04:26:49 +10:00
Nyall Dawson
aa55de8ef4 Fix advanced parameter panel incorrect margins in processing algorithm dialog 2018-09-26 04:26:27 +10:00
Nyall Dawson
6d1a9295f7 Use correct stylesheet for processing dialogs 2018-09-26 04:26:27 +10:00
Matthias Kuhn
afd7b92abb
Followup 5f33137, C++ is not Python 2018-09-25 18:24:13 +02:00
Stéphane Brunner
981aea71cd
Merge pull request #8006 from sbrunner/print-error
[Server] Print an error message, on project load error
2018-09-25 15:49:10 +02:00
Alessandro Pasotti
f7f70bfb03 [dbmanager] Fixes DB Manager does not read SRID automatically
Fixes #19831
2018-09-25 14:50:41 +02:00