541 Commits

Author SHA1 Message Date
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
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
Blottiere Paul
4e209724cf
Merge pull request #8260 from lbartoletti/dbmanager_add_save_sql_file
[FEATURE][needs-docs]Add buttons to load and save an external SQL file
2018-11-19 04:49:59 +00:00
lbartoletti
03d53fb871 missing translations; add extension at save 2018-11-13 09:22:33 +01:00
lbartoletti
ebdc932ec2 add LastDir for SQL File 2018-11-13 08:20:20 +01:00
lbartoletti
5eecbf2d4c Add translation ; add button 'load file' 2018-11-12 17:48:14 +01:00
Nyall Dawson
149726cfa5 [dbmanager] Fix exception when browsing project layers 2018-11-10 12:30:52 +10:00
Nyall Dawson
dc72f06e53 Bump minimum Qt version to 5.9 2018-11-06 08:45:37 +10:00
Nyall Dawson
ea9d5bb363 Fix mangled fonts in script editors
Don't override default font letter spacing or stretch -- it's not
safe to do because the results are very dependent on the individual
font's appearance and rendering hints.

Fixes #20349
2018-11-05 10:35:18 +10:00
Nyall Dawson
f3e9aaf79a Fix some inefficient python dictionary iteration 2018-10-31 08:42:51 +10:00
Juergen E. Fischer
9ad01cf9ba replace three dots with ellipsises in translation strings 2018-10-27 19:06:37 +02:00
rldhont
2eb22d93ff [BUGFIX][DbManager] SQL Layer: fix unique combo setting in QGIS 3
When opening Update SQL layer, the unique combobox is not well set specifically with oracle.

It's a forward porting of #7872

Funded by Ifremer
2018-10-25 09:30:59 +02: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
Mathieu Pellerin
f32fe8b210
[dbmanager] add string description to query task for better notification (#8259) 2018-10-23 13:34:03 +07:00
lbartoletti
74f7cb5414 Add a button to save the query as an external sql file 2018-10-22 12:26:14 +02:00
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