948 Commits

Author SHA1 Message Date
Nyall Dawson
20b9d080f8 Fix grid annotations, port tests 2017-11-07 11:32:39 +10:00
Nyall Dawson
332a69cece Tweak default symbol for overviews 2017-11-07 11:32:38 +10:00
Nyall Dawson
1f769da68d Work on resurrecting overviews 2017-11-07 11:32:38 +10:00
Nyall Dawson
23d0617bac Start porting map item 2017-11-07 11:32:38 +10:00
Nyall Dawson
4e8483ecfb [layouts] Fix polyline does not render purely horizontal/vertical lines 2017-11-07 11:32:38 +10:00
Nyall Dawson
783636dfa7 Port polygon and polyline items to layouts 2017-11-07 11:32:38 +10:00
Nyall Dawson
26dcf792b0 Fix tests 2017-11-07 11:32:38 +10:00
Nyall Dawson
f524c80b11 More shape porting 2017-11-07 11:32:38 +10:00
Nyall Dawson
cf7714b722 Restore tests, add button to set page background in ui 2017-11-07 11:32:38 +10:00
Nyall Dawson
75898d8e09 Port 'exclude from exports' functionality from composer 2017-11-07 11:32:38 +10:00
Nyall Dawson
9083420312 More unit tests 2017-11-01 21:48:20 +11:00
Nyall Dawson
eea155d6e2 Fix crash when attempting to render multipolygon with missing exterior ring
This commit fixes a possible crash when the vector layer renderer
attempts to render a multipolygon containing a polygon without
an exterior ring.

The underlying cause of the creation of this invalid geometry is deeper,
but this commit hardens the renderer and makes it more robust for
handling bad geometries.

Fixes #17365
2017-11-01 21:48:20 +11:00
Nyall Dawson
0b2de85fe7 Check file modified time when retrieving svg images from cache
If file has been modified since the cache, regenerate a new cache
image.

We don't want to check the file modified time too often though,
(e.g., we don't want to check for every point render in a 100k
point file), so use a hardcoded 30 second minimum time between
consecutive file modified checks.

This means that file modifications occuring more often than
every 30 seconds won't be picked up till 30 seconds has elapsed
since the last modification. But at the same time it means that
if the render takes < 30 seconds we'll only check each svg
at most once (and if a render takes > 30 seconds, adding a few
more milliseconds won't hurt!).

Fixes #13565
2017-10-31 12:12:24 +10:00
mhugent
a843df8947 Merge pull request #5466 from mhugent/maptip_geometry_optional
[needs-docs] Make maptip and geometry attribute optional in featureinfo response
2017-10-27 16:13:20 +02:00
mhugent
26bd6d722e Merge pull request #5435 from mhugent/wms_print_layers
[needs-docs][feature] Wms print layers
2017-10-27 16:12:19 +02:00
Marco Hugentobler
52896f5545 Add test for maptip 2017-10-27 15:19:00 +02:00
Blottiere Paul
8562bfa9b9 Add some tests for GetPrint with OPACITIES 2017-10-27 09:48:14 +01:00
Larry Shaffer
99b1c74c4e [auth] Update test certs/keys and add README
* Add expired root/issuer CAs and client cert chains
* Add wildcard server *.qgis.test SSL cert

[ci skip]
2017-10-26 17:36:33 -06:00
Nyall Dawson
d4e8470ad4 Minor fixups, add tests 2017-10-27 07:45:40 +10:00
Larry Shaffer
8501053a0d Merge pull request #5463 from boundlessgeo/BD-2507-pki-bundle-validation
[auth] PKI bundle validation utility function
2017-10-26 13:52:57 -06:00
Marco Hugentobler
22a54fa647 Add Unit test 2017-10-26 21:40:16 +02:00
Larry Shaffer
3210f8546a Merge pull request #5401 from boundlessgeo/pkcs8-to-pkcs1
[auth] Convert PKCS8 to PKCS1 private keys (for macOS)
2017-10-26 12:42:12 -06:00
Alessandro Pasotti
e20e0764c9 [auth] Add PEM test certificate chain 2017-10-26 18:24:35 +02:00
Marco Hugentobler
7d84782546 Add unittest for featureinfo request using the parameter with_geometry 2017-10-26 16:10:40 +02:00
Marco Hugentobler
49a1a5a09f Remove geometries from unit test output (is now only added if requested) 2017-10-26 15:34:14 +02:00
Blottiere Paul
1c9f9df0ea Add test 2017-10-26 14:27:05 +01:00
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
Larry Shaffer
c66de14055 [auth] Add PKCS8 to PKCS1 key conversion for macOS (deps on libtasn1)
See description of QgsAuthCertUtils::pkcs8PrivateKey.

This fix may be needed on other platforms (untested at this point),
because Qt5 QSslkey class *still* does not directly support creation
using non-PKCS1 PEM- or DER-encoded data, though QCA, whose qca-ossl
plugin is linked to OpenSSL, does support PKCS1 and PKCS8.
2017-10-18 16:07:04 -06: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