Commit graph

488 commits

Author SHA1 Message Date
shortcutme
ac530b53f6 Rev1508 2016-09-05 13:58:37 +02:00
shortcutme
b8bf773c40 Make test compatible with new content.db 2016-09-05 13:58:10 +02:00
shortcutme
dae5cd3969 Fix startup with 1000+ sites 2016-09-05 13:57:12 +02:00
shortcutme
59205088d2 Move site deletion to dedicted function 2016-09-05 13:55:51 +02:00
shortcutme
cb20280530 Less verbose logging on filerequest 2016-09-05 13:54:17 +02:00
shortcutme
6806eed2ae Dont reload the whole site on content.json update 2016-09-05 13:54:03 +02:00
shortcutme
b7dfeb139b Support callstack formatting 2016-09-05 13:53:40 +02:00
shortcutme
25cb7d9ffa Only check optional files if content.json downloaded 2016-09-05 13:53:10 +02:00
shortcutme
bc875b396b Multiple content.db support 2016-09-05 13:52:52 +02:00
shortcutme
6ac4c8c9cb Version 0.4.1, Rev1501 2016-09-04 18:07:56 +02:00
shortcutme
4dbaab7dd4 List site content.json files without user files 2016-09-04 18:07:09 +02:00
shortcutme
7eab490089 Get optional files size from content.db 2016-09-04 18:06:18 +02:00
shortcutme
49efcd0c2d Execute garbage collection on site delete 2016-09-04 18:05:55 +02:00
shortcutme
69f0e972d3 Check site files on forced update 2016-09-04 18:05:42 +02:00
shortcutme
46a2ea9421 Log slow db queries on verbose mode 2016-09-04 18:05:31 +02:00
shortcutme
96043ba279 Try not to overwrite currently in sync files 2016-09-04 18:05:17 +02:00
shortcutme
d778f2a989 Try to find peers for optional files again if workers failed 2016-09-04 18:03:27 +02:00
shortcutme
5a36a002bf Use bad_files to display progress if that is larger 2016-09-04 18:01:48 +02:00
shortcutme
37a3b4678d Fix user file pre-content.json downloading 2016-09-04 18:01:09 +02:00
shortcutme
365f0cd646 Reset files on cloning 2016-09-04 18:00:51 +02:00
shortcutme
2a7f03af8a Try to reconnect to Tor on send error 2016-09-04 18:00:08 +02:00
shortcutme
f698ec2502 Also delete sites from content.db 2016-09-04 17:59:47 +02:00
shortcutme
a1f0c20afc Rename checkFiles to updateBadFiles 2016-09-04 17:59:29 +02:00
shortcutme
b0a85b0669 Dont check every file on update 2016-09-04 17:58:18 +02:00
shortcutme
9528d333bd Retry failed files on download end 2016-09-04 17:57:44 +02:00
shortcutme
4437a99330 Use pool to download large ammount of content.json files 2016-09-04 17:57:32 +02:00
shortcutme
8f158cbc8f Make listmodified query use content.db cache 2016-09-04 17:56:33 +02:00
shortcutme
135a9b8f5c Fix content.json retry 2016-09-04 17:54:57 +02:00
shortcutme
1dd488ef89 Remove deleted sites from content.db 2016-09-04 17:52:14 +02:00
shortcutme
a614545467 Faster site settings load 2016-09-04 17:51:55 +02:00
shortcutme
3724e0f376 Save sites.json on exit 2016-09-04 17:51:20 +02:00
shortcutme
a12c639bed Dont check files on startup 2016-09-04 17:51:00 +02:00
shortcutme
d6cc40cf3b List modified files using content.db 2016-09-04 17:50:29 +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
shortcutme
682fa80a8a Fix site size calculation 2016-09-04 17:44:45 +02:00
shortcutme
1801df32a6 Change getTotalSize to use content.db cache 2016-09-04 17:44:30 +02:00
shortcutme
23e06a09cb Remove deleted files from hashfield 2016-09-04 17:43:57 +02:00
shortcutme
1bd6e2f493 Cache bad_files and optional hashfield in sites.json 2016-09-04 17:43:30 +02:00
shortcutme
ecb5885dba Cache file sizes and modification date in sqlite db 2016-09-04 17:41:04 +02:00
shortcutme
2fcfa21761 Rev1429 2016-08-29 11:18:01 +02:00
shortcutme
4efaaaabc0 Stop when siteVerify find a bad file 2016-08-29 11:17:36 +02:00
shortcutme
709dc854e7 Add site to site manager if required 2016-08-29 11:17:19 +02:00
shortcutme
b52e8f74e2 Rev1428, Don't display websocket error when navigating away 2016-08-27 11:52:44 +02:00
shortcutme
887a07c3fb Rev1427, Skip invalid files on dbRebuild 2016-08-27 11:01:41 +02:00
shortcutme
3ce11a0dab Rev1426 2016-08-26 11:43:08 +02:00
shortcutme
6c6ce54a20 Run test in verbose mode 2016-08-26 11:42:44 +02:00
shortcutme
d76c1ca98e Also cleanup connections for smaller sites 2016-08-26 11:42:23 +02:00
shortcutme
1557d3c390 Always keep connections for the sites 2016-08-26 11:41:45 +02:00
shortcutme
7edb784305 Fix user file updating on owned sites 2016-08-26 11:40:22 +02:00