49085 Commits

Author SHA1 Message Date
Nyall Dawson
06766c4cd2 Modernize code 2018-07-20 07:24:35 +10:00
Nyall Dawson
daa73910c4 Less noisy identify method 2018-07-20 07:24:35 +10:00
Denis Rouzaud
f060566287 fix downloading plugins for custom repo
I am using github releases files which are apparently stored on amazon and give a 302 code.
I have been successfully tested this patch
2018-07-20 07:20:49 +10:00
Martin Dobias
f6ff660ce2 fix spelling 2018-07-19 23:15:49 +02:00
Martin Dobias
3d4f5bb257 Fix after review / Travis fixes 2018-07-19 23:15:49 +02:00
Martin Dobias
89d3fda4d6 Allow offscreen image size configuration 2018-07-19 23:15:49 +02:00
Martin Dobias
688405343c Capturing of complete scene images upon request 2018-07-19 23:15:49 +02:00
Martin Dobias
6448000a77 Add 3D engine base class + window & offscreen implementations 2018-07-19 23:15:49 +02:00
Salvatore Larosa
02ddffede4 fix build on osx 2018-07-19 19:44:45 +02:00
Alessandro Pasotti
2293065cef [oauth] Code cleaning and safety checks before accessing
input string lists by index
2018-07-19 18:39:36 +02:00
Alessandro Pasotti
ad7a574e6e [oauth] Fix GUI register button enabled 2018-07-19 18:17:01 +02:00
Alessandro Pasotti
d56fc885f6 [oauth] Client registration with JWT
Ported from https://github.com/securedimensions/QGIS-OAuth2-Plugin

The Testbed 13 version provides an additional configuration tab "software statement" which allows a user to automatically register the plugin with a required configuration with the Authorization Server. Of course this can only be leveraged, if the Authorization Server involved supports the registration via digitally signed software statements (JWTs) as described in this ER.
2018-07-19 17:51:07 +02:00
nirvn
287a80a215 [ui] improve confusing vector layer properties' display panel 2018-07-19 19:05:12 +07:00
Peter Petrik
3732decfea [mesh] fix showing group for files with just 1 dataset 2018-07-19 11:30:52 +02:00
Peter Petrik
52aa8492e9 minor code tweaks 2018-07-19 11:30:52 +02:00
Peter Petrik
f54a23e3c4 restore fixes for MS build 2018-07-19 11:30:52 +02:00
Peter Petrik
21613cd132 use MDAL Groups instead of guessing them from dataset names 2018-07-19 11:30:52 +02:00
Peter Petrik
245d6e29ff update MDAL to 0.0.5 2018-07-19 11:30:52 +02:00
Chris Crook
64b18c6dbc Whitespace fix 2018-07-19 18:39:57 +10:00
Chris Crook
f068924233 Tidying if block 2018-07-19 18:39:57 +10:00
Chris Crook
7beb368dd2 Code review fix 2018-07-19 18:39:57 +10:00
Chris Crook
3be864e369 Autopep fixes 2018-07-19 18:39:57 +10:00
Chris Crook
9488d14935 Astyle fixes 2018-07-19 18:39:57 +10:00
Chris Crook
b4f2069c6f Delimited text detectTypes flag - fixes #18601
[FEATURE] Adds a detectTypes flag to the delimited text provider url. If
set to "no" then type detection is not done and all attributes are
treated as text fields.  Otherwise the original behaviour of
detecting field types is preserved.

[needs-docs] Adds a "Detect field types" check box to the record and
field options section of the delimited text provider GUI.

This addresses (at least partially) issue #18601.  A more complete
solution would be to allow users to set field types.
2018-07-19 18:39:57 +10:00
Alessandro Pasotti
c50e99e699 [oauth] Spelling 2018-07-19 09:35:56 +02:00
nirvn
8f5d968847 [maptips] do not render tips if the layer is not rendered 2018-07-19 14:22:40 +07:00
nirvn
68290a2ddc [maptips] fix font not respecting user settings
(this is important for non-Latin users out there)
2018-07-19 14:22:40 +07:00
Alessandro Pasotti
bb4f73701b [oauth] Fix string literal 2018-07-19 08:52:59 +02:00
Alessandro Pasotti
1c9b65dfc0
Merge pull request #7411 from elpaso/hillshade-fast
Hillshade renderer speed improvements
2018-07-19 08:08:54 +02:00
Nyall Dawson
e6af079e18 [layouts] More helpful error messages 2018-07-19 15:12:44 +10:00
Nyall Dawson
549820428e [layouts] Fix export to pdf reports a print error instead of a file error on inaccessible file names 2018-07-19 15:12:44 +10:00
Nyall Dawson
3abbb47527 [layouts] Better error messages when atlas exports fail, hinting that path may be invalid and using correct file format 2018-07-19 15:12:44 +10:00
nirvn
516705417d [maptips] optimize feature fetching, avoid long freeze 2018-07-19 08:45:39 +07:00
nirvn
3e6db63ca4 [maptips] fix additional wrongly sized widget scenarios 2018-07-19 08:45:39 +07:00
nirvn
95e62036ae [maptips] fix 0,0 size by resizing widget to content when html loaded 2018-07-19 08:45:39 +07:00
nirvn
6ffa39d750 [maptips] iterate through all matching features within radius
and return first not empty string
2018-07-19 08:45:39 +07:00
Nyall Dawson
c65afbdd97 [processing] Correctly handle layer type parameter values when
creating an algorithm dialog using processing.execAlgorithmDialog()
2018-07-19 07:22:06 +10:00
Nyall Dawson
7973408367 Fix potential crash in symbol list widget
Possible fix for a crash obtained with incomplete crash report
trace... but it doesn't hurt to be safe anyway and guard against
nullptr symbols.

Also safer memory management via unique_ptrs, which fixes a couple
of leaks in symbol handling.
2018-07-19 07:21:48 +10:00
Nyall Dawson
482d8feedb When there's no features to draw for a level based renderer, shortcut out of rendering 2018-07-19 07:21:31 +10:00
signedav
386817bd14 fix spelling 2018-07-18 16:21:49 +02:00
signedav
baf1b3a19c initialization of embeddet form only once 2018-07-18 13:03:01 +02:00
Matthias Kuhn
60d2cd3ca3
Merge pull request #7333 from Gustry/script_template
add warning about print() and how to load layers in Processing algs
2018-07-18 09:09:51 +02:00
Nyall Dawson
d43f1a2823 [processing] Allow models to have no group name set
This is supported by the toolbox now, so relax the requirement
that all models have a compulsory group name. If no group is set,
the model is shown directly under the Models node in the toolbox.

Also switch a warning from message box to message bar
2018-07-18 08:56:52 +10:00
Nyall Dawson
325f2a4622 [processing] Empty provider nodes should still be shown in toolbox,
unless a filter string is entered

This allows easier discoverability - e.g. without this, the model
and script nodes are hidden until models/scripts have already
been created.
2018-07-18 08:56:52 +10:00
Alessandro Pasotti
2e88dd533e [oauth] Automatic management of state parameter
Ported from https://github.com/securedimensions/QGIS-OAuth2-Plugin

The Boundless Geo version of the plugin requests the state parameter to be provided by the user.
We have changed that as we think that the user must not be responsible for providing that,
as a duplication of a state parameter could lead to unintentional errors.
The Testbed 13 version generates the state parameter automatically for each authorization
request to the Authorization Server and checks the value from the redirect to ensure no CSRF attacks.
2018-07-17 17:32:12 +02:00
Alessandro Pasotti
3d20cfef58
Merge pull request #7279 from tudorbarascu/tests
rework server test to use geopackage and qgz
2018-07-17 10:12:49 +02:00
Nyall Dawson
d27c1aa1e9 Replace clumsy string 2018-07-17 16:26:24 +10:00
Alessandro Pasotti
3138339f6f Revert "Hillshade: added note about artifacts"
This reverts commit 0ac35a6747c110fd2ac88cc7b1eb8d92e7c8ab4f.
2018-07-17 08:08:11 +02:00
Nyall Dawson
61fbb5fdc3 Typo 2018-07-17 15:44:55 +10:00
Nyall Dawson
4012109b0a Fix race condition in stats summary dock 2018-07-17 15:44:55 +10:00