5418 Commits

Author SHA1 Message Date
Nyall Dawson
2695e00042 Add a context getter to QgsCoordinateTransform 2018-07-04 13:23:07 +10:00
Matthias Kuhn
497637b8a5
Merge pull request #7354 from m-kuhn/rangewidget_nostep
Handle invalid step size
2018-07-03 07:38:57 -05:00
Matthias Kuhn
2469c9e28e Fix test 2018-07-03 07:04:24 -05:00
B. Seignovert
cb144b3cfe [RASTER] Generate band name with GTiff EXTRA_DIM
Band names can also be retrieved from GeoTIFF files.
2018-07-03 09:09:34 +10:00
Matthias Kuhn
7e7faadabf
Merge pull request #7343 from m-kuhn/qgsfunction_handlesnull
Add handlesnull parameter to @qgsfunction
2018-07-02 15:19:06 -05:00
Matthias Kuhn
3c03da28c0 Fix test 2018-07-02 13:13:47 -05:00
Hugo Mercier
b6901e286c
Merge pull request #7336 from mhugo/rulebasedlabeling_fix
Fix for rule based labeling toSld()
2018-07-02 13:27:24 +02:00
Matthias Kuhn
8df9438c10 Fix test 2018-07-02 06:15:52 -05:00
Peter Petrik
4ca91b2858 [quick] [feature] Feature attribute panel
Allow to show feature attribute form and edit/save the modification
of the attributes. Support most frequent QGIS edit widgets such
as text edit, value map or external resource (photo capture)
2018-07-02 11:49:29 +02:00
Nyall Dawson
ead18fc488 [processing] Fix managled paths in history which contain '\' chars 2018-07-02 10:23:01 +10:00
Matthias Kuhn
4d5eb49f1c Add test for qgsfunction.handlesnull 2018-07-01 06:17:25 -05:00
Hugo Mercier
4dbae688f2 Add a test for rule based labeling without setting 2018-06-30 12:43:50 +02:00
Martin Dobias
569db8e069
Merge pull request #7045 from PeterPetrik/qgs-quick-position_and_transformer
[feature] [qgsquick] Add PositionKit, PositionMarker and CoordinateTransformer
2018-06-29 09:08:35 +02:00
Nyall Dawson
34b9d39b27 [FEATURE][processing] K Means clustering algorithm
Adds a native k-means clustering algorithm.

Based on a port of PostGIS' ST_ClusterKMeans function, this
new algorithm adds a new cluster ID field to a set of input
features identify the feature's cluster based on the k-means
clustering approach. If non-point geometries are used as input,
the clustering is based off the centroid of the input geometries.
2018-06-29 07:12:48 +10:00
Peter Petrik
b55db3dfb5 match Qt naming schema for factories 2018-06-28 16:43:08 +02:00
Peter Petrik
7bfcaf4db9 remove need for factory for system of measurement 2018-06-28 10:41:13 +02:00
Tudor Bărăscu
deb9f590fd add disabled server test for gpkg getfeatureinfo filter 2018-06-28 08:07:35 +03:00
Alessandro Pasotti
efe0fbf9db
Merge pull request #7310 from elpaso/oauth2
[auth] OAuth2 authentication plugin
2018-06-27 18:12:09 +02:00
Matthias Kuhn
d7b85c69f8
Merge pull request #7016 from m-kuhn/featureSourceEmpty
QgsFeatureSource::empty() method
2018-06-26 13:01:08 +02:00
Alessandro Pasotti
e77f92437e Remove redundant CMake variables 2018-06-25 18:43:09 +02:00
Peter Petrik
caed3a91d9 choose system of measurement for scalebar or position 2018-06-25 13:47:58 +02:00
Alessandro Pasotti
3faced1ee9 Removed duplicated pg pki test 2018-06-25 12:26:50 +02:00
Alessandro Pasotti
3f27eaa378 Documentation for OAuth2 server testing 2018-06-25 11:41:37 +02:00
Alessandro Pasotti
0a67592d2c [oauth] Fix tests and rebase agains current master 2018-06-25 09:35:14 +02:00
Larry Shaffer
b9c2c5cb6c [auth] Update OAuth2 plugin test to new QgsApplication::authManager() 2018-06-25 09:35:14 +02:00
Larry Shaffer
4ee0249535 [auth] Update OAuth2 plugin to new QgsApplication::authManager() 2018-06-25 09:35:14 +02:00
Alessandro Pasotti
5ee767a823 Pass urlencoded URL to the oauth handler 2018-06-25 09:35:14 +02:00
Alessandro Pasotti
65b29096ee [oauth2] Added test for resource owner password grant flow 2018-06-25 09:35:14 +02:00
Larry Shaffer
b66a751cd8 [FEATURE][auth] OAuth2 authentication method plugin
- Supports authentication code, implicit and resource owner grant flows
- Allows for preconfigured connections, read from default locations
- Offers caching of access token beyond QGIS restarts
- Save/load configurations
- Has documentation written

Sponsored by Monsanto Company
2018-06-25 09:35:14 +02:00
Peter Petrik
3f5babddfa fix travis and use qgscoordinateformatter 2018-06-25 09:14:53 +02:00
Peter Petrik
7828dc49ee fixes for position kit and coordinate transformer 2018-06-25 09:14:35 +02:00
viktor.sklencar@lutraconsulting.co.uk
5f07851a2d [feature ] Add PositionKit, PositionMarker and other related classes to QgsQuick.
For background information see the associated QEP (https://github.com/qgis/QGIS-Enhancement-Proposals/issues/109
2018-06-25 09:13:29 +02:00
Even Rouault
14a913e25b
Merge pull request #7170 from rouault/wfs_pagesize
[WFS provider] [FEATURE] Allow user to enable/disable paging and specify page size (fixes #18935)
2018-06-22 14:57:37 +02:00
Matthias Kuhn
2718317e85
Merge pull request #7298 from nyalldawson/layout
[layouts] Save last used export folder in project
2018-06-22 14:35:37 +02:00
Matthias Kuhn
c780d607cc
Merge pull request #7105 from PeterPetrik/quick-3-identity
[qgsquick] [feature] Identify and highlight
2018-06-22 14:34:08 +02:00
Matthias Kuhn
638fc0ceff
Merge pull request #7245 from rouault/gpkg_transactions
[OGR provider] [FEATURE] Add support for transactions on GPKG databases
2018-06-22 14:33:01 +02:00
Martin Dobias
3f16335c66
Merge pull request #7296 from wonder-sk/processing-python-escape-quotes
Fix escaping of quotes of map layer source in processing
2018-06-22 10:49:37 +02:00
Martin Dobias
bc737cefcd Switch more valueAsPythonString() implementations to use stringToPythonLiteral() 2018-06-22 09:20:17 +02:00
Nyall Dawson
cd495fbb80 Don't crash when findLayer is called with a nullptr 2018-06-22 14:29:40 +10:00
Nyall Dawson
52fa989cd6 More tests 2018-06-22 12:50:23 +10:00
Nyall Dawson
635f8ad7ca Add QgsFileUtils::findClosestExistingPath to find the closest
existing folder match for a path

E.g. if \a path is "/home/user/projects/2018/P4343"
and "/home/user/projects" exists but no "2018" subfolder
exists, then the function will return "/home/user/projects".

(Suprisingly no existing Qt method for this!)
2018-06-22 10:45:00 +10:00
Etienne Trimaille
6eeaca5570 return the default style first in the list 2018-06-22 09:23:47 +10:00
Denis Rouzaud
3c74991286 add test for QgsSettings.setEnumValue 2018-06-21 05:29:16 -08:00
Nyall Dawson
5cfa18ee9f Fix more sorting issues in vector format lists 2018-06-21 18:22:55 +10:00
Nyall Dawson
2ed547219a Add globs to information returned by QgsVectorFileWriter.supportedFiltersAndFormats 2018-06-21 18:22:55 +10:00
Nyall Dawson
352f3f34ce Explicitly list [xlsx] extension for 'MS Office Open XML spreadsheet' format
...because most humans don't associate "MS Office Open XML" with XLS
2018-06-21 18:22:55 +10:00
Nyall Dawson
f332971084 Fix confusing sort order of vector formats in save as dialog
We were sorting on the driver name, not the display name, so
MS OpenOffice ("XLSX") was appearing after Sqlite.
2018-06-21 18:22:55 +10:00
Tudor Bărăscu
52664b6b66 rework server test to use geopackage and qgz 2018-06-20 11:22:52 +03:00
Nyall Dawson
fb3ff6d226 [layouts] Fix a crash when using multiframe items when no pages exist 2018-06-20 17:12:13 +10:00
Nyall Dawson
afde31b94f [layouts] Avoid a crash when no pages exist in layout 2018-06-20 17:12:13 +10:00