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
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
Juergen E. Fischer
31df84aa6b
run 2to3 on source
2016-09-21 23:30:04 +02:00
Mathieu Pellerin
cd1d44be9d
[db manager] python3 support ( #3512 )
2016-09-20 09:34:36 +02:00
Sandro Santilli
91052d5496
Use nullSymbol for label-only layers in topology viewer
2016-09-16 13:41:23 +02:00
Matthias Kuhn
3aff45cc13
Fix db_manager
2016-08-10 20:36:18 +02:00
Matthias Kuhn
bb79d13e82
Remove deprecated Qgis::WKBType and API cleanup ( #3325 )
...
* Remove deprecated Qgis::WKBType and API cleanup
Renames QgsWKBTypes to QgsWkbTypes
Replaces usage of the enums:
* Qgis::WKBType with QgsWkbTypes::Type
* Qgis::GeometryType with QgsWkbTypes::GeometryType
Their values should be forward compatible (a fact that was already
explited up to now by casting between the types)
Renames some SSLxxx to SslXxx and URIxxx to UriXxx
* Fix build warnings and simplify type handling
* Add a fixer to rewrite imports
* The forgotten rebase conflictThe forgotten rebase conflicts
* QgsDataSourcURI > QgsDataSourceUri
* QgsWKBTypes > QgsWkbTypes
* Qgis.WKBGeom > QgsWkbTypes.Geom
* Further python fixes
* Guess what... Qgis::wkbDimensions != QgsWkbTypes::wkbDimensions
* Fix tests
* Python 3 updates
* [travis] pull request caching cannot be disabled
so at least use it in r/w mode
* Fix python3 print in plugins
2016-08-04 09:10:08 +02:00
Nyall Dawson
1a2231f10c
Rename QGis class to Qgis, for capitalisation consistency
2016-07-21 22:01:38 +10:00
Juergen E. Fischer
ecf3b3719d
db manager: show database name in postgis connection details ( fixes #3489 )
2016-06-21 00:17:41 +02:00
Salvatore Larosa
f1ec12133e
[dbmanager] followup 8727799: again some emit signal fix
2016-06-11 18:29:29 +02:00
Sebastian Dietrich
c5308754eb
[DbManager] allow to refresh materialized views
...
(fixes #13697 )
2016-05-14 00:41:20 +02:00
Denis Rouzaud
8071acd064
move PyQt compat folder to python/qgis
2016-04-29 14:10:26 +02:00
Alessandro Pasotti
1eb63768d9
[dbmanager] Use user name as DB name if provided
...
Followup for 212b125
2016-04-12 14:40:23 +02:00
Alessandro Pasotti
212b125a2c
[dbmanager] PG ignore env if service file is used
...
Fixes #14436
Funded by Boundless
2016-04-12 14:05:19 +02:00
Juergen E. Fischer
c55f8b73f0
db_manager: cleanups
2016-03-21 17:00:24 +01:00
Juergen E. Fischer
8bda5c00a5
db_manager: migrate to new style signals
2016-03-15 23:46:54 +01:00
Juergen E. Fischer
c6d921729e
python fixes:
...
* issues identified by pyflakes (star and unused imports)
* pyqtwrapper: add QtSvg
* some exceptions e.message => unicode(e)
* some translations tr("..." % foo) => tr("...") % foo
* TODO:
python/console/console_sci.py:547 QsciScintillaCompat?
python/plugins/db_manager/dlg_query_builder.py:304 pop_up_error?
2016-03-15 17:25:23 +01:00
Sandro Santilli
976015a38d
Fix typmod aware query for topology face layers
...
followup d8a768f0a0b1926ead3b42c0fa9e12d35f8905f0 (which was bogus)
2016-02-23 07:38:53 +01:00
Sandro Santilli
d8a768f0a0
Make geometry typmod available for topology face layer queries
...
Greatly improves performances on topology loading.
See http://hub.qgis.org/issues/14356
2016-02-22 23:13:39 +01:00
Sebastian Dietrich
560007846a
[DbManager] allow to delete materialized views
...
(refs #13829 )
2016-01-27 00:28:22 +01:00
Sebastian Dietrich
50878114a7
[DbManager] fetch type of view (materialized or not) and show in info
...
(refs #13829 )
2016-01-27 00:28:22 +01:00