Nyall Dawson
b9c9ad05bc
[processing][needs-docs] Allow string parameters in models to be multi-line input style
2019-07-03 05:11:06 +10:00
rldhont
5d5403c000
Add ORA-03114 support
2019-07-02 11:41:28 +02:00
rldhont
acc94ee28b
Fix Oracle connection reset in case of ORA-12170: Connect timeout occurred
...
Oracle connection is never reset in case of ORA-12170: Connect timeout occurred.
The execution of request is only retry in case of getfeature and error 12170.
A fix has been done in PostgreSQL provider #9107
2019-07-02 11:41:28 +02:00
rldhont
4a5c5f2fff
Merge pull request #30378 from rldhont/tests_pyqgsogcutils
...
[Tests] Add PyQgsOgcUtils
2019-07-02 09:17:32 +02:00
Nyall Dawson
ed37d9be05
Use a splitter on welcome page
2019-07-02 14:20:56 +10:00
Nyall Dawson
71374bb2a3
Make indicator backgrounds a bit more subtle
...
The default color was very visually dominant on some platforms/themes,
so pull it back a couple of shades closer to the background color
2019-07-02 13:48:01 +10:00
lbartoletti
03e8f870e4
add tests for Python qgsRound
2019-07-02 13:29:30 +10:00
Nyall Dawson
76b35871ff
[needs-docs] Memory layers can be safely duplicated now
2019-07-02 10:10:11 +10:00
Nyall Dawson
13fe327eb9
Fix cloning a vector layer loses all features if the layer is a memory layer
2019-07-02 10:10:11 +10:00
Nyall Dawson
e9fbe3a498
Fix test
2019-07-02 06:17:37 +10:00
Nyall Dawson
1164d204ee
[postgres] Unit tests for citext field type
2019-07-02 06:17:37 +10:00
Zac McCormick
07032d9fee
Add support for PostgreSQL citext data type. Fixes #22628
2019-07-02 06:17:37 +10:00
Nyall Dawson
a7540f0d7c
Fix clearing blob column values are not saved to layer
2019-07-02 06:17:37 +10:00
Nyall Dawson
aa1bc5d1f9
[needs-docs][postgres] Correctly handle binary (bytea) fields
...
Previously these would be silently dropped from the layers, but
we now have comprehensive support for binary fields and should
expose them.
Fix sponsored by WhereGroup
2019-07-02 06:17:37 +10:00
Larry Shaffer
ff77edca44
Fix layer legend drop indicators; restore painter state after layer mark
2019-07-01 13:13:49 -06:00
Martin Dobias
7ac02ae881
[postgres] move also schema item's drag'n'drop handling to gui provider
2019-07-01 13:37:47 +02:00
Martin Dobias
2a16f3e9db
[mssql] Move GUI code to new files + remove legacy data item calls
2019-07-01 13:37:47 +02:00
Martin Dobias
04630d570b
[mdal] move GUI related code to a new file
2019-07-01 13:37:47 +02:00
Peter Petrik
d1bd8fca49
fix #28761 [mesh] Time slider for non-temporal data should be disabled
2019-07-01 12:29:37 +02:00
Nyall Dawson
164f6aec6b
Spelling
2019-07-01 17:01:34 +10:00
Nyall Dawson
074c584c54
Don't allow name-less parameters
2019-07-01 17:01:34 +10:00
Nyall Dawson
8e3287a7ee
Add modeler parameter config for color parameters
2019-07-01 17:01:34 +10:00
Nyall Dawson
4dc24d1efe
Allow serialization of QColor to xml in QgsXmlUtils
2019-07-01 17:01:34 +10:00
Nyall Dawson
b8e53dc012
Add missing visual links between layout and layout item parameters in models
2019-07-01 17:01:34 +10:00
Nyall Dawson
a9788339ea
Port an item type which has a parent parameter choice (layout items) for reference
2019-07-01 17:01:34 +10:00
Nyall Dawson
d83997c490
Port string parameter to new config widget
2019-07-01 17:01:34 +10:00
Nyall Dawson
477d3b1f1a
Port boolean widget config dialog to new API
2019-07-01 17:01:34 +10:00
Nyall Dawson
10d6a8a122
[processing][API] Add API to QgsProcessingGuiRegistry and QgsProcessingParameterWidgetFactoryInterface
...
to handle creation of parameter definition widgets
Previously, these configuration widgets were all hardcoded into the Python modeler
dialog. This prevented 3rd party, plugin provided, parameters from ever being full
first class citizens in QGIS, as there was no way to allow their use as inputs to
user created models to be customised.
Now, the registry is responsible for creating the configuration widget, allowing
for 3rd party parameter types to provide their own customised configuration
widgets.
Refs #26493
2019-07-01 17:01:34 +10:00
Nyall Dawson
b0d7c2927e
Expose contentAsString to QgsNetworkContentFetcherTask
2019-07-01 15:38:45 +10:00
Nyall Dawson
bb9fb49887
Add auth support to QgsNetworkContextFetcher
2019-07-01 15:38:45 +10:00
Harrissou Sant-anna
62e8a9b726
Add a bunch of automatic geometry restoration
...
and remove some dedicated methods
2019-07-01 08:51:51 +10:00
Juergen E. Fischer
165b5c2bfb
font symbol: add preview in selected font, revert line edit to default font and single character replacement. Insert only with Ctrl or if there is already more than one character selected (followup 46eeaa0b)
2019-06-30 22:55:14 +02:00
Nyall Dawson
d96c7386b1
Allow creation of color parameters with no opacity control
2019-07-01 06:32:21 +10:00
Nyall Dawson
8fc63bff88
Remove unnecessary translation
2019-07-01 06:32:21 +10:00
Nyall Dawson
38bb5fb260
[FEATURE][processing] New parameter type for colors
...
Allows for algorithms which require a color value as an input
2019-07-01 06:32:21 +10:00
Juergen E. Fischer
897198f374
create geopackage on the fly when saving projects to it and fix misleading error message when project name has been edited
2019-06-30 18:02:01 +02:00
Juergen E. Fischer
46eeaa0b72
font symbol: show line edit in symbol font and insert clicked symbols instead of replacing
2019-06-30 17:18:23 +02:00
Juergen E. Fischer
c1bcda4635
processing: save splitter position of base dialog
2019-06-30 14:38:18 +02:00
Juergen E. Fischer
d9de9ab9f6
translation fixes
2019-06-30 14:38:18 +02:00
Martin Dobias
b1794ee88b
[ows] Remove dead GUI-related data items code
2019-06-30 00:10:30 +02:00
Martin Dobias
58a01ba62d
[geonode] Move GUI related code to new files, remove legacy data items calls
2019-06-30 00:10:30 +02:00
Martin Dobias
9dfb7db3a4
[delimitedtext] Move GUI-related code to a separate file
2019-06-30 00:10:30 +02:00
Martin Dobias
0514d79b49
[db2] Move gui related stuff to new files + port legacy data item calls
2019-06-30 00:10:30 +02:00
Martin Dobias
55c70c9626
[arcgisrest] Move QgsDataItem::actions() implementations to gui providers
2019-06-30 00:10:30 +02:00
Martin Dobias
dbccb421b4
[arcgisrest] Move existing data item gui providers to new files
2019-06-30 00:10:30 +02:00
Martin Dobias
18970c6d12
[arcgisrest] Move gui part of providers to new files
2019-06-30 00:10:30 +02:00
Panos Mavrogiorgos
d8b0cdacb7
Make setting "Grass7AlgorithProvider.activateSetting" optional.
...
This change makes it easier to subclass `Grass7AlgorithProvider` which
allows e.g. to expose GRASS Addons as QGIS plugins.
Disclaimer: `Grass7AlgorithProvider` is a private API and it may change
without warning. 3rd parties that rely on this should expect
that their code will break in future releases.
For more info please check the comments at #30252
Nevertheless, it currently is possible to subclass with something like this:
class CustomGrassBasedProvider(Grass7AlgorithmProvider):
# Set descriptionFolder to our own description directory
descriptionFolder = os.path.join(os.path.dirname(__file__), 'description')
# 3rd party plugins don't need an activation/deactivation setting
activateSetting = None
# define the rest of the methods that are needed (e.g. name(), id() etc)
# ...
Fixes #30241
Continues #9202
2019-06-29 09:51:13 +10:00
Panos Mavrogiorgos
03f1ae9576
Stop hardcoding activation setting name in Grass7AlgorithmProvider
2019-06-29 09:51:13 +10:00
Nyall Dawson
19909be2d3
Implement a more robust approach for blocking canvas redraws when
...
we don't want/need them
This prevents a bunch of unwanted redraws being triggered mid-way
through operations like loading projects, which sometimes can
result in crashes.
Fixes #29506 , #30169 , possibly other crash reports
2019-06-29 09:34:24 +10:00
Juergen E. Fischer
02bc9c9dd2
typo fix
2019-06-28 22:31:10 +02:00