316 Commits

Author SHA1 Message Date
Sandro Mani
6fd34ca92b Add sip5/sip6 sip-build support 2021-09-24 08:56:40 +10:00
David Marteau
ee6acb0ca2
Refactorize server properties 2021-09-16 14:10:07 +02:00
Nyall Dawson
711a615be3 Fix raises sphinx format 2021-06-25 10:50:04 +10:00
Nyall Dawson
4ff3f447dc Don't try to insert links in raises blocks in PyQGIS docs
These aren't formatted correctly if we do
2021-06-10 11:03:43 +10:00
Nyall Dawson
02266ef8e6 Rename Qgis::MessageLevel::None to NoLevel. None is a reserved
keyword in Python, so this value was previously inaccessible to PyQGIS
scripts

Also change all references to Qgis::MessageLevel values to their
fully qualified names, to ease a future transition to an enum
class (when sip bugs are fixed)

Fixes #42996
2021-05-30 10:36:01 +10:00
Denis Rouzaud
35c557a234 run sipify 2021-05-26 14:30:54 +02:00
Alessandro Pasotti
7ae1b31873
Merge pull request #43104 from elpaso/server-landingpage-custom-prefix
Server landingpage custom prefix
2021-05-17 18:35:00 +02:00
Nyall Dawson
eaf70803b0
Cleanup auto generated sip files and remove orphaned files (#43240) 2021-05-17 08:09:27 +02:00
Alessandro Pasotti
497197e316 Updated js 2021-05-06 14:55:30 +02:00
Stéphane Brunner
3202e3ac70 [Server][Feature][needs-docs] Make service URL configurable
The goals are:
* To have better result in the GetCapabilities URL without having to fill it in the Project configuration
* Be able to be set by an integrator with environment variable or by providing headers from a proxy

The server resolution will use the following order:
 - Value defined in the project per service.
 - The ``<service>_SERVICE_URL`` environment variable.
 - The ``SERVICE_URL`` environment variable.
 - The custom ``X-Qgis-<service>-Servcie-Url`` header.
 - The custom ``X-Qgis-Service-Url`` header.
 - Build form the standard ``Forwarded`` header.
 - Build form the pseudo standard ``X-Forwarded-Host`` and ``X-Forwarded-Proto`` headers.
 - Build form the standard ``Host`` header and the server protocol.
 - Build form the server name and the server protocol.
2021-04-15 09:24:41 +02:00
Denis Rouzaud
ba8a445850 run sipify 2021-03-22 21:13:52 +01:00
Blottiere Paul
51f2bda146 Default operator 2021-03-09 06:32:43 +01:00
Blottiere Paul
8434b3fc8b Add some doc 2021-03-09 06:32:43 +01:00
Blottiere Paul
5ba7cfb146 Add a WMS request class 2021-03-09 06:12:40 +01:00
Blottiere Paul
f82fec3a3c The capabilities request is managed in parameters class 2021-03-09 06:12:39 +01:00
Blottiere Paul
19348b8f1b Version number negociation in parameters 2021-03-09 06:08:35 +01:00
Alessandro Pasotti
618966aa6b Add tests and fixes for Atlas
The change to the the feature filter group filterFeatures
(do not clear pre-existing filters) should not be a behavioral
change: additional filters are ANDed.
2021-02-27 08:48:16 +01:00
Alessandro Pasotti
0470b5ff03 Server access control GetPrint support
Fixes #41800
2021-02-27 08:48:16 +01:00
Nyall Dawson
e18584239f Force c++14 only for sip builds, as sip generated code uses deprecated c++ removed in c++17 2021-02-25 11:08:56 +10:00
Nyall Dawson
a7fd8e07f5 Revert 2021-02-25 11:08:56 +10:00
Nyall Dawson
22a4b881d3 Sipify 2021-02-12 15:41:14 +10:00
Nyall Dawson
d5e2051818 Spelling 2021-02-12 15:41:14 +10:00
Nyall Dawson
4b921d9ee9 Respect project "avoid tile artefacts" setting when rendering
a project using WMS services

Fixes #37679
2021-02-12 15:41:14 +10:00
Nyall Dawson
50b9beaad6 [sipify] Catch more class references and insert :py:class: annotations 2021-01-31 05:41:22 +10:00
Alessandro Pasotti
0290024f21 Remove unused MAX_CACHE_LAYERS 2021-01-16 06:40:33 +10:00
Marco Hugentobler
090cd5c036 Add project setting if attribute form should be considered for feature info 2021-01-15 11:27:22 +01:00
Denis Rouzaud
0f68ad82dc
fix building server without plugins (or without python) (#40869) 2021-01-07 14:12:32 +01:00
pathmapper
d9c220882b Addressing code review comments 2021-01-05 04:18:51 +10:00
pathmapper
7ef6f6ac64 Run sipify_all to fix qgsserverprojectutils.sip.in 2021-01-05 04:18:51 +10:00
Alessandro Pasotti
6d2be40017
Merge pull request #40399 from elpaso/server-profiler
Server profiler
2020-12-04 09:33:18 +01:00
Julien Cabieces
dca78ee868 Display Exception message when raised in python plugin ogcapi handler 2020-12-03 09:27:07 +01:00
Alessandro Pasotti
a470c025ca Server profiler 2020-12-02 13:55:27 +01:00
Alessandro Pasotti
1cc55f99c4 Server landing page: use cached projects 2020-11-19 12:32:00 +01:00
Nyall Dawson
403b2142ee Fix incorrect reference to non-existing DONT_LOAD_LAYOUTS flag 2020-08-31 11:38:02 +10:00
Blottiere Paul
028634f433 Update sip binding 2020-08-27 10:51:33 +02:00
Blottiere Paul
94e9a91592 Clean 2020-08-27 10:14:21 +02:00
Blottiere Paul
3efd98d9cf Update unit tests 2020-08-27 10:14:21 +02:00
Blottiere Paul
904000c143 Add name method 2020-08-27 10:14:19 +02:00
Blottiere Paul
d601f93ad1 Update doc 2020-08-27 10:12:55 +02:00
Blottiere Paul
48b21a052f Add new settings 2020-08-27 10:11:40 +02:00
rldhont
3372a9267d
Merge pull request #38240 from rldhont/server-dont-load-layouts
New QGIS Server setting environement to disable GetPrint and do not load layouts
2020-08-24 14:21:15 +02:00
Nyall Dawson
f496173bd7 Fix messy doxygen blocks which mess with sipify script
Fixes #38291
2020-08-20 17:01:35 +10:00
rldhont
98741cb91f Change to QGIS_SERVER_DISABLE_GETPRINT 2020-08-17 18:46:16 +02:00
rldhont
fa7da5a68b New QGIS Server setting environement to do not load layouts
Defined a new QGIS Server setting environnement `QGIS_SERVER_DONT_LOAD_LAYOUTS` to do not load layouts when QGIS Server reads projects.
This variable will disable QGIS Server GetPrint capabilities.
2020-08-13 14:20:00 +02:00
rldhont
d711db570a Server: define QGIS_SERVER_TRUST_LAYER_METADATA setting environnement 2020-08-11 18:14:15 +02:00
Alessandro Pasotti
00853d1ab1 Typo 2020-08-06 17:09:51 +02:00
Alessandro Pasotti
a8e033c794 Updated client after rebase 2020-08-06 15:57:38 +02:00
Alessandro Pasotti
de83d28b76 Code layout and sip 2020-08-06 14:53:35 +02:00
Alessandro Pasotti
c3b7cb1c87 Server: add path() accessor to request handler
just for convenience
2020-08-06 14:52:07 +02:00
Nyall Dawson
81a9db9f57 [sipify] Fix creation of cross references 2020-06-15 13:43:58 +10:00