Radoslaw Guzinski
7771c6cea9
[processing] Looks for script algorithm files also in subfolders.
2020-01-30 08:48:54 +10: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
Luigi Pirelli
a2bf5ccefd
try to reset script path pointing to the current setting path
2019-02-13 18:52:18 +01:00
nirvn
05beaa73b3
[needs-docs][processing] open existing script toolbar action
2018-05-21 10:58:40 +07:00
Nyall Dawson
ad3f1781d7
[processing][needs-docs] Rename "Add Script from Template" to
...
"Create New Script from Template"
2018-04-02 17:57:03 +10:00
matteo
925d45dffb
new LoadFromTemplate action in toolbar dropdown
2018-03-31 18:30:40 +11:00
Alexander Bruy
8d69dc1fb6
indentation
2018-02-23 11:43:32 +02:00
Alexander Bruy
a554409ede
[processing] don't use scandir() to get directory contents ( fix #18180 )
2018-02-23 10:30:03 +02:00
Alexander Bruy
4f2a4644db
[processing] remove obsolete code and disable exporting models as script
...
until we update it so support new scripts format
2018-02-05 08:50:44 +02:00
Alexander Bruy
cd7bb16ad5
[processing] class name is not needed anymore to load scripts
2018-02-05 08:50:37 +02:00
Alexander Bruy
e1a64f6a8f
[processing] remove unused files
2018-02-05 08:50:37 +02:00
Alexander Bruy
53ff800ff8
[processing] temporarily disable fetch actions for scripts and models
2018-02-05 08:50:37 +02:00
Alexander Bruy
422d804db1
[processing] update script provider to use QgsProcessingAlgorithm
...
subclasses instead of custom script code
2018-02-05 08:49:59 +02:00
Alexander Bruy
aee3b44909
[processing] remove not needed trAction method
2018-02-05 08:49:41 +02:00
Alexander Bruy
862b1139fa
[processing] move script provider stuff into provider directory
2018-02-05 08:49:29 +02:00
Alexander Bruy
87e55ba3c7
[processing] remove Get scripts and models functionality
...
Users should use Resource Sharing plugin instead
2018-02-04 11:11:47 +02:00
Nyall Dawson
bf19eb6f35
[processing] Non-filed based outputs (e.g. postgis, geopackage)
...
options should be available for certain model outputs and script
algorithm outputs
We do this by swapping the test for non-file based output support
from checking only the algorithm's provider to instead checking
on a parameter-by-parameter basis.
This is done in order to support models. For models, depending
on what child algorithm a model output is based off, an individual
model may or may not have support for non-file based outputs. E.g
a model may generate outputs from a native qgis alg (supporting
these outputs) AND an output from a GDAL alg (with no support
for these outputs). In this case we need to enable or disable
the ui controls for non-file based outputs on an individual
output basis.
For scripts (for now) we blindly just say all outputs support
non-file based formats. This is going to be the case most of
the time, since scripts will usually be written using PyQGIS
API. For the exceptions (e.g. scripts which call other algs
like GDAL algs) we probably should add some way for the script
to indicate whether an individual output supports this, but
for now we just say they all do.
Fixes #17949
2018-01-25 15:47:42 +11:00
Nyall Dawson
5a6f11d52e
Some cleanups
2017-04-07 13:21:28 +10:00
Nyall Dawson
ebd851993a
Remove processing specific methods for adding/removing providers
...
QgsProcessingRegistry methods should always be used instead
2017-04-07 13:21:28 +10:00
Nyall Dawson
fdcf04f9f3
Remove AlgorithmProvider
...
Totally ported to QgsProcessingProvider
2017-04-07 13:21:28 +10:00
Nyall Dawson
42a614154c
Also refactor provider context menu actions and remove from AlgorithmProvider
2017-04-07 13:21:28 +10:00
Nyall Dawson
651355d569
Refactor provider actions and remove from AlgorithmProvider
2017-04-07 13:21:28 +10:00
Nyall Dawson
117260dcf3
Remove activation control from AlgorithmProvider
...
Split between QgsProcessingProvider and subclasses
2017-04-07 13:21:28 +10:00
Nyall Dawson
4970bb4cd5
Move more algList functionality to QgsProcessingRegistry
2017-04-07 13:21:28 +10:00
Nyall Dawson
b3142a0baf
Move provider algorithm handling to QgsProcessingProvider
2017-04-07 13:21:28 +10:00
Juergen E. Fischer
c77172ed3d
fix more flake8 warnings
2017-03-05 10:21:24 +01:00
Nyall Dawson
04eb293362
[processing] Move some SVG icons out of plugin to themes
...
...and swap to using QgsApplication methods for retrieving cached icons,
implement svgIconPath for providers with SVG icons
2017-01-11 10:55:16 +10:00
Nyall Dawson
bb24dfe245
[processing] c++ base class for providers
...
Nothing particularly exciting here yet, but this commit
moves the definition of the provider base class to a c++
QgsProcessingProvider abstract base class.
As part of this some existing python methods were renamed
to make their use clearer and to fit with the QGIS c++
api conventions:
- getName was renamed to id
- getDescription was renamed to name
- getIcon was renamed to icon
These API breaks are documented
2017-01-11 10:55:15 +10:00
Alexander Bruy
3a03c98a08
[processing] configurable URL for scripts and models repository
2017-01-10 14:17:25 +02:00
nirvn
00ee2ad989
[processing] vectorize and improve menu icons ( fixes #14474 )
2016-12-31 11:59:46 +07:00
Nyall Dawson
062aa9aee4
Indentation
2016-06-01 10:09:03 +10:00
volaya
b52828fac7
[processing] allow creating new plugin from toolbox with scripts
2016-05-30 10:41:45 +02:00
Alexander Bruy
d16f04bf3a
[processing] support multiple scripts/models folders ( fix #10476 )
2016-05-26 13:56:21 +03:00
Denis Rouzaud
8071acd064
move PyQt compat folder to python/qgis
2016-04-29 14:10:26 +02:00
Alexander Bruy
abda90fe0d
[processing] filter items in toolbox using translated and original names ( fix #13764 )
2016-04-11 15:57:22 +03:00
Juergen E. Fischer
2526d3e3c8
processing: switch to pyqt wrappers, flake8 fixes
2016-03-21 17:00:25 +01:00
Nyall Dawson
cbe8cb7282
Formatting update, using newer autopep8 version
2016-01-30 09:33:24 +11:00
volaya
09c8239a77
[processing] fixed missing colon in function definition
2015-11-27 09:13:04 +01:00
volaya
0a21d91be5
[processing] allow manually add scripts to scripts provider
2015-11-27 08:51:53 +01:00
volaya
b80a1bcac5
[processing] fixed handling of folders and files in settings
...
fixes #12511
2015-06-26 12:00:02 +02:00
Alexander Bruy
30dbd8fd5b
[processing] drop resources.qrc and load images dynamically. Also remove
...
unused images
2015-05-19 15:30:25 +03:00
Juergen E. Fischer
956c155e8f
fix python pep8 warnings and fix some revealed errors
...
pep8 --ignore=E111,E128,E201,E202,E203,E211,E221,E222,E225,E226,E227,E231,E241,E261,E265,E272,E302,E303,E501,E701 \
--exclude="ui_*.py,debian/*,python/ext-libs/*" \
.
2015-02-01 20:46:47 +01:00
Alexander Bruy
bd13693ae3
[processing] make bunch of strings translatable (sorry translators)
2014-10-04 11:36:39 +03:00
Juergen E. Fischer
647504306c
indentation update
2014-07-13 17:16:24 +02:00
Victor Olaya
784b46bbcd
[processing] allow adding core processing algs using scripts
2014-07-11 09:06:34 +02:00
volaya
023fc007e6
Merge pull request #1389 from radosuav/small_processing_fixes
...
[processing] Small fixes
2014-06-12 09:30:56 +02:00
Victor Olaya
9c5c25772b
[processing] first implementation of github-based resources manager
2014-06-02 22:45:46 +02:00
Rado Guzinski
3799f115b4
[processing] Search for description files also in the sub-directories of the script/model directory
2014-05-26 17:39:35 +02:00
volaya
57f63695ac
[processing] added new tools to add scripts/models from files
2014-04-20 19:37:10 +02:00
Alexander Bruy
498a5d9ab8
[processing] code formatting, make sources more pep8 compliant
2013-10-02 16:24:10 +03:00