Commit graph

852 commits

Author SHA1 Message Date
Kay Kurokawa
eabf9f1c4a clarify publish API command docstring 2017-03-28 11:48:26 -04:00
Kay Kurokawa
b0fd6e57df create and properly distinguish get_unused_address and get_new_address 2017-03-27 12:41:53 -04:00
Kay Kurokawa
f5c533e2f1 rename file_seed 2017-03-25 10:20:07 -04:00
Alex Grintsvayg
c9c84784c9 restore http error codes, add some color 2017-03-24 17:19:55 -04:00
Alex Grintsvayg
8fa2524e54 properly handle true/false cli args 2017-03-23 17:44:12 -04:00
Kay Kurokawa
e7b90055ed remove pending_claims logic from Daemon 2017-03-23 16:44:18 -04:00
Alex Grintsvayg
3f08b5f711 pylint errors 2017-03-23 16:05:26 -04:00
Alex Grintsvayg
7708c4a15c add todo 2017-03-23 15:44:23 -04:00
Alex Grintsvayg
9410cd9e77 format response and error properly 2017-03-23 15:37:28 -04:00
Alex Grintsvayg
0c42bc6382 fixes, refactors 2017-03-23 14:11:01 -04:00
Alex Grintsvayg
63c71760dd hack for lbrynet-cli for now 2017-03-23 11:09:40 -04:00
Alex Grintsvayg
25d9f008de fix error handling in jsonrpc 2017-03-23 11:09:40 -04:00
Kay Kurokawa
2cc2505cfd make directories in one place when initializing 2017-03-23 11:07:03 -04:00
Kay Kurokawa
7fac63a37b create download directory if it doesn't exist 2017-03-23 11:07:03 -04:00
Kay Kurokawa
5e6a742bd3 Fix restart procedure in DaemonControl 2017-03-22 11:48:31 -04:00
Jack Robison
824f2f1d0f handle not being able to decode claim cache file 2017-03-21 16:32:32 -04:00
Jack Robison
c66225ccf8 Merge branch 'master' into fix_descriptor_get 2017-03-20 16:42:10 -04:00
Alex Grintsvayg
8f3b53197f dont add expected payment when payment rate is 0 2017-03-20 15:37:45 -04:00
Alex Grin
4027733f2c Merge pull request #542 from lbryio/wallet-list
add wallet_list
2017-03-20 15:31:45 -04:00
Kay Kurokawa
85845414b8 format help message properly in case of error in CLI 2017-03-20 13:41:32 -04:00
Jack Robison
a95c49bd08 add wallet_list 2017-03-19 10:52:51 -04:00
Kay Kurokawa
4edd13f4f4 fix wallet_public_key API command 2017-03-17 16:45:34 -04:00
Kay Kurokawa
001ebd02e3 fix broken descriptor_get command 2017-03-16 17:55:35 -04:00
Alex Grintsvayg
15517732ae add config to disable reflecting on publish 2017-03-16 17:49:24 -04:00
Jeremy Kauffman
ebb6813df3 Merge pull request #531 from lbryio/better_jsonrpc_publish
Change publish to take metadata fields as arguments, docstring change
2017-03-16 16:02:49 -04:00
Alex Grintsvayg
bfd822782d small fixes 2017-03-16 15:35:54 -04:00
Kay Kurokawa
61d27f010e Change publish to take metadata fields as arguments, docstring change 2017-03-16 14:38:27 -04:00
Alex Grintsvayg
26d2347812 update docs 2017-03-15 16:31:58 -04:00
Alex Grintsvayg
29dea4901e add --version flag, remove simplejson dependency 2017-03-15 16:24:25 -04:00
Alex Grintsvayg
c4b65fddac newline after jsonrpc response 2017-03-14 11:11:29 -04:00
Kay Kurokawa
b32b7091ad make api docstrings consistent 2017-03-13 20:43:18 -04:00
Umpei Kay Kurokawa
ec35eb2397 Merge pull request #526 from lbryio/api_doc_string
Daemon API doc string update
2017-03-13 14:18:14 -04:00
Alex Grintsvayg
92d423aefd fix jsonrpc http headers 2017-03-13 11:54:40 -04:00
Kay Kurokawa
0ec9b6545f edit doc strings and update doc file 2017-03-12 14:45:46 -04:00
Kay Kurokawa
e7dc841bb7 fix fee validation in publisher and clarify publish docstring 2017-03-10 18:24:32 -05:00
Kay Kurokawa
8c61185387 handle decimal encoded string output from lbryum 2017-03-10 12:56:58 -05:00
Kay Kurokawa
aef274577f Do not expose get_claims_from_tx() from the API 2017-03-09 11:54:34 -05:00
Jack Robison
5d6ca0aae6 add get_sd_hash to utils 2017-03-09 10:39:25 -05:00
Alex Grintsvayg
3f4a4728e6 fixed my silly mistakes 2017-03-09 07:58:36 -05:00
Alex Grintsvayg
63cb2cf571 raise exceptions, dont yield them 2017-03-08 17:14:31 -05:00
Alex Grintsvayg
54b4b6984e fix jsonrpc help 2017-03-08 17:10:03 -05:00
Jack Robison
e29a91b69a fix pylint 2017-03-08 14:19:54 -05:00
Jack Robison
fdcc5e6829 fix file delete keyword arg bug 2017-03-08 14:04:40 -05:00
Jack Robison
992be881af fix _get_lbry_file return bug 2017-03-08 11:53:24 -05:00
Alex Grintsvayg
68f5588bd9 make loggly logs less verbose 2017-03-08 11:23:28 -05:00
Kay Kurokawa
9048244cdc fix docstring for daemon publish command 2017-03-08 10:39:31 -05:00
Kay Kurokawa
1aa715c927 remove file_utils import from Daemon 2017-03-07 21:17:06 -05:00
Kay Kurokawa
e2ed9f21d2 delete reveal and open command from api, not needed for electron 2017-03-07 21:17:06 -05:00
Kay Kurokawa
e6cd4c9877 removing unuseful/unused commands from daemon API 2017-03-07 21:17:06 -05:00
Jack Robison
9e09d1fc38 handle multiple files to delete in file_delete 2017-03-07 18:30:18 -05:00
Jack Robison
bc9b990728 return file json from get 2017-03-07 18:29:44 -05:00
Jack Robison
7ad46e70be remove deprecated delete_lbry_file, move file deletion to lbry_file_manager 2017-03-07 18:29:44 -05:00
Jack Robison
4f9b5c4624 refactor file_list, remove deprecated file retrieval functions 2017-03-07 18:29:44 -05:00
Kay Kurokawa
d642ba039d Fix downloading not timing out properly when unable to download sd blob 2017-03-03 16:45:25 -05:00
Kay Kurokawa
9755e9b11f Improvements to exchange rate manager 2017-03-03 12:50:47 -05:00
jobevers
d359949a5c check network exists on jsonrpc_status call 2017-02-21 15:30:36 -06:00
jobevers
70cf179139 Merge remote-tracking branch 'origin/master' into electron 2017-02-21 12:07:36 -06:00
Alex Grintsvayg
62ab4c769d move blocks_behind into blockchain_status 2017-02-21 12:51:15 -05:00
jobevers
1d30ae447a Merge branch 'master' into electron 2017-02-21 10:47:28 -06:00
jobevers
ff5980dfca fix broken version check 2017-02-21 09:36:08 -06:00
jobevers
e4b77a4a0a clean up lint errors 2017-02-21 08:45:12 -06:00
jobevers
a1650d7f03 remove update url 2017-02-20 12:55:21 -06:00
Alex Grintsvayg
c85226d5a6 stop showing deprecated commands in cli help 2017-02-20 00:21:16 -05:00
Jack Robison
d0b64ef255 don't return blob timeout error from get_availability 2017-02-19 19:37:50 -05:00
Jack Robison
e2f97ba0b4 get file by stream hash 2017-02-19 19:37:44 -05:00
Jack Robison
c6e614ebec fix get()
-get_file_by_sd_hash raises NoSuchSDHash if there is no file, which
otherwise doesn’t get trapped

-remove unnecessary try/except around _DownloadNameHelper.__init__

-don’t delete self.waiting_on[name]
2017-02-19 19:17:25 -05:00
Jack Robison
ab46a33913 fix missing download button 2017-02-18 14:07:07 -05:00
jobevers
6d4c606abd remove version check also supplies a download url 2017-02-16 21:25:09 -06:00
jobevers
723105157f check lbry-electron for releases 2017-02-16 14:18:32 -06:00
jobevers
17d32ca696 remove lbryum version check 2017-02-16 14:18:23 -06:00
jobevers
993f2e54f9 more fixes for build 2017-02-16 14:13:01 -06:00
Job Evers‐Meltzer
fb2823f59e don't need this anymore 2017-02-16 14:13:00 -06:00
jobevers
f1231bd8e5 remove UI_Manager 2017-02-16 14:11:54 -06:00
Job Evers-Meltzer
caa8f73f7c remove header check 2017-02-16 14:09:43 -06:00
Job Evers‐Meltzer
5bf75ef139 Merge pull request #404 from lbryio/match-allow-origin
Allow requests that match allowed-origin
2017-02-16 12:02:20 -06:00
Job Evers-Meltzer
e2db99f7ab allow requests that match allowed-origin 2017-02-16 11:44:23 -05:00
Jack Robison
3ddf8680fb blob commands
refactor blob_get
add descriptor_get
add blob_delete
refactor blob_list
2017-02-16 11:20:02 -05:00
Jack Robison
25ec8fde23 add timeout to get_availability and peer_list
-add optional timeout to DHTPeerFinder.find_peers_for_blob
-add peer_search_timeout setting
2017-02-16 11:17:37 -05:00
Jack Robison
1a6290eacc log blob count at startup 2017-02-16 11:17:37 -05:00
Jack Robison
345301a9ee return file with pending claim with get_lbry_file
if a lbry file from the winning claim is in the file manager, return
it. otherwise return a lbry file with a pending claim if one exists.
2017-02-16 09:12:57 -05:00
Jack Robison
0f907a209b add EncryptedFileDownloader.load_file_attributes 2017-02-16 09:12:47 -05:00
Jack Robison
80dd02483e Merge branch 'master' into no-more-upload-allowed 2017-02-15 22:39:26 -05:00
Job Evers‐Meltzer
934a46a8b6 Merge pull request #452 from lbryio/retry-startup
Retry startup
2017-02-15 08:34:26 -06:00
jobevers
9e2cda0cdc remove more upload_allowed arguments 2017-02-15 06:48:58 -06:00
jobevers
fe4dac8236 change downloader options to data_rate 2017-02-15 06:48:58 -06:00
Job Evers-Meltzer
2a45c91175 fix get_blob calls with upload_allowed arguments 2017-02-15 06:48:58 -06:00
Job Evers-Meltzer
a38e5c855e Remove upload_allowed attribute
This is unused and largely pulluting the argument list
of too many functions.
2017-02-15 06:48:50 -06:00
jobevers
f989814e69 catch Unknownnameerror for resolve_name
Its expected behavior that a name won't resolve so this more
gracefully handles that case
2017-02-14 16:16:22 -06:00
jobevers
520ac9b50a change filemanger setup to inlinecallbacks 2017-02-14 10:27:16 -06:00
Jack Robison
3cc8a4b168 add local and remote heights to blockchain status 2017-02-13 15:14:54 -05:00
Jack Robison
8859c1b0c1 fix claim_abandon 2017-02-13 15:14:54 -05:00
Jack Robison
867275461c feedback from job 2017-02-13 15:14:54 -05:00
Jack Robison
2190f4ac85 refactor GetStream
-convert to inline callbacks

-return more errors than just timeouts

-delete on timeout

-have a more understandable return condition (first data blob having
downloaded)
2017-02-13 15:14:54 -05:00
Jack Robison
7720724ec0 reflect lbry_files in looping call in EncryptedFileManager
-remove ManagedEncryptedFileDownloader._reupload

-clean up reflector functions in Daemon, move to reflector.reupload

-check ConnectionLost in reflector client

-close sd blob file handle when it wont be sent (otherwise read handle stays open)

-log reflector sd info

-give reflector client factory a lbry file
2017-02-13 15:13:37 -05:00
Jack Robison
d137528f67 convert Daemon._delete_lbry_file to inlineCallbacks 2017-02-13 13:07:27 -05:00
Jack Robison
5a1bab2eaa refactor Publisher and jsonrpc_publish
-add get_read_handle to file_utils

-don’t leave read handle hanging after creating lbry file

-get rid of threaded weirdness

-remove reflector functionality from Publisher

-fix updating with an existing stream

-reflect new stream in thread after broadcasting name claim
2017-02-13 13:07:27 -05:00
Alex Liebowitz
0e8e489ad6 Fix how the bug report code accesses Slack API key setting
It was trying to access this setting as an attribute, which doesn't
work anymore. (Not sure if this is an API change in conf.settings or
just a bug.)
2017-02-08 23:05:32 -05:00
Jack Robison
d053db8dfd add uri to stream reflector for better logging 2017-02-08 14:28:16 -05:00
Jack Robison
2126f69c93 use only DBEncryptedFileMetadataManager in Daemon
-fix Daemon.stream_info_manager and Daemon.lbry_file_metadata_manager
being different
2017-02-06 13:15:50 -05:00
Jack Robison
6f0581104a Merge pull request #408 from lbryio/non-blocking-update-check
non-blocking version check
2017-02-05 15:44:29 -05:00