190 Commits

Author SHA1 Message Date
Alessandro Pasotti
7f6b3cf877 Fix DB manager PG rename table
Fixes #32808
2019-11-14 13:42:36 +01:00
Alessandro Pasotti
6c9f01e28d Fix postgis 12 adscr -> adbin consrc -> conbin 2019-11-06 12:53:52 +01:00
Matthias Kuhn
f3dd5150c7 [db_manager] Detect CRS in advanced add layer 2019-10-06 18:43:57 +02:00
Matthias Kuhn
fd9cc9354f Fix python warning 2019-10-06 18:43:57 +02:00
Sandro Santilli
a01db6409c Have TopoViewer use custom layer ordering
This is used to make sure edges are rendered above faces and nodes
above edges, despite legend order.
2019-09-06 08:46:53 +02:00
Sandro Santilli
d921c20f58 Add support for "bbox" URI parameter in PostgreSQL provider
.. and use it from TopoViewer DBManager plugin

Closes #18107
2019-08-29 17:47:25 +02:00
Sandro Santilli
8cc683061c Update TopoViewer layer style templates
From 1.9 version to 2.18 version

Closes #31471
2019-08-29 16:36:55 +02:00
Sandro Santilli
ae0721891b Restore TopoViewer functionality
This was broken in commit d7166404030292b9536e649795e9efec49225dfd
2019-08-21 17:27:48 +02:00
Alessandro Pasotti
a3c4eb9947
Providers connections interface API
This is the implementation of the new DB connections API (grant proposal 2019).
Summary

The new API makes it available to QGIS core a new interface for provider connections and will allow to:

    replace the provider specific QgsSettings management in QGIS4 (save/load connections from the settings) NOT IN SCOPE FOR NOW.
    provide a unified API for common operations on DB connections:
        executeSql and get the results
        list tables names and properties and schemas
        create a new vector table (no rasters for now)
        create/rename/drop schemas and tables
        vacuum
       ....
2019-08-16 20:44:05 +02:00
Matthias Kuhn
c3e6b7236d
Update python/plugins/db_manager/db_plugins/postgis/connector.py
Co-Authored-By: Etienne Trimaille <gustrimaille@yahoo.fr>
2019-06-25 08:45:24 +02:00
Matthias Kuhn
95f63ec3b8 [dbmanager] Fix use before assign 2019-06-24 14:51:59 +02:00
Jorge Gustavo Rocha
38c8e757aa References to issues.qgis.org updated 2019-06-12 00:10:43 +01:00
Alexander Bruy
b489c21b58 [dbmanager] add promary key to the view created by versioning plugin
(fix #25888)
2019-05-31 14:55:35 +03:00
Alexander Bruy
03abf0e42b [db_manager] apply comment to the correct column when altering table
column (fix #21425)
2019-05-23 15:43:14 +03:00
Bas Couwenberg
2628c480c5 Don't include revision in sources.
Prevent changes to files that weren't changed between releases.
This eases review of the changes between releases significantly.
2019-05-17 16:47:47 +02:00
Stephen Knox
a5cc1842a2 Add boolean type to DB Manager PostGIS provider 2019-05-09 07:44:56 +10: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
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
Ailurupoda
ad81e66daa Update gpkg UpdateTableColumn add argument new_comment 2019-01-23 10:48:16 +01:00
Corentin.F
9184a5b273
Update connector.py 2019-01-21 15:50:24 +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
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
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