1222 Commits

Author SHA1 Message Date
Alessandro Pasotti
7db1d4e8b4 Added test project with the bad layers (not used by tests)
but still useful for manual tests
2018-11-06 10:28:49 +01:00
Alessandro Pasotti
ba3ccca2dd Add rule-based and categorized styles to the bad layers test 2018-11-06 10:27:07 +01:00
Alessandro Pasotti
7a259c6ea5 Better handling of invalid relations ...
- do not add them to the manager dialog
- do not add relations to not existent layers (but keep relations to invalid layers)
2018-11-05 10:26:39 +01:00
Alessandro Pasotti
bc424d09c1 Store original style as QDomDocument instead of an XML string 2018-11-05 10:26:39 +01:00
Alessandro Pasotti
d46d765d58 Restore handle bad layers dialog original behavior 2018-11-05 10:26:39 +01:00
Alessandro Pasotti
8493636f18 Data source select dialog now accepts a model 2018-11-05 10:26:39 +01:00
Alessandro Pasotti
17433181aa Fix raster style restore when setDataSource 2018-11-05 10:24:35 +01:00
Alessandro Pasotti
8d9d52d128 Add test data for relations 2018-11-05 10:24:35 +01:00
rldhont
b64e72a89d [Bugfix][Server] Use Project selection color in GetPrint 3.4 2018-10-31 09:38:28 +01:00
rldhont
6249b07f7c
Merge pull request #8320 from rldhont/server-reactivate-print-selection-3
[Server] Reactivate the capability to print selection with Server 3.4
2018-10-26 14:23:09 +02:00
rldhont
c47c0ef7d5 [Server][Tests] Update WMS GetPrint Selection 2018-10-26 11:36:28 +02:00
Nyall Dawson
f0735d9171 Update test masks 2018-10-26 15:03:54 +10:00
Matthias Kuhn
dc334ac028
Merge pull request #8223 from signedav/json_tests
QgsServer Tests for JSON fields
2018-10-25 16:41:40 +02:00
rldhont
eae047e9dd [Server][Tests] Update WMS GetMap Selection
The selection color is read from the project and apply to the map.
2018-10-25 16:40:53 +02:00
Peter Petrik
b0bd629336 fix #19939: render mesh arrows also on the edge of the canvas 2018-10-25 13:16:17 +02:00
signedav
ba1fe9de0e remove username/password in db connection in test project 2018-10-25 11:40:44 +02:00
Blottiere Paul
e25a452d17 Add unit test 2018-10-24 00:21:53 +02:00
Denis Rouzaud
49e8e86029 add rendering tests for HiDPI (device pixel ratio) 2018-10-23 16:25:23 -04:00
Nyall Dawson
f00e43d3c2 [layouts] Hack around inconsistent subclassing of layout items by sip
Sometimes, calling some layout methods, results in sip being inable
to downcast the items to their correct type, resulting only
in a QgsLayoutItem object.

This works around the problem, albeit in an incredibly hacky way.
2018-10-20 06:19:34 +10:00
signedav
c7c7204252 put extra default back 2018-10-18 15:37:31 +02:00
signedav
4f55e9d8a2 server tests for json types in postgres 2018-10-18 09:18:28 +02:00
Blottiere Paul
c3a41bc2fa Add unit test for polygon tolerance 2018-10-15 13:29:25 +01:00
Blottiere Paul
5765d49465 Add unit test for line tolerance 2018-10-15 10:40:27 +01:00
Blottiere Paul
6fce7853ca Add unit test for point tolerance 2018-10-15 09:30:59 +01:00
Nyall Dawson
0f056b500a Fix line pattern fill symbol corruption with negative angles 2018-10-13 06:31:56 +10:00
Nyall Dawson
5b4ed16cf9 Fix line pattern fill offsets are always treated as positive,
even when offset is negative
2018-10-13 06:31:56 +10:00
AndrewAnnex
9b4cb7a269 added unit test and test raster 2018-10-09 14:36:05 +10:00
Nyall Dawson
06520be7b0 Spelling 2018-10-08 19:16:29 +10:00
Nyall Dawson
745495fe73 [mssql] Prevent overwriting existing tables via drag and drop in browser
Fixes #16805
2018-10-08 19:16:29 +10:00
Nyall Dawson
da21193894 [mssql] Fix handling of geometry column when multiple geometry/geography
columns are present

Fixes #13932
2018-10-08 17:01:03 +10:00
Nyall Dawson
71c5051356 [mssql] Fix incorrect precision detection for double/float fields
Fixes #15124
2018-10-08 17:01:03 +10:00
Nyall Dawson
794583e62e [mssql] Test data load script 2018-10-08 16:15:31 +10:00
Nyall Dawson
eb439d34ba [mssql] Update test for skipping invalid geometry handling 2018-10-08 16:15:31 +10:00
Nyall Dawson
eb40d911df Add test for MSSQL behavior with invalid polygon geometries
Forward port of 039866d, because I am an idiot and forgot
2018-10-08 16:15:31 +10:00
Blottiere Paul
80e19b6328 Add core unit test 2018-10-08 05:03:49 +10:00
Nyall Dawson
72432246a1 [mssql] Fix test data creation script 2018-10-03 04:50:05 +10:00
rldhont
ad7d03c64f
Merge pull request #7859 from rldhont/fix-server-sld-param-support
[Bugfix][Server] Add WMS SLD parameter support
2018-09-29 18:10:54 +02:00
Blottiere Paul
63f597f934
Merge pull request #8040 from pblottiere/server_highlight_line
[server] Fixes #19906 - GetMap request with line in the SLD is correctly rendered
2018-09-28 17:07:26 +02:00
Blottiere Paul
5496442ca1 Add mask image 2018-09-28 08:42:18 +01:00
Nyall Dawson
68426d641d Add missing file 2018-09-28 14:25:38 +10:00
Nyall Dawson
308d7136b4 [processing] More fixes to convertToCompatibleFormat, lots of unit
tests

Fixes #19938
2018-09-28 14:25:38 +10:00
rldhont
34009d3fb9 [Tests][Server] Add test for WMS SLD parameter and move SLD_BODY test 2018-09-27 21:08:33 +02:00
Matthias Kuhn
2275853ce6
Merge pull request #8008 from m-kuhn/missingVertexCheck
Add QgsGeometryMissingVertexCheck
2018-09-27 10:50:27 +02:00
Matthias Kuhn
fd869d83d4
Add test for missing vertex check 2018-09-26 14:23:04 +02:00
Peter Petrik
1b82abfd87 fix test images for mesh rendering 2018-09-24 11:04:50 +02:00
Even Rouault
fabdc04764
[OGR provider] Fix reading of OSM datasets when opening several layers at the same time (fixes #19477) 2018-09-22 11:59:14 +02:00
Even Rouault
bb40385d33
Merge pull request #7977 from rouault/fix_ogrdataitems_layername
[OGR provider] Make sure to use layername= syntax in URI of multilayer datasources (fixes #19885)
2018-09-22 00:43:27 +02:00
Even Rouault
ea2cc365db
[OGR provider] Make sure to use layername= syntax in URI of multilayer datasources (fixes #19885) 2018-09-21 15:32:19 +02:00
Tudor Bărăscu
1955ebb7c9 server disabled test for failing getmap req with Line sld 2018-09-21 10:14:38 +03:00
Tudor Bărăscu
f125d3f792 add image mask and make travis happy 2018-09-20 20:42:13 +03:00