Alessandro Pasotti
dabd649a6d
Merge pull request #9164 from elpaso/bugfix-21227-layer-rename-styles
...
Fix GPKG layer rename styles in browser
2019-02-13 16:24:50 +01: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
Nyall Dawson
493185c6a0
Astyle
2019-02-13 07:59:30 +10:00
Nyall Dawson
29fa7b6e7b
Fix build, indentation
2019-02-13 07:59:30 +10:00
Ailurupoda
d331143837
Removing print
2019-02-08 11:18:53 +01:00
Ailurupoda
db4db5983a
Fix travis
2019-02-08 11:01:13 +01:00
Ailurupoda
db06040b60
Change != True to not + getComment and commentTable on main file if not needed only
2019-02-08 10:45:49 +01:00
Ailurupoda
9741515fae
Replace db.connector/self + is None
2019-02-08 08:30:48 +01:00
Corentin.F
68c541b969
Update connector.py
2019-02-07 18:45:53 +01:00
Ailurupoda
8ed7971626
Another fix try
2019-02-07 17:29:25 +01:00
Ailurupoda
832eb40166
Another fix try
2019-02-07 16:59:12 +01:00
Ailurupoda
f27ecab62f
Fix travis
2019-02-07 16:44:28 +01:00
Ailurupoda
e9e9fd322e
Fixing travis layout
2019-02-07 15:35:16 +01:00
Ailurupoda
277d4fefae
Fixing travis test
2019-02-07 13:10:37 +01:00
Ailurupoda
63c010dbb5
Fix create and delete comment from tableProperties
2019-02-07 09:56:48 +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
Alessandro Pasotti
e4df72ee3f
Merge pull request #9086 from elpaso/bugfix-21151-db-manager-comments-armageddon
...
Quick and dirty patch to DB-Manager after PR 8831
2019-02-06 07:46:27 +01:00
Alessandro Pasotti
33b8bbdff9
Astyle again
2019-02-05 11:59:14 +01:00
Alessandro Pasotti
de5171ac89
Code style (I had autopep8 installed btw)
2019-02-05 08:38:40 +01:00
Etienne Trimaille
427cb0b27a
fix some HIG and add missing translations in dbmanager
2019-02-05 10:48:47 +11:00
Etienne Trimaille
ac9c6f1e18
some minor code cleanup in dbmanager
2019-02-05 10:48:47 +11:00
Alessandro Pasotti
cd6ce76480
Quick and dirty patch to DB-Manager after PR 8831
...
The "comments" PR 8831 added support for postgres only
(and broke all the others backends).
I'd be in favor of a revert of the whole original PR but
this patch restores functionality and could be an acceptable
temporary fix until the comments PR is reworked in a more
maintainable and elegant way.
Fixes #21151 btw
2019-02-04 18:26:24 +01:00
Ailurupoda
aa3679a3cf
Update layout oracle connector.py
2019-01-23 14:25:05 +01:00
Corentin.F
a80f3d01ee
Merge branch 'master' into sirs_db_manager
2019-01-23 11:22:12 +01:00
Ailurupoda
00852f1642
Update oracle, vlayer, spatialite connector.py
2019-01-23 11:20:24 +01:00
Ailurupoda
ad81e66daa
Update gpkg UpdateTableColumn add argument new_comment
2019-01-23 10:48:16 +01:00
Julien Cabieces
49cb397f89
Update layer statistics when adding column to table in order to be displayed by QGIS
...
fixes #13504
2019-01-22 07:54:12 +11:00
Corentin.F
9184a5b273
Update connector.py
2019-01-21 15:50:24 +01:00
corentin.falcone
11948283e1
update correction
2019-01-21 11:51:03 +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
4f20f50ea3
Update python/plugins/db_manager/db_plugins/postgis/connector.py
...
Co-Authored-By: Ailurupoda <akwalith@gmail.com>
2019-01-11 10:36:54 +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.F
5c0bcd986f
Merge branch 'master' into sirs_db_manager
2019-01-10 20:57:37 +01:00
corentin.falcone
238ea726f6
Add comment on field | DbManager
2019-01-10 18:21:40 +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
Corentin Falcone
ed9c9b33af
Add comment option on db_manager pluging postgis tables ( #8734 ) [FEATURE]
...
Add possibility to create a comment on a postgres table when import or using the alter table button from db_manager.
2019-01-05 12:02:02 +01:00
Corentin Falcone
805646dd7f
Update dlg_table_properties.py
2018-12-27 09:31:38 +01:00
Corentin Falcone
5b8de9abae
Update dlg_import_vector.py
2018-12-27 09:30:32 +01:00
Corentin Falcone
fe1292c458
Update DlgImportVector.ui
...
Fix wrong name code ediComment to editCom
2018-12-26 11:18:54 +01:00
ailurupoda
e7c4d8009c
Delete comment with NULL + Remove useless comment
2018-12-26 11:06:59 +01:00
ailurupoda
09a6b33a32
Add comment option on db_manager pluging postgis tables
2018-12-21 16:19:59 +01:00
Alessandro Pasotti
3618d63ca6
Show an error message when a query yields an invalid layer
...
... instead of failing silently
2018-12-14 15:09:46 +01:00
Alessandro Pasotti
b5181f2c50
sqlite accept aliased queries from db manager
...
Fixes #20674 - DB Manager - load sql query as layer with geom column
Well, not sure it really fixes that particular issue because it
is not really well described, but for sure this fixes the general
case of "SELECT * FROM my_table AS my_alias"
2018-12-08 11:15:49 +01:00