273 Commits

Author SHA1 Message Date
Nyall Dawson
f496173bd7 Fix messy doxygen blocks which mess with sipify script
Fixes #38291
2020-08-20 17:01:35 +10: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
Nyall Dawson
cedd73ee4d More list formatting fixes 2020-06-13 16:49:14 +10:00
Juergen E. Fischer
49c62a556f [sip] Fix use of deleted method in QgsRequestHandler (followup #37116, refs #37072) 2020-06-12 21:42:26 +02:00
Nyall Dawson
ae42850d08 Sipify 2020-06-11 13:29:59 +10:00
Nyall Dawson
c795ddb1e9 Updates 2020-06-11 13:29:59 +10:00
Alessandro Pasotti
055d7c6c64 Server: remove unused allowMethod
Fixes #36163
2020-06-05 11:49:29 +02:00
Even Rouault
cc1488fce9
Many classes: mark assignment operator as deleted due to existence of copy constructor 2020-06-02 13:56:18 +02:00
Harrissou Sant-anna
ea4f2bbfb9 Making lists in PyQGIS doc look better
and fix some wording
2020-05-20 16:39:42 +10:00
Matthias Kuhn
768d68f2bf Remove garbage
Pretty sure that was never put here on purpose
2020-05-04 16:12:29 +10:00
Alessandro Pasotti
860fb23e36 Server little cleanup (class documentation)
Plus removed sql injection protection from
sanitize because:

1. it was not required: the value goes into a QgsExpression and it's
never sent to a provider directly
2. it could have been misused with the wrong assumption that
it was robust implementation (it wasn't)
2020-04-23 12:17:09 +02:00
Alessandro Pasotti
83979c30ef Server: fix wrong comment and log message 2020-04-16 09:34:05 +02:00
Alessandro Pasotti
b94988aef6 Server: add QGIS_SERVER_IGNORE_BAD_LAYERS config option
Allow to override the default behavior in case of
bad layers (which is to invalidate the whole project).

When set to TRUE, the bad layers are skipped and the
project is considered available.

Followup #8922
2020-04-13 10:38:50 +02:00
Juergen E. Fischer
edee4a3d10 spelling fixes (closes #32408) 2020-02-28 21:04:02 +01:00
Marco Bernasocchi
c65815957d fix docstring "since" for QGIS_SERVER_WMS_MAX_XXXX to 3.6.2
This was backported in #9752
2020-01-17 10:55:03 +10:00
rldhont
4bb775cc3c [Server] Throw exception if bad layers are not restricted
QGIS Server throw an exception if the project has bad layers, but the user can defined restricted layers which are unpublished layers.

So restricted layers can be bad layers server side, it is not necessary an error.

This code verified that the bad layers are not restricted. If the project contains unrestricted bad layers, the server throw an exception.
2020-01-09 11:10:10 +01:00
Alessandro Pasotti
e1ea0f3c50 Add py code examples to api 2019-12-07 17:34:12 +01:00
Vincent Cloarec
938aa58df8 [FEATURE] Streamlines Renderer for vector dataset on mesh layer. (#32996)
* [FEATURE] Mesh streamlines

fix #29534

The vector field data set in a mesh layer can currently be only rendered with arrows. This PR adds a new feature to render vector field in mesh layers with streamlines. 
The streamlines are seeded from start points. The seeding points can start from the vertices of the mesh, from a used grid or randomly. Streamlines could be coloured or width can be selected.
2019-11-25 08:54:11 +01:00
rldhont
656f9e04bc [Bugfix][Server] Use floor and ceil for round extent coordinates in services capabilities 2019-11-20 21:46:56 +01:00
Alessandro Pasotti
fc9ba85efa Sipify 2019-11-12 12:22:18 +01:00
Alessandro Pasotti
f5e4a7c535 Removed unused and unuseful method + typo 2019-11-11 13:54:52 +01:00
Alessandro Pasotti
7ab8f73092 Server OAPIF transactions: POST
Fix attributes and geometry transformation.
2019-11-11 13:54:52 +01:00
Alessandro Pasotti
814d5be0ff Server WFS3 simple transactions
Preliminary specs:
https://github.com/opengeospatial/ogcapi-features/blob/master/extensions/transactions/TX_Notes.adoc
2019-11-11 13:53:32 +01:00
Alessandro Pasotti
cadb7916b5 Server OAPIF: expose XML schema for collections
Also make sure links to parent paths end with /
2019-11-08 14:40:44 +01:00
Matthias Kuhn
4294dda083 Resipify 2019-11-03 21:05:34 +01:00
Alessandro Pasotti
e8fa8edfc4 Typo 2019-10-30 17:46:27 +01:00
Alessandro Pasotti
76f4c96dc6 Remove unused code (leftover) 2019-10-30 11:53:14 +01:00
Alessandro Pasotti
358c814722 Server OAPIF temporal extent 2019-10-30 11:53:14 +01:00
Alessandro Pasotti
3a10f69d80 Server OAPIF use QgsRange classes for intervals
with full test coverage for single values and ranges,
supports time, datetime and string fields.
2019-10-30 11:53:14 +01:00
Alessandro Pasotti
07bb6b77e1 Server OAPIF datetime filter support
with full test coverage for single values and ranges,
supports time, datetime and string fields.
2019-10-30 11:53:14 +01:00
Alessandro Pasotti
595807171d Server: datetime basic filter support for OAPIF 2019-10-30 11:53:14 +01:00
Alessandro Pasotti
6112da45f6 Server OAPIF datetime support 2019-10-30 11:53:13 +01:00
Juergen E. Fischer
b81d306047 spelling fixes (closes #32408) 2019-10-26 10:50:30 +10:00
Alessandro Pasotti
67c8e56f9c QGIS Server WFS3 ACL + alias + excluded fields
Takes into account aliases, excluded attributes and ACL plugins
2019-09-10 18:21:53 +02:00
Alessandro Pasotti
95c0ad54ff WFS3 add ACL and other visibility options 2019-09-10 18:21:53 +02:00
Alessandro Pasotti
c9c2d3ed27 Server API: simplify contentTypes handling and allow overrides 2019-08-20 12:22:32 +02:00
Alessandro Pasotti
dab7481083 More Python exception bubbling and SIP enum fix 2019-08-19 20:50:01 +02:00
Alessandro Pasotti
4cc7a0ffa6 Server: catch Python exceptions from plugins
Make sure Python exceptions are converted into
QgsServerException and catched by the main
service executor.

Without this patch, the server process is terminated
(aborted).
2019-08-19 18:32:03 +02:00
Nyall Dawson
dd27f72b0e Convert doxygen \throws to Sphinx :raises: syntax in sipify 2019-08-14 06:45:54 +10:00
Alessandro Pasotti
92ac7a2e93
[server] Server api and WFS3 (#10016)
Implementation of OGC API and WFS3 core draft specification
2019-08-06 16:38:21 +02:00
Éric Lemoine
23872fcc41 Improve the API docs 2019-06-18 14:48:23 +02:00
lbartoletti
35c4209bfd New parameter for WMS service: tile_buffer [needs-docs][FEATURE] 2019-06-04 07:20:29 +02:00
Bas Couwenberg
2628c480c5 Don't include revision in sources.
Prevent changes to files that weren't changed between releases.
This eases review of the changes between releases significantly.
2019-05-17 16:47:47 +02:00
Juergen E. Fischer
3017c7a1c8 qgis server: track timestamps of remote projects 2019-05-15 21:58:41 +02:00
David Signer
450e193c85 fix comment since 3.4 2019-04-24 14:22:39 +02:00