821 Commits

Author SHA1 Message Date
Nyall Dawson
c50ee6d42f Update python code to new API 2017-10-26 07:06:34 +10:00
Sandro Mani
876418c44e [Geometry checker] Add more fixError tests 2017-10-23 17:25:08 +02:00
Sandro Mani
4a6cdbe36b [Geometry checker] Add a first series of fixError tests 2017-10-23 17:25:08 +02:00
Sandro Mani
1372536297 [Geometry checker] Add follow boundaries check 2017-10-23 17:25:08 +02:00
Sandro Mani
c44fa1da5c [Geometry checker] Finish gap check test 2017-10-23 17:25:08 +02:00
Sandro Mani
6b3309cd45 [Geometry checker] Add more tests 2017-10-23 17:25:08 +02:00
Sandro Mani
07dc429573 [Geometry checker] Some initial tests 2017-10-23 17:25:07 +02:00
Matthias Kuhn
6428fed8a3 Merge pull request #5385 from jachym/geopackage
Put GeoPackage at first place in the menu
2017-10-21 16:33:20 +02:00
Alessandro Pasotti
a411669dae Merge pull request #5226 from aaime/rule_labels
Also export rule based labelling in SLD. Follows up to ticket #8925
2017-10-19 17:58:25 +02:00
Jachym Cepicky
28daa1a0e0 Adding more default SHP->GPKG changes 2017-10-19 15:45:04 +02:00
Andrea Aime
aa594f5397 Also export rule based labelling. Follow up to #8925 2017-10-19 14:55:37 +02:00
rldhont
dc6bdc2919 [Server][Tests] Fix WMS tests locally 2017-10-19 14:48:48 +02:00
Alessandro Pasotti
a7765ca966 Merge pull request #5380 from boundlessgeo/bd_2272_pki_parsed_ca
[auth] Allow to optionally add CAs from PKI bundle to the trusted CAs for the configured connection
2017-10-18 11:47:30 +02:00
Alessandro Pasotti
b1c45d57a6 [auth] Use QGIS test certificates 2017-10-17 18:11:58 +02:00
Blottiere Paul
a3971ee0cd Update unit tests 2017-10-17 10:17:49 +01:00
Alessandro Pasotti
25cd27a513 [auth] Add tests for CA utility methods 2017-10-13 12:59:30 +02:00
rldhont
24a68547e2 [Server][WFS] Update GML GetFeature document 2017-10-12 13:50:03 +02:00
rldhont
0d350b8865 [Server][WFS][Feature] Support resultType=hits from GetFeature 1.1.0 2017-10-12 13:49:51 +02:00
rldhont
1e009b47e6 [Server][Tests] Update PyQgsServerWFS test for 1.1.0 2017-10-12 13:49:42 +02:00
rldhont
b8ebbc1455 [Server][Tests] Add PyQgsServerWFS test 2017-10-12 13:49:09 +02:00
Blottiere Paul
a9a2c200e3 Search schemaExtension.xsd in share directory 2017-10-10 08:02:33 +01:00
Matthias Kuhn
83f9e81e95 [travis] Less noise for DB initialisation 2017-10-07 14:21:13 +02:00
rldhont
3e45f997a6 Merge pull request #4912 from dmarteau/svg-marker-size
[FEATURE][needs-docs] Svg marker size: change aspect ratio
2017-10-04 12:02:32 +02:00
Matthias Kuhn
c764d9c177 Merge pull request #5256 from qgis/docker2
[travis] Use docker to run test
2017-10-04 11:11:52 +02:00
Matthias Kuhn
159486515b
Add sanitized landsat2.nc
@rouault
> [landsat2.nc.zip](https://github.com/qgis/QGIS/files/1352514/landsat2.nc.zip)
> "gdal_translate -of NETCDF landsat.tif landsat2.nc" will not work as expected
> since the driver doesn't support creating subdatasets. I have used ncdump +
> manual changing of _FillValue to 0 + ncgen to recreate it. Hopefully it
> should work (untested) Result attached
2017-10-03 17:36:40 +02:00
Blottiere Paul
8a09a197cc Merge pull request #5150 from pblottiere/server_bugfix_ogc_getfeatureinfo_invalid_format
[server][bugfix] Fix OGC test getfeatureinfo:invalid-info_format
2017-10-03 06:24:46 +01:00
Matthias Kuhn
d947c8d72a
Update control image mask 2017-09-29 17:40:27 +02:00
Blottiere Paul
203e81fa6b Add tests 2017-09-29 09:30:20 +01:00
Blottiere Paul
04cdf496b7 Add some tests 2017-09-29 09:26:25 +01:00
Matthias Kuhn
82e6192eff
More control images 2017-09-28 13:22:39 +02:00
Matthias Kuhn
58b2fe6933
More control image updates 2017-09-28 13:22:38 +02:00
Matthias Kuhn
2c0e61be1f
Fix some test masks 2017-09-28 13:22:38 +02:00
Matthias Kuhn
ae9f263e96
Create test postgres database with UTF-8 2017-09-28 13:22:37 +02:00
Denis Rouzaud
ce109eac98
Revert "use second Dockerfile to push 2nd image"
This reverts commit 050682a37364e110f350b9c3293f662b0011036d.
2017-09-28 13:22:30 +02:00
Denis Rouzaud
4600ce5891
some fixes 2017-09-28 13:18:27 +02:00
Denis Rouzaud
531dadf682
fix psql 2017-09-28 13:18:26 +02:00
rldhont
48514d2e84 Add tests for fixedAspectRatio in SVG marker 2017-09-28 12:25:21 +02:00
Nyall Dawson
57108f9b61 Boost test coverage for geometry collections 2017-09-25 17:20:36 +10:00
Nyall Dawson
cbca7c97bc Boost test coverage of geometry classes 2017-09-22 15:41:41 +10:00
Sandro Mani
4ce2cf1744 [OGR] Add workaround for OGRSQL not recognizing the column name returned by OGR_L_GetFIDColumn 2017-09-21 10:50:39 +02:00
Nyall Dawson
20e1d72007 Merge pull request #5209 from nyalldawson/geometry_coverage
[WIP] Extend geometry classes unit test coverage
2017-09-19 22:15:14 +10:00
Nyall Dawson
5bb359db90 Boost test coverage of geometry classes 2017-09-19 17:22:33 +10:00
Nyall Dawson
a15340fc2c Extend geometry test coverage 2017-09-19 17:22:32 +10:00
rldhont
10fbfb3737 [Server] WMS GetPrint refactoring - Update tests 2017-09-19 07:34:33 +02:00
rldhont
7c1d397288 [Server] WMS GetPrint refactoring 2017-09-19 07:34:33 +02:00
Vincent Mora
f63c302420 [FEATURE] Add undo and redo on transaction groups (#4765)
* [FEATURE] adds undo/redo for transaction groups

[needs-docs] the undo/redo now works with transcation groups. Just check
that there is no restriction in the transaction groups doc concerning
undo.

related to #14799

The undo/redo is implemented using SAVEPOINT.

The QgsTransaction interface has been enlarged to allow savepoints
creation and management. The savepoint is destroyed on
rollbackToSavepoint to have the same behavior has the sql ROLLBACK TO
SAVEPPOINT.

To avoid the creation of a savepoint for each feature modified in bulk
editing (e.g. paste, field calculator) the logic is a bit complicated: the
savepoint is created on QgsVectorLayer::editCommandStarted and the first
actual undo command (QgsVectorLayerUndoPassthroughCommand) is
responsible for the re-creation of the savepoint in case of undo-redo.
Since the behavior must be different in case edition doesn't take place
inside an edit command, a member function has been added to
QgsVectorLayer to expose the mEditCommandActive state.

Another (commented) tricky bit is the modification of the database
structure on add/delete attributes. On undo, the attribute is removed
before the rollback to savepoint, i.e. there is a useless ALTER TABLE
issued to restore the structure just before restoring it with the
ROLLBACK TO SAVEPOINT. This is necessary to make the provider
aware of the change of structure. It could be nicer/cleaner to have a way
to reload providers metadata.

The editPaste function has also been modified to use addFeatures instead of
addFeature (plural/singular), this is at the expense of an additional "cpy"
of the clipboard in memory, but it should improve perf with postgis provider.

* fixup operator aliases
2017-09-15 14:55:43 +02:00
Blottiere Paul
4a084bf961 Add tests 2017-09-06 14:46:37 +01:00
Blottiere Paul
eb9e2ace75 Add some tests 2017-09-06 07:28:39 +01:00
Nyall Dawson
184899ec30 Port remaining plotly based algs to new API 2017-08-30 07:28:25 +10:00
Sandro Santilli
5186c385c4 Expect centroid obtained by not forcing inclusion of control point 2017-08-25 23:06:52 +02:00