23 Commits

Author SHA1 Message Date
Nyall Dawson
49b426d951 Make doxygen_space script convert multiline //! comments
Because:
- the /** format is much more prevalent throughout QGIS
- sipify works correctly with /**
2017-10-06 07:55:52 +10:00
Juergen E. Fischer
4f9a9e0360 s/( )/()/; s/== /== /; s/!= /!= /; 2017-07-19 09:19:37 +02:00
Denis Rouzaud
b7d524c111 sipify server 2017-06-26 14:22:26 +02:00
Alessandro Pasotti
569593b79a [server] Python plugins API cleanup part 3
This removes the handleRequest method that returns the
headers and body as byte array.

This superceeded by the implementation that takes a
request and response instances.
2017-05-03 10:58:18 +02:00
Alessandro Pasotti
2afcad279d [server] Python plugins API cleanup part 2
This part adds the headers as an optional argument
to the request and start using the handleRequest(request, response)
call in the python tests.

Some additional tests are also added.
2017-05-03 10:58:18 +02:00
Denis Rouzaud
85f3b81b55 remove double spaces in sip files
fix indentation
2017-05-03 08:02:14 +02:00
Denis Rouzaud
7d459149c7 [sip] align missing bits and replace nullptr by 0 2017-05-02 08:09:53 +02:00
Denis Rouzaud
93971d5ed3 [sip] align pointer and reference in blacklisted files
this will facilitate sip diff checking
2017-05-01 17:49:43 +02:00
Alessandro Pasotti
cbcd193875 [server] Add to API break and pass enum by value 2017-04-22 13:56:00 +02:00
Alessandro Pasotti
c2ba23173a [server] handleRequest accept QgsServerRequest.Method instead of a string
Also made this optional
2017-04-22 11:05:06 +02:00
David Marteau
018d2a24fb Server: pass full url string and data to handleRequest()
Fix tests by removing passing url pieces from environment
2017-04-21 17:38:25 +02:00
Denis Rouzaud
748be8de71 [spelling] replace behaviour by behavior 2017-01-11 11:35:19 +01:00
David Marteau
262969015d Add headers keys and value accessors 2017-01-10 14:34:18 +01:00
David Marteau
64fc56c808 Implement QgsFcgiRequest and QgsFcgiResponse 2017-01-10 14:34:17 +01:00
David Marteau
689f3b1ab2 Expose QgsServerInterface to service modules
* Instanciate QgsServerInterface even if HAVE_SERVER_PYTHON_PLUGINS is
      not defined
    * Pass QgsServerInterface in module registration methods.
    * Add QgsServer initialisation test

 #Please enter the commit message for your changes. Lines starting
2017-01-10 14:34:16 +01:00
Alessandro Pasotti
aeb5ff25b6 [Server 3.0] now needs a qApp 2016-09-25 09:43:47 +02:00
Juergen E. Fischer
5c4bf99ce2 debian packaging update: manually merge some changes from PR#2818 and
some spelling fixes.
2016-02-20 16:55:16 +01:00
Juergen E. Fischer
a90be95f7b sip sync 2016-02-14 03:50:49 +01:00
Juergen E. Fischer
f8f056e0b2 fix server access control tests on windows 2016-01-07 10:50:34 +01:00
elpaso
f56054f049 Re-formatted typecode 2015-09-07 17:10:34 +02:00
elpaso
33cbe22096 Convert to type works for QPair of QByteArray 2015-09-07 09:57:32 +02:00
elpaso
a9f2acc57e [SERVER] QgsRequestHandler now returns a QPair
Much simpler GUI with a single method for all
cases. handleRequest now returns both headers and
body in a QPair.
Python binding returns a tuple of QByteArray.
2015-09-05 23:20:30 +02:00
elpaso
00fa63618b [SERVER] Server refactoring and Python bindings/tests
This is a refactoring of the server component, the
server is now wrapped into a new QgsServer class with
python bindings and an examples python test.
2015-06-29 12:49:43 +02:00