Nyall Dawson
384d310233
Minor improvements to PyQGIS returns for SIP_OUT params
2019-02-05 04:55:34 +11:00
mhugent
b5febe5189
Merge pull request #8922 from mhugent/server_datasource_error
...
Server: catch datasource error
2019-01-24 17:27:13 +01:00
Marco Hugentobler
9eeaa31c9e
=default with extra-asterisk
2019-01-24 09:58:39 +01:00
Marco Hugentobler
b5a4875536
Add autogenerated sip file and remove =default in qgsstorebadlayerinfo.h (rejected by travis)
2019-01-23 09:25:02 +01:00
Alessandro Pasotti
02c3c8e84a
Fix doxy string
2019-01-22 09:44:00 +01:00
Alessandro Pasotti
691176b39b
Fix POST requests for QGIS server
...
Followup https://github.com/qgis/QGIS/pull/8830 that fixed
a regression with rewritten urls in the server, unfortunately
my original solution introduced a side-effect on the POST
request, with the new approach I'm introducing a new method
to retrieve the URL as seen by the web server: by default
this is the same URL seen by QGIS server, but in case
a rewrite module made some changes, the original URL will
be used as a base URL if not overridden by a config setting.
This PR comes with an extended set of tests that should
cover both (rewritten and unrewritten) cases for GET and
POST and for WFS/WFS/WCS and WMTS.
2019-01-21 19:15:49 +01:00
Alessandro Pasotti
4d609ff46f
Merge pull request #8830 from elpaso/bugfix-server-fcgi-rewritten-uri
...
[server] Use REQUEST_URI as default URL for FCGI requests
2019-01-11 15:58:26 +01:00
Alessandro Pasotti
cd763bccf2
Update override comment with a full explanation of what it does
...
Also checks for original url emptiness before returning it.
2019-01-10 10:58:27 +01:00
Blottiere Paul
fcc3996ddf
Remove unnecessary #include in server
2019-01-10 07:50:02 +10:00
Alessandro Pasotti
00ec08a8aa
Rewritten function comment
2019-01-09 18:46:32 +01:00
Alessandro Pasotti
bb9ec39fa6
[server] Fix URL rewrite from fcgi servers
...
The URL exposed in the XML documents generated
by the server was wrong because instead of
using the original URL (from REQUEST_URI)
the rewritten query string (from QUERY_STRING)
was applied to the internal mUrl variable.
This patch also adds some tests for the
FCGI request, that handle most common
scenarios with bot rewritten and not
rewritten URLs.
QgsFcgiServerRequest is now exposed to
Python mainly for testability purposes.
2019-01-09 18:46:32 +01:00
Marco Hugentobler
4e29558808
Add doc for new function
2019-01-05 15:19:56 +01:00
Marco Hugentobler
2e7bf12ee1
Possibility to restrict number of atlas features (default: 1)
2019-01-05 15:19:55 +01:00
Denis Rouzaud
166e952c33
run sipify
2018-12-19 08:04:27 -04:00
Denis Rouzaud
edfb7e1465
run sipify
2018-12-18 17:17:25 -04:00
Nyall Dawson
928779bf51
Sipify
2018-11-04 19:22:09 +10:00
Denis Rouzaud
711ec1de47
forward declaration of QgsProject
2018-10-08 13:01:16 -08:00
rldhont
c15f05b4c9
[Bugfix][Server] Add WMS SLD parameter support
...
Fixed #19795 QGIS Server 3 / WMS: the SLD parameter support has been removed
To reactivate SLD parameter support, we add a new conversion capability in server parameter `toUrl`. And the capabilty to load the content associted to an URL.
Then if the SLD parameter is defined, the content is loaded and the SLD_BODY is set.
2018-09-27 21:08:33 +02:00
Blottiere Paul
2e91c29dff
Merge pull request #7814 from elemoine/ele_logging
...
Support QGIS Server logs to stderr
2018-09-14 11:14:08 +02:00
Éric Lemoine
9eaee8f1be
Make QgsMessageLogConsole::logMessage virtual
2018-09-14 09:08:21 +02:00
É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
Juergen E. Fischer
a823046b5f
followup spelling fixes
2018-09-07 00:33:13 +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
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