12 Commits

Author SHA1 Message Date
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
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
Juergen E. Fischer
9752c468c1 indentation update 2015-07-29 11:52:14 +02:00
elpaso
c126592272 Clear the request handler when done
also added some comments and docs strings
2015-07-10 12:03:55 +02:00
Marco Hugentobler
153deba2fc Update python bindings for qgsrequesthandler 2015-07-07 14:57:18 +02:00
Juergen E. Fischer
6e8d19c2ed fix windows 32bit build 2015-02-04 07:15:49 +01:00
Juergen E. Fischer
6d4f444237 sip fix: remove duplicate method and private methods from server request
handler (followup abd4a043)
2015-02-04 01:39:29 +01:00
Juergen E. Fischer
abd4a04399 sip update 2015-02-03 02:21:52 +01:00
elpaso
33f1e35333 body() now return QByteArray
Funded by ItOpen - http://www.itopen.it
2014-11-26 16:07:51 +01:00
elpaso
856e4dede6 Set exception moved to public 2014-11-26 16:03:57 +01:00
elpaso
ca8e0c3991 Added comments for bindings. 2014-11-26 16:03:57 +01:00
elpaso
5f44cc5719 Added serve python plugins 2014-11-26 16:02:32 +01:00