Commit Graph

1787 Commits

Author SHA1 Message Date
shortcutme e9beeb85fc
Use with to open files to avoid keeping them open in case of errors 2017-10-04 13:35:55 +02:00
shortcutme a71e82c315
Test user sub-directories inner_path 2017-10-04 13:35:15 +02:00
shortcutme d176150248
Test multiple length of message for signing 2017-10-04 13:34:50 +02:00
shortcutme ab9fa9ec0c
Mark data/optional.* as optional for test site 2017-10-04 13:34:14 +02:00
shortcutme 3d57fbb1b8
Use the real size of content.json instead of predefine it 2017-10-04 13:33:26 +02:00
shortcutme f0f9240fc8
getDirname strips the leading / chars 2017-10-04 13:33:00 +02:00
shortcutme b1bfe39cd5
Use merged getFile function call to download file using streaming 2017-10-04 13:32:39 +02:00
shortcutme c82b19687a
Spy object also stores the called object 2017-10-04 13:31:49 +02:00
shortcutme be755fe25e
Custom logging for tests to spot possible performance bottlenecks easier 2017-10-04 13:30:17 +02:00
shortcutme 8e2be5cfe2
Add Merkletools package for bigfile plugin 2017-10-04 13:29:32 +02:00
shortcutme cf1154f2c5
Initial version of bigfile plugin 2017-10-04 13:28:59 +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 96ceb253e8
GetTotal size also return optional sum of optional file sizes 2017-10-04 13:19:19 +02:00
shortcutme aa9e8b067f
Send websocket event on optional file deletion 2017-10-04 13:17:36 +02:00
shortcutme e5963f8a76
OptionalFileDelete API call only works on downloaded files 2017-10-04 13:17:18 +02:00
shortcutme e5b851b171
Add progress information to bigfiles 2017-10-04 13:16:02 +02:00
shortcutme 282f06b65e
Filter for OptionalFileList API call that allows to list non-downloaded files and only bigfiles 2017-10-04 13:15:44 +02:00
shortcutme e8a439cad3
Mark my optional files using directory on signing instead of file path 2017-10-04 13:14:24 +02:00
shortcutme cd025316db
Auto-pin downloaded bigger files 2017-10-04 13:13:00 +02:00
shortcutme 6e55c8b7c7
Allow ranged SQL queries 2017-10-04 13:10:41 +02:00
shortcutme 38c663ee95
Use WHERE 1 for queries without argument 2017-10-04 13:10:26 +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 8e3e96fe65
Create storage object after site settings loaded 2017-10-04 12:50:24 +02:00
shortcutme 0f0f3894ff
request from directory . should drop forbidden error 2017-10-04 12:48:48 +02:00
shortcutme a2182e8a8d
Invalid nonce requests automatically shows wrapper now 2017-10-04 12:48:16 +02:00
shortcutme 4042de460e
actionFile allows file details to be passed as parameter 2017-10-04 12:46:06 +02:00
shortcutme 0dd34403a2
Combinate isfile and filesize query to one function 2017-10-04 12:44:34 +02:00
shortcutme edb9d3f719
Media files requested from non-seeded site not wokring anymore 2017-10-04 12:42:05 +02:00
shortcutme 1f5db0aa24
Nonce checking moved to route command 2017-10-04 12:41:14 +02:00
shortcutme 74b2408668
Move path checking to parsePath 2017-10-04 12:39:08 +02:00
shortcutme f53612bef7
Media request should start with normal characters 2017-10-04 12:38:44 +02:00
shortcutme 4d991cda6d
Also serve htm files with wrapper 2017-10-04 12:37:56 +02:00
shortcutme 6984575901
Remove dead reload code 2017-10-04 12:37:34 +02:00
shortcutme 75b44f6980
Raise SecurityError on invalid path 2017-10-04 12:37:22 +02:00
shortcutme 3c46f60042
Show wrapper automatically if wrapper nonce is invalid 2017-10-04 12:35:15 +02:00
shortcutme 7dbc323f76
ZeroNet-internal virtual path on UiServer for internal commands 2017-10-04 12:33:43 +02:00
shortcutme 903b62ba7c
Make fileNeed API command async 2017-10-04 12:32:40 +02:00
shortcutme 53da40fe5d
Allow to show site directory in local file browser 2017-10-04 12:31:57 +02:00
ZeroNet fdb7b4cc0f Use Python 2.x for ZeroNet 2017-10-04 09:23:21 +02:00
shortcutme d0f85f3d04
String / from left during dirname conversion 2017-10-03 16:05:01 +02:00
shortcutme 49d863fa54
Reduce indent by using continue instead of if 2017-10-03 16:04:03 +02:00
shortcutme 6fe5e2b751
Speed up task competition by wait 10*0.1 sec for task finish instead of 1x1sec before start wokring on it 2017-10-03 16:02:49 +02:00
shortcutme 59d45f445a
Always start findOptional if no worker running but there is tasks 2017-10-03 16:01:02 +02:00
shortcutme 09d19da3bc
Always update hashfield for peer during findHash 2017-10-03 15:58:51 +02:00
shortcutme 1036d0e4a0
Allow second peer for same task only if priority is above 10 2017-10-03 15:58:01 +02:00
shortcutme 8ba4201237
More agressive optional file finding 2017-10-03 15:56:58 +02:00