Commit graph

125 commits

Author SHA1 Message Date
Victor Shyba
cf7bb6a391 fix tests and stream being deleted on data timeout 2019-05-02 16:41:48 -03:00
Victor Shyba
ae2121c5c4 fix tests and new test 2019-05-01 13:16:45 -03:00
Victor Shyba
7ffce1040c fix foreign key error 2019-04-30 19:51:19 -03:00
Victor Shyba
b350e74aca fix stream update callback to update the main dict 2019-04-28 22:53:43 -04:00
Jack Robison
1ffb99f9f9
rename streaming_only setting -> save_files 2019-04-24 12:44:12 -04:00
Jack Robison
0f3f38d8a3
pylint 2019-04-24 09:48:04 -04:00
Jack Robison
832537a5cf
set deleted downloads as streaming mode on startup 2019-04-24 09:48:04 -04:00
Jack Robison
3234d70270
add peer address/port to hash blob writer 2019-04-24 09:48:04 -04:00
Victor Shyba
9ba6653475
raise proper error when sd is not available 2019-04-24 09:48:04 -04:00
Jack Robison
3a997277aa
reduce the amount of Blob objects created 2019-04-24 09:48:04 -04:00
Jack Robison
a0e3338177
only re-reflect streams if the sd blob is readable 2019-04-24 09:48:04 -04:00
Jack Robison
d5a353066c
missing await 2019-04-24 09:48:04 -04:00
Jack Robison
bc29fc4465
type 2019-04-24 09:48:04 -04:00
Jack Robison
01a81fceed
more streaming_only + save_blobs integration testing 2019-04-24 09:48:04 -04:00
Jack Robison
a1abb7c8fb
test range requests 2019-04-24 09:48:04 -04:00
Jack Robison
46b166952b
non async blob_completed callback, tests 2019-04-24 09:48:04 -04:00
Jack Robison
60c9ae64b4
endpoint to call get and redirect to the partial content stream 2019-04-24 09:48:04 -04:00
Jack Robison
287b89db66
fix tests 2019-04-24 09:48:04 -04:00
Jack Robison
7a160f7335
fix tests 2019-04-24 09:48:04 -04:00
Jack Robison
3a916a8e8e
tests 2019-04-24 09:48:04 -04:00
Jack Robison
f125468ebf
fix claim not being saved to the db 2019-04-24 09:48:04 -04:00
Jack Robison
93267efe0b
remove StreamAssembler, refactor ManagedStream and StreamDownloader (WIP) 2019-04-24 09:48:04 -04:00
Jack Robison
676f0015aa
refactor BlobFile into AbstractBlob, BlobFile, and BlobBuffer classes 2019-04-24 09:48:04 -04:00
Jack Robison
b230d8fbcb
rename BlobFileManager -> BlobManager 2019-04-24 09:48:04 -04:00
Lex Berezhny
19f300cc45 added protobuf to get and file_list commands 2019-04-21 14:28:43 -04:00
Lex Berezhny
7824de655e updated stream manager to pull protobuf instead of hex from resolve response 2019-04-21 14:28:43 -04:00
Lex Berezhny
71f5061848 exposed new protobuf fields in APIs and updated tests 2019-04-21 00:45:51 -04:00
Lex Berezhny
fa9a4a75c6 update to an even newer protobufs 2019-04-20 02:33:41 -04:00
Lex Berezhny
5f8482bdb7 hash -> sd_hash, encoding fixes, update to new protobufs 2019-03-27 21:57:22 -04:00
Lex Berezhny
67dcede2d8 lots of stuff deleted 2019-03-25 22:54:08 -04:00
Lex Berezhny
d47575e8e0 progress 2019-03-25 22:54:08 -04:00
Lex Berezhny
ea09aca175 pylint fixes and ClaimDict->Claim 2019-03-25 22:54:08 -04:00
Lex Berezhny
8259d7c680 txo.claim_hash and other fixes related to proto3 refactor 2019-03-25 22:54:08 -04:00
Lex Berezhny
2bea0f697a pylint 2019-03-25 22:54:08 -04:00
Lex Berezhny
1d68bef6f2 client side pretty much done 2019-03-25 22:54:08 -04:00
Jack Robison
c9b2829227
fix/test fixed_peer_delay and added_fixed_peers 2019-03-14 15:08:26 -04:00
Jack Robison
4f2f8b16f3
fix pending downloads not being removed 2019-03-14 13:52:00 -04:00
Jack Robison
2ab2b846b1
fix default download timeout not being set 2019-03-14 13:07:11 -04:00
Jack Robison
ab5d71ff61
fix the time to the head blob including the time to the sd blob in analytics 2019-03-13 16:24:23 -04:00
Jack Robison
993cb43e5b fix tests
-fix cleanup of a failed download
2019-03-12 20:22:01 -04:00
Jack Robison
5d212a0f82 time to first bytes analytics 2019-03-12 20:22:01 -04:00
Jack Robison
9de3f3ff09
don't block on sending download analytics events 2019-03-01 15:22:19 -05:00
Jack Robison
df8934d472
restore old download analytics and update tests 2019-03-01 14:50:06 -05:00
Jack Robison
d95903d219
update aiohttp and pylint 2019-02-28 12:04:07 -05:00
Victor Shyba
9f071bbe36
pylint 2019-02-26 17:42:45 -05:00
Victor Shyba
7a96e742f2
stop trapping CancelledError 2019-02-26 17:42:45 -05:00
Victor Shyba
fcdd9295b4 delete upon failing to decode JSON from sd blob 2019-02-21 20:53:21 -03:00
Victor Shyba
4e7d88311f raise proper exception on undecode-able blobs 2019-02-21 20:42:51 -03:00
Victor Shyba
38ed212c01 refactor, dont call storage from blob_manager + missing await 2019-02-19 21:45:14 -03:00
Victor Shyba
d035c13883 file_path can be None, add helper to check if stream output file exists instead 2019-02-19 21:45:14 -03:00