32 Commits

Author SHA1 Message Date
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +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
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
Sebastian Dietrich
ef91882fe0 explicitly call QgsDataSourceURI.connectionInfo() with appropriate parameter 2016-01-13 20:12:19 +01:00
Sebastian Dietrich
93ab890033 make DbManager aware of the new authentication system 2016-01-13 20:12:03 +01:00
Juergen E. Fischer
53c507d3a7 db manager: add credentials to postgis rasters (fixes #13594) 2015-10-13 22:54:01 +02:00
Giuseppe Sucameli
03916d549a [DBManager] add SL/Geopackage connection by drag&drop (follow b11f67b4f5), improve GPKG support:
- recognize tables with geometry,
- load GPGK layers to canvas from context menu,
- disable table editing
2015-09-03 01:22:54 +02:00
Juergen E. Fischer
b39055b39c indentation update (now including autopep8) 2015-08-22 14:29:41 +02:00
Cedric Christen
4420b3bf99 Drag&Drop support for GeoPackage layers 2015-06-26 16:35:31 +02:00
radosuav
27f1d9fb3e Fix drag & drop for PG rasters in DB Manager 2015-05-19 14:56:17 +02:00
Nathan Woodrow
297a94fc58 Fix formatting of db manager python code 2015-03-21 20:35:29 +10:00
Juergen E. Fischer
956c155e8f fix python pep8 warnings and fix some revealed errors
pep8 --ignore=E111,E128,E201,E202,E203,E211,E221,E222,E225,E226,E227,E231,E241,E261,E265,E272,E302,E303,E501,E701 \
     --exclude="ui_*.py,debian/*,python/ext-libs/*" \
     .
2015-02-01 20:46:47 +01:00
Juergen E. Fischer
62b2c1fcab db manager: request credentials directly when connection failed (fixes #11886) 2015-01-25 00:33:35 +01:00
Juergen E. Fischer
f8f7842108 db_manager: fix error message on table vacuum 2014-12-03 16:18:32 +01:00
Salvatore Larosa
a778e265a7 [dbmanager] followp 1646f67: fixes some string and changes more messageboxes 2014-09-26 07:18:19 +10:00
Sandro Santilli
dd78876636 Allow loading pgraster tables with non-default raster field name
Before this change you could only load tables where the raster
field was named "rast".
2014-09-04 13:14:39 +02:00
Sandro Santilli
e91141cb2a Allow loading PostGIS Rasters from partially configured connections
Partially configured connection are those for which an hostname
or username or port etc. are not specified, relying on libpq defaults.

It was already fixed for geometries but rasters needed more love.
See #9037.
2014-09-04 12:36:59 +02:00
Larry Shaffer
3df3463e77 [dbmanager] Add missing InvalidDataException import 2013-08-03 16:17:32 -06:00
Larry Shaffer
e1927522a4 [dbmanager] Fix settings default and Python type for connection with postgis plugin
- Saved connections with empty password raised a QPyNullVariant parameter error due to lack of str default
2013-08-03 16:17:32 -06:00
Juergen E. Fischer
aa7c428775 QgsCredentials: fix sip bindings
dbmanager: QgsCredentials is in core (fixes #8345)
2013-07-22 18:06:29 +02:00
Matthias Kuhn
8dc28f2be4 PostgreSQL not working in DB Manager (Fix #8191) 2013-06-28 17:34:12 +02:00
Salvatore Larosa
8cd8969a14 [DB Manager] fix for PostGIS Raster Layer 2013-06-11 14:21:59 +02:00
Juergen E. Fischer
f0c605e0fa dbmanager: add i18n 2013-06-09 18:51:47 +02:00
Giuseppe Sucameli
80b5a07e55 DBManager: updated to new SIP API 2013-06-04 07:20:54 +02:00
Giuseppe Sucameli
f5aef0f549 DBManager: better handle for not supported constraint types (fix #7544) 2013-05-27 02:01:30 +02:00
Juergen E. Fischer
9721736fd8 remove trailing blanks 2012-12-10 00:12:07 +01:00
Giuseppe Sucameli
99876ccb45 db_manager: get fields' size from formatted type string (fix #6402) 2012-10-03 01:25:35 +02:00
Juergen E. Fischer
dc8ac451da [FEATURE] allow adding of sql queries with SelectAtId=false
- sync sip bindings of QGis, QgsApplication, QgsDataSourceURI and QgsPoint with
  C++
2012-08-03 00:02:19 +02:00
Giuseppe Sucameli
3c5b3bbea1 [FEATURE] add DB Manager plugin 2012-04-16 13:31:13 +02:00