Commit graph

337 commits

Author SHA1 Message Date
Jack Robison
324cbdcdb2
only save the content claim if stream_hash isn't None
-stream_hash being none means we don't have the file in the database
2019-05-10 11:50:20 -04:00
Lex Berezhny
6c0c0ee322 added logging to publish command 2019-05-10 11:43:34 -04:00
Jack Robison
54b9ed6cb2
fix store content fee 2019-05-09 18:14:54 -04:00
Victor Shyba
ec07037e88 set shutdown_timeout on TCPSite 2019-05-09 01:01:07 -03:00
Lex Berezhny
d98162a118 stream_update --replace also clears the channel 2019-05-09 00:00:39 -04:00
Jack Robison
c9be79f062
prevent re-migrating 10 to 11 2019-05-08 15:13:07 -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
b91f27219d use fetchall as there is an update while iterating 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
4f0e8fce6e
add optional download_directory argument to get 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
1116c7f29e
logging 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
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
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
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
Victor Shyba
7cf245a0e9 encode timestamp and confirmations into file list 2019-04-29 00:26:14 -04:00
Victor Shyba
30b113d64a depth -> confirmations 2019-04-29 00:26:14 -04:00
Lex Berezhny
6a2efa54ab dropped block_show command from API, users should run a full node if they need access to blocks 2019-04-27 18:03:35 -04:00
Lex Berezhny
72f0e1ca14 added timestamp field to transaction output results from JSON RPC calls 2019-04-27 17:10:49 -04:00
Lex Berezhny
f3c8776878 fixed --preview mode on stream_create/update 2019-04-27 13:11:32 -04:00
Lex Berezhny
539ea04039 fixed signing streams using --channel_name argument 2019-04-27 11:52:29 -04:00
Lex Berezhny
8f96b07559 updating stream claim with new file now correctly updates file list removing old file 2019-04-27 10:55:20 -04:00
Lex Berezhny
da637b9c0e added --replace option to stream_update and channel_update, publish defaults to --replace 2019-04-26 23:37:10 -04:00
Lex Berezhny
3618de1227 added --clear_fee ability to stream update command 2019-04-26 17:52:29 -04:00
Victor Shyba
3cb8a63bf9 add channel_name parameter on claim search 2019-04-26 17:30:21 -04:00
Victor Shyba
7bdef3146b fix ttfb 2019-04-25 20:38:33 -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
832537a5cf
set deleted downloads as streaming mode on startup 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
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
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
a882f2e8c5
merge conflicts 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
3a916a8e8e
tests 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
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
3357a419ab ability to overide the file name, hash and size when updating a stream claim 2019-04-22 18:05:49 -04:00
Lex Berezhny
e8991e6d52 improve account locking/unlocing CLI docs 2019-04-22 14:06:42 -04:00
Lex Berezhny
216379918b renamed txo sub_type to value_type in txo json encoder output 2019-04-21 17:40:40 -04:00
Lex Berezhny
9fae8f5153 added --include_protobuf to add hexlified protobuf to RPC responses 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
8bf2e41c95 --contact_email -> --email and --homepage_url -> --website_url 2019-04-20 02:33:41 -04:00
Lex Berezhny
fa9a4a75c6 update to an even newer protobufs 2019-04-20 02:33:41 -04:00
Victor Shyba
665dba62c7 simplify save from resolve, deduplicate items 2019-04-20 01:19:40 -04:00
Victor Shyba
76dea9e89b batch save supports 2019-04-20 01:19:40 -04:00
ポール ウェッブ
a63442f843 Fixes and updated gitignore 2019-04-12 11:53:37 -04:00
Oleg Silkin
b6a4589da5 Adds comment group to lbrynet with commands list and create 2019-04-07 15:27:59 -04:00
Oleg Silkin
a94d65d522 Adds utility functions for making batch jsonrpc requests to comment server 2019-04-07 15:27:59 -04:00
Lex Berezhny
9af625e627 test fixes 2019-04-06 17:08:15 -04:00
Lex Berezhny
93220c3874 daemon json rpc return type docs 2019-04-06 17:08:15 -04:00
Lex Berezhny
83411acfbd split claim_abandon into stream_abandon and channel_abandon 2019-03-29 21:48:55 -04:00
Lex Berezhny
7b57ba96dd fix docopt parsing and stream manager tests 2019-03-29 21:14:20 -04:00
Lex Berezhny
668840921f typo fix 2019-03-29 21:14:20 -04:00
Lex Berezhny
a3bd335f7f --languages, --locations fully support all attributes, add BTC 2019-03-29 21:14:20 -04:00
Lex Berezhny
4e6bca1389 support_abandon sends new --keep support to same address as the first support being abandoned 2019-03-29 21:14:20 -04:00
Lex Berezhny
2a55e583e7 added to docstring that a channel_id is a channel claim id 2019-03-29 21:14:20 -04:00
Lex Berezhny
2c4fde06c5 --new-signing-key -> --new_signing_key 2019-03-29 21:14:20 -04:00
Lex Berezhny
eca83d7f47 --clear-tags -> --clear_tags 2019-03-29 21:14:20 -04:00
Lex Berezhny
5f8482bdb7 hash -> sd_hash, encoding fixes, update to new protobufs 2019-03-27 21:57:22 -04:00
Lex Berezhny
7860b956ff fixes and tests for publish command 2019-03-27 21:57:22 -04:00
Lex Berezhny
9abf40d21f stream_type fix 2019-03-25 23:45:10 -04:00
Lex Berezhny
183e3ac1c7 claim search 2019-03-25 22:54:08 -04:00
Lex Berezhny
8087b457c6 reorganized commands and finished support_abandon with --keep 2019-03-25 22:54:08 -04:00
Lex Berezhny
fedb7c23d0 bring back blocks_behind in wallet status 2019-03-25 22:54:08 -04:00
Lex Berezhny
c708c1db07 audio/video/image stream types 2019-03-25 22:54:08 -04:00
Lex Berezhny
2007c48af3 fixed tests for setting claim values 2019-03-25 22:54:08 -04:00
Lex Berezhny
814eaca524 cli tests fixed 2019-03-25 22:54:08 -04:00
Lex Berezhny
25436893bc pylint and a few other fixes 2019-03-25 22:54:08 -04:00
Lex Berezhny
5b9d41fd5c regeneate script after modifying protobufs 2019-03-25 22:54:08 -04:00
Victor Shyba
b1720d1659 fix setting sd hash 2019-03-25 22:54:08 -04:00
Lex Berezhny
4b3a6ab875 big support tests passes 2019-03-25 22:54:08 -04:00
Lex Berezhny
67dcede2d8 lots of stuff deleted 2019-03-25 22:54:08 -04:00
Lex Berezhny
af73e1a2f5 chris45 passing again 2019-03-25 22:54:08 -04:00
Lex Berezhny
c1fbb02bfe dont validate inputs in json_response_encoder 2019-03-25 22:54:08 -04:00
Lex Berezhny
d47575e8e0 progress 2019-03-25 22:54:08 -04:00
Lex Berezhny
df649341cd json output formatting fix for 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
Victor Shyba
6653da2973 all 2019-03-25 22:54:08 -04:00
Lex Berezhny
e74998209d for victor 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