45 Commits

Author SHA1 Message Date
Matthias Kuhn
83d729c0fb Switch to python 3.3 and new binary osgeo4travis 2016-03-22 08:49:44 +01:00
Matthias Kuhn
fee3197a7c Sort Qt5 test blacklist 2016-03-22 08:25:16 +01:00
Nyall Dawson
6b4f60970d Add masks for qt5 and enable atlas test 2016-03-18 16:32:44 +11:00
Nyall Dawson
da635d4069 Fix parsing of #rrggbbaa colors under Qt5 2016-03-18 16:32:44 +11:00
Bas Couwenberg
81c5f25a7f Don't require Python 3 for Qt5.
Use separate ENABLE_PYTHON3 option for Python 3.
2016-03-16 10:55:49 +01:00
Matthias Kuhn
567a323c08 Add server tests to blacklist 2016-03-15 08:18:40 +01:00
Matthias Kuhn
39047221ce [qt5 server] deprecate usage of QFtp and remove from Qt5 builds 2016-03-15 08:18:39 +01:00
Bas Couwenberg
72a6b774ef Enable QSpatiaLite for travis qt4 builds. 2016-03-12 21:02:32 +01:00
Bas Couwenberg
e4ecbb2667 Enable QSpatiaLite for travis qt5 builds. 2016-03-12 20:00:08 +01:00
Matthias Kuhn
29d2d28330 Run more tests in Qt5 setup 2016-03-11 13:21:07 +01:00
Matthias Kuhn
cd96169579 Add Qt5 builds to travis 2016-03-10 20:23:04 +01:00
Nyall Dawson
697a25dd92 Revert "Revert "[travis] Use newer clang 3.7 for linux builds""
This reverts commit d902c56f4d03c70a4654a7132effdf5150a6e052.

Default precise clang versions are now also randomly failing, so
let's try using a newer clang version (3.8) again and see if this
fixes it.
2016-03-02 12:02:11 +11:00
Matthias Kuhn
5f0173ed82 Add gdal-bin to travis 2016-02-23 11:08:45 +01:00
Sandro Santilli
bfcf92f728 Use pg initialization script from Travis 2016-02-17 18:14:58 +01:00
Matthias Kuhn
c21889f945 Add qgis.testing module for generic qgis test helpers 2016-02-04 13:36:13 +01:00
Nyall Dawson
cf3c55bdfc [travis] Warn on unintentional switch fallthrough
Intentional fallthrough should be annotated with

"FALLTHROUGH;"
2016-01-25 14:41:07 +11:00
Denis Rouzaud
bdf659faa1 Merge pull request #2699 from 3nids/test_join_pg
Add postgres provider to join test
2016-01-20 13:43:45 +01:00
Denis Rouzaud
13ccf70e1a test vector join: add PostgreSQL provider 2016-01-20 12:00:46 +01:00
Nyall Dawson
d902c56f4d Revert "[travis] Use newer clang 3.7 for linux builds"
This reverts commit 54cf64bcdc6dc362fe8ca75c019ec82c7c240af9.

Seems like the recent clang 3.7.1 release is causing build
issues with the sip bindings. Revisit at some later stage, but
for now just get Travis building correctly again.
2016-01-19 13:16:37 +11:00
Nyall Dawson
45eeb95d83 Revert 13f4081 and 2b7c5c1
Ensures that Travis is testing the same documentation coverage as
the actual docs are built using.
2016-01-14 12:22:19 +11:00
Matthias Kuhn
80c9d02f5e Doxygen take 2 2016-01-07 17:10:13 +01:00
Matthias Kuhn
2b7c5c1d1c Only skip *.cpp files for doc generation on travis 2016-01-07 13:34:45 +01:00
Juergen E. Fischer
8949c4420e indentation test: improve interpretation of commit ranges 2015-12-25 04:29:46 +01:00
Michael Kirk
afcf567ebb [Processing] fixup parameters test
- Broke into per class testcase
- Each method tries to test only one aspect of behavior
- Use unittest assertions for better error output
- Removed non-existant serialize functionality from tests
- Test BooleanParameter

Conflicts:
	python/plugins/processing/core/parameters.py
2015-12-24 15:14:02 +01:00
Matthias Kuhn
50092ebbb3 [Travis] Show proper clang version 2015-12-09 11:05:27 +01:00
Matthias Kuhn
c9423c1ac7 [Travis] Don't build with debug info 2015-12-09 10:44:11 +01:00
Matthias Kuhn
be01b7eec5 [FEATURE] Add N:M relation editing possibilities
This adds the possibility to manage data on a normalized relational
database in N:M relations. On the relation editor in a form, the tools
to add, delete, link and unlink work (also) on the linking table if a
relation is visualized as N:M relation.

Configuration is done through the fields tab where on the relation a
second relation can be chosen (if there is a suitable relation in terms
of a second relation on the linking table).

Limitations
===========

QGIS is not a database management system.

It is based on assumptions about the underlying database system. In
particular it expects

 * A `ON DELETE CASCADE` or similar measure on the second relation
 * Does not take care of setting the primary key when adding features.
   Either users need to be instructed to set them manually or - if it's a
   database derived value - the layers need to be in transaction mode
   (currently only activatable through the API)
2015-12-08 15:49:01 +01:00
Matthias Kuhn
ab3542abf8 Write debug output on travis
This should make it easier to debug issues when they fail on travis.
But at the sime time it also decreases the SNR and increases test times.
Will have to check if this makes sense in the long run.
2015-12-04 15:27:43 +01:00
Juergen E. Fischer
0d5d3bc9b8 travis: add indentation check after running tests 2015-12-04 11:50:42 +01:00
Matthias Kuhn
001f4bc581 Disable grass7 tests
Packages are unavailable (at the moment?)
2015-11-26 09:03:32 +01:00
Nyall Dawson
54cf64bcdc [travis] Use newer clang 3.7 for linux builds 2015-11-20 12:59:18 +11:00
Stéphane Brunner
c9f0d83aaf The plugin define the following methods:
* layerFilterExpression
  Return an additional filter, used in
  WMS/GetMap, WMS/GetFeatureInfo, WFS/GetFeature to filter the features
* layerFilterSubsetString
  Return an additional the subset string (typically SQL) filter.
  Faster than the layerFilterExpression but not supported on all the
  type of layer
* layerPermissions
  Change the rights on the layer per user (known by the plugin)
  Concern rights: publish, insert, update, delete.
  Mostly used in WFS/Transaction, and the publish in all requests.
* authorizedLayerAttributes
  Be able to show some attributes only for a subset of user
  Used in: WMS/GetFeatureInfo, WFS/GetFeature
* allowToEdit
  Be able to don't allow to edit a particular feature, in our case base
  on the Geometry
  Used in: WFS/Transaction
* cacheKey
  Cache key to used to create the capabilities cache, "" for no cache,
  shouldn't contains any "-", default to ""
2015-11-18 14:49:43 +01:00
Sebastian Dietrich
1b9452b4d9 removed the activation of postgis extension as this is already done in the testdata.sql script 2015-11-15 21:54:37 +01:00
Sandro Mani
643eb1000d Remove GEOS C++ lib dependency 2015-10-07 23:33:56 +02:00
Matthias Kuhn
4625a162a0 followup 2015-10-07 09:28:40 +02:00
Matthias Kuhn
b680a1be99 Make travis files easier diff'able 2015-10-07 09:27:35 +02:00
Nyall Dawson
a7cd1985ed Add missing python-qt4-sql dependancy to Travis 2015-10-01 07:07:52 +10:00
Nyall Dawson
228d816b3b Merge pull request #2330 from boundlessgeo/master-2_11-auth-system
Authentication configuration system with master password
2015-09-26 05:45:28 +10:00
Larry Shaffer
e65aa99ae7 [FEATURE] Authentication configuration system with master password
- Main C++ core and gui classes and desktop app integration
- Support for authentication method plugins
- Does not contain any integration with service connections
2015-09-21 08:51:18 -06:00
Sandro Mani
be4bb3bc26 Add libgeos++-dev to travis before_install.sh 2015-09-21 10:03:25 +02:00
Matthias Kuhn
e970f4afee [travis] Install grass 7 build deps 2015-09-17 14:54:38 +02:00
Matthias Kuhn
f4d9e6f004 [travis] Enable tests for Grass 7 2015-09-17 14:49:53 +02:00
Matthias Kuhn
42e86932a0 Enable grass on travis 2015-09-17 10:04:46 +02:00
Matthias Kuhn
b8b760e2bb Write important test output to travis console 2015-09-14 17:55:09 +02:00
Nyall Dawson
6415a75b51 Cleanup travis scripts 2015-08-12 23:39:02 +10:00