Commit graph

57 commits

Author SHA1 Message Date
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
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
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
b503d59c49
Support gzip compressed database files 2017-08-09 14:19:39 +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
shortcutme
14f10d7d10 Open cursor if necessary 2016-11-07 23:13:05 +01:00
shortcutme
bdc8c7e5cc Formatting 2016-11-07 23:12:48 +01:00
shortcutme
f55a1f1bf3 Support delayed commands in Db 2016-11-07 23:11:14 +01:00
shortcutme
75e74f1ff7 Always close db after 5 min idle time 2016-09-07 17:40:35 +02:00
shortcutme
f4de16fde6 Close db after 5 min idle time 2016-09-04 17:49:56 +02:00
shortcutme
0ab2630519 Change db journal to memory for faster connection time 2016-09-04 17:49:47 +02:00
ZeroNet
f21fdb23b6 Allow to store field in json table 2016-08-10 12:49:38 +02:00
ZeroNet
0ddc1e47ba Delete file's database entries if file paramter is False 2016-08-10 12:49:22 +02:00
ZeroNet
55cc496c2e Type 3 json table format 2016-08-10 12:47:29 +02:00
HelloZeroNet
5b35bea489 Log DB close time, formatting 2016-05-16 22:28:59 +02:00
HelloZeroNet
bba7318a5b Dont close DB when returning from wakeup 2016-05-16 22:28:30 +02:00
HelloZeroNet
5af32f21fd Keep databases open for 30 minute after last query 2016-03-18 19:20:20 +01:00
HelloZeroNet
067f95b1f6 Log debug open times 2016-03-12 23:11:25 +01:00
HelloZeroNet
e9d2cdfd37 Version 0.3.5, Rev830, Full Tor mode support with hidden services, Onion stats in Sidebar, GeoDB download fix using Tor, Gray out disabled sites in Stats page, Tor hidden service status in stat page, Benchmark sha256, Skyts tracker out expodie in, 2 new tracker using ZeroNet protocol, Keep SSL cert option between restarts, SSL Certificate pinning support for connections, Site lock support for connections, Certificate pinned connections using implicit SSL, Flood protection whitelist support, Foreign keys support for DB layer, Not support for SQL query helper, 0 length file get bugfix, Pex onion address support, Faster port testing, Faster uPnP port opening, Need connections more often on owned sites, Delay ZeroHello startup message if port check or Tor manager not ready yet, Use lockfiles to avoid double start, Save original socket on proxy monkey patching to get ability to connect localhost directly, Handle atomic write errors, Broken gevent https workaround helper, Rsa crypt functions, Plugin to Bootstrap using ZeroNet protocol 2016-01-05 00:20:52 +01:00
HelloZeroNet
ae98522855 Version 0.3.3, Rev580, DB recreate bugfix, Get empty hashfields, Better stat formatting, Query hashfield right after content.json downloaded 2015-11-12 02:04:45 +01:00
HelloZeroNet
8fdc431b0b Rev445, Fix ConnectionServer peer_id handling, Faster startup by creating ssl certs on FileServer start, Per-site connection_server, Fix double Db opening, Test site downloading, Sign testsite properly, Test ConnectionServer, Test FileRequest 2015-09-24 22:08:08 +02:00
HelloZeroNet
b83d6ba2ff Version 0.3.2, rev351, Sidebar to display site infos an modify settings, Per-site upload/download bytes statistics, Deny different origin media requests, Allow 10sec to finish query modifications, Websocket display errors to client instead of disconnecting, Allow specify notification id to server-side messages, Track every command response time 2015-08-16 11:51:00 +02:00