72 Commits

Author SHA1 Message Date
Nyall Dawson
ac651ee0d9 Followup 8d51a693, fix broken plugins 2019-03-27 07:20:43 +10:00
Denis Rouzaud
8d51a693a1 missing changes of QgsMapLayer::Type => QgsMapLayerType 2019-03-26 14:09:19 -05:00
Alessandro Pasotti
8639bcf853 [db-manager] Use QgsDataItem implementation for GPKG layer rename
- Removes code duplication
- Uses a tested and robust implementation (from OGR)
- Takes care of renaming QGIS styles
- Updates the information view in the plugin

Fixes #21227
2019-02-13 12:49:55 +01:00
Ailurupoda
f3dfd97d90 New fix, still some need to be done 2019-02-06 17:37:48 +01:00
Ailurupoda
dff185355d Fix bug comment on postgres and others management 2019-02-06 10:53:56 +01:00
corentin.falcone
911a36119a Update travis building 2019-01-11 14:30:10 +01:00
corentin.falcone
c0dd72ee8b Update travis building 2019-01-11 14:15:46 +01:00
corentin.falcone
7852a7a71a Update building 2019-01-11 11:56:01 +01:00
corentin.falcone
94784a5cf8 Update building 2019-01-11 11:10:02 +01:00
Alessandro Pasotti
0fcb64379f
Update python/plugins/db_manager/db_plugins/plugin.py
Co-Authored-By: Ailurupoda <akwalith@gmail.com>
2019-01-11 10:36:14 +01:00
Alessandro Pasotti
4011a8dbba
Update python/plugins/db_manager/db_plugins/plugin.py
Co-Authored-By: Ailurupoda <akwalith@gmail.com>
2019-01-11 10:36:00 +01:00
corentin.falcone
a764c08e7d Add comment on field | DbManager 2019-01-10 16:46:55 +01:00
corentin.falcone
2e97615037 Revert "Add comment on field | DbManager"
This reverts commit 6b98d8de49f76ae10f31fdb644e9960225bb57f0.
2019-01-10 16:29:34 +01:00
corentin.falcone
6b98d8de49 Add comment on field | DbManager 2019-01-10 16:08:58 +01:00
Alessandro Pasotti
15f4138a47 [db-manager] Store exception text in the task and pass it over to the caller
Fix #2019 - DBManager fails to display error messages with virtual layers
2018-10-23 14:59:10 +02:00
Juergen E. Fischer
ef6ce4ec3f db manager: also add newline when adding a unique id field (fixes #19343)
(cherry picked from commit 870d078479352d61edd902ab9d2ca48e98db9148)
2018-07-05 17:45:18 +02:00
nirvn
7e8ec00c9b [dbmanager] vectorize icons to fix toolbar in hidpi context 2018-07-02 12:51:44 +07:00
nirvn
86547eb5fc [dbmanager] add connection icon
this harmonizes display with that of the browser panel
2018-06-30 15:43:31 +07:00
Blottiere Paul
bf7df6d2e3 Add a cancel button for Postgis and Spatialite 2018-03-02 09:43:26 +00:00
Nyall Dawson
ea40f1e82a More capitalization homogenization 2018-02-13 19:49:15 +11:00
Nyall Dawson
6b4e734d95 [dbmanager] Fix inconsistent capitalization, HIG violations,
and unprofessional strings
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
Matthias Kuhn
7aae9454ec Add abstract base method 2017-10-17 00:28:58 +02:00
Matthias Kuhn
b94612dffa Properly raise NotImplementedError 2017-10-17 00:01:48 +02:00
Juergen E. Fischer
f00a87cb8a update translation strings 2017-03-05 10:21:24 +01:00
Juergen E. Fischer
ecc5bb508e pep8/pyflakes3 cleanups 2017-03-04 02:38:15 +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
DelazJ
828e447991 More spelling fixes
* editation
* definintion
* Unabled
* capitalize QGIS
* replace algs by algorithms
* queryings
* symbo(s)
* missing space after a dot
2016-12-29 01:53:55 +01: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
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Nyall Dawson
1a2231f10c Rename QGis class to Qgis, for capitalisation consistency 2016-07-21 22:01:38 +10:00
Salvatore Larosa
87277999a4 [dbmanager] Fix emit signal when refresh fields in table 2016-06-11 16:58:11 +02:00
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
0ab3653831 [DbManager] Fix the 'MoveToSchema' functionality (fixes #14219) 2016-02-13 01:01:05 +01:00
Sebastian Dietrich
93ab890033 make DbManager aware of the new authentication system 2016-01-13 20:12:03 +01:00
Sebastian Dietrich
f6e3161317 Added a button to set a filter for a query layer. 2015-11-29 13:19:55 +01:00
Juergen E. Fischer
bf64f8d0a0 spelling fixes and indentation update 2015-10-22 21:56:54 +02:00
Giuseppe Sucameli
339fd75655 DBManager: merge PR2342 by medspx (fix #13650) 2015-10-22 21:28:02 +02:00
Giuseppe Sucameli
9419a44537 DBManager: revert commit 87675f8ab
Maybe I was drunk...
2015-10-22 21:17:56 +02:00
Giuseppe Sucameli
87657f8ab4 DBManager: fix #13650 2015-10-22 19:27:33 +02:00
Giuseppe Sucameli
401f43c590 DBManager: fix data conversion to unicode (errors='replace' should be enough) 2015-10-01 00:29:38 +02:00
Giuseppe Sucameli
0c480a93c6 DBManager: fix unicode error display table data (fix #13447) 2015-09-30 00:12:11 +02:00
Juergen E. Fischer
53c84915e9 indentation update 2015-09-06 01:24:09 +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
Matthias Kuhn
9fc1b48bf3 Replace str() with unicode() and some PEP 8 2015-08-16 20:58:43 +02:00
Juergen E. Fischer
5b86e38676 db_manager: only try isgpkg on spatialite plugin and sqlite version parsing 2015-07-11 23:24:13 +02:00