Commit graph

3757 commits

Author SHA1 Message Date
Victor Shyba 3cb8a63bf9 add channel_name parameter on claim search 2019-04-26 17:30:21 -04:00
Lex Berezhny 3d1efbc9bb v0.37.0rc2 2019-04-25 20:40:07 -04:00
Victor Shyba 7bdef3146b fix ttfb 2019-04-25 20:38:33 -04:00
Lex Berezhny db08882f20 v0.37.0rc1 2019-04-24 21:35:59 -04:00
Jack Robison 056a629e87
remove unused property 2019-04-24 13:39:06 -04:00
Jack Robison 1ffb99f9f9
rename streaming_only setting -> save_files 2019-04-24 12:44:12 -04:00
Jack Robison 67088b2ca2
test_blob_writers_concurrency 2019-04-24 09:48:04 -04:00
Jack Robison dab49e812f
set writer result or error before calling close_handle 2019-04-24 09:48:04 -04:00
Jack Robison 0f3f38d8a3
pylint 2019-04-24 09:48:04 -04:00
Jack Robison 7ba433c2e5
fix setting blob verified event and canceling blob writers
-raise OSError if multiple writers for one peer are opened for a blob
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
Jack Robison 432fe444f8
fix cache_concurrent decorator 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 8107e97304
remove debugging /streams endpoint 2019-04-24 09:48:04 -04:00
Jack Robison e2663f6d57
remove unnecessary except/raise 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 a7d94f4514
add file_save 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 987f175fcc
logging 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 1375153fda
fix publish updates not being saved to the db, don't query the db for the stream hash 2019-04-24 09:48:04 -04:00
Jack Robison 1a14157d37
fix unawaited task 2019-04-24 09:48:04 -04:00
Jack Robison 4d0e9e0428
relative http redirect from /get -> /stream 2019-04-24 09:48:04 -04:00
Jack Robison 3a53ef5690
catch TransportNotConnected 2019-04-24 09:48:04 -04:00
Jack Robison 33a68b5cef
handle dht is_closing 2019-04-24 09:48:04 -04:00
Jack Robison 63bf084a6a
cancel dht response future 2019-04-24 09:48:04 -04:00
Jack Robison a882f2e8c5
merge conflicts 2019-04-24 09:48:04 -04:00
Jack Robison 119e0ec408
cancelled error 2019-04-24 09:48:04 -04:00
Jack Robison 7d782d516a
track and close blob readers 2019-04-24 09:48:04 -04:00
Jack Robison d3eac48035
tests, add __slots__ to AbstractBlob 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 2d314dce60
add save_file argument to get 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 04ddee7d89
blob 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 f0e17cff9a
support streaming downloads / range requests 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 c663e5a3cf
add cache_concurrent decorator 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 d44a79ada2
cache resolve_host, add async_timed_cache decorator 2019-04-24 09:48:04 -04:00
Jack Robison d7ed8ffaa6
add streaming_only and save_blobs settings 2019-04-24 09:48:04 -04:00
Jack Robison b230d8fbcb
rename BlobFileManager -> BlobManager 2019-04-24 09:48:04 -04:00
Lex Berezhny 58987857cf v0.36.0 2019-04-22 18:47:58 -04:00