Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add some version
  • Loading branch information
pblottiere committed Jul 13, 2018
1 parent 120262e commit 69c1c3a
Show file tree
Hide file tree
Showing 19 changed files with 41 additions and 24 deletions.
2 changes: 2 additions & 0 deletions python/server/auto_generated/qgsaccesscontrol.sip.in
Expand Up @@ -18,6 +18,8 @@ class QgsAccessControl : QgsFeatureFilterProvider
%Docstring
A helper class that centralize the restrictions given by all the
access control filter plugins.

.. versionadded:: 2.14
%End

%TypeHeaderCode
Expand Down
5 changes: 3 additions & 2 deletions python/server/auto_generated/qgsbufferserverrequest.sip.in
Expand Up @@ -12,8 +12,9 @@
class QgsBufferServerRequest : QgsServerRequest
{
%Docstring
QgsBufferServerRequest
Class defining request with data
Class defining request with data

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
2 changes: 2 additions & 0 deletions python/server/auto_generated/qgsbufferserverresponse.sip.in
Expand Up @@ -13,6 +13,8 @@ class QgsBufferServerResponse: QgsServerResponse
{
%Docstring
Class defining buffered response

.. versionadded:: 3.0
%End

%TypeHeaderCode
Expand Down
2 changes: 2 additions & 0 deletions python/server/auto_generated/qgsconfigcache.sip.in
Expand Up @@ -15,6 +15,8 @@ class QgsConfigCache : QObject
{
%Docstring
Cache for server configuration.

.. versionadded:: 2.8
%End

%TypeHeaderCode
Expand Down
1 change: 1 addition & 0 deletions src/server/qgsaccesscontrol.h
Expand Up @@ -35,6 +35,7 @@ class QgsAccessControlPlugin;
* \class QgsAccessControl
* \brief A helper class that centralize the restrictions given by all the
* access control filter plugins.
* \since QGIS 2.14
**/
class SERVER_EXPORT QgsAccessControl : public QgsFeatureFilterProvider
{
Expand Down
5 changes: 3 additions & 2 deletions src/server/qgsbufferserverrequest.h
Expand Up @@ -28,8 +28,9 @@

/**
* \ingroup server
* QgsBufferServerRequest
* Class defining request with data
* \class QgsBufferServerRequest
* \brief Class defining request with data
* \since QGIS 3.0
*/
class SERVER_EXPORT QgsBufferServerRequest : public QgsServerRequest
{
Expand Down
3 changes: 2 additions & 1 deletion src/server/qgsbufferserverresponse.h
Expand Up @@ -30,7 +30,8 @@
/**
* \ingroup server
* \class QgsBufferServerResponse
* Class defining buffered response
* \brief Class defining buffered response
* \since QGIS 3.0
*/
class SERVER_EXPORT QgsBufferServerResponse: public QgsServerResponse
{
Expand Down
3 changes: 2 additions & 1 deletion src/server/qgsconfigcache.h
Expand Up @@ -31,8 +31,9 @@
#include "qgsproject.h"

/**
* Cache for server configuration.
* \ingroup server
* \brief Cache for server configuration.
* \since QGIS 2.8
*/
class SERVER_EXPORT QgsConfigCache : public QObject
{
Expand Down
5 changes: 3 additions & 2 deletions src/server/qgsfcgiserverrequest.h
Expand Up @@ -28,8 +28,9 @@

/**
* \ingroup server
* QgsFcgiServerResquest
* Class defining fcgi request
* \class QgsFcgiServerResquest
* \brief Class defining fcgi request
* \since QGIS 3.0
*/
class SERVER_EXPORT QgsFcgiServerRequest: public QgsServerRequest
{
Expand Down
5 changes: 3 additions & 2 deletions src/server/qgsfcgiserverresponse.h
Expand Up @@ -29,8 +29,9 @@

/**
* \ingroup server
* QgsFcgiServerResponse
* Class defining fcgi response
* \class QgsFcgiServerResponse
* \brief Class defining fcgi response
* \since QGIS 3.0
*/
class SERVER_EXPORT QgsFcgiServerResponse: public QgsServerResponse
{
Expand Down
3 changes: 2 additions & 1 deletion src/server/qgsfilterrestorer.h
Expand Up @@ -30,7 +30,8 @@ class QgsAccessControl;

/**
* \ingroup server
* RAII class to restore layer filters on destruction
* \brief RAII class to restore layer filters on destruction
* \since QGIS 3.0
*/
class SERVER_EXPORT QgsOWSServerFilterRestorer
{
Expand Down
1 change: 0 additions & 1 deletion src/server/qgsserverexception.h
Expand Up @@ -30,7 +30,6 @@
* \ingroup server
* \class QgsServerException
* \brief Exception base class for server exceptions.
*
* \since QGIS 3.0
*/
#ifndef SIP_RUN
Expand Down
7 changes: 3 additions & 4 deletions src/server/qgsserverinterfaceimpl.h
Expand Up @@ -27,13 +27,12 @@

/**
* \ingroup server
* QgsServerInterface
* Class defining interfaces exposed by QGIS Server and
* made available to plugins.
* \class QgsServerInterface
* \brief Interfaces exposed by QGIS Server and made available to plugins.
* \since QGIS 2.8
*/
class QgsServerInterfaceImpl : public QgsServerInterface
{

public:

//! Constructor
Expand Down
1 change: 1 addition & 0 deletions src/server/qgsserverlogger.h
Expand Up @@ -31,6 +31,7 @@
/**
* \ingroup server
* \brief Writes message log into server logfile
* \since QGIS 2.8
*/
class QgsServerLogger: public QObject
{
Expand Down
1 change: 1 addition & 0 deletions src/server/qgsserverplugins.h
Expand Up @@ -30,6 +30,7 @@ class QgsPythonUtils;
/**
* \ingroup server
* \brief Initializes Python server plugins and stores a list of server plugin names
* \since QGIS 2.8
*/
class SERVER_EXPORT QgsServerPlugins
{
Expand Down
4 changes: 3 additions & 1 deletion src/server/services/wcs/qgswcsserviceexception.h
Expand Up @@ -29,6 +29,7 @@ namespace QgsWcs
* \ingroup server
* \class QgsserviceException
* \brief Exception class for WFS service exceptions.
* \since QGIS 3.0
*/
class QgsServiceException : public QgsOgcServiceException
{
Expand All @@ -52,11 +53,11 @@ namespace QgsWcs

};


/**
* \ingroup server
* \class QgsSecurityAccessException
* \brief Exception thrown when data access violates access controls
* \since QGIS 3.0
*/
class QgsSecurityAccessException: public QgsServiceException
{
Expand All @@ -74,6 +75,7 @@ namespace QgsWcs
* \ingroup server
* \class QgsRequestNotWellFormedException
* \brief Exception thrown in case of malformed request
* \since QGIS 3.0
*/
class QgsRequestNotWellFormedException: public QgsServiceException
{
Expand Down
7 changes: 4 additions & 3 deletions src/server/services/wfs/qgswfsserviceexception.h
Expand Up @@ -29,6 +29,7 @@ namespace QgsWfs
* \ingroup server
* \class QgsserviceException
* \brief Exception class for WFS service exceptions.
* \since QGIS 3.0
*/
class QgsServiceException : public QgsOgcServiceException
{
Expand All @@ -52,11 +53,11 @@ namespace QgsWfs

};


/**
* \ingroup server
* \class QgsSecurityAccessException
* \brief Exception thrown when data access violates access controls
* \since QGIS 3.0
*/
class QgsSecurityAccessException: public QgsServiceException
{
Expand All @@ -74,6 +75,7 @@ namespace QgsWfs
* \ingroup server
* \class QgsRequestNotWellFormedException
* \brief Exception thrown in case of malformed request
* \since QGIS 3.0
*/
class QgsRequestNotWellFormedException: public QgsServiceException
{
Expand All @@ -91,6 +93,7 @@ namespace QgsWfs
* \ingroup server
* \class QgsBadRequestException
* \brief Exception thrown in case of malformed request
* \since QGIS 3.0
*/
class QgsBadRequestException: public QgsServiceException
{
Expand All @@ -103,8 +106,6 @@ namespace QgsWfs
: QgsServiceException( code, message, locator, 400 )
{}
};


} // namespace QgsWfs

#endif
Expand Down
5 changes: 1 addition & 4 deletions src/server/services/wms/qgswmsrenderer.h
Expand Up @@ -68,15 +68,12 @@ class QgsLayerTreeGroup;
* - getlegendgraphics
* - getprint
*/

// These requests share common methods: putting them into a single helper class is
// more practical than spitting everything in a more functional way.

namespace QgsWms
{

/**
* \ingroup server
* \since QGIS 3.0
*/
class QgsRenderer
{
Expand Down
3 changes: 3 additions & 0 deletions src/server/services/wms/qgswmsserviceexception.h
Expand Up @@ -29,6 +29,7 @@ namespace QgsWms
* \ingroup server
* \class QgsserviceException
* \brief Exception class for WMS service exceptions.
* \since QGIS 3.0
*
* The most important codes are:
* * "InvalidFormat"
Expand Down Expand Up @@ -61,6 +62,7 @@ namespace QgsWms
* \ingroup server
* \class QgsSecurityException
* \brief Exception thrown when data access violates access controls
* \since QGIS 3.0
*/
class QgsSecurityException: public QgsServiceException
{
Expand All @@ -78,6 +80,7 @@ namespace QgsWms
* \ingroup server
* \class QgsBadRequestException
* \brief Exception thrown in case of malformed request
* \since QGIS 3.0
*/
class QgsBadRequestException: public QgsServiceException
{
Expand Down

0 comments on commit 69c1c3a

Please sign in to comment.