933 Commits

Author SHA1 Message Date
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
Alessandro Pasotti
c232b4fe9c [layout] connect converted to loader code 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
680b9f8ea0 [layout] Convert scalebar and legent from 2.x 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
2ad56efb79 Added test composer templates for import test 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
af8a2296dc [layout] Converter: shapes 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
da3636e566 [layout] Converter: initial implementation 2018-01-09 08:08:26 +01:00
Nyall Dawson
e2ce85f992 Update test masks 2018-01-08 12:09:32 +10:00
Alessandro Pasotti
a343570eab
Merge pull request #6000 from elpaso/bugfix-17795-ogr-filtered-readonly
[bugfix][ogr] Recompute capabilities when subsetfilter is set
2018-01-06 11:56:43 +01:00
Nyall Dawson
7e6d6af15c Update test masks 2018-01-06 17:05:21 +10:00
Nyall Dawson
b691998c68 Port some more tests to layouts, drop composer tests which
have been ported to layouts
2018-01-06 17:05:21 +10:00
Alessandro Pasotti
9c8533455f [bugfix][ogr] Tests for capabilities update on filter changes
Fixes #17795
2018-01-05 15:43:28 +01:00
Nyall Dawson
3332118ec7 Add test mask 2018-01-05 11:15:04 +10:00
Nyall Dawson
57628faa01 Add a unit test for exporting reports 2018-01-05 11:15:04 +10:00
Nyall Dawson
be7dae7d52 Expand exporter tests 2018-01-05 11:15:04 +10:00
Nyall Dawson
ec67ddfc0e Restore more atlas tests 2018-01-05 11:15:03 +10:00
Nyall Dawson
d06e12743f Add unit test for svg export 2017-12-19 11:28:19 +10:00
Nyall Dawson
0052eb830e Add unit test for pdf exports 2017-12-18 16:33:26 +10:00
Nyall Dawson
492f9ea18c Update test mask images 2017-12-17 14:18:37 +10:00
Nyall Dawson
ca37a1ebd7 Fix drawing of map items (grids, overviews) when rendering map item as a raster item 2017-12-17 14:14:31 +10:00