Commit graph

116 commits

Author SHA1 Message Date
shortcutme
af7c7da735
Optional file downloaded checking by separate function 2018-03-29 02:59:11 +02:00
shortcutme
508d2472e9
Only verify content after valid signiture 2018-03-29 02:55:53 +02:00
shortcutme
f162987a4f
Rename optionalRemove to optionalRemoved and accept hash only by id 2018-03-29 02:54:52 +02:00
shortcutme
adf39b6f6a
Avoid loading user content.json file on isArchived check 2018-03-18 21:26:20 +01:00
shortcutme
c7d067ea3c
Rev3176, Skip listing ignored directories on signing 2017-12-20 23:25:25 +01:00
shortcutme
2b611ae798
Rev3148, Fix big site size calculation 2017-11-28 18:16:37 +01:00
shortcutme
e8f049a765
Strip / from content.json location of file_info 2017-10-26 10:43:10 +02:00
shortcutme
9d511ba165
Rev3122, Auto ignore database file 2017-10-22 11:13:09 +02:00
shortcutme
4efcfa8bf4
Rev3112, Allow user rules based on auth address 2017-10-16 20:26:41 +02:00
shortcutme
c40f0c6919
Fix uploading bigfile to non-user directory 2017-10-16 15:11:19 +02:00
shortcutme
f7ce401564
Function to remove invalid characters from file path 2017-10-04 13:25:07 +02:00
shortcutme
5dbaf02e33
Add content.json location to getFileInfo 2017-10-04 13:24:44 +02:00
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