Commit graph

3835 commits

Author SHA1 Message Date
Lex Berezhny
d98162a118 stream_update --replace also clears the channel 2019-05-09 00:00:39 -04:00
Victor Shyba
efbf2f49a9 fix generator junction 2019-05-08 23:02:38 -03:00
Victor Shyba
2e09d2adfa close search on transport close 2019-05-08 23:02:38 -03:00
Jack Robison
e2c123456b
write decrypted blob data from run_in_executor 2019-05-08 16:07:32 -04:00
Jack Robison
c9be79f062
prevent re-migrating 10 to 11 2019-05-08 15:13:07 -04:00
Jack Robison
a2a1ef34ab
fix tests 2019-05-08 14:55:09 -04:00
Jack Robison
761a2b235c
set written_bytes, download_path, file_name, and download_directory to None if the file doesn't exist 2019-05-08 14:11:44 -04:00
Jack Robison
3ca2fee592
use stream size from claim if available 2019-05-08 14:11:39 -04:00
Jack Robison
a480b2d25f
fix race when closing blob client protocol after getting a response 2019-05-08 12:21:11 -04:00
Jack Robison
d7032b12d7
add saved_file and content_fee columns to file table
-drop not null constraints for file_name and download_directory

-add migrator
2019-05-08 10:26:06 -04:00
Victor Shyba
007dd43861 re-raise cancelled errors 2019-05-07 11:10:49 -03:00
Victor Shyba
1bc4e4b702 typo on logging, announcements logging is info, not warning 2019-05-07 11:10:49 -03:00
Victor Shyba
b91f27219d use fetchall as there is an update while iterating 2019-05-07 11:10:49 -03:00
Victor Shyba
dc4560cc9a refactor announcer 2019-05-07 11:10:49 -03:00
Victor Shyba
c6a3c05a0c add missing migrator line 2019-05-07 11:10:49 -03:00
Jack Robison
32dc1297ec
fix infinite loop 2019-05-06 18:46:26 -04:00
Jack Robison
bef244ba77
dont make duplicate files 2019-05-06 18:46:26 -04:00
Jack Robison
3c231d6215
handle get with file_name/download_directory/save_file arg for a stream that is already running 2019-05-06 18:46:26 -04:00
Jack Robison
a212cf6ba4
set content_fee attribute 2019-05-06 18:46:26 -04:00
Jack Robison
bc060f1378
pay fee after downloading the sd blob/adding to the db 2019-05-06 18:46:26 -04:00
Jack Robison
22c701fd50
fix completed field for an item in file list 2019-05-06 18:46:26 -04:00
Jack Robison
4f0e8fce6e
add optional download_directory argument to get 2019-05-06 18:46:26 -04:00
Jack Robison
f642cfe9dd
fix resuming save tasks on startup 2019-05-06 18:46:26 -04:00
Jack Robison
24e073680b
add connection id workaround 2019-05-06 18:46:26 -04:00
Jack Robison
b2f63a1545
fix tests 2019-05-06 18:46:26 -04:00
Jack Robison
f506b3e6d4
tests 2019-05-06 18:46:26 -04:00
Jack Robison
f7412514b3
fix partial content 0 padding 2019-05-06 18:46:26 -04:00
Jack Robison
bd6a609b30
fix logging 2019-05-06 18:46:26 -04:00
Jack Robison
4e32b69d1d
don't set running streams as stopped on startup 2019-05-06 18:46:26 -04:00
Jack Robison
1116c7f29e
logging 2019-05-06 18:46:26 -04:00
Jack Robison
d80c671cf2
look victor 2019-05-06 18:46:26 -04:00
Jack Robison
14b12cbea2
block /stream and /get requests on the stream manager starting 2019-05-06 18:46:26 -04:00
Jack Robison
1f7feafb67
force close open streaming requests and api calls on shutdown 2019-05-06 18:46:26 -04:00
Jack Robison
cbe689ea7f
logging 2019-05-06 18:46:26 -04:00
Jack Robison
9099ee2e8e
fix/refactor starting and stopping files
-move partial content handling into ManagedStream
-add delayed stop test
2019-05-06 18:46:26 -04:00
Jack Robison
b134e0c9c9
fix blob_get 2019-05-06 18:46:26 -04:00
Jack Robison
f8c0e80cfc
add __slots__ to BlobInfo, StreamDescriptor, and KademliaPeer 2019-05-06 18:46:26 -04:00
Jack Robison
1f266ebdad
add logging for streams we already have 2019-05-06 18:46:26 -04:00
Jack Robison
b09e1f8825
fix written_bytes never being 0 2019-05-06 18:46:26 -04:00
Victor Shyba
cacc65d45e fix edge case from test for single blob stream 2019-05-06 18:18:12 -03:00
Victor Shyba
43111f0497 bump db revision 2019-05-06 17:19:40 -03:00
Victor Shyba
6c142b4477 add migrator for previous bugs 2019-05-06 17:12:04 -03:00
Victor Shyba
e8683a24bd fix should_announce being set on stream creation 2019-05-06 16:49:52 -03:00
Baltazar Gomez
a030e13548 fix incorrect media-type of .cbr archives 2019-05-05 20:57:36 -04:00
Victor Shyba
f5bd28bfdb make save_file a parameter instead of a flag so it obeys conf 2019-05-05 19:46:42 -03:00
Lex Berezhny
6cbbe23c7c account_list defaults to 0 confirmations for balance 2019-05-04 18:08:33 -04:00
Lex Berezhny
d7c2e4e9b3 fixed bug where lbrynet failed to start with single-key accounts in the wallet 2019-05-04 17:56:39 -04:00
Victor Shyba
cf7bb6a391 fix tests and stream being deleted on data timeout 2019-05-02 16:41:48 -03:00
Victor Shyba
68d7328918 always close the write handle 2019-05-02 12:20:49 -03:00
Victor Shyba
ff2985cc80 close protocol if transport reuse brings responses before requests 2019-05-02 12:13:33 -03:00