Alexander Bruy
1ad965b4fa
[processing] add test for Distance matrix algorithm to prevent
...
TableWriter class breakage in future
2017-01-10 20:24:05 +02:00
Alexander Bruy
c4cc954141
[processing] restore functionality of the TableWriter class ( fix #16053 )
2017-01-10 20:23:05 +02:00
Alexander Bruy
e01c476e40
fix leak when using global expression context scope
2017-01-10 19:41:36 +02:00
Matthias Kuhn
48bcca6033
Merge pull request #3911 from alexbruy/generic-help
...
Generic help for QGIS
2017-01-10 17:32:19 +01:00
Alexander Bruy
bcb69c5f34
fix regex to correctly handle strings like $$$qgis_version
2017-01-10 17:55:53 +02:00
Alexander Bruy
c5b3b1ac0d
support escape syntax. $$qgis_version will be kept and $qgis_version
...
will be replaced with value
2017-01-10 17:55:52 +02:00
Alexander Bruy
f77e677734
add missed SIP bindings
2017-01-10 17:55:52 +02:00
Alexander Bruy
37df7290b4
remove debug statements
2017-01-10 17:55:52 +02:00
Alexander Bruy
8ff7a3880f
add 'qgis_short_version' expression variable to retrieve QGIS version
...
in the major.minor notation (can be useful for help system and probably
in other places)
2017-01-10 17:55:52 +02:00
Alexander Bruy
a0743438e5
allow using expression variables in help path. Currently only from
...
global scope. Syntax should be '$variable_name', e.g. $qgis_version.
When accessing help those variables will be replaced with corresponding
values
2017-01-10 17:55:52 +02:00
Alexander Bruy
c2bd4b940b
[FEATURE] new global expression variable $qgis_locale
...
Returns current locale used by QGIS. By default this is current
system locale. If user enabled locale override in QGIS settings
overriden locale will be returned.
2017-01-10 17:55:51 +02:00
Alexander Bruy
68e09d4c63
add support for proxies
2017-01-10 17:55:51 +02:00
Alexander Bruy
b74aefd3c9
move QgsHelp to gui
2017-01-10 17:55:51 +02:00
Alexander Bruy
91a96d19fa
more robust check for network help location
2017-01-10 17:55:51 +02:00
Alexander Bruy
212406cd65
make all QgsHelp methods static
2017-01-10 17:55:51 +02:00
Alexander Bruy
1882aea159
improve QSettings handling
2017-01-10 17:55:50 +02:00
Alexander Bruy
6c3c5331dc
add SIP bindings
2017-01-10 17:55:50 +02:00
Alexander Bruy
17905ca2ac
QgsHelp is not singletone
2017-01-10 17:55:50 +02:00
Alexander Bruy
4ce3bd209f
improve built-in "no help found" page
2017-01-10 17:55:50 +02:00
Alexander Bruy
9a94da8521
new QgsHelp class that uses QGIS User Guide as help source
2017-01-10 17:55:50 +02:00
Alexander Bruy
981810b2d4
add possibility to configure location of the QGIS help
2017-01-10 17:55:49 +02:00
Alexander Bruy
3145a01db6
[processing] support OTB 5.8.0
2017-01-10 16:52:05 +02:00
Alexander Bruy
9909109928
Merge pull request #3973 from ghtmtt/good_test2
...
[processing] other gdal tests
2017-01-10 16:32:17 +02:00
rldhont
9be984c7ec
Merge pull request #3866 from dmarteau/master
...
Implements service modules registry - Experimental
2017-01-10 15:30:51 +01:00
David Marteau
ff3487d957
Code quality changes and typo
2017-01-10 15:13:42 +01:00
David Marteau
ea519fff8c
Remove wmsserver files from server code unit
2017-01-10 14:34:18 +01:00
David Marteau
4f996980be
Replace headersWritten by headersSent
2017-01-10 14:34:18 +01:00
David Marteau
befc52a42b
Remove Testing/Temporary/CTestCostData.txt
2017-01-10 14:34:18 +01:00
David Marteau
dc211f89bd
WMS run as a module service !
2017-01-10 14:34:18 +01:00
David Marteau
c793e662ca
Port bugfix from PR #3906 to service
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
92d3958370
fix doc warning
2017-01-10 14:34:18 +01:00
David Marteau
4a7692998e
Port wmsserver changes to service
2017-01-10 14:34:18 +01:00
David Marteau
d8a05ccef4
Add plugin hook support decorator
...
- Add plugin hook support decorator for use in service modules
- Remove handling of plugin hook with request handler (not needed
anymore)
- Reduce usage of HAVE_SERVER_PYTHON_PLUGINS by using forward opaque declaration.
2017-01-10 14:34:18 +01:00
David Marteau
485ea82e3d
Ensure url is complete in fcgi request
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
891e163c71
Fix DEFAULT_SERVER_MODULE_SUBDIR in CMakeLists.txt
2017-01-10 14:34:17 +01:00
David Marteau
fc7c0f0560
Fix indent
2017-01-10 14:34:17 +01:00
David Marteau
0150dfb728
Create module test; add more debug messages for travis
2017-01-10 14:34:17 +01:00
David Marteau
560adbae88
Fix spelling
2017-01-10 14:34:17 +01:00
David Marteau
6ef3842a52
fix prefix path setting: enable running from from build directory
2017-01-10 14:34:17 +01:00
David Marteau
d679255d9e
Fix 'Incomplete type' compile error
2017-01-10 14:34:17 +01:00
David Marteau
609dd58d78
Fix coding style
2017-01-10 14:34:17 +01:00
David Marteau
a0ee81b9fe
Server: Brut force port WMS as service module
...
- Compile and load as service but functionality not tested
- Removed dependencies to QgsRequestHandler
- Removed dependencies to QgsOWSServer
- Separate requests in their own units
2017-01-10 14:34:16 +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