Commit graph

104 commits

Author SHA1 Message Date
shortcutme 2ef537ee6c
Fox user_address detection for sub-directories in user directory 2017-10-04 13:24:22 +02:00
shortcutme 74048ce53f
Update site size on startup and file archival 2017-10-04 13:20:39 +02:00
shortcutme ca473d6c3b
Allow plugins on ContentManager 2017-10-04 12:51:37 +02:00
shortcutme 36b74e1c6a
ContentManager logging improvements 2017-10-04 12:51:24 +02:00
shortcutme b584c586ec
Fix longer signers_sign signing 2017-09-02 14:26:39 +02:00
shortcutme b88ee9a87a
Only allow to sign content.json files 2017-07-19 16:45:28 +02:00
shortcutme c069d4f67c
Use SafeRe to match user defined patterns in content.json 2017-07-14 10:34:18 +02:00
shortcutme 13157eea1e
Move included content verification to separate function, fix root content.json file path verification 2017-07-13 19:32:54 +02:00
shortcutme dd11f87673
Rev2148, Fix signing typo 2017-07-13 15:03:04 +02:00
shortcutme 096675c87e
Add unit to verification error 2017-07-13 15:00:04 +02:00
shortcutme 7d3beeb9e0
Enforce valid relative paths on verification 2017-07-13 14:59:17 +02:00
shortcutme 96a097e33d
Separate isValidRelativePath function 2017-07-13 14:58:52 +02:00
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