shortcutme
f4f0e2afa8
Allow like parameters in database queries
2019-07-10 03:14:09 +02:00
Lola Dam
753396ac0c
Try and catch block for dbRebuild ( #2047 )
...
* Try and catch block for dbRebuild
* Use self.log.error and not logging
* Use self.log.error and not logging in SiteStorage also
* Check if the rebuild is working
2019-06-23 14:21:50 +02:00
Lola Dam
9cda561091
Show error message when db failed to rebuild ( #2043 )
...
* Show error message when db failed to rebuild; fix #1908 ;
* Forgot file
2019-06-04 13:54:35 +02:00
shortcutme
7bef78e10f
Fix newsfeed sql query with many parameters
2019-04-29 16:44:13 +02:00
shortcutme
446641c31c
Always commit before Db VACUUM
2019-04-15 22:11:44 +02:00
radfish
f6e3a74567
[setuptools packaging] access modules via imports ( #1969 )
2019-04-15 12:31:33 +02:00
shortcutme
8c52038671
Switch to WAL mode as it's faster on older sqlite
2019-03-20 00:49:51 +01:00
shortcutme
7aff97b6ff
Fix loading json files to db on Python 3.5
2019-03-20 00:49:27 +01:00
shortcutme
c88152cac2
Use shared cursor where possible
2019-03-18 03:36:44 +01:00
shortcutme
61c72ac3ea
Fix SQLite concurrency errors
2019-03-18 03:36:12 +01:00
shortcutme
84c39f3baa
Less sensitive db progress handler
2019-03-18 03:33:51 +01:00
shortcutme
7d6ef195fd
Don't allow to run db on different thread
2019-03-18 03:33:28 +01:00
shortcutme
52ac972332
Keep need commit status if commit failed
2019-03-18 03:33:06 +01:00
shortcutme
9aa599f9d2
Close and commit all db at exit
2019-03-18 03:32:42 +01:00
shortcutme
a1b5dad1c8
New Db connection type to avoid corruption
2019-03-16 02:40:32 +01:00
shortcutme
4fe4d0a7e7
BEGIN / END no longer necessary as there is no autocommit in new db module
2019-03-16 02:18:53 +01:00
shortcutme
b0b9a4d33c
Change to Python3 coding style
2019-03-15 21:06:59 +01:00
shortcutme
13c453d610
Embed query values if more than 100 specified
2019-01-26 20:40:34 +01:00
shortcutme
47316741c1
Allow only CREATE in indexes
2018-12-15 17:48:19 +01:00
shortcutme
4195a72621
Only create default json table if it's not defined in dbschema
2018-11-21 03:31:12 +01:00
shortcutme
8cf30893f2
Don't close idle db connection during rebuild
2018-11-08 01:20:33 +01:00
shortcutme
f05c7ffbfa
Fix parsing invalid files for db
2018-10-30 04:43:21 +01:00
Christian Seibold
413b6cc43c
Import Debug in Db/Db.py
2018-10-20 01:58:35 -05:00
shortcutme
1fc364fa07
Remove unused lines from dbCursor
2018-10-15 13:01:44 +02:00
shortcutme
f275ba36a1
Skip table creation on error
2018-10-15 13:01:17 +02:00
shortcutme
1aa741a25b
Always change db cursor settings
2018-10-15 13:01:04 +02:00
shortcutme
17be72e55e
Process delayed queries every second
2018-03-29 02:50:23 +02:00
shortcutme
fd451ae766
Make indexes and tables optional
2018-01-19 02:18:40 +01:00
shortcutme
089bb92f70
Record last query time on every command
2018-01-19 02:18:19 +01:00
shortcutme
5b6e1f699d
Add db id to logging
2018-01-19 02:17:23 +01:00
shortcutme
a3a7af73bd
Fix named db query list parameters when query ends with parameter
2018-01-05 20:22:25 +01:00
Ivanq
8986d8037a
Typos
2017-12-30 12:16:16 +03:00
Ivanq
d97631fb8c
str()
2017-12-30 12:06:07 +03:00
Ivanq
be1eb14fd0
Handle dict value being a list
2017-12-30 10:06:05 +03:00
Ivanq
c64e97f0d6
DbQuery: WHERE without AND is still WHERE
2017-10-26 18:32:05 +03:00
shortcutme
6e55c8b7c7
Allow ranged SQL queries
2017-10-04 13:10:41 +02:00
shortcutme
38c663ee95
Use WHERE 1 for queries without argument
2017-10-04 13:10:26 +02:00
shortcutme
b503d59c49
Support gzip compressed database files
2017-08-09 14:19:39 +02:00
shortcutme
551aa3ef67
Raise exception on unsupported dbschema version
2017-07-18 20:53:52 +02:00
shortcutme
74763465a8
Use SafeRe to match file patterns in dbschema.json
2017-07-14 10:34:57 +02:00
shortcutme
0725464388
Fix database loading
2017-06-15 13:33:51 +02:00
shortcutme
97b3563e6b
Rev2105, Fix database updating when path contains special characters
2017-06-15 13:30:06 +02:00
shortcutme
f5fb6b83ff
Rev1905, Secure DB write db_mode option
2017-02-15 12:43:05 +01:00
shortcutme
6a71bb256e
Always load json_row on deleting
2017-02-13 16:13:09 +01:00
shortcutme
38d330da1a
Rename db.loadJson to db.updateJson
2017-02-09 01:53:31 +01:00
shortcutme
7938689f95
Skip SQLite thread check for macOS compatibility
2017-01-21 23:00:37 +01:00
shortcutme
c38611dc15
Only display opened db number in log
2016-11-16 11:18:15 +01:00
shortcutme
0b599a95e8
Only import supported cols
2016-11-07 23:15:09 +01:00
shortcutme
5893bbc199
Fix map command overwrite
2016-11-07 23:14:36 +01:00
shortcutme
7baeb8e10f
Allow keyvalue table creation before json_id present
2016-11-07 23:14:09 +01:00