951 Commits

Author SHA1 Message Date
Alessandro Pasotti
a160e7494c Reference file for the WFS endless loop test 2018-03-19 15:01:57 +01:00
Nyall Dawson
feb20a7a27 Add unit test for postgres layer metadata 2018-03-15 10:43:04 +11:00
Alessandro Pasotti
39778b16d8 Added test reference file for getfeatureinfo no width 2018-03-11 12:55:28 +01:00
Tudor Bărăscu
10cfca48d6 add server test for GetMap with styles and opacities
Covers https://issues.qgis.org/issues/15553 case
2018-03-09 13:20:20 +02:00
Nyall Dawson
00802e5cb2 Update test mask image 2018-03-09 13:34:40 +11:00
Sandro Mani
5bf28d56b6
Merge pull request #6533 from manisandro/wms_filter_geom_crs
Ensure FILTER_GEOM is transformed to layer CRS in GetFeatureInfo
2018-03-06 15:28:33 +01:00
Sandro Mani
184480bcd6 Ensure FILTER_GEOM is transformed to layer CRS in GetFeatureInfo 2018-03-06 13:16:36 +01:00
Nyall Dawson
454cce89f1 Don't try to render non-finite points
They occur as a result of reprojection errors, and cause a line
to be extend to the top-left of the canvas.

Fixes #9392
2018-03-06 10:26:52 +11:00
Denis Rouzaud
f7220c89c6 more test masks 2018-02-27 08:29:20 -09:00
Denis Rouzaud
eb6a216325 update test masks 2018-02-27 05:47:51 -09:00
Alessandro Pasotti
91b9a69d3e
Merge pull request #6470 from elpaso/template-convert
[layout] Automatic conversion of 2.x composition templates to layouts
2018-02-27 09:14:03 +00:00
Alessandro Pasotti
27ab59c628 Fixed mask image and docs 2018-02-27 08:46:30 +00:00
Denis Rouzaud
cc6e2d46e7 update test masks 2018-02-26 17:26:39 -09:00
Alessandro Pasotti
5fbcb8e5ed Update mask images 2018-02-26 19:37:10 +00:00
Alessandro Pasotti
02e75a7347 Update control images 2018-02-26 19:04:11 +00:00
Nyall Dawson
703898e923 Update test masks 2018-02-25 12:47:58 +11:00
Blottiere Paul
46eb6e34b2 Update mask image 2018-02-23 15:42:00 +00:00
Blottiere Paul
42ca67e3fd Add test 2018-02-23 13:51:39 +00:00
rldhont
a9d61ff508
Merge pull request #6285 from tudorbarascu/dpi
fix server issue for double devicePixelRatio leading to DPI requests with decimals
2018-02-12 11:26:18 +01:00
Tudor Bărăscu
fbc6e4d11d add Server DPI test 2018-02-12 10:45:03 +02:00
Denis Rouzaud
bfe35c26ea [postgres] use pg_type rather than information_schema.domain_constraints to retrieve domain
otherwise there is no warranty to retrieve the correct constraint as its name is not unique
2018-02-11 17:29:18 -04:00
Denis Rouzaud
781b587090 add test for postgres domains 2018-02-10 15:27:06 -04:00
lbartoletti
124e26815d Standardize shebangs (was Usr bin env) (#6229)
* Use portable /usr/bin/env/{perl,python} instead of /usr/bin/{perl,python}

* fix perl;add bash

* Fix indentation using modified scripts

* Revert "fix perl;add bash"

This reverts commit be8b9113c25f7c2fb9c8c9bad556fbca2f0c0ba2.

* python3 everywhere

* more bash

* rebase
change perl

* Linux perl; missing from last PR

* fix doxygen_space

* Use portable /usr/bin/env/{perl,python} instead of /usr/bin/{perl,python}

* fix perl;add bash

* Fix indentation using modified scripts

* Revert "fix perl;add bash"

This reverts commit be8b9113c25f7c2fb9c8c9bad556fbca2f0c0ba2.

* python3 everywhere

* more bash

* rebase
change perl

* fix doxygen_space
2018-02-05 03:38:02 -09:00
Nyall Dawson
16e98f205a Default to a dark gray instead of black for symbol outlines
Avoiding the very high constrast pure black results in cartographically
more pleasing styles, so it's nice to do this by default.

This should result in nicer looking maps being created in QGIS
when users don't do any manual style tweaks.
2018-02-02 15:59:13 +10:00
Alessandro Pasotti
cc1625c83e [bugfix][attrtable] Convert comma to dot for floating point input
This fixes an unreported bug that without detecting an
invalid input when using a comma as a decimal separator
silently converts the entered value to NULL.

Since locale support in QGIS is in its early stages
we convert commas to dots within the validator,
this is common practice in almost all web applications
where you can enter a comma instead of a dot and
the conversion appears while you digit.

This comes with brand new tests for QgsFieldValidator.

Bonus: small fix in sipify.
2018-01-31 12:50:14 +01:00
Alessandro Pasotti
1f2109a51f [server][bugfix][wfs] Allow CRS in BBOX
Fixes #17977 - QGIS server 2.99 doesn't handles BBOX parameter on WFS request
2018-01-30 17:02:08 +01:00
Blottiere Paul
aed6608095 Add test 2018-01-29 07:17:33 +00:00
Alessandro Pasotti
698befa9dd [gpkg] Add test for gpkg subsetstring don't unlock mutex twice
I wanted to add the test for gpkg subsetstring even if
it was not bugged, while testing that, I hit an assert
in Qt core that pointed me to double unlocked locks.
2018-01-25 15:16:53 +01:00
Juergen E. Fischer
8c96eec25e fix detection of 2.x project crs (followup f2b5a595) 2018-01-24 19:15:25 +01:00
Blottiere Paul
172b21742e
Merge pull request #5899 from peppsac/fix_17668
[server] Fix layers group handling
2018-01-18 10:23:18 +00:00
Nyall Dawson
a1618c7df6 Add test mask 2018-01-18 10:37:33 +10:00
Nyall Dawson
c8fe22c558 Add test for hiding partial labels with rotated canvas 2018-01-18 10:37:33 +10:00
Nyall Dawson
5804745326 Port more tests to layouts, drop more QgsCompositions use 2018-01-18 09:21:45 +10:00
Martin Dobias
ccd98f5d6c Added test 2018-01-17 15:38:27 +01:00
pierre-eric
ac27347a9e [server] Fix layers group handling
Load layers groups from project file to be able to use them in queries.

Fixes #17668
2018-01-17 10:51:34 +01:00
Nyall Dawson
fe2292c59a Fix default value 'apply on update' setting not correctly restored
Fixes #17712
2018-01-16 16:09:41 +10:00
Nyall Dawson
741afdca55 Add provider suite test for thread safety of provider getFeatures()
Hammers providers by iterating through features from multiple threads
2018-01-16 13:57:14 +10:00
Alessandro Pasotti
545ac27e33 [layout] Import guides from 2.x composition 2018-01-12 07:45:18 +10:00
Alessandro Pasotti
d63f4c7658 [server][test] GetPrint test with two maps template
This is to test that map0 and map1 actually refer to the
correct maps
2018-01-11 11:20:08 +01:00
Alessandro Pasotti
a117b6b9ea [layout][server] Update tests and mask images 2018-01-10 21:25:24 +01:00
Alessandro Pasotti
eedb7c795f [layout][server] composer -> layout in getprint 2018-01-10 18:03:08 +01:00
Alessandro Pasotti
353b88a857 [layout] Update reference images 2018-01-09 13:34:18 +01:00
Alessandro Pasotti
f297e86201 [layout] Import attribute table from composition 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
2b2dae828f [layout] Import HTML and atlas from 2.x composition 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
858a71f863 [layout] Add map rendering to tests 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
57a40050ad [layout] Added tests for uuid linked maps
Also updated the control images
2018-01-09 08:08:26 +01:00
Alessandro Pasotti
0229df55c3 [layout] Fixed relative paths for test resources 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
0cb12edbbf [layouts] test masks for rendering tests 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
a5fc57078c [layouts] Removed diff images and adapted tests
to use QGIS font

Also addressed comments in the PR
2018-01-09 08:08:26 +01:00
Alessandro Pasotti
e0c56e7de3 Added diff images for tests 2018-01-09 08:08:26 +01:00