499 Commits

Author SHA1 Message Date
Alessandro Pasotti
947a199960 [db-manager] Fix max recursion limit in rollback 2018-10-03 15:17:52 +02:00
Alessandro Pasotti
c90da0e46a [db-manager] Fix affected rows -1
Number of affected rows was always reported ad -1
no matter what was in the SQL
2018-10-03 15:11:08 +02:00
Alessandro Pasotti
96b903e1f3 [db-manager] Increase precision when reporting query time
For consistency with the SQL dialog that used 3 decimal places
2018-10-03 14:48:04 +02:00
Alessandro Pasotti
b8c21b0387 [db-manager] Query elapsed time include fetch time
The values reported were always lower than
the actual time for query and fetch.

I guess that those values are useful when you
are testing queries and fine-tuning them,
so the actual value should include fetching
time.
2018-10-03 14:45:01 +02:00
Alessandro Pasotti
c06c475b9c [db-manager] Update sql dialog buttons status
Fixes #19958 - Database manager allows one to create saved query with no name
2018-09-27 08:29:27 +02:00
Alessandro Pasotti
94ded32f4e [db-manager] Allow multiline filters in sql window
Fixes #19956 - Update SQL layer results in invalid SQL expression
2018-09-27 08:01:40 +02:00
Alessandro Pasotti
f7f70bfb03 [dbmanager] Fixes DB Manager does not read SRID automatically
Fixes #19831
2018-09-25 14:50:41 +02:00
Alessandro Pasotti
a8bf1b8f05 [dbmanager] Fix Update SQL Layer converts query to table name
Fixes #19843
2018-09-20 12:43:59 +02:00
Alessandro Pasotti
a74b6262df [dbmanager] Fix stored queries retrieve
Fixes #19802 - DB Manager saved SQL statements are saved empty
2018-09-18 18:22:58 +02: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
Salvatore Larosa
19d49352af [dbmanager] Fixes #19528: cannot resize query area 2018-08-04 08:39:33 +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
5b655b3548 [dbmanager] remove button text if toolbar is vertical 2018-07-02 12:51:44 +07:00
nirvn
d8ca89452d [dbmanager] improve import dialog UI 2018-07-02 12:51:44 +07:00
nirvn
48d897f91a [dbmanager] rename tree label to providers for clarity 2018-07-02 12:51:44 +07:00
nirvn
7e8ec00c9b [dbmanager] vectorize icons to fix toolbar in hidpi context 2018-07-02 12:51:44 +07:00
Juergen E. Fischer
5f88ba4cfd db manager: fix syntax error in oracle plugin 2018-07-01 21:41:27 +02:00
nirvn
b315fbce8d [spatialite provider][dbmanager] hide a few more tables 2018-06-30 15:43:31 +07:00
nirvn
af322fbd63 [dbmanager] hide more spatialite tables by default 2018-06-30 15:43:31 +07:00
nirvn
570f3c86c3 [dbmanager] rename QGIS layers to Project layers for the virtual layer connection 2018-06-30 15:43:31 +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
Nyall Dawson
9d8202b66a [dbmanager] Fix exception on older Qt builds
Fixes #19309
2018-06-30 18:35:38 +10: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
Nyall Dawson
825a697ecf Add missing ellipsis to db manager action 2018-05-16 14:08:43 +10:00
Nyall Dawson
408da45877 [needs-docs] Place core plugin actions into top level menus
when plugin only has a single action

Affected actions:
- Database -> DB Manager -> DB Manager
- Coordinate Capture -> Coordinate Capture
- Vector -> Geometry Tools -> Geometry Checker
- Raster -> Georeferencer -> Georeferencer
- Vector -> Topology Checker -> Topology Checker

These are now just top level actions, e.g.
- Database -> DB Manager
2018-05-16 14:08:43 +10:00
Nyall Dawson
d0c14ef0c7 [dbmanager] Fix bad import in vlayers plugin 2018-05-16 14:08:43 +10:00
Matthias Kuhn
9d12b0ad7b
Merge pull request #6749 from slarosa/db_quey_history_1
[FEATURE][needs-docs] DB Manager: adds SQL query history
2018-05-07 11:01:47 +02:00
Harrissou Sant-anna
e2da696ab6 Make translatable some GUI texts
fix #17957
2018-05-01 16:09:22 +02:00
Harrissou Sant-anna
394aaba060 Trying to make Providers labels translatable
in DB Manager tree
2018-05-01 16:07:41 +02:00
Nyall Dawson
dd2ff1587a [dbmanager][oracle] Add some missing imports 2018-04-21 17:07:34 +10:00
Blottiere Paul
d589ba7d7c Try to add cancel support for Oracle databases in dbmanager 2018-04-21 17:03:11 +10:00
Nyall Dawson
2eca7ffbe2 [oracle] Fix some errors using oracle connector in db manager 2018-04-19 11:59:27 +10:00
Matthias Kuhn
eab76e85c7
Merge pull request #6335 from Fanevanjanahary/crs_widget
use crs widget picker in db_manager
2018-04-18 12:12:26 +02:00
Salvatore Larosa
84d86935e4 set limit to 20 to store database query in the history 2018-04-05 22:53:04 +02:00
Salvatore Larosa
1242402a56 [FEATURE][needs-docs] DB Manager: adds SQL query history 2018-04-04 23:30:48 +02:00
Blottiere Paul
d09a34c900
Merge pull request #6553 from pblottiere/bugfix_dbmanager_stop
[dbmanager] Fixes empty table
2018-03-09 00:10:39 +00:00
Juergen E. Fischer
333f2c3af9 db_manager: add tooltip to default value field when editing table field properties (fixes #13856) 2018-03-08 17:13:58 +01:00
Salvatore Larosa
29f6884a23 Fixes #18375 - fix API break 2018-03-07 23:23:47 +01:00
Blottiere Paul
6bdee5b79e [dbmanager] Fixes empty table
Fixes #18352
2018-03-07 03:24:44 +01:00
Etienne Trimaille
24259ae890 [dbmanager] move shortcut in the tooltip 2018-03-06 13:51:14 +01:00
Blottiere Paul
777fdebb73 Clean task once model is completed 2018-03-02 09:43:26 +00:00
Blottiere Paul
ad91694b76 Remove unnecessary cancel subtask 2018-03-02 09:43:26 +00:00
Blottiere Paul
eef18cbe2e Remove unused code 2018-03-02 09:43:26 +00:00