5832 Commits

Author SHA1 Message Date
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
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
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
Nyall Dawson
b0aaa9d11a Fix test 2018-06-21 15:33:29 +10:00
Nyall Dawson
78b07cdf31 Fix SC2196 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
4778498c94 Fix SC2034 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
5b375a2edf Fix SC2188 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
0e9a381534 Fix SC2103 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
040f1d1879 Fix SC2006 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
cab83c51a8 Fix SC2222 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
7ad85a451f Fix SC2004 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
00477ff910 Fix SC2068 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
11bb5afa0b Fix SC2035 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
fc20fc81f7 Fix SC2062 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
6c9484b923 Fix SC2181 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
36e38210db Fix SC2116 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
80d655598a Fix SC2219 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
4118bafc96 Fix all SC2164 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
0d41925535 Disable all failing shellcheck checks 2018-06-21 15:33:29 +10:00
Nyall Dawson
7d938e8b94 [ci] Run shellcheck as part of code_layout build 2018-06-21 15:33:29 +10: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
Nyall Dawson
77d22849d9 Fix calculation of relation aggregate in virtual field with same name as related field 2018-06-20 15:23:55 +10:00
Denis Rouzaud
d36015070c
Merge pull request #7171 from 3nids/sip_python_repr
create Python __repr__ methods for QgsPoint and QgsPointXY
2018-06-19 09:56:28 -08:00
Denis Rouzaud
ff1988f11d Python __repr__ test output 2018-06-19 13:55:53 -04:00
Nyall Dawson
2aa2ef48f0 [layouts] Fix data defined page sizes sometimes lead to incorrect
created atlas image sizes

Because the exporter prefers to use the image size when it's
specified (as is done in QGIS app), we need to ignore this
when the aspect ratio of that size doesn't match the aspect
ratio of the page to render.

Fixes #18534
2018-06-20 02:43:51 +10:00
Tudor Bărăscu
0b9df82268 remove redundant test 2018-06-19 14:16:01 +03:00