Pierre-Eric Pelloux-Prayer
25f2aba44d
Include qgis_sip.h instead of qgis.h where possible ( #8961 )
...
This PR continues the work started in PR #8951 .
This commit replaces occurences of #include "qgis.h" by #include "qgis_sip.h",
where possible = when files only depends on SIP_XXX features.
2019-01-24 11:33:22 -05:00
rldhont
7633d2ab21
[Server] Various code cleaning for server cache manager and WMTS service
2018-08-21 14:11:57 +02:00
rldhont
9bd23b5ac3
[Server][Feature][needs-docs] Server Cache can be manage by plugins
...
First commit to add a way to manage the QGIS Server cache with plugins.
In this commit only GetCapabilities document can be cached by plugins.
2018-08-20 11:20:21 +02:00
Nyall Dawson
c864d22d1f
Add "get ..." to doxygen compliance blacklist
...
Should be "gets ..." for consistent tense, or better yet
"returns ..." for consistency.
2018-05-27 14:05:06 +10:00
Nyall Dawson
1c615c15cc
More documentation compliance
...
Use Qt style "returns .." tense instead of "return ..", and lock
this in with a documentation compliance unit test
2018-05-25 15:09:00 +10:00
Alessandro Pasotti
2cd4a46478
[server][housekeeping] Removed unused class QgsMSLayerCache
...
Not used in the server anymore (layer instances are keps
in memory in the project)
2018-03-20 15:13:06 +01:00
Nyall Dawson
04a9cd9211
Add more consistency to doxygen formatting
2017-10-06 08:19:00 +10:00
Denis Rouzaud
54c6291378
script to write include SIP files
2017-06-28 10:45:51 +02:00
Denis Rouzaud
b7d524c111
sipify server
2017-06-26 14:22:26 +02:00
Denis Rouzaud
29dd519e1f
introduce SIP_SKIP in headers
...
based on the docstrings 'not available in Python bindings'
2017-05-04 12:04:08 +02:00
Nyall Dawson
e47073b1e1
\return -> \returns (for consistency)
2017-04-03 13:18:35 +10:00
Nyall Dawson
e4daf8ea62
@return(s) -> \return(s)
2017-04-03 13:18:13 +10:00
Nyall Dawson
11dcfd935c
@param -> \param
2017-04-03 13:17:27 +10:00
Nyall Dawson
0326f7142d
Change doxygen @note to \note
2017-04-03 13:16:03 +10:00
Nyall Dawson
32326ab5df
Replace "python" with "Python" in docs
2017-04-03 08:33:56 +10:00
Denis Rouzaud
2e7de50b42
run astyle on src/*
2017-03-03 09:09:37 +01:00
Denis Rouzaud
0a63d1f2c2
[spellcheck] properly look into various cases and add more fixes"
2017-01-16 16:39:20 +01:00
Hugo Mercier
ef8a135f1b
Merge pull request #3987 from mhugo/servermultithread
...
[server] parallel map rendering
2017-01-13 16:16:14 +01:00
Alessandro Pasotti
1a6b977386
[server] C++ 11 style default virtual destructor
2017-01-13 09:32:21 +01:00
Blottiere Paul
932d9fb5d3
[server] parallel map rendering
2017-01-13 09:24:31 +01:00
Denis Rouzaud
6c74e4ea5d
spelling fixes
2017-01-12 22:01:50 +01:00
David Marteau
d8a05ccef4
Add plugin hook support decorator
...
- Add plugin hook support decorator for use in service modules
- Remove handling of plugin hook with request handler (not needed
anymore)
- Reduce usage of HAVE_SERVER_PYTHON_PLUGINS by using forward opaque declaration.
2017-01-10 14:34:18 +01:00
David Marteau
fcacb2899f
Fix coding style and update comments
2017-01-10 14:34:16 +01:00
David Marteau
689f3b1ab2
Expose QgsServerInterface to service modules
...
* Instanciate QgsServerInterface even if HAVE_SERVER_PYTHON_PLUGINS is
not defined
* Pass QgsServerInterface in module registration methods.
* Add QgsServer initialisation test
#Please enter the commit message for your changes. Lines starting
2017-01-10 14:34:16 +01:00
rldhont
3e80a52995
Revert "Merge pull request #3886 from pblottiere/servermultithread"
...
This reverts commit 350a2b513446462120946241cf7fb1bb67ca828b, reversing
changes made to 590a981195289be702bc7bf5382ece25a09ae6bb.
2017-01-09 14:05:28 +01:00
rldhont
350a2b5134
Merge pull request #3886 from pblottiere/servermultithread
...
[server] parallel map rendering
2017-01-09 13:38:04 +01:00
Matthias Kuhn
1693140b1c
Add qgis_server with SERVER_EXPORT macro
2017-01-05 00:12:11 +01:00
Blottiere Paul
f7729b3096
[server] parallel map rendering
2017-01-02 22:13:45 +01:00
Nyall Dawson
ef0131dfe3
Optimise destructors (pt 3)
2017-01-02 09:54:33 +10:00
Nyall Dawson
9021bb479c
Remove "//! Destructor" doxygen comments
...
This documentation doesn't add any value
2016-12-30 13:52:57 +10:00
Nyall Dawson
1367fd09fc
Prepare commit converts single line doxygen block format
...
Flips single line doxygen comments to use the proper single line
format:
/*!< comment */ to //!< Comment
and
/** comment */ to //! Comment
2016-10-25 09:17:39 +10:00
Juergen E. Fischer
f4cb295e65
server sip sync
2016-10-01 13:23:36 +02:00
Nyall Dawson
3408a78d49
Indentation
2016-06-07 07:26:34 +10:00
David Marteau
a4a0c9b2fb
Expose server interfaces methodsi to python for clearing server layer cache.
2016-06-03 10:02:47 +02:00
Juergen E. Fischer
a90be95f7b
sip sync
2016-02-14 03:50:49 +01: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
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
0312dbf3cb
Added server module to dox
...
Added a server group and module for the server library
2015-07-10 14:50:20 +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
elpaso
7c3190fe12
Added documentation and QgsServer to doxy template
2015-06-29 12:50:57 +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
Juergen E. Fischer
6a84e07cc2
fix warnings
2015-05-31 19:00:06 +02:00
elpaso
0f8f6188b0
Added documentation and QgsServer to doxy template
2015-05-30 17:46:08 +02:00
Juergen E. Fischer
6a1e1bb668
* fix server plugin build on windows
...
* move src/mapserver to src/server (IMHO better name and in sync with
python/server)
* rename cmake option WITH_MAPSERVER to WITH_SERVER
* rename define MAPSERVER_HAVE_PYTHON_PLUGINS to HAVE_SERVER_PYTHON_PLUGINS
2014-11-28 16:46:29 +01:00
Juergen E. Fischer
0454c0d6ff
don't build server plugins if server isn't built
2014-11-28 16:46:28 +01:00