415 Commits

Author SHA1 Message Date
Salvatore Larosa
5a4ace10e9 [dbmanager] defines correctly super class 2017-11-15 08:30:58 +01:00
Salvatore Larosa
5d8963a4a8 Fixes #17466: DB Manager does not refresh correctly map in layer preview 2017-11-14 22:46:58 +01:00
Even Rouault
95feb87d3b Fix DBManager + PyQgsDBManagerGpkg and unblack list it for Travis-CI 2017-11-10 22:02:19 +01:00
Even Rouault
3d9ca40f4e [DB Manager / GPKG] Remove GDAL 1.x support 2017-11-09 19:18:34 +01:00
Even Rouault
4eed39b63c [DB Manager / GPKG] Fix COMMIT with GDAL 2 (fix #16174) 2017-11-09 19:11:33 +01:00
Nyall Dawson
7dc48f3a17
Merge pull request #5508 from DelazJ/message_spacing
Fixing messages displayed in GUI
2017-11-02 08:13:25 +11:00
Juergen E. Fischer
e523780945 add loading of spatialite on windows and remove remaining references to
pyspatialite (followup 39816cf84)
2017-10-29 20:32:43 +01:00
Harrissou Sant-anna
c2577ec0fc Full sentence should often begin by capitalized letter
and end by a full stop.
2017-10-27 01:46:08 +02:00
Harrissou Sant-anna
f5025cc668 Use a more appropriate dialog title for message boxes
and capitalise first letters
2017-10-27 01:43:26 +02:00
Harrissou Sant-anna
2614ca1a96 Remove trailing spacing and punctuation in ui items 2017-10-27 01:43:26 +02:00
Nyall Dawson
d8775fca55 Merge pull request #5398 from DelazJ/DelazJ-patch-1
[DB Manager] Set correct dialog alignment
2017-10-26 12:59:31 +11:00
Juergen E. Fischer
f243b8448e postgres: add support for partitioned tables (implements #17302) 2017-10-21 17:39:18 +02:00
Matthias Kuhn
6428fed8a3 Merge pull request #5385 from jachym/geopackage
Put GeoPackage at first place in the menu
2017-10-21 16:33:20 +02:00
Jachym Cepicky
28daa1a0e0 Adding more default SHP->GPKG changes 2017-10-19 15:45:04 +02:00
Harrissou Sant-anna
60d0db9ebd [DB Manager]Set dialog alignment instead of adding trailing spaces to labels 2017-10-19 07:14:58 +02:00
Matthias Kuhn
262836d5fd Fix too-many-format-args 2017-10-17 00:32:35 +02:00
Matthias Kuhn
f1eba211f6 Fix call to non-existent method 2017-10-17 00:29:23 +02:00
Matthias Kuhn
7aae9454ec Add abstract base method 2017-10-17 00:28:58 +02:00
Matthias Kuhn
b0855e2c41 Fix super call 2017-10-17 00:28:33 +02:00
Matthias Kuhn
506a831565 Fix typo in method name 2017-10-17 00:03:31 +02:00
Matthias Kuhn
b94612dffa Properly raise NotImplementedError 2017-10-17 00:01:48 +02:00
Matthias Kuhn
740f58b1db Remove broken and unused code 2017-10-16 23:55:25 +02:00
Matthias Kuhn
5bf300d79f Fix access to member variable in classmethod 2017-10-16 23:45:55 +02:00
Matthias Kuhn
118e303a8d Fix typo in method call 2017-10-16 23:36:38 +02:00
Daniele Viganò
a3f7655030 Fix a syntax error in dlg_sql_layer_window.py 2017-10-16 21:46:45 +02:00
rldhont
e6c64f69ce [FEATURE][DB Manager] Be able to update every Db layer from Postgres, Spatialite and Oracle 2017-10-06 17:38:17 +02:00
rldhont
e45206ab3e [BUGFIX][DB Manager] Fix update SQL Layer datasource 2017-10-06 17:35:34 +02:00
Matthias Kuhn
c764d9c177 Merge pull request #5256 from qgis/docker2
[travis] Use docker to run test
2017-10-04 11:11:52 +02:00
Pete King
da4cfd5777 Update and vectorize the DB manager icon (#5262) 2017-10-03 16:03:47 +07:00
Matthias Kuhn
6a1973c1eb
Remove unrequired cast 2017-09-28 13:22:37 +02:00
Nyall Dawson
d704163884 Rename QgsRectangle::buffer to buffered and mark as const 2017-09-25 17:20:36 +10:00
Alessandro Pasotti
7a1b9f970b DBManager -> Browser synchronization
Reload/refresh the browser tree and source select connection
items when connections, tables etc. change in the DBManager

Note that this is uni-directional: changes in the browser tree
are not (yet) propagated to the DBManager
2017-09-15 17:08:11 +02:00
Alessandro Pasotti
d8940544f7 [bugfix] Geopackage restore connections in DB-manager 2017-09-14 13:39:44 +02:00
Harrissou Sant-anna
6fd3c1090a Fix wording
Fully write the label because there's enough space + alignment
2017-08-22 07:53:44 +02:00
Alessandro Pasotti
04f79d174d Geopackage: Use the same settings for DB Manager and browser 2017-08-14 15:04:54 +02:00
Mario Baranzini
78af413dcc Remove python future compatibility layer 2017-08-07 10:27:15 +02:00
Matthias Kuhn
b262604f7a
Add missing import 2017-07-30 22:42:57 +02:00
Matthias Kuhn
3ce6fcd31d
Even more endless hourglass avoidance 2017-07-30 22:36:51 +02:00
Matthias Kuhn
8473df562f
More endless hourglass protection 2017-07-30 22:18:25 +02:00
Matthias Kuhn
973d3515d1
Avoid endless wait cursors 2017-07-30 21:51:22 +02:00
Sandro Santilli
9efd666e48 Test that PostGIS query can be passed as both unicode and string literal
See https://issues.qgis.org/issues/16833
2017-07-19 19:05:39 +02:00
Sandro Santilli
2a572be73e Add test for #16833
Tested to pass with Python 2.7.13
2017-07-19 16:48:36 +02:00
Harrissou Sant-anna
9e6b8ed59d Use PostGIS and PostgreSQL spelling when appropriate 2017-07-07 01:26:38 +02:00
Harrissou Sant-anna
6fab688298 Use SpatiaLite right spelling when needed 2017-07-07 01:26:38 +02:00
Denis Rouzaud
5b8e2c2f27 remove QgsVectorLayer::hasGeometryType in favor of QgsMapLayer::isSpatial 2017-07-05 10:18:32 +02:00
Harrissou Sant-anna
450eb7c24a Spelling check: Replace analyse by analyze 2017-07-02 22:28:50 +02:00
Even Rouault
2fb0b16364 [DBManager] Avoid unhandled exception on a untyped geometry (wkbUnknown) layer (#16730) 2017-06-21 14:17:29 +02:00
Sandro Santilli
362d4f0697 Add DBManager test for service-only URI
Ref #16626

Also fixes runs with non-standard QGIS_PGTEST_DB env variable set
2017-06-06 14:56:40 +02:00
Sandro Santilli
7af47c2afa Add a raster table to the test postgis setup, use it from dbmanager test 2017-06-06 09:51:30 +02:00
Sandro Santilli
3738798991 Add test for DBManager's PostGIS connector and plugin
Only enabled when ENABLE_PGTEST is set
Includes test for dbname-less URI (#10600 and #16625 and #16626)

The test relies on default libpq accessed database containing
one raster table, but makes no effort to create such database yet.
2017-06-06 09:51:30 +02:00