Denis Rouzaud
6c74e4ea5d
spelling fixes
2017-01-12 22:01:50 +01:00
Denis Rouzaud
748be8de71
[spelling] replace behaviour by behavior
2017-01-11 11:35:19 +01:00
David Marteau
4f996980be
Replace headersWritten by headersSent
2017-01-10 14:34:18 +01:00
David Marteau
3f41db3759
Fix sip syntax error
2017-01-10 14:34:18 +01:00
David Marteau
bfc081d3dd
Fix indent and documentation
2017-01-10 14:34:18 +01:00
David Marteau
262969015d
Add headers keys and value accessors
2017-01-10 14:34:18 +01:00
David Marteau
12f3b5fae7
QgsRequestHandler is now a concrete class
...
I/O transactions are now abstracted with QgsServerRequest/QgsServerResponse
So there is no need for another abstraction layer
2017-01-10 14:34:17 +01:00
David Marteau
64fc56c808
Implement QgsFcgiRequest and QgsFcgiResponse
2017-01-10 14:34:17 +01:00
David Marteau
fc7c0f0560
Fix indent
2017-01-10 14:34:17 +01:00
David Marteau
fcacb2899f
Fix coding style and update comments
2017-01-10 14:34:16 +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
David Marteau
2adbaf0899
Add parameter map accessor from QgsServerRequest
2017-01-10 14:34:16 +01:00
David Marteau
ec226eeab8
Add extra parameter QgsProject* to QgsService::executeRequest
2017-01-10 14:34:16 +01:00
David Marteau
bac1890f9c
fix typo, use Q_UNUSED, return null/empty QString() instead literal empty string
2017-01-10 14:34:16 +01:00
David Marteau
705547e617
Removed python loader: added unRegisterService() method
2017-01-10 14:34:16 +01:00
David Marteau
4c8a5cbdd8
fix indent
2017-01-10 14:34:16 +01:00
David Marteau
89859ef1b6
Server refactoring: Added sample native service module; fixed typo
2017-01-10 14:34:16 +01:00
David Marteau
af5eed1a4b
Add getHeader() method to QgsServerRequest
2017-01-10 14:34:15 +01:00
David Marteau
7600919517
Remove Service Entry class and move name/version infos in QgsService
2017-01-10 14:34:15 +01:00
David Marteau
53555581a3
Server refactoring: Fix doc and comments
...
Fix typo in doc and comments
Update documentation
Fix return of implicitely shared objects
Fix order of parameters in QgsServiceRegistry::registerService
2017-01-10 14:34:15 +01:00
David Marteau
1e0d830529
Server refactoring: implements service modules registry
...
Implementation for https://github.com/qgis/QGIS-Enhancement-Proposals/issues/74
2017-01-10 14:34:15 +01:00
rldhont
3e80a52995
Revert "Merge pull request #3886 from pblottiere/servermultithread"
...
This reverts commit 350a2b513446462120946241cf7fb1bb67ca828b, reversing
changes made to 590a981195289be702bc7bf5382ece25a09ae6bb.
2017-01-09 14:05:28 +01:00
Blottiere Paul
f7729b3096
[server] parallel map rendering
2017-01-02 22:13:45 +01:00
Blottiere Paul
f3a5c98178
remove QgsMapRenderer
2016-12-12 07:50:22 +01:00
Marco Hugentobler
b0644ea438
WMS server: add user setting if custom datasources are allowed in wms requests
2016-11-10 15:12:59 +01:00
Nyall Dawson
44289084e9
Optimise passing of variables by ref/value
2016-10-24 10:36:23 +10:00
Juergen E. Fischer
f4cb295e65
server sip sync
2016-10-01 13:23:36 +02:00
Alessandro Pasotti
aeb5ff25b6
[Server 3.0] now needs a qApp
2016-09-25 09:43:47 +02:00
Marco Hugentobler
24cc0e2feb
[FEATURE]: possibility to segmentize feature info geometry in server
2016-08-19 15:03:02 +02:00
Juergen E. Fischer
eeebf4be08
rename QgsComposerSymbolItem::symbolV2() to symbol()
2016-08-10 12:12:28 +02:00
Juergen E. Fischer
0688621046
scripts/replacev2.sh run
2016-08-10 12:08:52 +02:00
Denis Rouzaud
275736de92
removed V2 from QgsSymbolV2*
2016-08-05 08:22:21 +02:00
Nyall Dawson
503d0941ee
Add missing docs
2016-07-25 15:22:36 +10:00
Nyall Dawson
f6f5010131
Move QGis::UnitType to QgsUnitTypes::DistanceUnit
...
This change consolidates more unit handling and conversion into
QgsUnitTypes.
Additionally, UnknownUnit was renamed to UnknownDistanceUnit.
All methods which accepted QGis::UnitType parameters have been
updated to take QgsUnitTypes::DistanceUnit instead.
ALso remove the unit handling methods toLiteral, fromLiteral, tr,
fromTr, and fromUnitToUnitFactor from QGis. Their corresponding
counterparts in QgsUnitTypes should be used instead.
2016-07-25 14:47:16 +10:00
Martin Dobias
ab4a83b49b
Goodbye to QgsMapRenderer ( #3333 )
...
For the time being the class is kept in the server code while it is still being used there.
2016-07-24 22:40:52 +02:00
Nyall Dawson
4cfacf14e3
Make API more consistent
...
- rename methods with XML to Xml, CRS to Crs, WMS to Wms, ID to Id
- rename methods with SRS to Crs
- rename methods with abbreviations like "dest" to "destination"
- rename methods with abbreviations like "src" to "source"
2016-07-21 08:40:50 +10:00
Nyall Dawson
2bf54de8ba
Fix doxygen warning
2016-06-29 10:15:50 +10:00
Nyall Dawson
caf1038d62
Add missing sip bindings
2016-06-29 10:08:34 +10:00
David Marteau
a4a0c9b2fb
Expose server interfaces methodsi to python for clearing server layer cache.
2016-06-03 10:02:47 +02:00
Matthias Kuhn
abfd7740bd
Fix qgis.PyQt compatibility imports
2016-04-29 14:10:41 +02:00
Marco Hugentobler
19120f40cf
Keep old method signature in wms config parser for compatibility
2016-03-31 13:23:35 +02:00
Marco Hugentobler
332c1632f3
Adapt qgswmsconfigparser.sip
2016-03-31 10:52:22 +02:00
Juergen E. Fischer
271750fd53
switch bindings to pyqt wrappers
2016-03-21 17:00:26 +01: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
Nyall Dawson
69ce55998e
Fix some oddities in server access control and bindings (refs #13919 )
2016-01-22 18:48:57 +11:00
Nyall Dawson
752f6bd150
Fix classes which violate rule of three, by implementing required
...
copy/= operators or making them private
This revealed (and fixes) some issues, including a potential crash
using server access control (refs #13919 ), and a potential crash with
diagrams
2016-01-22 18:45:45 +11:00
Juergen E. Fischer
4e1cf3c081
add missing copyright headers
2016-01-08 21:32:11 +01:00
Juergen E. Fischer
f8f056e0b2
fix server access control tests on windows
2016-01-07 10:50:34 +01:00
Nyall Dawson
881074b194
Boost coverage of SIP bindings
...
Now all classes and members are either exposed to bindings or marked
as "not available in Python bindings" in the docs.
Drop test thresholds to 0. Now it should be much easier to determine
what missing members have been added which are causing test
failures.
2016-01-05 11:16:15 +11:00