rldhont
0f3d14a005
Merge pull request #5408 from rldhont/server-handlerequest-project
...
[Server][FEATURE] Handle request from QgsServer with a QgsProject
2017-10-20 11:13:15 +02:00
rldhont
efb84fd2ca
Merge pull request #5337 from dmarteau/qgis_utils_refactoring
...
Disable message hook and import override at runtime
2017-10-20 10:25:45 +02:00
rldhont
7b455d8700
[Server][FEATURE] Handle request from QgsServer with a QgsProject
...
With this commit, it's posssible to handle a request from a QgsProject without writing it to the disk.
```python
server = QgsServer()
project = QgsProject()
vlayer = QgsVectorLayer("/path/to/shapefile/file.shp", "layer_name_you_like", "ogr")
project.addMapLayer(vlayer)
query_string = 'https://www.qgis.org/?SERVICE=WMS&VERSION=1.3&REQUEST=GetCapabilities '
request = QgsBufferServerRequest(query_string, QgsServerRequest.GetMethod, {}, data)
response = QgsBufferServerResponse()
server.handleRequest(request, response, project)
```
2017-10-20 09:44:24 +02:00
Alessandro Pasotti
a411669dae
Merge pull request #5226 from aaime/rule_labels
...
Also export rule based labelling in SLD. Follows up to ticket #8925
2017-10-19 17:58:25 +02:00
Andrea Aime
aa594f5397
Also export rule based labelling. Follow up to #8925
2017-10-19 14:55:37 +02:00
Nyall Dawson
4ce166241e
Allow processing providers to specify a long name, and show it in tooltips
...
Add version number to gdal provider long name
2017-10-19 13:12:31 +10:00
Nyall Dawson
a33376fe09
Drop version and count from algorithm item in tree view
2017-10-19 12:01:40 +10:00
Nyall Dawson
925ec6098c
[processing] Always list native algorithms before 3rd party providers
...
This change ensures that searching for algorithms always returns
native algorithms before matching 3rd party algorithms
TODO: we really need to replace the toolbox tree with a proper
model and redo the sorting/filtering using a sort/filter proxy
model.
2017-10-19 12:01:40 +10:00
Nyall Dawson
406425d68a
Rename method, docs and api breaks documentation
2017-10-19 07:29:48 +10:00
Nyall Dawson
587072cae9
Split QgsFileDownloader into separate core/gui classes
...
So that the guts of this class can be used from non-gui code
2017-10-19 06:32:50 +10:00
Nyall Dawson
a406739975
Add render context flag to indicate canvas preview jobs
...
In future we can use this to optimise the preview job and shortcut
by doing lower quality/faster renders.
For now, use this flag to identify preview jobs and only apply
'updated canvas' min/max to rasters for non-preview jobs
Fixes #16988
2017-10-19 07:31:33 +11:00
Alexander Bruy
a6ac876d90
[processing] update test data
2017-10-18 18:41:39 +03:00
volaya
fe780afc81
[processing] allow reordering in multiple selection dialog
2017-10-18 16:20:47 +02:00
Alexander Bruy
d0623620a3
[processing] retrieve dissolve parameter as boolean value
2017-10-18 16:21:57 +03:00
Alessandro Pasotti
a7765ca966
Merge pull request #5380 from boundlessgeo/bd_2272_pki_parsed_ca
...
[auth] Allow to optionally add CAs from PKI bundle to the trusted CAs for the configured connection
2017-10-18 11:47:30 +02:00
Tom Kralidis
92e5de9e9e
[MetaSearch] update plugin icon ( fixes #11732 ) [needs-docs]
2017-10-17 14:29:56 -04:00
David Marteau
40b916c7a3
Disable message hook and import override at runtime
2017-10-17 09:40:22 +02:00
Borys Jurgiel
db97e2772f
Merge pull request #5372 from borysiasty/plugman
...
[needs-docs] Move the install-plugin-from-ZIP menu action to the plug…
2017-10-17 09:26:22 +02:00
Matthias Kuhn
ba9e0437cc
Merge pull request #5386 from m-kuhn/pylintFixes
...
Pylint fixes
2017-10-17 08:31:48 +02:00
Nyall Dawson
5b1afd86bc
"Loosen" up acceptable parameter for model child inputs
...
Previously we took a harsher approach to filtering which inputs
were acceptable for child algorithm parameters. E.g. a child algorithm
with a vector layer input would only show outputs from other algorithms
which generated a vector layer output.
But this can needlessly restrict what's possible in models. E.g.
an algorithm which outputs a QgsProcessingOutputFile or
QgsProcessingOutputString could potentially be a valid source
to a vector layer. So we should allow these as possible
inputs for vector layer parameters too.
This commit adds many extra acceptable input types for
child parameters. It will probably expose "corner cases" where
algorithms may get unexpected input types, but these will
not affect existing model stability and can be fixed when
identified.
The payoff is a much more flexible modeler.
2017-10-17 08:55:27 +10:00
Matthias Kuhn
262836d5fd
Fix too-many-format-args
2017-10-17 00:32:35 +02:00
Matthias Kuhn
f1eba211f6
Fix call to non-existent method
2017-10-17 00:29:23 +02:00
Matthias Kuhn
7aae9454ec
Add abstract base method
2017-10-17 00:28:58 +02:00
Matthias Kuhn
b0855e2c41
Fix super call
2017-10-17 00:28:33 +02:00
Matthias Kuhn
506a831565
Fix typo in method name
2017-10-17 00:03:31 +02:00
Matthias Kuhn
b94612dffa
Properly raise NotImplementedError
2017-10-17 00:01:48 +02:00
Matthias Kuhn
740f58b1db
Remove broken and unused code
2017-10-16 23:55:25 +02:00
Matthias Kuhn
5bf300d79f
Fix access to member variable in classmethod
2017-10-16 23:45:55 +02:00
Matthias Kuhn
118e303a8d
Fix typo in method call
2017-10-16 23:36:38 +02:00
Matthias Kuhn
23c7517dc9
Migrate processing help to new processing registry
2017-10-16 23:34:34 +02:00
Matthias Kuhn
60db6b0665
Fix member access in postgis.py
2017-10-16 23:34:19 +02:00
Borys Jurgiel
ec57d25a3f
Merge branch 'master' of github.com:qgis/QGIS into plugman
2017-10-16 23:27:12 +02:00
Borys Jurgiel
c33dbd96fe
Plugin manager: Use QgsFileWidget for installing from zip files
2017-10-16 23:27:02 +02:00
Matthias Kuhn
6538ba0bf2
Fix too-many-format-args
2017-10-16 23:25:13 +02:00
Matthias Kuhn
d793f6c5ab
Fix typo in method name
2017-10-16 23:22:09 +02:00
Matthias Kuhn
7c8cdff216
Fix used-before-assignment
2017-10-16 23:21:51 +02:00
Matthias Kuhn
34a9d91488
Fix broken error handling
2017-10-16 23:16:30 +02:00
Matthias Kuhn
28c67e1c01
Remove double-defined __init__ function
2017-10-16 23:05:14 +02:00
Matthias Kuhn
8b3a348b6d
Fix file modes
2017-10-16 23:00:53 +02:00
Matthias Kuhn
b010b2a7a9
Remove PyQt4 compatibility layer
2017-10-16 22:34:37 +02:00
Daniele Viganò
a3f7655030
Fix a syntax error in dlg_sql_layer_window.py
2017-10-16 21:46:45 +02:00
Alessandro Pasotti
18517b36b0
[auth] Document cachain argument
2017-10-16 14:33:55 +02:00
Alessandro Pasotti
b3fc3a4809
[auth] Sipify and doxify
2017-10-16 12:59:44 +02:00
Nyall Dawson
54f8825350
Fix processing tests
2017-10-16 20:10:37 +11:00
Nyall Dawson
e92e20e613
Move native c++ processing algorithms from core library to analysis
...
And split into separate files for each algorithm
2017-10-16 20:10:37 +11:00
Alessandro Pasotti
d293e8f6ed
[auth] Add method to exclude self-signed CAs from a list of certificates
2017-10-16 10:52:40 +02:00
Nyall Dawson
f579f1a449
Move bounds retrieval to QgsCoordinateReferenceSystem
...
Allows reuse in scripts/plugins/etc
2017-10-16 14:14:22 +11:00
Nyall Dawson
6e40b88fd7
Fix warnings
2017-10-16 10:59:14 +10:00
Nathan Woodrow
cf241f51ae
[FEATURE][needs-docs] Show projection bounds in projection widget ( #5356 )
...
- Script to pull bounds from EPSG.org Postgres dump
- Add resources/data/world_map.shp for reference
- Show canvas bounds for reference
2017-10-16 10:40:05 +10:00
Martin Dobias
ae4d26a675
Merge pull request #5367 from wonder-sk/vertex-iterator-2
...
API for traversal of geometry's vertices using iterator pattern
2017-10-15 10:48:25 +02:00