Denis Rouzaud
0f032e5f2d
run pre-commit on all files
2024-11-29 15:38:02 +01:00
Nyall Dawson
c16a1e2b3d
Update enums
2024-01-19 19:44:48 +10:00
Julien Cabieces
9d12ae8e6d
[PyQt6] Add scope for enums and get rid of PyQt5.XXX import
...
this has been done automatically with the following comand line
./scripts/3to4/3to4.py --only-qgis3-compatible-changes ./python/plugins/
./scripts/3to4/3to4.py --only-qgis3-compatible-changes ./tests/src/python/
2024-01-10 21:15:27 +10:00
Etienne Trimaille
8f33d5ee70
Upgrade DBManager and Grass plugins to Python 3.X
2023-04-26 08:24:00 +10:00
Harrissou Sant-anna
d6b5b070d8
Remove unicode string notifier from python files
2022-12-11 08:58:21 +01:00
nicogodet
ea981d89f9
Homogenize toMapLayer function definition
2021-11-08 10:13:28 +11:00
Evan Derickson
4b50c1a7a7
For loops to list comprehension
2021-01-23 16:06:29 -08:00
Denis Rouzaud
eddf6feb45
modernize CMakeLists.txt files
2020-11-12 07:14:46 +10:00
nirvn
291ba7f2dc
{Qgis,QGis} -> QGIS
2020-06-06 17:45:43 +07:00
Nyall Dawson
b6a7a10703
Fix some more python formatting issues, remove more flake exceptions
2020-05-11 11:41:50 +10: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
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
nirvn
b5146db92e
Use the QgsSqliteUtils system tables list in DB Manager
2019-03-01 12:30:04 +07: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
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
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
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
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
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
46246f622d
[needs-docs][dbmanager] harmonize icons
2018-06-29 11:56:37 +07:00
Harrissou Sant-anna
394aaba060
Trying to make Providers labels translatable
...
in DB Manager tree
2018-05-01 16:07:41 +02:00
Blottiere Paul
eef18cbe2e
Remove unused code
2018-03-02 09:43:26 +00: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
838bde33ab
[dbmanager] Workaround Python error when vacuuming spatialite table
...
Workaround https://bugs.python.org/issue28518
Fixes #18079
2018-02-16 12:34:16 +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
Harrissou Sant-anna
6fab688298
Use SpatiaLite right spelling when needed
2017-07-07 01:26:38 +02:00
Juergen E. Fischer
beed86e19d
db manager: fix spatialite plugin (followup c77172ed; fixes #16542 )
2017-05-21 10:45:30 +02:00
Juergen E. Fischer
c77172ed3d
fix more flake8 warnings
2017-03-05 10:21:24 +01:00
Juergen E. Fischer
f00a87cb8a
update translation strings
2017-03-05 10:21:24 +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
Denis Rouzaud
6c74e4ea5d
spelling fixes
2017-01-12 22:01:50 +01:00
Denis Rouzaud
748be8de71
[spelling] replace behaviour by behavior
2017-01-11 11:35:19 +01:00
Even Rouault
2c1356cd1d
[DBManager] Remove geopackage support from spatialite plugin
2016-10-18 20:08:27 +02:00
nirvn
20d006e101
[db manager] fix spatialite error reporting
2016-10-07 12:07:55 +07:00
Juergen E. Fischer
31df84aa6b
run 2to3 on source
2016-09-21 23:30:04 +02:00
Mathieu Pellerin
cd1d44be9d
[db manager] python3 support ( #3512 )
2016-09-20 09:34:36 +02:00
Hugo Mercier
5c3a43e286
Fix spatialite access with python3
2016-09-05 13:43:00 +02:00
Nyall Dawson
eba6101357
Fix broken python save/open dialogs under PyQt5
...
Will break stuff under PyQt4... oh well, better stuff working on Qt5
then Qt4
2016-09-05 11:41:49 +10:00