15284 Commits

Author SHA1 Message Date
Nyall Dawson
78a606188c Expose some more auth manager methods to Python
These methods either
- only wrap QSettings values (so there's no added security gained
by not exposing them -- it's currently easily possible to achieve
the same results via direct QSettings manipulation)

OR

- are required to allow fully automated QGIS deployment/startup
scripts which rely on auth manager functionality
2019-06-14 08:54:44 +10:00
Alexander Bruy
3a0fb544b3 [processing] fix method name 2019-06-13 15:46:26 +03:00
Nyall Dawson
cf63a7af97 [needs-docs] Allow dragging project layers from legend over map layer comboboxes to select
Greatly assists with usability of the combobox with large projects,
especially those with multiple copies of layers with the same name...
2019-06-13 04:57:37 +10:00
Nyall Dawson
d56ddc25fb Minor refactor of QgsMapLayerProxyModel 2019-06-13 04:57:37 +10:00
Nyall Dawson
760af67d0f Cleanup handling of QgsMimeDataUtils::Uri corresponding to project layers
And add tests
2019-06-13 04:57:37 +10:00
Nyall Dawson
54434a6f41 Allow double-clicking items in data source select dialog to choose them 2019-06-13 04:56:45 +10:00
Matthias Kuhn
a4eb6b0bdc
Merge pull request #30128 from m-kuhn/30118
Keep rubberband while attribute dialog is open
2019-06-12 10:00:52 +02:00
Matthias Kuhn
83c8b5bf16
Merge pull request #30173 from olivierdalang/dbmanager_fix_generic_geom
[dbmanager] allow to import GEOMETRY tables
2019-06-12 09:54:57 +02:00
Nyall Dawson
4ff8429f7a [processing] Port "Points along geometry" to QgsFeatureBasedAlgorithm
(and c++), allow distance/start/end offset to be dynamic, avoid
algorithm "hangs" when inappropriately small (or 0) distances
are used
2019-06-12 10:08:51 +07:00
Nyall Dawson
e0eedc5fa1 [processing] Make batch processing HTML report more useful
Include the input parameter values in the report, otherwise the
results are just a meaningless list of values which can't be
associated with any particular set of inputs

Also correctly handle boolean and other output types
2019-06-12 07:03:57 +10:00
Nyall Dawson
d10db05b5a [processing] Nicer strings, default values for select/extract by attribute 2019-06-12 07:03:30 +10:00
Nyall Dawson
43904df6c4 [processing] Fix exception in select by expression using not equal to operator
Fixes #30135
2019-06-12 07:03:30 +10:00
Matthias Kuhn
40b3e82886 Add missing sip file 2019-06-11 21:12:19 +02:00
Matthias Kuhn
a9e3950841
Merge pull request #30079 from olivierdalang/fix_cad_graphical_glitches
[cad] fix graphical glitches
2019-06-11 17:38:46 +02:00
Alessandro Pasotti
e740688faa
Merge pull request #30151 from elpaso/bugfix-gh30115-value-relation-widget-match-name-if-id-fails
When loading a QLR, try to match the layer name if id does not
2019-06-11 11:20:30 +02:00
Alessandro Pasotti
2d45ba8d68 Move the QgsProject singleton problem one step up 2019-06-11 09:22:31 +02:00
Harrissou Sant-anna
502e18fa24 Update tests for gdal warp 2019-06-11 13:43:38 +10:00
Harrissou Sant-anna
1e2b59afc4 Make the target crs optional in gdal warp algorithm [needs-docs] 2019-06-11 13:43:38 +10:00
Alessandro Pasotti
103ef762ca Factor out generateId for layers and fix QLR mutiple layers id import 2019-06-10 17:58:22 +02:00
Alessandro Pasotti
a295701023 ResolveLayer returns a layer instance instead of an ID 2019-06-10 15:39:52 +02:00
Alessandro Pasotti
13099cc4fa
Merge pull request #30137 from elpaso/bugfix-gh30131-postgres-json
Fix json hanlding of bools and complete json(b) PG support
2019-06-10 14:22:14 +02:00
Alessandro Pasotti
f9b50b5b38 Move layer resolver into a static method 2019-06-10 14:10:11 +02:00
Alessandro Pasotti
dcc779a62d Added a test and fix layer config in the wrapper too 2019-06-10 12:32:30 +02:00
Harrissou Sant-anna
352423e443 Update help Url for Core plugins in official doc 2019-06-10 08:24:55 +10:00
Alessandro Pasotti
79219dae23 Forward port of histogram binding fix with a bonus test
Fwd port of PR #30033
Fixes #29700

With a new test for the bug.
2019-06-09 10:25:50 +02:00
Alessandro Pasotti
d2a93501f2 Remove empty lines 2019-06-08 20:32:02 +02:00
Alessandro Pasotti
3ea542a433 Fix json hanlding of bools and complete json(b) PG support
Fixes #30131 and add tests for jsonutils
2019-06-08 20:29:48 +02:00
Even Rouault
b1e4a270e5
Merge pull request #30103 from boundlessgeo/master-wfs-conn-dlg
Fix some issues with WFS connection dialog
2019-06-07 11:34:20 +02:00
Martin Varga
f4e11bf7d5 [processing] tiles_xyz: maximize map preview 2019-06-07 11:09:41 +02:00
Martin Varga
228040d153 [processing] tiles_xyz: get rid of unlabeled areas at the edges of metatiles 2019-06-07 11:09:41 +02:00
Martin Varga
4013925083 [processing] deferred transparency/bg_color option in xyz alg 2019-06-07 11:09:41 +02:00
Martin Varga
ebab737420 [processing] changed alpha to transparent option in tiles_xyz, default bg color from canvas 2019-06-07 11:09:41 +02:00
Martin Varga
3a9b32d635 [processing] added new options (alpha, quality, tile_size) to xyz alg 2019-06-07 11:09:41 +02:00
Nyall Dawson
861c5115eb Fix various clazy warnings 2019-06-07 16:40:18 +10:00
Alessandro Pasotti
96c3357915
Merge pull request #30100 from elpaso/bugfix-gh29937-duplicated-datefield-crash
Do not emit dateChanged signal if value has not changed
2019-06-07 08:18:47 +02:00
Harrissou Sant-anna
a749cd9c0c Add a help button to the Processing History dialog
connected to the docs
2019-06-07 07:14:05 +10:00
Larry Shaffer
018df8c129
Fix WFS connection's version Detect button, which did not support auth
Adds QgsNewHttpConnection protected member to access auth settings
2019-06-06 10:41:58 -06:00
Matthias Kuhn
26e8e22603
Merge pull request #30109 from DelazJ/processingTestReadme
Fixing typo
2019-06-06 16:09:56 +02:00
Harrissou Sant-anna
b8e94e9a5e
Better wording
Co-Authored-By: Matthias Kuhn <matthias@opengis.ch>
2019-06-06 13:50:39 +02:00
Harrissou Sant-anna
065c7518bc
Fixing typo 2019-06-06 13:02:03 +02:00
Alessandro Pasotti
58fcd60f49
Emit newProject after save project as ... (#30025)
* Emit newProject after save project as ...

Fixes #29919

* Use QgisApp::projectSavedAs signal when project is saved with a new path

* Update browser project home path when saved as

* Set home path when reading a project

* Emit homePathChanged in any case
2019-06-06 12:04:22 +02:00
Alessandro Pasotti
8ffdb4ae28 Remove old incomplete documentation 2019-06-06 11:57:19 +02:00
Nyall Dawson
8b16e05998 Cleaner handling of raster provider native resolutions 2019-06-06 17:11:06 +10:00
olivierdalang
86f8bdb0aa [dbmanager] allow to import GEOMETRY tables
UI is similar to the browser, where generic geometry tables
are display several times, one for each type.
2019-06-05 17:46:57 +02:00
Alexander Bruy
74d6b23853
Merge pull request #30045 from alexbruy/dbmanager-versioning
[dbmanager] add primary key to the view created by versioning plugin (fix #25888)
2019-06-05 10:47:28 +03:00
Nyall Dawson
87d2d9e824 Fix inverted polygon renderer widget not opening colors and other
panels inline in style dock
2019-06-05 04:00:58 +10:00
olivierdalang
da4a8d24ef [cad] fix graphical glitches 2019-06-04 11:29:04 +02:00
Nyall Dawson
a98d12e1e0 Dox 2019-06-04 06:18:17 +10:00
Nyall Dawson
1bc716fc61 [labeling] Fix incorrect bounding box of labels used when
map is rotated

Fixes #24680
2019-06-04 06:18:17 +10:00
Nyall Dawson
004b7d879a [labeling] Fix cannot use labeling map tools when canvas is rotated
Fixes #25384
2019-06-04 06:18:17 +10:00