57808 Commits

Author SHA1 Message Date
Alexander Bruy
3095aeeede replace old extension when changing output format (fix #26054) 2019-09-23 16:34:12 +03:00
Alexander Bruy
20583a8004 use GDAL connection string to support not only file-based layer but also
database and WFS
2019-09-23 11:53:19 +03:00
Alexander Bruy
dceabb0e29 use another approach for test 2019-09-23 11:53:19 +03:00
Alexander Bruy
3c13fbfeb5 [processing] correctly handle case when layer source is not a plain path
in the virtual vector algorithm (fix #29336)
2019-09-23 11:53:19 +03:00
Alessandro Pasotti
30e2fbfe88 Server fix openapi HTML template and improve styling
Mostly cosmetic fixes plus re-add links to openapi
json in case content-type is NOT OPENAPI3, because
it would break validation in that cae.
2019-09-23 09:50:21 +02:00
Alexander Bruy
cebdc8dded [dbmanager] don't ignore field modifiers (e.g. length or geometry
definition) when updating it (fix #27613)
2019-09-23 06:01:56 +10:00
Alexander Bruy
2a29c152a9 [georeferencer] clear canvas cache and layers when resetting (fix #26700) 2019-09-23 06:00:31 +10:00
Matthias Kuhn
0c3d9c5dc4 Maximum 4 recursive iterators
Prevent connection pool drainage freeze
2019-09-22 18:40:48 +02:00
Matthias Kuhn
0bbebbc83a
Merge pull request #31905 from KDAB/fix_26948
Block the events while showing a dialog
2019-09-22 16:27:16 +02:00
BogDan Vatra
f96c4a2308 Block the events while showing a dialog
When showing a file dialog, Qt can choose to use the "system" file
dialog, which will make QgsExternalResourceWidget to loose the focus.
This patch blocks all the events that are sent to
QgsExternalResourceWidget while a dialog is shown, this way it will keep
the focus until the dialog is closed.

Sponsored by the QGIS project (qgis.org)

Fixes: #26948
2019-09-22 12:28:52 +03:00
Alessandro Pasotti
02a28cf94e
Merge pull request #31920 from elpaso/bugfix-unreported-server-openapi
Fix Server OPENAPI validation and unreported QStringList to JSON conversion error
2019-09-22 09:47:15 +02:00
Juergen E. Fischer
766db97855 show sqlite version in about (closes #31911) 2019-09-22 00:58:42 +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
Juergen E. Fischer
fc77b9e962 fix 757017c2c2 2019-09-21 12:24:56 +02:00
Juergen E. Fischer
58d59e463c update_ts.sh: don't update ts files on pull w/o build directory 2019-09-21 01:33:50 +02:00
Alexander Bruy
b837e65662 use PostgreSQL quote_ident() function to quote schema and table names
when querying list of tables. This fixes syntax error when table name
itself contains quotes.
2019-09-21 07:21:22 +10:00
Alexander Bruy
54c23d137f [dbmanager] handle attempts to edit raster tables (fix #30214) 2019-09-21 06:05:42 +10: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
Nyall Dawson
ebdda229d2 [layouts] Auto select first result in validity check results 2019-09-21 06:04:20 +10:00
Nyall Dawson
abc9f47ca4 [legends] Fix missing symbols for inverted polygon layers when using
filter by map content

Fixes #22718
2019-09-21 06:03:47 +10:00
Matthias Kuhn
ff4f32db0d
Merge pull request #31863 from m-kuhn/gapCheckIgnoreMissingLayer
Gap check ignore missing layer
2019-09-20 18:49:38 +02:00
Matthias Kuhn
54dda46e85
Merge pull request #31899 from paulwittle/master
Update general.py
2019-09-20 18:48:10 +02:00
Alexander Bruy
04cbf44668
Merge pull request #31902 from alexbruy/processing-import
[processing] add missed import
2019-09-20 19:27:13 +03:00
Matthias Kuhn
387bffe20e
Merge pull request #31908 from m-kuhn/fromLatin1
Do not use QString::fromAscii
2019-09-20 18:02:43 +02:00
Matthias Kuhn
e53c6a14d8 Do not use QString::fromAscii
it is deprecated
2019-09-20 16:46:27 +02:00
Alexander Bruy
e3a7982c47
Merge pull request #31898 from alexbruy/fix-31353
[georeferencer] set target CRS when generating GDAL script (fix #31353)
2019-09-20 17:29:17 +03:00
Alexander Bruy
0c4f826039 [processing] add missed import 2019-09-20 12:59:33 +03:00
Alexander Bruy
21a73ae75e [georeferencer] set target CRS when generating GDAL script (fix #31353) 2019-09-20 11:29:18 +03:00
Paul Wittle
be25b2e392 Update general.py
Correction of error return type from bool to None (as per comments). This is to resolve unexpected exception messages when algorithm is not found.
2019-09-20 09:27:30 +01:00
Alessandro Pasotti
240bfb2a3f
Merge pull request #31871 from elpaso/bugfix-gh31635-spinbox-double-changed-event
Fix double event fired by QSpinBox in slow graduated
2019-09-20 09:04:34 +02:00
Nyall Dawson
757017c2c2 Use a slightly larger font size in CRS details on Windows
Fixes #31297
2019-09-20 11:13:41 +07:00
Harrissou Sant-anna
a4fd2978e9 Allow to collapse the GeoPdf options when exporting to pdf 2019-09-20 13:44:24 +10:00
Nyall Dawson
7ef014e282 Capitalization, ellipsis 2019-09-20 13:42:15 +10:00
Nyall Dawson
f11e660395 [processing] Add warning when packaging a geopackage with no layers
Fixes #31888
2019-09-20 13:39:35 +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
2ab88ad501 fieldIsEditable looks for joined feature to exist if no upsertOnEdit 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
Alexander Bruy
f9737a9d5f [processing] add default icon for scripts created using decorator (fix #31252) 2019-09-20 06:37:31 +10:00
Nyall Dawson
9fd17c8f3c [reports] Expose report feature settings when an attribute table is
used in an atlas

Fixes #28441
2019-09-19 22:11:22 +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
nirvn
317a7252e5 [symbol] Fix missing effects when rendering polygon simple line symbol preview 2019-09-19 14:26:15 +07:00
Alessandro Pasotti
60fb0cb47f Apply timer spinbox workaround to QgsDoubleSpinBox too
To prevent double changed event fired in case the slot
takes too long to execute.
2019-09-19 09:10:26 +02:00
Alessandro Pasotti
bd6ecba176 Use scoped class for wait cursor 2019-09-19 09:10:08 +02:00
Denis Rouzaud
13119193ba fix API doc and init values 2019-09-19 09:05:40 +02:00