Commit graph

92 commits

Author SHA1 Message Date
shortcutme
1bb3140f5b
Move file hashing to separate funcion to allow easier extension 2017-07-13 14:58:16 +02:00
shortcutme
b0ee0dae93
Remove old testing code 2017-06-19 15:48:50 +02:00
shortcutme
0224863b1f
Only use positive sizes to calculate size sum of content.json 2017-06-19 15:48:33 +02:00
shortcutme
94c7ce9f42
Sign raise error instead of return False 2017-06-19 15:47:47 +02:00
shortcutme
2a3b8a7692
Verify raise exception instead of return False 2017-06-19 15:47:03 +02:00
ZeroNet
85b2a81568 Merge pull request #869 from MRoci/master
Root content.json "signers"  field as a list
2017-06-15 15:24:00 +02:00
MRoci
9ac5746e3c Changed this assignment to have the "signers" field in root's
content.json as a list and not a dictionary to mantain uniformity with
"includes" "signers" field and for not having a dict with empty values
2017-06-13 18:20:39 +02:00
shortcutme
eefe7e1b5a
Don't add obsolete old signature format 2017-06-13 14:20:58 +02:00
Ivanq
67395b5e47 Allow fileRules for root content.json 2017-06-13 11:36:38 +03:00
shortcutme
4c7ff9bb53
Fix unhandled expcetion on invalid cert 2017-04-12 00:31:37 +02:00
shortcutme
c6792b7674
Ignore content if file not found on signing 2017-04-07 18:16:58 +02:00
shortcutme
2473a09f7b
Load content.json content before signing 2017-03-12 13:13:30 +01:00
shortcutme
ec513f0b60
Remove archived files from bad files 2017-03-12 13:13:08 +01:00
mishfit
656c818211 rename SiteStorage.list to SiteStorage.walk
also, add SiteStorage.list as non-recursive
directory listing (`os.listdir`)
2017-02-24 21:58:46 -07:00
shortcutme
8b2920c296
Add relative path to file info 2017-01-27 14:00:28 +01:00
shortcutme
697e177e13
Don't remove missing optional files 2017-01-27 12:02:14 +01:00
shortcutme
60fc5fb4d3
Allow transaction errors 2017-01-11 13:14:02 +01:00
shortcutme
41ac8dc781 Add integer modification dates 2017-01-07 01:07:52 +01:00
shortcutme
3afca90c0e Fix content.json modified float decimals on Android 2017-01-07 01:07:52 +01:00
shortcutme
4514154364 Fix diff error 2017-01-05 02:25:49 +01:00
shortcutme
5e6b41945b Fix sidebar for empty sites 2016-12-04 18:54:22 +01:00
shortcutme
c2984ecd47 Update site size after archiving 2016-11-08 15:02:44 +01:00
shortcutme
cb5b3884cd Change verification errors to warning 2016-11-07 23:44:58 +01:00
shortcutme
9178a3ad6a Handle missing content 2016-11-07 23:44:38 +01:00
shortcutme
cc504e93f6 Change contentdb calls to site object 2016-11-07 23:43:42 +01:00
shortcutme
4890c4cb2f Fix big site download 2016-11-07 23:43:08 +01:00
shortcutme
83b3dc8fbe Autodownload optional pattern check to separate function to allow plugins 2016-11-07 23:39:04 +01:00
shortcutme
d1ad7e0850 Stats for total optional files and downloaded optional files in a site 2016-11-07 23:36:04 +01:00
shortcutme
12bf5bb152 Sote site in contentdb after files loaded 2016-11-07 23:02:37 +01:00
shortcutme
2ab04deded Move optional files hashfield adding to workermanager for better performance 2016-10-02 14:18:35 +02:00
shortcutme
9fd19bf382 Fix content deletion 2016-09-14 10:52:41 +02:00
shortcutme
25cb7d9ffa Only check optional files if content.json downloaded 2016-09-05 13:53:10 +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
d6cc40cf3b List modified files using content.db 2016-09-04 17:50:29 +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
2c4f566687 Fix missing cert verification 2016-08-22 03:40:55 +02:00
shortcutme
3c5e4e64ca Fix site size calculation 2016-08-15 13:56:04 +02:00
ZeroNet
48d59e355c Allow content.json without modification date 2016-08-10 12:59:19 +02:00
ZeroNet
7bd76270ba Remove bad status from deleted files 2016-08-10 12:58:54 +02:00
ZeroNet
bed66cdcd2 ContentManager.py formatting 2016-08-10 12:58:19 +02:00
ZeroNet
f719b89a7a Always apply extended information to content.json if keys missing 2016-08-10 12:57:55 +02:00
ZeroNet
7291ac8c6b No exception on incomplete content.json signing 2016-08-10 12:57:24 +02:00
ZeroNet
ec759442ed Support and delete archived users files 2016-08-10 12:55:39 +02:00
HelloZeroNet
59c5ad560b Fix size calculation 2016-04-20 23:41:01 +02:00
HelloZeroNet
3812aa6502 Support verify content.json directly from parsed dict 2016-04-20 23:40:26 +02:00