156 Commits

Author SHA1 Message Date
Alexander Bruy
267b049d31 [dbmanager] fix versioning dialog UI (overlapping line edits) 2018-08-25 08:34:24 +03:00
Nyall Dawson
db1dad5800 Followup f4d08eb9, update expected test result 2018-08-11 13:50:10 +10:00
Juergen E. Fischer
f4d08eb926 dbmanager/postgis: quote identifiers in urls (fixes qgis portion of #19583) 2018-08-10 09:21:52 +02:00
nirvn
46246f622d [needs-docs][dbmanager] harmonize icons 2018-06-29 11:56:37 +07:00
Matthias Kuhn
cbde32f0fc
Merge pull request #4643 from merkato/master
[FEATURE] Add role logging for PostGIS versioning.
2018-06-22 14:47:07 +02:00
Nyall Dawson
12efb8669e [dbmanager] Fix error when connecting to postgis db
Fixes #19240
2018-06-22 13:37:58 +10:00
Luigi Pirelli
8968b63efd from unicode to str 2018-05-31 13:06:00 +02:00
Luigi Pirelli
4f415c56e5 typo 2018-05-31 13:06:00 +02:00
Luigi Pirelli
878ab41ad3 Set permission to certs to allow correct removing on win 2018-05-31 13:06:00 +02:00
Harrissou Sant-anna
394aaba060 Trying to make Providers labels translatable
in DB Manager tree
2018-05-01 16:07:41 +02:00
Salvatore Larosa
29f6884a23 Fixes #18375 - fix API break 2018-03-07 23:23:47 +01:00
Blottiere Paul
887a226115 Use python super() calls 2018-03-02 09:43:26 +00:00
Blottiere Paul
ad630094c1 More cleaning 2018-03-02 09:43:26 +00:00
Blottiere Paul
a948f1b84d Some clean 2018-03-02 09:43:26 +00:00
Blottiere Paul
bf7df6d2e3 Add a cancel button for Postgis and Spatialite 2018-03-02 09:43:26 +00:00
Nyall Dawson
6b4e734d95 [dbmanager] Fix inconsistent capitalization, HIG violations,
and unprofessional strings
2018-02-13 19:49:15 +11:00
Nyall Dawson
c08e4c53a9 Fix invalid (deprecated) escape strings in db manager 2018-02-13 19:49:15 +11:00
Denis Rouzaud
3dc3d9d1b2 unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
make enum items lower case
remove unused QgsMessageLog::None and All
2018-02-06 08:56:40 -04:00
pcav
3b39dcf401 Changed in in DB Manager 2018-01-29 10:18:52 +01:00
Salvatore Larosa
f1c3692f6a [dbmanager] Fixes #16533 and #16506 2017-11-15 18:26:21 +01:00
Juergen E. Fischer
f243b8448e postgres: add support for partitioned tables (implements #17302) 2017-10-21 17:39:18 +02:00
Matthias Kuhn
f1eba211f6 Fix call to non-existent method 2017-10-17 00:29:23 +02:00
Matthias Kuhn
506a831565 Fix typo in method name 2017-10-17 00:03:31 +02:00
Nyall Dawson
d704163884 Rename QgsRectangle::buffer to buffered and mark as const 2017-09-25 17:20:36 +10: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
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
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
Sandro Santilli
78c3423861 For GDAL sake extract a dbname from the connection
Works around GDAL limitation reported in:
https://trac.osgeo.org/gdal/ticket/6910

Ref #16625
Ref #16626
2017-06-02 17:31:41 +02:00
Sandro Santilli
861cf9abad Fix typo in URI service extraction (introduced in 93624b08)
Also add a comment about lack of support in GDAL up to 2.2.x for
service specification in datasource uri

Ref #16626
2017-06-02 16:44:27 +02:00
Sandro Santilli
d56a692bec Fix typo 2017-05-30 10:33:18 +02:00
Sandro Santilli
a53f66048c Pass "service" parameter to gdal when opening PostGIS Rasters
See #16626 - needs backport to 2.18
2017-05-30 09:21:32 +02:00
merkato
31ab10322e [FEATURE] Add role logging for PostGIS versioning.
Add new column in PostGIS versioning plugin SQL.
Add SQL logic for functions and triggers.
Add new QLineEdit for column name.
2017-05-29 10:21:13 +02:00
Sandro Santilli
13e39da074 Ensure "dbname" is set in the uri, once again
Fixes #16625 (ref #10600)
2017-05-26 17:52:29 +02:00
Juergen E. Fischer
3f7f95ee26 db_manager versioning: add RETURNING to INSERT rule (fixes #16083) 2017-05-16 10:34:59 +02:00
arnaud.morvan@camptocamp.com
44731f2314 [db_manager] Fix postgis plugins loading
Fix infinite recursion on load calls
2017-04-28 18:47:43 +02:00
Juergen E. Fischer
c77172ed3d fix more flake8 warnings 2017-03-05 10:21:24 +01:00
Juergen E. Fischer
f00a87cb8a update translation strings 2017-03-05 10:21:24 +01:00
Juergen E. Fischer
a10c890383 More QgsSettings updates:
* revives WMS
* QgsSettings::clear() added
* section added to QgsSettings::contains()
* type parameter added to sip binding of QgsSettings.value()
* TODO: customization & evis
2017-03-04 02:37:59 +01:00
Nyall Dawson
92f03273f5 Correctly use QgsMapCanvas::freeze instead of setRenderFlag 2017-03-01 07:29:35 +10:00
Denis Rouzaud
6c74e4ea5d spelling fixes 2017-01-12 22:01:50 +01:00
Martin Dobias
d56a97d4fe Merge QgsMapLayerRegistry into QgsProject
All methods/signals of QgsMapLayerRegistry moved verbatim to QgsProject.
2016-12-10 15:18:12 +08:00
Martin Dobias
d716640403 Remove usage of legendInterface() from plugins (followup e5f62e49) 2016-11-22 12:23:37 +08:00
arnaud.morvan@camptocamp.com
9cd39e79dd [db_manager] Fix connection to postgis 2016-11-06 13:29:59 +01:00
Nyall Dawson
3cc9b5d962 Indentation 2016-10-22 09:03:24 +10:00
rldhont
a9795ad8ea [DB Manager] Allow lowercase field names for homogenize PostGIS Import
PostGIS provider has an option to lowercase field names. This options is available for user in QGIS algorithm ImportIntoPostGIS and not in DB Mananger.

This commit fix it.
2016-10-19 13:03:32 +02:00
Sandro Santilli
0348dd5ce7 Force use of estimated metadata upon loading topologies 2016-10-05 12:17:57 +02:00