13 Commits

Author SHA1 Message Date
Juergen E. Fischer
a90be95f7b sip sync 2016-02-14 03:50:49 +01:00
Nyall Dawson
881074b194 Boost coverage of SIP bindings
Now all classes and members are either exposed to bindings or marked
as "not available in Python bindings" in the docs.

Drop test thresholds to 0. Now it should be much easier to determine
what missing members have been added which are causing test
failures.
2016-01-05 11:16:15 +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
Nyall Dawson
526b8fc635 Change some by value arguments to by reference 2015-11-16 09:55:07 +11:00
elpaso
1b06c0c3b8 [server] Added comment 2015-08-06 18:03:49 +02:00
elpaso
e930d696fa [server] setFilters implementation, bindings and test
* moved type conversion to conversions.sip (template)
* added setFilters() to QgsServerInterface
* added tests
2015-08-06 17:51:26 +02:00
elpaso
230196071a Added TypeHeaderCode for QgsServerFiltersMap 2015-08-04 20:55:42 +02:00
Juergen E. Fischer
9752c468c1 indentation update 2015-07-29 11:52:14 +02:00
elpaso
00fa63618b [SERVER] Server refactoring and Python bindings/tests
This is a refactoring of the server component, the
server is now wrapped into a new QgsServer class with
python bindings and an examples python test.
2015-06-29 12:49:43 +02:00
elpaso
ca8e0c3991 Added comments for bindings. 2014-11-26 16:03:57 +01:00
elpaso
b7c7422416 Comments added 2014-11-26 16:02:33 +01:00
elpaso
c9d6f4da43 Added getEnv to plugins API 2014-11-26 16:02:32 +01:00
elpaso
5f44cc5719 Added serve python plugins 2014-11-26 16:02:32 +01:00