10716 Commits

Author SHA1 Message Date
Alessandro Pasotti
feeec8e0bf [auth] Use explicit signal connections 2017-10-02 12:26:15 +02:00
Alessandro Pasotti
5bdb605fda Merge pull request #5270 from boundlessgeo/auth_widget2
[auth][needs-docs] Authentication widget
2017-10-02 09:18:00 +02:00
Nyall Dawson
5b6f02ecde Refine flash features API
Use a QgsCoordinateReferenceSystem object instead of
QgsVectorLayer to make API more flexible
2017-10-02 10:28:07 +10:00
Nyall Dawson
fc844c66d4 More efficient canvas features flash 2017-10-02 09:52:18 +10:00
Nyall Dawson
3e9fa726ed [FEATURE] Flash features in canvas
This adds:
- API call to QgsMapCanvas to flash a set of features
- A right click menu option in the attribute table to flash
the clicked feature
- An option in the Search by Form dialog to flash matching
features

When triggered, the features flash allowing easy identification
without having to alter the current selection or map extent
2017-10-02 09:52:18 +10:00
Nyall Dawson
4374c6e475 Fix incorrect draw stacking when drawing rubber bands with
secondary lines enabled
2017-10-02 09:52:18 +10:00
Juergen E. Fischer
df71901a32 fix windows build 2017-10-01 01:09:50 +02:00
Nyall Dawson
92af1dacaf Replace default constructors/destructors with = default 2017-10-01 06:52:14 +10:00
Alessandro Pasotti
e4a4d3d191 [auth] Sipify 2017-09-30 09:49:35 +02:00
Alessandro Pasotti
e33ff0609b [auth] Renamed class to QgsAuthSettingsWidget 2017-09-30 08:59:07 +02:00
Alessandro Pasotti
ad2b58a567 [auth] Added \since QGIS 3 2017-09-29 22:47:04 +02:00
Matthias Kuhn
08cb2d78d3
[FEATURE] Default values on update
Add an option to add default values on update of attributes or geometry.
This can be seen as a "derived value" that will be saved to the database
(like area of a polygon) or as a means to track last_modified dates etc.

See #5218
2017-09-29 17:55:02 +02:00
Matthias Kuhn
2fbb6f09cc
Avoid recursion in apply on update default values 2017-09-29 17:52:34 +02:00
Matthias Kuhn
89289598fe
Doxygen 2017-09-29 17:52:33 +02:00
Matthias Kuhn
e025011799
Make Mr. Travis happy 2017-09-29 17:52:33 +02:00
Matthias Kuhn
17fe7e8aec
Doxygen updates for changed method names 2017-09-29 17:52:32 +02:00
Matthias Kuhn
f0b71499d1
Rename QgsField::defaultValue
It's now called QgsField::defaultValueDefinition, because it's only a
value after being evaluated
2017-09-29 17:52:31 +02:00
Matthias Kuhn
dded657a57
Fix typo in QgsFields api doc 2017-09-29 17:52:30 +02:00
Matthias Kuhn
900be9f57f
Properly report QgsDefaultValue.__bool__ in Python 2017-09-29 17:52:30 +02:00
Matthias Kuhn
f2d512a73a
Apply default values on update 2017-09-29 17:52:30 +02:00
Matthias Kuhn
7b36287ff3
Use QgsDefaultValue throughout the code 2017-09-29 17:52:29 +02:00
Matthias Kuhn
cab3a38461
Doxymentation 2017-09-29 17:52:29 +02:00
Matthias Kuhn
5fba1e85aa
Add sip bindings 2017-09-29 17:52:29 +02:00
Matthias Kuhn
d6eb7ba3e7
Add "apply on update" option to default values 2017-09-29 17:52:28 +02:00
Alessandro Pasotti
242696c1d5 [auth] Added tests and completed QgsAuthenticationWidget 2017-09-29 17:34:59 +02:00
Matthias Kuhn
ca5a0bb3de
Fix python expression functions 2017-09-29 17:01:33 +02:00
Alessandro Pasotti
db0c223ab1 [auth] Added new widget ui 2017-09-29 12:16:28 +02:00
Matthias Kuhn
a97d846471
Single parameter version of represent_value
Becuase `represent_value("fieldname")` is much shorter to write and in 98%
there is no need to specify the name separately as
`represent_value("fieldname", 'fieldname')`.
2017-09-29 10:58:18 +02:00
Alessandro Pasotti
91d7a9b611 [auth] New authentication settings widget 2017-09-29 10:33:22 +02:00
Ismail Sunni
0c7c494831
Add section in beginGroup and remove Setting. 2017-09-28 17:01:00 +07:00
Gary Sherman
036646fcfe Fix Object Inspector in Python console editor 2017-09-27 10:05:19 -08:00
Gary Sherman
43a9bc1481 Make case consistent for description of Run Script tool in Python console 2017-09-27 07:52:52 -08:00
Alessandro Pasotti
829702bd24 Merge pull request #5253 from boundlessgeo/auth_proxy
[auth][feature][needs-docs] Proxy authentication integration with QGIS authentication system
2017-09-27 17:41:53 +02:00
Nyall Dawson
6ce8b4c83e Merge pull request #5259 from nyalldawson/modernize
Modernize initializers
2017-09-27 09:34:07 +10:00
Nyall Dawson
a87d352bd7 Run clang-tidy modernize-use-default-member-init to move member
initialization to headers (c++11 style)
2017-09-27 05:02:34 +10:00
Alessandro Pasotti
e536cdde43 Merge pull request #5249 from boundlessgeo/auth_certs_store_tab
[auth] Certs manager remembers (in the settings) the last opened tab
2017-09-26 16:09:18 +02:00
Matthias Kuhn
f6479c1f79 [processing] Fields mapper code improvement 2017-09-26 14:29:05 +02:00
Nyall Dawson
0943cd5d51 Resurrect commented out zonal stats test 2017-09-26 15:30:14 +10:00
Nyall Dawson
fddb6a59a1 Make shortest path test less fussy 2017-09-26 15:19:05 +10:00
Nyall Dawson
79b143bd15 Enable a commented out processing test 2017-09-26 15:16:49 +10:00
Nyall Dawson
f8cf2f4dbe [processing] Fix Refactor Fields rejects valid field configuration input 2017-09-26 13:58:01 +10:00
Nyall Dawson
270c45d12b Merge pull request #5254 from nyalldawson/geometry_coverage
Geometry unit test coverage
2017-09-26 13:39:27 +10:00
Nyall Dawson
9518c90a8b Fix multipolygon allowing insertion of non polygon geometries 2017-09-26 12:05:04 +10:00
Nyall Dawson
5ed6605225 Fix multisurface allowing insertion of non surface geometries 2017-09-26 11:28:51 +10:00
Nyall Dawson
4d989f8fb6 Fix clearing multisurface should reset dimensionality 2017-09-26 10:58:32 +10:00
Nyall Dawson
31730f43be Ensure multisurface dimensionality is respected when adding new surfaces 2017-09-26 10:48:12 +10:00
Nyall Dawson
ed90bf4ded Fix multicurve allowing insertion of non curve geometries 2017-09-26 10:12:52 +10:00
Nyall Dawson
c9117fc585 Fix clearing multicurve should reset dimensionality 2017-09-26 09:03:28 +10:00
Nyall Dawson
f5004ed7ef Fix multi line string allowing insertion of non line geometries 2017-09-26 08:33:47 +10:00
Nyall Dawson
ed72e37f0b Fix clearing multilinestring should reset dimensionality 2017-09-26 06:29:36 +10:00