49449 Commits

Author SHA1 Message Date
Stéphane Brunner
24f97f0205 Fix the Access control in the WMS groups
- Reactivate the tests
- Split the tests in more then one file
- Add WMS groups tests
- Use standard test font
2018-08-14 11:31:00 +02:00
Nyall Dawson
29ccd1af71 New icon for dock/undock thanks to @nirvn 2018-08-13 16:44:34 +10:00
Nyall Dawson
1e051f0efb [FEATURE] Add a button in attribute table toolbar to switch between
docked and window mode

Previously you had to change an option in the settings dialog and
open a new table in order to switch between docked/undocked, but
that's painful if you decide after a table is already open that
you'd like to dock/undock it...
2018-08-13 16:44:34 +10:00
Nyall Dawson
a4a74a907d Add new icon for 'Save in project' thanks to @nirvn 2018-08-13 15:47:01 +10:00
Nyall Dawson
63fd4bab2a [processing][FEATURE] Store models inside QGIS project files
Allows processing models to be stored inside QGIS project files,
so that opening the project makes that model available.

Some models are so intrinsically linked to the logic inside
a particular project that they have no meaning (or are totally
broken) outside of that project (e.g. models which rely
on the presence of particular map layers, relations, etc)

This change allows these models to be stored inside that project,
avoid cluttering up the "global" model provider with models
which make no sense, and making it easier to distribute a single
project with these models included.

Models are stored inside projects by clicking the new "embed
in project" button in the modeler dialog toolbar. Models can be
removed from a project from the model's right click menu in the
toolbox.
2018-08-13 15:47:01 +10:00
Nyall Dawson
3a08300112 Sipify 2018-08-13 14:33:53 +10:00
Nyall Dawson
fa68041793 Fix some clazy/clang warnings in layout 2018-08-13 14:33:53 +10:00
Nyall Dawson
69201021d5 [layouts] Fix incorrect filename for atlas features when using
@atlas_feature

Fixes #19552
2018-08-13 11:09:13 +10:00
Nyall Dawson
6e2e0732f5 [layouts] Fix crash on report section delete
Fixes #19447
2018-08-13 11:09:00 +10:00
Nyall Dawson
73f3164fe4 Fix memory leak in filter multipoint 2018-08-12 17:15:40 +10:00
Rudi von Staden
f7204faa5b Update .gitignore to not track default windows build directories 2018-08-12 04:38:41 +10:00
Matthias Kuhn
02e6ec19aa
Merge pull request #7591 from m-kuhn/fixAndroidNative
Fix android native
2018-08-11 07:24:34 +02:00
Matthias Kuhn
bcaf597a0b
Merge pull request #7594 from nyalldawson/fix_test
Followup f4d08eb9, update expected test result
2018-08-11 07:23:48 +02:00
Nyall Dawson
db1dad5800 Followup f4d08eb9, update expected test result 2018-08-11 13:50:10 +10:00
Martin Dobias
ad4ddb186a
Merge pull request #7582 from PeterPetrik/mesh_plots
[mesh] [feature] function to get value for the point on map
2018-08-10 15:46:27 +02:00
Peter Petrik
271bab1756 introduce DataType for mesh dataset data definition and small fixes 2018-08-10 14:40:46 +02:00
Matthias Kuhn
f98cc11bf5
Do not link to QtDBus on Androi 2018-08-10 11:48:34 +02:00
Juergen E. Fischer
af075bfc6c run scripts/scandeps.pl (followup 6e30c626) 2018-08-10 10:58:45 +02:00
Matthias Kuhn
fc259a2141
No DBus on Android 2018-08-10 10:51:06 +02:00
nirvn
b9e63bbf86 followup a1a65bb: restore wrongly reverted ramp shader fix 2018-08-10 15:10:05 +07:00
nirvn
6fcef30cc5 [expression] fix format_number() not adding group separators regression 2018-08-10 14:40:20 +07:00
Peter Petrik
9ea0bc2a1e format code and add documentation 2018-08-10 09:24:31 +02:00
Juergen E. Fischer
f4d08eb926 dbmanager/postgis: quote identifiers in urls (fixes qgis portion of #19583) 2018-08-10 09:21:52 +02:00
Nyall Dawson
c7421c77a6 Fix project home folder in browser always closes all subfolders
when saving a project
2018-08-10 11:18:22 +10:00
Nyall Dawson
bc2d963090 Fix warning 2018-08-10 10:45:14 +10:00
Nyall Dawson
a5b0c76f84 Double number of projects kept on welcome page, make configurable
Because 10 isn't enough!
2018-08-10 10:45:14 +10:00
Marco Hugentobler
7127e381c2 Another QLatin1String 2018-08-10 10:01:32 +10:00
Marco Hugentobler
c02630b770 Use more efficient string functions 2018-08-10 10:01:32 +10:00
Marco Hugentobler
83da5707b8 Fix QgsClipboard::retrieveFields and adapt unit test (because features without geometries are now allowed in QgsClipboard) 2018-08-10 10:01:32 +10:00
Marco Hugentobler
036000f10b Allow copy / paste with text format between different projects also for geometryless layers 2018-08-10 10:01:32 +10:00
Marco Hugentobler
dfe3acd999 Fix copy/paste using text format between projects 2018-08-10 10:01:32 +10:00
Nyall Dawson
37f5b0c945 Followup a9ca69b7, port geometry type fix to DB2 provider
Also cleanup and modernize some code
2018-08-10 09:32:52 +10:00
Simon South
a9ca69b768 [MSSQL] Correctly interpret geometry-type setting
Interpret a table's geometry type (as selected in the Data Source Manager) as a
value from the QgsWkbTypes::Type enum, matching the values used to populate the
combo box in QgsMssqlSourceSelectDelegate::createEditor().

This allows an empty table whose geometry type is set to "Polygon" to be
selected and added using the dialog.

Fixes #19578.
2018-08-10 09:16:19 +10:00
Matthias Kuhn
d2f05b6d1e
Merge pull request #7581 from m-kuhn/relabelRunButton
Rename "Run in background" to "Run"
2018-08-09 17:19:41 +02:00
Peter Petrik
c79e1d0601 [mesh] [feature] add function to identify value on the point 2018-08-09 16:45:20 +02:00
Matthias Kuhn
4a9dec7794 Rename "Run in background" to "Run"
The user has no other option anyway, so the only thing the extra text could possibly make a user do is look for the other button which is not there.

Fix #19573 (https://issues.qgis.org/issues/19573)
2018-08-09 11:57:56 +02:00
Nyall Dawson
d39bdcdadd [processing] Don't create frequency distribution file for relief
algorithm by default

Refs #19570
2018-08-09 19:17:30 +10:00
Nyall Dawson
c860696a3e Fix crash in relief calculation when exporting distribution to csv
Fixes #19570
2018-08-09 19:17:30 +10:00
Nyall Dawson
4c9a23e28b Modernize code 2018-08-09 19:17:30 +10:00
Juergen E. Fischer
cf728275f1 fix yo-yo warning (followup 5e37e824, 18dbf031, 2ed144ac) 2018-08-09 08:36:55 +02:00
Nyall Dawson
7495ec276e [processing][grass] Fix r.stream.extract definition, resurrect test 2018-08-09 12:32:27 +10:00
Nyall Dawson
e893aae190 [processing][grass] Fix definition of r.watershed, resurrect test 2018-08-09 12:32:27 +10:00
Nyall Dawson
0c24fdb883 [processing][grass] Fix r.sun parameter definition, resurrect test 2018-08-09 12:32:27 +10:00
Nyall Dawson
c50c615ecb Resurrect some processing grass tests 2018-08-09 12:32:27 +10:00
Nyall Dawson
08a8ea7b72 [processing][grass] Fix v.surf.bspline definition, add test 2018-08-09 12:32:27 +10:00
Nyall Dawson
113e16351d [processing][grass] Fix skipped outputs are still added in grass commands 2018-08-09 12:32:27 +10:00
Nyall Dawson
526e590c8d [FEATURE][processing] Add "raster pixels to points" algorithm
Refactor the existing "raster pixels to polygons" algorithm and
create a new "pixels to points" algorithm, which creates a point
feature at the center of every pixel. nodata pixels are skipped.
2018-08-09 12:02:22 +10:00
Nyall Dawson
64de2a2375 Fix warning 2018-08-09 10:04:04 +10:00
Håvard Tveite
d2b71c307b [processing] Added isclose function to VoronoyPolygons.py to avoid numerical instability
Fixes #8002 - hopefully, and adds tests
2018-08-09 09:18:54 +10:00
raymondnijssen
283441022f 360+ degrees wedge buffer tests 2018-08-09 06:32:31 +10:00