188 Commits

Author SHA1 Message Date
Éric Lemoine
5b808f6a22 [FEATURE][needs-doc] Introduce QGIS_SERVER_LOG_STDERR and deprecate file logging 2018-09-14 09:08:21 +02:00
Éric Lemoine
34431024d3 Make QgsServerLogger testable and test it 2018-09-13 09:32:10 +02:00
rldhont
6b8d04b081 [Server] Various code cleaning for server cache manager and WMTS service 2018-08-28 14:22:24 +02:00
rldhont
df03b63bc4 [Server][Feature][needs-docs] Add ability to define ResourceURL for WMTS 2018-08-23 14:30:45 +02:00
rldhont
c9409e5150 [Server][Feature][needs-docs] Update Cache manager API 2018-08-21 15:11:53 +02:00
rldhont
7633d2ab21 [Server] Various code cleaning for server cache manager and WMTS service 2018-08-21 14:11:57 +02:00
rldhont
d0041a22e8 [Server][Feature][needs-docs] Add Cache manager SIP files 2018-08-21 14:11:56 +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
Blottiere Paul
e48de2048a Fix doc 2018-07-23 08:07:08 +01:00
Blottiere Paul
fb75580b65 Add doc for QgsServerParameterDefinition 2018-07-23 08:07:08 +01:00
Blottiere Paul
3e00b10cc2 Update doc for QgsServerParameters and QgsServerParameter 2018-07-23 08:07:07 +01:00
Blottiere Paul
77af2ca08d Add doc for QgsBadRequestException 2018-07-23 08:07:07 +01:00
Blottiere Paul
ffddc9a015 Update doc for QgsServerParameters 2018-07-23 08:07:07 +01:00
Blottiere Paul
7b32f8c61b Add virtual default destructors 2018-07-23 08:07:07 +01:00
Blottiere Paul
555b9471b2 Update sip binding 2018-07-23 08:07:07 +01:00
Blottiere Paul
6e1f14bd9e Fix sip binding 2018-07-23 08:07:07 +01:00
Blottiere Paul
683975c74e Add a layoutParameter method to search in unmanaged parameters 2018-07-23 08:07:07 +01:00
Blottiere Paul
a946c528c4 Update sip binding 2018-07-23 08:07:07 +01:00
Blottiere Paul
950f7d7d35 Update sip 2018-07-23 08:07:07 +01:00
Blottiere Paul
d1a4c0a6ac Update sip 2018-07-23 08:07:07 +01:00
Blottiere Paul
1ca1bd6bd2 Update sip binding 2018-07-13 08:22:28 +01:00
Blottiere Paul
67cbb278ca Update sip binding 2018-07-13 08:22:28 +01:00
Blottiere Paul
721e309104 Cleaning QgsServiceModule 2018-07-13 08:22:28 +01:00
Blottiere Paul
a214d773f7 More doc 2018-07-13 08:22:28 +01:00
Blottiere Paul
cb6b98349a More doc 2018-07-13 08:22:28 +01:00
Blottiere Paul
69c1c3a19e Add some version 2018-07-13 08:22:28 +01:00
Blottiere Paul
d49c0d0480 Remove fake method 2018-07-13 08:22:28 +01:00
Blottiere Paul
3cf7c34146 Update doc for QgsConfigCache 2018-07-13 08:22:28 +01:00
Blottiere Paul
a7dfd6e1aa Update doc for QgsMapServiceException 2018-07-13 08:22:28 +01:00
Blottiere Paul
8d6f3bb2e3 Add fake method to test Travis doc 2018-07-13 08:22:27 +01:00
Nyall Dawson
2ed144ac59 Apply clang-tidy readability-avoid-const-params-in-decls fixit
Checks whether a function declaration has parameters that are
top level const.

const values in declarations do not affect the signature of a
function, so they should not be put there.
2018-06-05 10:19:13 +10:00
Denis Rouzaud
e5b02cd2a8 use dedicated files for auto additions 2018-06-03 11:07:09 -08:00
Denis Rouzaud
637f59ded1 fix server/app files and sipify test 2018-05-28 10:39:34 -08:00
Denis Rouzaud
65bb60e96c run sipify 2018-05-28 10:39:34 -08:00
Nyall Dawson
f8bc97030b Remove extra space added before first line of docstring 2018-05-28 08:22:11 +10:00
Nyall Dawson
7a1a787c0a Fix incorrect returns docstring when doxygen \returns has extra trailing spaces or uses tabs 2018-05-27 18:54:09 +10:00
Nyall Dawson
4b1b752633 Fix bad regex 2018-05-27 18:54:09 +10:00
Nyall Dawson
1edbca4978 Fix bad class docstring 2018-05-27 18:54:09 +10:00
Nyall Dawson
3d6ea5972b Remove some junk lines from docstrings 2018-05-27 18:54:09 +10:00
Nyall Dawson
38850bdb94 [pyqgis] Ensure that multiline param tags are indented for additional lines 2018-05-27 18:54:09 +10: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
Denis Rouzaud
fca72fa7d1 put back module sip files 2018-05-14 11:02:28 -04:00
Denis Rouzaud
847f0e1829 adapt sipify scripts and test to place auto generated sip files in dedicated folder 2018-05-14 10:44:11 -04:00
Denis Rouzaud
8b130f1c14 move auto generated sip file in dedicated folder (server+analysis) 2018-05-14 10:41:52 -04:00
Juergen E. Fischer
fcacb0db7c doxygen fixes 2018-04-02 22:48:40 +02: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
Alessandro Pasotti
c614b942f3 [bugfix][server] Fix temporary path permission issue
If I don't misread the docs, if a template is given, the file
is created in the current directory instead of the temporary
directory reported by QDir::tempPath()

Furthermore it cannot be set by env TMPDIR.

This issue drove me crazy (and no exceptions and no logs!)
until when I switched the server user to root (that is
of course not what we want).

As a temporary workaround, the server can be configured to
use /tmp or another www-data writeable directory as a working
directory.

By prefixing with tempPath() the file will be created
in the system temp directory.
2018-03-03 22:15:24 +01:00
Nyall Dawson
0acdcfadfd Fix crash when using the identify tool on a categorized render
with an unchecked category corresponding to the feature at the
clicked point

Also fix count of default category symbols
2018-03-01 16:49:29 +11:00
Denis Rouzaud
3dc3d9d1b2 unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
make enum items lower case
remove unused QgsMessageLog::None and All
2018-02-06 08:56:40 -04:00