Alessandro Pasotti
28f547ea81
Wait for server ready (and times out) before starting the tests
2016-10-03 14:19:49 +02:00
Nyall Dawson
230417c7a8
Add method to create QgsMapToPixel from scale/dpi/mapunits
2016-10-03 11:19:04 +10:00
Juergen E. Fischer
ffaffadbfa
fix typos
2016-10-01 17:58:12 +02:00
Matthias Kuhn
ff52a9f29b
setAttributeAlias is now setFieldAlias
2016-10-01 15:39:03 +02:00
Matthias Kuhn
4a7a8ff263
Update python code
2016-10-01 15:39:03 +02:00
Matthias Kuhn
b6779f63ff
Rename QgsFields::fieldNameIndex() to lookupField()
...
To have two clearly different names for tolerant/intolerant index lookup
2016-10-01 15:39:03 +02:00
Matthias Kuhn
9a261cfbbc
QgsFields::fieldNameIndex also matches field alias
...
This method is also doing case insensitive "fuzzy" matching now, this
just adds yet another level of tolerance.
This changes the expressions to also take the alias into account if no
matches have been found.
2016-10-01 15:39:03 +02:00
Nyall Dawson
a5adb667f5
Merge pull request #3548 from nirvn/wordwrap_zerowidthspace
...
[expression] make wordwrap work with complex scripts (Indic, Arabic, etc.)
2016-10-01 19:32:28 +10:00
rldhont
f47a7320d1
[BUGFIX] Expression in like escape % and _
...
The Expression LIKE binary operator does not care about escape % and _ char.
No-one has already open an issue about it but in the OGC element PropertyIsLike the user can defined is own wild and single char. This mean that QGIS has to escape % and _ if they are not used as wild and single char.
2016-09-30 14:27:53 +02:00
nirvn
87039204b0
[expression] make wordwrap work with complex scripts (Indic, Arabic, etc)
2016-09-30 16:45:52 +07:00
Nyall Dawson
fbdc93fb2e
Add missing test images
2016-09-30 08:42:16 +10:00
Nyall Dawson
1725182909
Make @cluster_size, @cluster_color usable in displacement renderer too
2016-09-30 08:42:16 +10:00
Nyall Dawson
3253cdc2fb
Unit tests for displacement and cluster renderer
2016-09-30 08:42:16 +10:00
Alessandro Pasotti
19585ee1aa
[Server 3.0] Typo in test name and removed obsolete comments
2016-09-29 14:07:50 +02:00
Alessandro Pasotti
949241d3ac
Merge pull request #3540 from elpaso/auth-integration-test
...
Auth integration test + more reliable server tests
2016-09-29 12:18:13 +02:00
Alessandro Pasotti
49ae0206f4
[Server 3.0] Tests reliability + new auth test
...
- Local server searches for a free port before binding
- Server tests now ignore attributes order
- Updated reference docs
- Renamed projects ("+" -> "_")
- Added a smoke test for auth manager and WMS/WFS providers
2016-09-29 11:47:32 +02:00
Patrick Valsecchi
ecba254303
Add relation discovery for SpatiaLite
2016-09-29 07:42:08 +02:00
Nyall Dawson
67d5e19303
Update test masks (Qt5 on Fedora)
2016-09-29 12:23:02 +10:00
Patrick Valsecchi
31a1c23903
Add auto-discovery of relations for PostgresQL
...
Fixed the add relation functionnality: the table is sorted. When the code
was setting the sorted column, the row was sorted and the other columns it was
setting were set on the wrong row.
2016-09-27 16:36:33 +02:00
Alessandro Pasotti
6b7d7b00b2
Merge pull request #3528 from elpaso/server-needs-qgsapp
...
[Server 3.0] now needs a qApp and tests are back
2016-09-27 09:04:10 +02:00
Alessandro Pasotti
e795393e65
[Server 3.0] added missing QgsApplication
2016-09-27 08:44:02 +02:00
Nyall Dawson
7d8fba8b8c
Preserve edits for multiline editor when length exceeds field size
...
Previously when using the multiline option for text edit widgets
the entire contents of the field would be discarded if the entered
value exceeded the maximum length for a string field.
Now the entered string is truncated to the maximum field length.
2016-09-27 11:36:23 +10:00
Alessandro Pasotti
786fe506b4
[Server 3.0] re-enable server tests
2016-09-26 19:35:22 +02:00
Alessandro Pasotti
76d1e8a8ea
[Server 3.0] migrate more tests
2016-09-26 19:32:14 +02:00
Alessandro Pasotti
989fb9a686
[Server 3.0] migrate tests
2016-09-25 22:44:43 +02:00
Alessandro Pasotti
aeb5ff25b6
[Server 3.0] now needs a qApp
2016-09-25 09:43:47 +02:00
Even Rouault
7a685f1e61
Merge pull request #3524 from rouault/fix_15351
...
Fix database locking when editing GeoPackage
2016-09-23 18:06:42 +02:00
Even Rouault
b6b8759efb
Fix database locking when editing GeoPackage
...
Concurrent read and write can lock a GeoPackage database given
the default journaling mode of SQLite (delete). Use WAL when
possible to avoid that.
Fixes #15351
2016-09-23 17:23:07 +02:00
Nyall Dawson
e1386d41ef
Merge pull request #3518 from pvalsecc/qt5_json
...
Use the Qt5 JSON classes
2016-09-23 14:30:31 +10:00
Nyall Dawson
10ee1c3c26
Update test masks
2016-09-23 13:58:14 +10:00
Nyall Dawson
4dbea7f5a4
Change default label buffer join style to round
...
Looks much nicer and is more appropriate for buffers
2016-09-23 13:58:13 +10:00
Patrick Valsecchi
1a71ee5a00
Use the Qt5 JSON classes
2016-09-21 14:21:48 +02:00
Even Rouault
0542aacdc7
Merge pull request #3499 from pvalsecc/spatialite_arrays
...
Add support for arrays in the spatialite provider
2016-09-21 09:35:15 +02:00
Nyall Dawson
83ad380bd6
Switch QT4_* macros to QT5
2016-09-21 09:12:54 +10:00
Nyall Dawson
88e4410af1
Require Qt >= 5.5
2016-09-21 09:12:54 +10:00
Nyall Dawson
774f5085a3
Fix crash in TestQgsNetworkContentFetcher under qt5
2016-09-21 09:12:54 +10:00
Nyall Dawson
4ad5038b5d
Some server test python3 updates
2016-09-21 09:12:54 +10:00
Nyall Dawson
05885faa46
Fix crash on QgsServer exit
...
QgsApplication must be gracefully exited under Qt5 or a segfault
occurs due to the auth manager not releasing database connections
Also fix crash in QgsServerAccessControl test by explicitly
deleting the server instance to trigger this shutdown
2016-09-21 09:12:54 +10:00
Nyall Dawson
d49b656055
Permantly convert python tests to python 3
2016-09-21 09:12:54 +10:00
Patrick Valsecchi
f622c5bf2c
Add expression functions for arrays and maps
2016-09-20 13:22:55 +02:00
Patrick Valsecchi
6260f9dea5
Add support for arrays in the spatialite provider
...
New versions of GDAL/OGR (since trunk@35289) convert list types (StringList,
IntegerList, Integer64List and RealList) to a JSON string when it stores a
Spatialite table. It sets the column type as JSONSTRINGLIST, JSONINTEGERLIST,
JSONINTEGER64LIST or JSONREALLIST.
2016-09-20 13:18:32 +02:00
Matthias Kuhn
1da2474da2
Rename QgsEditFormConfig::expression to constraintExpression ( #3509 )
...
And QgsEditFormConfig::expressionDescription to constraintDescription.
Because only a verbose API is a good API.
2016-09-20 08:42:38 +02:00
Nyall Dawson
e4f44722a1
Server access control test masks (Qt5)
2016-09-19 10:20:25 +10:00
Nyall Dawson
e7f8e0e04f
Update test masks (ubuntu 16.04 qt5)
2016-09-19 09:45:16 +10:00
Nyall Dawson
5e9619249e
Merge pull request #3489 from nyalldawson/preset_color_ramp
...
[FEATURE] "Preset colors" color ramp
2016-09-17 08:33:13 +10:00
Juergen E. Fischer
4358db6b5c
fix typo
...
(cherry picked from commit 9ae12c811d7d8bcb1cba93f1ff14f46e747e3039)
2016-09-16 22:15:11 +02:00
Nyall Dawson
7f9cc87f85
Merge pull request #3494 from nyalldawson/deprecated
...
Remove remaining deprecated methods
2016-09-16 21:02:25 +10:00
Nyall Dawson
8746932193
Merge pull request #3467 from pvalsecc/arrays
...
[FEATURE] Add support for array attributes
2016-09-16 06:13:34 +10:00
Nyall Dawson
2a8333ef6b
Catch exceptions in transform() expression function
2016-09-15 23:45:32 +10:00
Nyall Dawson
fe65063c2b
Remove many deprecated methods
2016-09-15 18:34:15 +10:00