Commit graph

2812 commits

Author SHA1 Message Date
Job Evers-Meltzer
01811621a6 shorten is_valid_blobhash logic 2016-10-20 11:29:58 -07:00
Job Evers-Meltzer
229ed0d7dc rename summarize to summarize_and_reset 2016-10-20 11:29:58 -07:00
Job Evers-Meltzer
7f800ce5bb fix rebase error 2016-10-20 11:29:58 -07:00
Job Evers-Meltzer
aa291ca79a fix pylint 2016-10-20 11:29:58 -07:00
Job Evers-Meltzer
fbf7928412 rename events to be seperate for each metric 2016-10-20 11:29:58 -07:00
Job Evers-Meltzer
7167d47631 bug fixes 2016-10-20 11:29:58 -07:00
Job Evers-Meltzer
8b1bb673c1 report available blobs 2016-10-20 11:29:58 -07:00
Job Evers-Meltzer
417a8f719f Add looping call manager to analytics manager 2016-10-20 11:29:58 -07:00
Job Evers-Meltzer
ddb88eb1c9 move LoopingCallManager to own module 2016-10-20 11:29:58 -07:00
Job Evers-Meltzer
d5f0001950 small cleanups 2016-10-20 11:29:15 -07:00
Job Evers-Meltzer
4a07b56e8a refactor analytics manager to use dependency injection 2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
9da1b3c5b7 analytics manager bug fix 2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
f9f07c47e2 move analytics manager 2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
f5213fb77a GetFileHelper bug fixes 2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
48a61605de bug fix: looping calls 2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
76fb7697ff misc 2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
b71a3fee43 add tracked metrics reporting to analytics 2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
3a91896d8a track the amount of data uploaded 2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
36ae0d5f20 remove utils file - function moved to core 2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
3f727d892c refactor events; add tests 2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
c104ed3f8b better time handling in tests 2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
9416376a34 refactor: add GetFileHelper
Move the code related to getting a lbry file into
its own class
2016-10-20 11:26:10 -07:00
Job Evers-Meltzer
66e139c566 set development version based on environment variable 2016-10-20 11:26:10 -07:00
Job Evers-Meltzer
d0a82c68df move analytics related calls into their own class 2016-10-20 11:25:17 -07:00
Job Evers-Meltzer
93e2b3e20a Extract some looping call code out of the daemon 2016-10-20 11:25:17 -07:00
Job Evers-Meltzer
2e59e5e3b8 extract individual functions 2016-10-20 11:16:36 -07:00
Jack
727ea12dbd Bump version: 0.6.8 → 0.6.9 2016-10-20 12:41:49 -04:00
Jack
ea21821558 fix issues with is_generous
-stop requesting blobs if price limit is reached and the offer still
has not been accepted

-drop max rate to old flat rate (0.005lbc/mb)
2016-10-20 12:29:55 -04:00
Jack
a9ae1a1016 fix bug where support claim is returned when it shouldn't be 2016-10-20 11:15:35 -04:00
Jack
3f5efb1fa3 fix problems in blobrequester
-also move is_generous_host into a conf setting
2016-10-20 01:35:18 -04:00
Job Evers-Meltzer
9ba38c84cc Bump version: 0.6.7 → 0.6.8 2016-10-19 15:56:58 -07:00
Jack Robison
d4aa109b73 Merge pull request #193 from lbryio/check-remote-conn
Use lbry.io instead of google to check for internet connection
2016-10-19 15:06:33 -04:00
Jack
293933163f move USE_AUTH_HTTP to adjustable settings 2016-10-19 14:59:10 -04:00
Jack
22fc26797d pylint fixes 2016-10-19 14:40:01 -04:00
Jack
8a95c8b7af whoops 2016-10-19 14:26:19 -04:00
Jack
33674f8cc3 remove logging in conf, rearrange platform 2016-10-19 00:39:19 -04:00
Jack
6799de645b Merge branch 'master' into refactor-settings
# Conflicts:
#	packaging/osx/lbry-osx-app/lbrygui/LBRYApp.py
#	packaging/windows/lbry-win32-app/LBRYWin32App.py
2016-10-19 00:19:45 -04:00
Jack
06a88599df --http-auth flag to use authentication, refactor settings
settings will prefer, in order:
-defaults
-settings in config file
-settings given as environmental variables
-settings given as command line args
2016-10-19 00:12:44 -04:00
Jack
03877f7ebd remove str 2016-10-18 17:11:45 -04:00
Job Evers
6b7d575e95 use lbry.io to check for an internet connection 2016-10-17 20:11:08 -05:00
Job Evers
640db41555 only need lbrycrdd_path when using lbrycrdd 2016-10-17 19:58:04 -05:00
Jack
d860c2a2b4 make publish fail when given an invalid file
otherwise a less obvious error is returned in
lbrynet_daemon.Publisher.Publisher._show_publish_error
2016-10-17 14:25:36 -04:00
Jack
733bb3bccf Bump version: 0.6.6 → 0.6.7 2016-10-16 02:55:19 -04:00
Jack
830f5ff6e3 Bump version: 0.6.5 → 0.6.6 2016-10-15 23:35:17 -04:00
Jack
ea1f260ed9 Bump version: 0.6.4 → 0.6.5 2016-10-14 23:06:03 -04:00
Jack
a8a581d35c Merge branch 'master' into auth-jsonrpc
# Conflicts:
#	lbrynet/conf.py
#	lbrynet/core/Error.py
#	lbrynet/lbrynet_daemon/Daemon.py
#	lbrynet/lbrynet_daemon/DaemonControl.py
#	lbrynet/lbrynet_daemon/ExchangeRateManager.py
2016-10-14 18:25:37 -04:00
Job Evers-Meltzer
5f129faf32 Bump version: 0.6.3 → 0.6.4 2016-10-14 16:06:12 -05:00
Alex Liebowitz
b5a3929bb5 Fix imports 2016-10-14 16:41:02 -04:00
Alex Liebowitz
b67b4b2ef6 Refactor metadata upgrade version range calculation to use generator 2016-10-14 15:58:18 -04:00
Alex Liebowitz
bed3f551fd Light refactor of Metadata class 2016-10-14 15:58:04 -04:00
Alex Liebowitz
988c9595c7 Add default MIME type during publication
Needed because the new JSON schema enforces that the content type is a
string (not null).
2016-10-14 10:37:19 -04:00
Alex Liebowitz
92700808eb Add back current_version attribute to Metadata 2016-10-14 10:37:19 -04:00
Alex Liebowitz
0dd9aa0d67 Update error that daemon catches for malformed metadata
Now jsonschema.ValidationError instead of AssertionError
2016-10-14 10:37:19 -04:00
Alex Liebowitz
d8d462f43c Convert Metadata and Fee validators to use new JSON Schema-based system 2016-10-14 10:37:18 -04:00
Alex Liebowitz
3f22f39ce1 Refactor Validator to new StructuredDict class that uses JSON Schema
- Uses JSON schema for all validation (so far no custom code needed)
 - Can migrate up and down with any versioning scheme
 - Does migrations with regular dictionary operations instead of a DSL
2016-10-14 10:35:17 -04:00
Job Evers-Meltzer
e647663c34 Fix error when version is None
Logs were reporting:

Failure instance: Traceback: <type 'exceptions.AttributeError'>: StrictVersion instance has no attribute 'version'
/Volumes/LBRY/LBRY.app/Contents/Resources/lib/python2.7/lbrynet/lbrynet_daemon/DaemonServer.py:121:requestReceived
twisted/web/server.pyc:183:process
twisted/web/server.pyc:234:render
/Volumes/LBRY/LBRY.app/Contents/Resources/lib/python2.7/lbrynet/lbrynet_daemon/Daemon.py:450:render
--- <exception caught here> ---
twisted/internet/defer.pyc:150:maybeDeferred
/Volumes/LBRY/LBRY.app/Contents/Resources/lib/python2.7/lbrynet/lbrynet_daemon/Daemon.py:1561:jsonrpc_version
/Volumes/LBRY/LBRY.app/Contents/Resources/lib/python2.7/lbrynet/core/utils.py:39:version_is_greater_than
distutils/version.pyc:140:__cmp__
2016-10-14 10:35:17 -04:00
Jack Robison
32a973943f Merge pull request #173 from lbryio/blob-prices
Blob prices
2016-10-13 14:59:26 -04:00
Jack
19c2264429 clean up 2016-10-13 13:35:55 -04:00
Job Evers‐Meltzer
897c113db1 Merge pull request #180 from lbryio/configure-lbryum
Configure lbryum
2016-10-11 16:46:39 -05:00
Jack
50e5a59420 remove unused imports 2016-10-07 17:29:20 -04:00
Jack
5a0b5dc680 Merge branch 'master' into auth-jsonrpc
# Conflicts:
#	lbrynet/lbrynet_daemon/Daemon.py
#	lbrynet/lbrynet_daemon/DaemonControl.py
2016-10-07 17:11:43 -04:00
Jack
be1803d558 remove unused imports 2016-10-07 14:52:54 -04:00
Jack
84bbf2f76e move set_no_cache into own function 2016-10-07 14:28:38 -04:00
Jack
fe7ea7c679 refactor resources and file streamer into their own files, use NoCacheStaticFile instead of static.File 2016-10-07 14:01:59 -04:00
Jack
782e197e66 Merge branch 'master' into blob-prices 2016-10-05 23:25:39 -04:00
Jack
88be425ab2 fix pylint errors 2016-10-05 23:24:22 -04:00
Jack
1ee9b3c7a6 add reply_to_offer to livepaymentratemanager 2016-10-05 23:03:16 -04:00
Jack
4f60a98eb2 fix functional tests, add a few unit tests,
-add ‘generous’ parameter for NegotiatedPaymentRateManager to turn free
hosting on/off, by default set to true.
2016-10-05 22:58:34 -04:00
Job Evers-Meltzer
a71e87a398 throw error when invalid wallet is specified 2016-10-04 13:59:04 -05:00
Job Evers-Meltzer
0ecfad0ae9 add configuration to LBRYumWallet 2016-10-04 13:58:44 -05:00
Job Evers-Meltzer
e909ae566b add TODO 2016-10-03 16:19:58 -05:00
Jack
dc2f0adb3e update LiveStreamPaymentRateManager 2016-10-03 16:54:46 -04:00
Jack
180d981ed8 fix more functional tests 2016-10-03 16:37:27 -04:00
Jack
fd9bc6214a fix functional tests 2016-10-03 15:40:27 -04:00
Jack
967700dc28 BlobRequestHandler and Strategy tests 2016-10-03 02:44:58 -04:00
Jack
3ad4ad50ec Bump version: 0.6.2 → 0.6.3 2016-10-02 03:33:12 -04:00
Alex Liebowitz
04ced2e975 Fix import issues in DaemonServer.py 2016-10-02 02:50:17 -04:00
Alex Liebowitz
2253943eba Shorten time between sending chunks of video stream 2016-10-02 02:03:47 -04:00
Alex Liebowitz
a6fcd5d1f2 More refactoring in LBRYStreamProducer 2016-10-01 23:35:07 -04:00
Alex Liebowitz
f245822814 Refactor of LBRYStreamProducer 2016-10-01 23:35:07 -04:00
Alex Liebowitz
aa3aff91d0 Refactor LBRYStreamProducer and add Content-Length header
Also fixes producer pause/unpause behavior and adds slight delay
between sending chunks
2016-10-01 23:33:51 -04:00
Alex Liebowitz
5537dd878f Add basic support for streaming partially downloaded files 2016-10-01 23:29:08 -04:00
Jack
5e4e619708 squelch loud log 2016-10-01 15:20:19 -04:00
Jack
d741c705cd add some tests, don't use lighthouse for cost ests 2016-10-01 01:09:27 -04:00
Jack
d83abd81f8 job's comments 2016-09-30 14:26:13 -04:00
Jack
640e000b9f fix timeouts in get_availability 2016-09-30 13:35:13 -04:00
Jack
8d961d6ce6 add get_availability 2016-09-30 13:28:01 -04:00
Jack
0a612ba36c Merge branch 'master' into blob-prices 2016-09-30 12:36:10 -04:00
Jack
eb7cc8463b Bump version: 0.6.1 → 0.6.2 2016-09-30 11:26:55 -04:00
Jack
6e5ea935f6 Bump version: 0.6.0 → 0.6.1 2016-09-30 11:18:07 -04:00
Jack
f79b651b05 Bump version: 0.5.0 → 0.6.0 2016-09-30 02:16:06 -04:00
Jack
c130879ef7 frontload bug
divide availability adjusted price by frontload factor, which will be
close to 1 while index is low and close to 2 when index is high - the
reduction approaches 50% as index goes up.
2016-09-30 00:36:23 -04:00
Jack
5c391f4bb4 remove unnecessary class 2016-09-30 00:12:17 -04:00
Jack
b853656aa6 Merge branch 'master' into blob-prices
# Conflicts:
#	lbrynet/core/server/BlobRequestHandler.py
2016-09-30 00:11:53 -04:00
Jack Robison
8222f940b4 Merge pull request #177 from lbryio/blob-request-handler-refactor
refactor BlobRequestHandler
2016-09-29 23:52:14 -04:00
Jack
71b989b29b update from master
resolve merge conflicts:
lbrynet/core/client/BlobRequester.py
lbrynet/core/Peer.py
lbrynet/lbryfilemanager/EncryptedFileManager.py
lbrynet/lbrynet_daemon/Daemon.py
lbrynet/lbrynet_daemon/Publisher.py
2016-09-29 23:34:59 -04:00
Jack
4727ee0403 Merge branch 'master' into refactor-blob-requester 2016-09-29 12:48:34 -04:00
Jack
ff7829a078 Merge branch 'master' into rename-LBRY 2016-09-29 12:47:22 -04:00
Job Evers-Meltzer
d05bbea131 refactor BlobRequestHandler 2016-09-28 17:00:34 -07:00
Job Evers-Meltzer
6a72b3683e send Download Started event 2016-09-28 09:07:25 -07:00
Job Evers-Meltzer
b201fc331c simplify callback when downloading 2016-09-28 09:06:51 -07:00
Jack
b671a3c2ba Merge branch 'master' into blob-prices 2016-09-27 23:59:14 -04:00
Jack
1cc6b7658c get uploads working
-add error catching in exchange rate manager
-add free data on first request with default negotiation strategy
2016-09-27 23:56:08 -04:00
Job Evers-Meltzer
eb783b6b6f rename File to EncryptedFile 2016-09-27 11:26:01 -07:00
Job Evers-Meltzer
d1b06c3688 more fixes 2016-09-27 11:18:52 -07:00
Job Evers-Meltzer
d16b3429cd more work to fix tests 2016-09-27 11:18:52 -07:00
Job Evers-Meltzer
a099e2db6a fix errors 2016-09-27 11:18:52 -07:00
Job Evers-Meltzer
7dbeb1f2cf Remove LBRY prefix from class and module names
This is the result of running:
    grep -RlI LBRY . | xargs sed -i 's/LBRY\([A-Z]\)/\1/g'
2016-09-27 11:18:35 -07:00
Job Evers-Meltzer
550fd185a3 rename LBRYFile to EncryptedFile 2016-09-27 11:18:16 -07:00
Jack
1720cce3b0 negotiated downloads
-uploads are still underway
2016-09-27 13:52:44 -04:00
Job Evers-Meltzer
078b254d1d rename files to remove LBRY prefix 2016-09-25 18:11:23 -07:00
Job Evers-Meltzer
6057dc0804 whitespace 2016-09-25 17:18:29 -07:00
Job Evers-Meltzer
5ea7c4f016 fix typo in string format 2016-09-25 17:17:48 -07:00
Job Evers-Meltzer
4334cdace1 Refactor blob requester to better seperate out the three requests
Each blob requests has three parts
- A request to see what blobs are available
- A request to download and pay for one of those blobs
- A request to negotiate data costs

Before the refactoring all of the code to accomplish this was mixed into
one class.  They are now three seperate classes.

There is still a lot of room for improvement, but it is at least better than
it was.
2016-09-25 16:55:55 -07:00
Jack
c49b0fdd49 Bump version: 0.4.9 → 0.5.0 2016-09-24 01:50:14 -04:00
Jack Robison
bbcecea28d Merge pull request #165 from lbryio/get-my-claim
add get_my_claim, remove is_mine from get_claim_info response
2016-09-24 01:01:51 -04:00
Jack
a936782ddc fix amount formatting between get_claim_info and get_my_claim 2016-09-24 00:58:54 -04:00
Jack
7ac0fc5a24 convert amount 2016-09-24 00:49:03 -04:00
Jack
e115158f86 docstring 2016-09-23 03:04:59 -04:00
Jack
bf34fa39b4 unused import 2016-09-23 03:03:15 -04:00
Jack
5dd29da84f blob upload/download history and BlobPriceAndAvailabilityTracker 2016-09-23 03:02:17 -04:00
Jack
492fc510fa move _get_my_unspent_claim to function 2016-09-21 22:10:19 -04:00
Jack
dbeb6bc3bc update uri handler 2016-09-21 21:55:10 -04:00
Jack
4d79a7828c more cleaning up 2016-09-21 21:36:06 -04:00
Jack
aecafbbebd clean up 2016-09-21 03:49:52 -04:00
Jack
130f9cfc4d api sessions
-user starts a httpauthsession with an api key and name
-user initializes jsonrpc hmac secret to sha256 of session id
-server sends new random hmac secret after each api call

-a user without an authenticated session will get a authorization error
2016-09-20 16:58:30 -04:00
Job Evers-Meltzer
98d02b3fce [ci skip] add newlines 2016-09-19 12:07:47 -07:00
Jack
4d52a33ee5 Bump version: 0.4.8 → 0.4.9 2016-09-16 04:12:55 -04:00
Jack
7ad916f116 fix api being blocked for /? pages 2016-09-16 04:12:13 -04:00
Jack
05b47a9180 Bump version: 0.4.7 → 0.4.8 2016-09-16 03:56:14 -04:00
Jack
7085b1e3c3 block api requests by referer 2016-09-16 03:40:06 -04:00
Jack
3ae0664fa9 use prettier file format for daemon conf file 2016-09-16 00:14:25 -04:00
Jack
98b9f2cf73 Bump version: 0.4.6 → 0.4.7 2016-09-15 23:06:56 -04:00
Jack
add163a092 move get_params to own function, add some tests 2016-09-15 22:20:00 -04:00
Jack
fcfed3f441 add get_my_claim and get rid of is_mine in get_claim_info 2016-09-15 20:15:20 -04:00
Jack
7b84d9b10a handle no params 2016-09-15 15:04:42 -04:00
Jack
e9a1dbca4b fix windows cli
make cli easier to use on windows by converting keyword args to json

cli now accepts commands like:

lbrynet-cli resolve_name name=one

as well as:

lbrynet-cli resolve_name ‘{“name”: “one”}’
2016-09-15 14:47:32 -04:00
Jack
145a2654d2 Bump version: 0.4.5 → 0.4.6 2016-09-15 12:36:37 -04:00
Jack
5cefa2e995 set default logger in __init__ 2016-09-15 12:19:49 -04:00
Jack
13cbe0fd42 fix appveyor error 2016-09-14 23:03:18 -04:00
Jack
4cc941fbec make abandon_claim compatible with old function name 2016-09-14 22:36:18 -04:00
Jack
b010192f8e improve logging 2016-09-14 22:28:59 -04:00
Jack
2b1af8eea2 delete lbry file with an abandoned claim 2016-09-14 22:27:57 -04:00
Jack
6ea1f6f78c block api calls from bad origins 2016-09-14 17:39:19 -04:00
Jack
3c9c178bdc fix conf update 2016-09-12 15:44:56 -04:00
Jack
cc64547920 Bump version: 0.4.4 → 0.4.5 2016-09-12 15:42:48 -04:00
Jack
a23f2ca956 allow more download attempts after having timed out
-also lower the name cache time
2016-09-12 15:39:19 -04:00
Jack
ccaeecfd46 bug fix 2016-09-12 13:17:21 -04:00
Jack
3e45449e8c return unconfirmed balance 2016-09-12 13:16:56 -04:00
Jack
f352a3c597 rename abandon_name to abandon_claim 2016-09-12 13:16:03 -04:00
Jack
8cdbc847d1 add get_search_servers to allowed_during_startup 2016-09-09 05:11:51 -04:00
Jack
177d384126 Bump version: 0.4.3 → 0.4.4 2016-09-09 04:12:42 -04:00
Jack
eea5cbbafc add get_search_servers 2016-09-09 04:04:35 -04:00
Jack Robison
e4c61a4a13 Merge pull request #155 from lbryio/get-block-by-height
add 'height' parameter to get_block
2016-09-09 00:57:51 -04:00
Jack
0f0afadc94 add 'height' parameter to get_block 2016-09-09 00:48:54 -04:00
Alex Grintsvayg
659563f27a fix indent 2016-09-08 13:41:11 -04:00
Alex Grintsvayg
cbd8a68d0f print actual json 2016-09-08 13:40:43 -04:00
Alex Liebowitz
900eeb177a Add address_is_mine() API method 2016-09-02 01:27:30 -04:00
Jack
9471748f4c Bump version: 0.4.2 → 0.4.3 2016-09-01 01:35:44 -04:00
Jack Robison
920b1868bb Merge pull request #148 from lbryio/windows-setup
sign msi on appveyor, add command line to msi, remove leveldb requirement
2016-09-01 01:25:02 -04:00
Jack Robison
eed7c54aaf Merge pull request #146 from kaykurokawa/fix_lbryum_getbalance
Use new exclude_claimtrietx option in lbryum getbalance command, fix maturity use
2016-09-01 01:24:08 -04:00
Jack
f0aa31f9e8 unused import 2016-08-31 20:45:49 -04:00
Jack
aaf59218da comment out migrate0to1 import 2016-08-31 20:41:29 -04:00
Jack
0203ef66ea build windows in setup.py, drop leveldb requirement 2016-08-31 20:20:07 -04:00
Jack Robison
9c66108dc5 Merge pull request #142 from lbryio/skip-dust
skip dust transactions
2016-08-30 20:29:56 -04:00
kkurokawa
558da0a027 Using new exclude_claimtrietx option in lbryum's getbalance command. Fixing incorrect use of maturity. 2016-08-29 22:33:10 -04:00
Jack
1d39ec0317 Bump version: 0.4.1 → 0.4.2 2016-08-29 16:41:48 -04:00
Jack Robison
9ba6da1f4d set development version to false 2016-08-29 16:28:49 -04:00
Jack
1671034330 fix json bug 2016-08-29 14:33:56 -04:00
Jack
c15af0a63a Bump version: 0.4.0 → 0.4.1 2016-08-29 13:44:46 -04:00
Jack
56e2d77039 fix _send_name_claim json 2016-08-29 13:44:18 -04:00
Jack
a6619a628e flag to use development lighthouse servers 2016-08-28 05:25:48 -04:00
Jack
456572f87c Bump version: 0.3.22 → 0.4.0 2016-08-28 05:01:49 -04:00
Jack
f024b96934 allow int fee amount 2016-08-28 03:09:36 -04:00
Jack Robison
25c71bcd98 Merge pull request #140 from lbryio/reflect-blobs
reflect_all_blobs daemon command
2016-08-28 01:33:13 -04:00
Jack Robison
319e7ecc61 Merge pull request #131 from lbryio/content_type
change content-type to content_type, refactor metadata validation
2016-08-28 01:29:51 -04:00
Jack
63f81d1033 prevent a lbry files opened through the ui from making api calls 2016-08-27 23:16:48 -04:00
Jack
8895d21abf skip dust transactions 2016-08-27 02:42:20 -04:00
Jack
aa66af7ba6 fix tests 2016-08-26 20:22:11 -04:00
Jack
be3633622c whoops 2016-08-26 20:13:10 -04:00
Jack
b235f6fc6b send all blobs to reflector 2016-08-26 19:58:53 -04:00
Jack Robison
76b297b173 Merge pull request #139 from lbryio/get_all_verified_blobs
Get all verified blobs
2016-08-26 19:45:49 -04:00
Jack Robison
4e2296d5f6 Merge pull request #115 from lbryio/get-stream-timeout
raise Exception on GetStream timeout
2016-08-26 16:07:42 -04:00
Jack
80ed8d9869 Bump version: 0.3.21 → 0.3.22 2016-08-26 00:56:06 -04:00
Jack
2a2658d440 fix Access-Control-Allow-Origin problem 2016-08-26 00:50:31 -04:00
Jack
710e549c03 add get_all_verified_blobs 2016-08-26 00:32:33 -04:00
Jack
47fae977dd fix Access-Control-Allow-Origin problem 2016-08-25 23:39:05 -04:00
Jack
80837cb040 Merge branch 'master' into content_type
fix conflicts:
	lbrynet/lbrynet_daemon/LBRYPublisher.py
2016-08-25 17:59:20 -04:00
Jack
46153a8991 second shot at pylint error 2016-08-23 02:25:32 -04:00
Jack
a9fccfd4ce fix pylint error 2016-08-23 02:17:32 -04:00
Jack
eda2731702 Bump version: 0.3.20 -> 0.3.21 2016-08-23 01:59:50 -04:00
Dave-A
79384e7bf8 Merge pull request #7 from lbryio/master
Update
2016-08-22 20:02:35 -04:00
Jack
128b32c62c even less noisy logs 2016-08-22 19:56:42 -04:00
David Amrhein
c1233bd26b Make 'rb' file mode windows specific 2016-08-22 19:55:08 -04:00
David Amrhein
e23f67def6 File handle for publishing on windows needs to handle binary data as 'rb' 2016-08-22 19:24:57 -04:00
Jack
95f4b29be5 noisy log 2016-08-22 18:59:17 -04:00
Jack
5727c708cf fix get_transaction
previously get_tx_json was only in LBRYumWallet
2016-08-22 18:43:52 -04:00
Jack
e49f0f99a1 LBRYcrdWallet update claim fix
-fix log line that could raise an exception
-json encode value sent to lbrycrd-cli updateclaim
2016-08-22 16:57:22 -04:00
David Amrhein
d8cb62a92c Run win32 as systray app 2016-08-21 18:44:16 -04:00
Dave-A
aab8cc40f9 Merge pull request #6 from lbryio/master
Update from Origin
2016-08-21 14:13:59 -04:00
Jack
9c82689f65 Bump version: 0.3.19 -> 0.3.20 2016-08-21 04:04:11 -04:00
Jack Robison
ce2755467d Merge pull request #133 from sonatagreen/patch-1
spelling fix
2016-08-21 03:44:10 -04:00
Jack
80af66e852 Merge branch 'master' into reflector
# Conflicts:
#	lbrynet/core/log_support.py
2016-08-21 01:12:29 -04:00
Jack
15cfa45646 remove duplicate function 2016-08-21 00:58:25 -04:00
Jack Robison
ac63849b49 Merge pull request #132 from lbryio/fix-get-history
fix get_history in lbrycrdwallet
2016-08-21 00:07:41 -04:00
Jack Robison
02142e352b Merge pull request #127 from lbryio/disable-more-noisy-loggers
reduce logging to sub fire hazard levels
2016-08-21 00:07:19 -04:00
Jack
3d92413372 debug logging 2016-08-20 23:47:41 -04:00
Jack
5022ed2acc blob_completed before moving to next one
otherwise blob files download to the blobfiles directory, but they are
never recorded in blobs.db
2016-08-20 23:47:12 -04:00
Sonata Green
31b9d22649 spelling fix 2016-08-19 21:12:02 -05:00
Jack
7a54894015 debugging stuff 2016-08-19 02:41:23 -04:00
Jack
7100345a09 Merge branch 'master' into reflector 2016-08-18 22:42:27 -04:00
Jack
929db15214 fix get_history in lbrycrdwallet 2016-08-18 22:15:49 -04:00
Jack
d9455926c5 Merge branch 'master' into content_type 2016-08-18 21:56:55 -04:00
David Amrhein
ba5cd741e1 Testing copying instead of moving upload file to avoid access error 2016-08-18 10:45:03 -04:00
Dave-A
8c94b6243e Merge pull request #5 from lbryio/master
Update to 0.3.19
2016-08-18 10:38:07 -04:00
Jack
f6473e3383 Bump version: 0.3.18 -> 0.3.19 2016-08-18 06:41:17 -04:00
Jack Robison
3cd9d6a604 Merge pull request #129 from kimihiro64/patch-2
Proper no-cache for web-ui index.html
2016-08-18 06:39:11 -04:00
Jack
142281777e stop heartbeat looping call on shutdown 2016-08-18 06:37:57 -04:00
Jack
8e7b8af180 call blob_completed when is_validated is true 2016-08-18 06:23:27 -04:00
Jack
c046cd02d5 call blob_completed after receiving blob 2016-08-18 05:58:13 -04:00
Jack
f5508fcdf1 typo 2016-08-18 05:36:17 -04:00
Jack
adc2eab6da log request dict 2016-08-18 05:36:01 -04:00
Jack
702698d8aa stop heartbeat looping call on shutdown 2016-08-18 05:25:23 -04:00
David Amrhein
73dbe1de37 Fix relative pathing for cacert for win builds 2016-08-18 01:25:48 -04:00
kimihiro64
e7158e5a4b Fix editor spacing again 2016-08-17 23:02:38 -05:00
kimihiro64
c66df259a6 fix editor spacing 2016-08-17 23:02:00 -05:00
kimihiro64
0b8437fa12 Proper no-cache for web-ui index.html 2016-08-17 22:34:20 -05:00
Jack
a32b6ebf82 add reflect jsonrpc command 2016-08-17 21:33:41 -04:00
Jack
edbda1696e logging fire hazard 2016-08-17 20:24:48 -04:00
Jack
ece218785c reduce logging to sub fire hazard levels 2016-08-17 20:20:03 -04:00
Jack
cc1b3609a1 Merge branch 'master' into reflector
# Conflicts:
#	lbrynet/__init__.py
2016-08-17 19:01:38 -04:00
David Amrhein
90b28b3dbd Pass WindowsError when moving uploaded file 2016-08-17 14:15:55 -04:00
Jack
0f7ca8f24e move metadata and validator classes into their own directory 2016-08-17 12:28:15 -04:00
Dave-A
2fbf03d8ca Merge pull request #4 from lbryio/master
Update from lbry
2016-08-17 12:03:08 -04:00
Jack
68b8112af0 Merge branch 'master' into content_type 2016-08-17 03:04:14 -04:00
Jack
975e83a015 Bump version: 0.3.17 -> 0.3.18 2016-08-17 02:39:48 -04:00
Jack
1ddb02dbb7 speed up search
get results for get_est_cost from lighthouse instead of manually trying
unless force=True
2016-08-17 02:38:59 -04:00
Jack Robison
a5212e7741 Merge pull request #121 from lbryio/save-settings
Save settings
2016-08-17 01:34:50 -04:00
Jack Robison
1932fd72e3 Merge pull request #123 from lbryio/add-heartbeat
Add basic analytics api and heartbeat event
2016-08-17 01:34:31 -04:00
Jack Robison
c061fe091b Merge pull request #122 from lbryio/add-debug-logging
Add debug logging
2016-08-17 01:33:07 -04:00
Dave-A
b6656690ca Merge pull request #3 from lbryio/master
Update from lbry
2016-08-16 21:13:24 -04:00
David Amrhein
f28eee34e8 Merge remote-tracking branch 'origin/master' 2016-08-15 20:31:59 -04:00
Jack
e8fe1cd14d more test fixes 2016-08-15 18:39:09 -04:00
Jack
75d1fa585c fix tests 2016-08-15 18:30:14 -04:00
Jack
072ff4b02e fix tests 2016-08-15 18:13:36 -04:00
Jack
d8c4e2a72e whoops 2016-08-15 17:54:43 -04:00
Jack
66396de6a3 remove as_json and serialize 2016-08-15 17:41:38 -04:00
Jack
1ca9f575ef decorator prettiness 2016-08-15 17:07:50 -04:00
Jack
272e074a15 change content-type to content_type, make changing metadata easier 2016-08-14 01:00:49 -04:00
Job Evers
9a738c3783 Add basic analytics api and heartbeat event 2016-08-12 13:37:26 -05:00
Jack
6b4519e959 squelch very verbose dht error log 2016-08-12 10:46:05 -05:00
Job Evers-Meltzer
9b1d5213a6 improve logging 2016-08-12 10:44:37 -05:00
Job Evers-Meltzer
f9ed9a4505 fixup logging some more 2016-08-12 10:42:31 -05:00
Job Evers-Meltzer
3ed7ce5630 Ensure settings are actually committed
Without committing or closing the db, settings were not being saved.

Also, adds a run_in_thread decorator to simplify the code.
2016-08-12 10:08:21 -05:00
Job Evers
63cd8343c4 replace callLater with deferLater 2016-08-11 13:41:42 -05:00
Jack
2d5f8aed24 whitespace 2016-08-11 12:38:10 -04:00
Jack
b8d23d0965 add announce_all_blobs_to_dht 2016-08-11 12:36:13 -04:00
Job Evers-Meltzer
f4ef92e653 fixup logging some more 2016-08-11 05:37:45 +00:00
Job Evers-Meltzer
c7430f4ae9 better more logging on the server side 2016-08-11 05:25:45 +00:00
Job Evers-Meltzer
623fda3087 improve logging 2016-08-11 05:16:50 +00:00
Job Evers-Meltzer
80f27f2b29 Revert "more logging on the server side"
This reverts commit f83daa5a22.
2016-08-11 05:11:18 +00:00
Jack
defbd73b4f squelch very verbose dht error log 2016-08-11 01:07:51 -04:00
Jack
5285982515 resolve reflector ip 2016-08-11 01:07:51 -04:00
Job Evers-Meltzer
f83daa5a22 more logging on the server side 2016-08-11 04:45:25 +00:00
Job Evers-Meltzer
0a07c8f131 log on closed/lost connection 2016-08-10 19:39:28 -05:00
Job Evers-Meltzer
35481a92f5 actually cleanup patched time.time 2016-08-10 19:36:52 -05:00
Job Evers-Meltzer
0995d864e8 connectTCP wants an ip address, not a url 2016-08-10 19:09:20 -05:00
Job Evers-Meltzer
1a42e43573 log all the things 2016-08-10 19:06:26 -05:00
Jack
132aa569fe move run_reflector_server into settings file and add debug lines 2016-08-10 16:51:46 -04:00
Job Evers-Meltzer
d172d43ddf add reflector functional test to travis 2016-08-10 08:29:44 -05:00
Job Evers-Meltzer
67909724e7 fix up import paths 2016-08-10 07:44:41 -05:00
Jack
1c88cbc5f6 Merge branch 'master' into reflector 2016-08-10 02:31:28 -04:00
Jack
3fb4831804 raise exception when curr_pos > 100 and json fails to decode 2016-08-10 02:30:41 -04:00
Jack
b65570fb16 drop connection on response longer than 100 bytes that can't' be decoded 2016-08-09 19:53:13 -04:00
Jack
ff31ddd2d5 Bump version: 0.3.16 -> 0.3.17 2016-08-09 14:40:18 -04:00
Jack
e9f5b43785 fix exceptions 2016-08-09 14:29:59 -04:00
Jack
36b41081ab Bump version: 0.3.15 -> 0.3.16 2016-08-09 12:41:11 -04:00
Jack
0733d885fb start reflector upload in publish 2016-08-09 12:26:34 -04:00
Jack
ef6fe3d1d9 add variable to enable running reflector server 2016-08-09 12:18:46 -04:00
Jack
82a4fea81a fix log statement 2016-08-09 12:12:40 -04:00
Jack
14a0252819 hooking up reflector plumbing 2016-08-09 12:07:26 -04:00
Jack
c9d88f5628 Bump version: 0.3.14 -> 0.3.15 2016-08-09 03:29:51 -04:00
Jack
6a1a9ef6bc encode claim id to be shown in log 2016-08-09 03:25:20 -04:00
Jack
ef1c059079 clean up log line 2016-08-09 03:18:44 -04:00
Jack
a05ab37373 Merge branch 'master' into update-claim
# Conflicts:
#	lbrynet/lbrynet_daemon/LBRYDaemon.py
2016-08-09 03:09:06 -04:00
Jack
7ea88cfd22 crudely fix loggly import problem 2016-08-09 03:01:33 -04:00
Jack Robison
8d14fe6a90 Merge pull request #113 from lbryio/log-to-loggly
Log to loggly
2016-08-09 02:30:55 -04:00
Jack
b6da1d7769 decode and reverse claim id for updateclaim in lbryum 2016-08-09 01:26:55 -04:00
Jimmy Kiselak
7e2ad58edd get reflector client and server working; add func test to prove it 2016-08-09 00:59:50 -04:00
Jack
b7052bba95 rename variable 2016-08-08 21:34:05 -04:00
Jack
4a5618bcc4 get update claim working with lbryumwallet 2016-08-08 21:32:39 -04:00
Job Evers-Meltzer
c1850fe604 raise Exception on GetStream timeout 2016-08-08 16:26:33 -05:00
Job Evers-Meltzer
fccdf32c9f Remove all unused imports; add check to pylint 2016-08-08 15:42:35 -05:00
Jack
c474411e1b delete bad records that got into name_metadata 2016-08-08 16:35:55 -04:00
Job Evers-Meltzer
9033eac5b1 Remove commented code 2016-08-08 15:07:25 -05:00
Job Evers-Meltzer
0ba0426591 Refactor lbrycrdd path function for osx 2016-08-08 15:06:48 -05:00
Job Evers-Meltzer
9a9b540701 Move some ServerRequestHandling logging to debug level 2016-08-08 15:04:50 -05:00
Job Evers-Meltzer
b8ddbb9a26 Add loggly logger
It configured twice, once right at startup without the lbry id and then
after the settings database is available it gets reconfigured with the
lbry id and a session id.
2016-08-08 15:02:36 -05:00
Job Evers-Meltzer
bc3c2b96ed disable noisy loggers 2016-08-08 14:59:30 -05:00
Job Evers-Meltzer
622dc87d84 Remove log handlers with the same name
Also renames functions to follow underscore convention
2016-08-08 14:57:49 -05:00
Jack
18edbdf404 squelch resolve_name logging 2016-08-08 14:58:31 -04:00
Jack
6fe878bdb9 make load_from_hex a class method 2016-08-08 03:18:32 -04:00
Jack
505ece9e36 add txid param to get_claim_info and update todo note 2016-08-08 02:37:08 -04:00
Jack
72acfa1e0c add support_claim 2016-08-08 02:32:56 -04:00
Jack
02cd8b9a44 fix callback 2016-08-08 02:08:09 -04:00
Jack
f32250f431 whoops 2016-08-08 01:54:41 -04:00
Jack
1523cad044 refactor get_claim_info 2016-08-08 01:46:19 -04:00
Jack
ed55353700 bug fix 2016-08-08 01:43:28 -04:00
Jack
8d3bd45102 get_claims_for_name daemon function 2016-08-08 01:43:10 -04:00
Jack
f69753f6a0 add get_claims_for_name 2016-08-08 01:42:37 -04:00
Jimmy Kiselak
b7e2e87ac1 fill in much of the skeleton for the reflector protocol 2016-08-07 22:33:40 -04:00
Jack
3b98508986 clean up claim_name function 2016-08-07 16:13:47 -04:00
Jack
36ebfc42d9 update from master 2016-08-06 21:44:14 -04:00
Jack
ae5f55ff65 Bump version: 0.3.13 -> 0.3.14 2016-08-06 20:07:28 -04:00
Jack
66ae865de0 don't make new lbry file if publish is given a full metadata dict, remove update_claim() 2016-08-06 20:02:51 -04:00
Job Evers-Meltzer
8c50f08fec refactor _start_download 2016-08-05 11:37:24 -05:00
Job Evers-Meltzer
e69de47daf refactor wait_on_write stopping condition 2016-08-05 11:37:24 -05:00
Job Evers-Meltzer
acef10e848 fix merge oversight 2016-08-05 11:37:24 -05:00
Job Evers
edb9d50d9e fix typo in docstring 2016-08-05 11:37:24 -05:00
Job Evers
b989d4f6be Bug fix: correct the check on wait_or_get_stream
I reversed the check on lbry_file. Compare to the original code:
e67f55bd74/lbrynet/lbrynet_daemon/LBRYDaemon.py (L1119)
2016-08-05 11:37:24 -05:00
Job Evers
84dd5c0eca Revert "revert get() refactor"
This reverts commit 5eb7c64ec3.
2016-08-05 11:37:24 -05:00
Job Evers-Meltzer
db8daf20b7 quiet noisy log statement 2016-08-05 05:50:24 -05:00
Jack
cb985b5a03 log conditions of lbry_file failing to start 2016-08-04 23:27:44 -04:00
Jack
28c4e38272 make line neater 2016-08-04 23:27:25 -04:00
Jack
b29377dc2b keep claim id history 2016-08-04 23:27:10 -04:00
Jack
ca09592a72 make logs easier to scroll through 2016-08-04 23:10:15 -04:00
Jack
b0e14fae43 update over existing claim in publish() 2016-08-04 23:08:54 -04:00
Jack
dfa68f126b get update_name in lbrycrdwallet working 2016-08-04 20:43:39 -04:00
Jack
4570f68727 add claim_id to lbry_file and to get_claim_info 2016-08-04 18:44:12 -04:00
Jack
4705acba55 use lbryum updateclaim 2016-08-04 02:22:10 -04:00
Jimmy Kiselak
1dea20a358 include sd blob hashes in list of blob hashes to send via reflector 2016-08-03 23:11:29 -04:00
Jimmy Kiselak
191f661b35 skeleton for reflector protocol 2016-08-03 23:03:14 -04:00
Jack
f3ab38ba8f Bump version: 0.3.12 -> 0.3.13 2016-08-03 18:01:18 -04:00
Jack
f68fd96555 break out sd timeout into a variable 2016-08-03 17:57:26 -04:00
Jack
fc50a3242f add note about request.notifyFinish 2016-08-03 17:49:13 -04:00
Jack
64e9ce2bfa comments about the upnp redirects 2016-08-03 17:44:41 -04:00
Jack
e8d04b1921 specify a lighthouse server 2016-08-03 17:44:32 -04:00
Jack
9fedf14e55 request.notifyFinish 2016-08-03 12:46:46 -04:00
David Amrhein
7d535ef7d1 Make ca_path checks for frozen windows only 2016-08-03 10:16:14 -04:00
Jack
85d610bcdf add get_peers_for_hash 2016-08-03 03:16:06 -04:00
Jack
3af8b7bd0c use upnp redirects if they're already set 2016-08-03 01:27:40 -04:00
Jack
6215d85581 add LighthouseClient, announce sd hash after publishing 2016-08-02 18:34:48 -04:00
Jack
308d9f5abd add todo 2016-08-02 17:33:57 -04:00
Jack
bcfabba038 fast search
use cost from lighthouse
2016-08-02 16:45:06 -04:00
Jack
69139b1987 already called error 2016-08-02 16:03:47 -04:00
Jack
3f8f9d9d73 add timeout to download_sd_blob 2016-08-02 02:54:04 -04:00
Jack
2283579109 reorganize download_descriptor 2016-08-01 23:15:32 -04:00
Jack
1e0af94ba2 add download_descriptor 2016-08-01 22:31:49 -04:00
David Amrhein
cca2a57c69 Set cacert environ path for windows distribution 2016-07-30 22:52:49 -04:00
David Amrhein
3f95c1a9d5 Skip db migration in windows 2016-07-30 17:09:38 -04:00
David Amrhein
7bd05e9b16 Handle creation of settings directory in windows 2016-07-30 17:09:15 -04:00
Jack
bbf7940e45 Bump version: 0.3.11 -> 0.3.12 2016-07-29 23:44:04 -04:00
Jack
1ffcd67c9d specify exception 2016-07-29 23:05:01 -04:00
Jack
cf8592ba12 docstring and todo 2016-07-29 22:49:50 -04:00
Jack
1e1d036590 clean log line 2016-07-29 22:44:38 -04:00
Jack
64afb6d305 clean up get_est_costs in search 2016-07-29 22:43:50 -04:00
Jack
20a9e018f7 revert updates to git 2016-07-29 22:36:30 -04:00
Jack
a574c33ac6 multiple search servers 2016-07-29 21:37:44 -04:00
Jack
d21e458fe1 remove debug line 2016-07-29 02:42:58 -04:00
Jack
bb3ba53c6e fix search results 2016-07-28 22:39:34 -04:00
Jack
ba2e4df76b remove debug stuff 2016-07-28 21:31:19 -04:00
Jack
33e7e4bee3 fancy search 2016-07-28 21:25:37 -04:00
Jack
b83dce2cb3 no tricky characters 2016-07-28 18:48:29 -04:00
Jack
6821676853 handle decimals in jsonrpc return 2016-07-28 18:12:54 -04:00
Jack
52024986ee derp 2016-07-28 16:32:59 -04:00
Jack
2e3342d20d fix test 2016-07-28 16:27:16 -04:00
Jack
419aa1d78f fix est data cost / search 2016-07-28 16:12:20 -04:00
Jack
de4ddd578f improve readability of metadata and fee requirements 2016-07-28 15:24:20 -04:00
Jack
5dd68a7ed4 add get_claim_info, clean up _get_stream_info_from_value 2016-07-28 14:55:17 -04:00
Jack
881168dc7a fix too many args 2016-07-28 13:16:33 -04:00
Job Evers-Meltzer
295e427abe bug fix: check if fee is in metadata before loading 2016-07-28 12:04:25 -05:00
Job Evers
67c5d15f51 stupid typo 2016-07-28 11:46:33 -05:00
Job Evers
39a7f37f35 muck with pending_claims... still not sure this is correct 2016-07-28 11:43:47 -05:00
Job Evers
15d276b0bc fix case where to and from currencies are the same 2016-07-28 11:43:20 -05:00
Jack
4387025c48 another still 2016-07-28 06:07:33 -04:00
Jack
52c20f02c7 one more 2016-07-28 06:03:47 -04:00
Jack
413dab8094 whoops 2016-07-28 05:59:10 -04:00
Jack
6b1d11a04d fix rate in test 2016-07-28 05:53:31 -04:00
Jack
5441379f38 fix LBRYExchangeRateManager test 2016-07-28 05:49:31 -04:00
Jack
52d954c64e don't spam the market apis 2016-07-28 05:34:20 -04:00
Jack
415495fc16 LBRYExchangeRateManager 2016-07-28 05:30:13 -04:00
Jack
12b2bbfa26 make sure claimed ver is true 2016-07-28 02:36:07 -04:00
Jack
4ade80c8a9 clean up metadata and fee 2016-07-28 02:19:45 -04:00
Jack
9674381fc2 Merge remote-tracking branch 'origin/metadata-version-avec-tests' into metadata-version 2016-07-27 20:18:00 -04:00
Jack
f6d91280d7 remove debug print line 2016-07-27 15:03:03 -04:00
Jack
e4ebbd8f69 neater force param in resolve_name 2016-07-27 15:02:54 -04:00
Jack
7f5560de6d comment spacing and removing setLevel 2016-07-27 15:02:19 -04:00
Job Evers-Meltzer
0925171e07 bug fix: use txid attribute, not key 2016-07-27 13:59:26 -05:00
Job Evers-Meltzer
900d3ad01d Fixes errback not being callable
Small code refactoring to make it more obvious what
both the callback and errback are doing
2016-07-27 13:12:20 -05:00
Job Evers-Meltzer
0f602e0e62 allow bittrex fee to be changed 2016-07-27 11:59:57 -05:00
Jack
3a425fc47d Merge branch 'master' into metadata-version 2016-07-27 05:07:23 -04:00
Jack
36722cbbd8 Bump version: 0.3.10 -> 0.3.11 2016-07-27 03:58:25 -04:00
Jack
9572336e96 Merge branch 'master' into metadata-version
# Conflicts:
#	lbrynet/core/utils.py
#	lbrynet/lbrynet_daemon/LBRYDaemon.py
2016-07-27 03:54:10 -04:00
Jack
4895cde474 fix conflicts 2016-07-27 03:48:32 -04:00
Jack Robison
21ca1a73cf Merge pull request #100 from lbryio/change-ui-location
web-ui files are on S3 now
2016-07-27 03:44:28 -04:00
Jack Robison
457c1c6ae6 Merge pull request #101 from lbryio/version-cmp
Properly Compare Version Strings
2016-07-27 03:43:13 -04:00
Jack Robison
c1ff127101 Merge pull request #102 from lbryio/log-configure
Fix: Log configuration should not happen when a module is imported
2016-07-27 03:42:51 -04:00
Jack
5e815a5832 merge master 2016-07-27 03:22:03 -04:00
Jack
4604e9cd54 check pending claims after one is made 2016-07-27 03:00:44 -04:00
Jack
ef580a7680 errback for pending of date lbry_file 2016-07-27 01:51:09 -04:00
Jack
2102776be8 another errback 2016-07-27 01:44:01 -04:00
Jack
f3af7a6b77 add errback for unknown name 2016-07-27 01:39:23 -04:00
Jack
5abeceac1f abandon previous claim in update 2016-07-27 01:13:41 -04:00
Jack
22f73a0817 add force parameter to resolve_name 2016-07-26 21:46:04 -04:00
Jack
29b5aef73a call restore() after claiming name 2016-07-26 21:24:58 -04:00
Jack
3e602bce52 fix publish callback 2016-07-26 20:58:37 -04:00
Jack
fe39901885 update claim when publishing to an already claimed name
-also save name_metadata for each unique claim rather than for each name
2016-07-26 20:52:05 -04:00
Jack
ee9e8b365c add debug log line 2016-07-26 18:42:51 -04:00
Jack
bd6fa35d4a disable verbose dht error 2016-07-26 18:19:40 -04:00
Jack
5e1fdf66b0 fix download problem 2016-07-26 18:18:34 -04:00
Jack
d86e709b90 reduce min blob prices 2016-07-26 17:24:59 -04:00
Jack
f82cffe882 verbose logging 2016-07-26 17:21:41 -04:00
Jack
3d88eb92c1 change default max fee to $25 2016-07-26 17:21:03 -04:00
Jack
0811ebb52d fix key payment problems 2016-07-26 17:20:51 -04:00
Jack
491d431ea5 remove price updater from daemon 2016-07-26 17:19:26 -04:00
Job Evers‐Meltzer
ceeebebcad Merge pull request #106 from lbryio/no-blobs-in-logs
Have TimeoutError hexlify blobs
2016-07-26 14:57:30 -05:00
Job Evers‐Meltzer
04d766aba7 Merge pull request #105 from lbryio/bug-fixes
misc bug fixes and code cleanup
2016-07-26 14:56:50 -05:00
Job Evers‐Meltzer
3b431e180e Merge pull request #98 from lbryio/log-cleanup
Remove datetime.now() from log statements
2016-07-26 14:54:36 -05:00
Job Evers
a2eab1577d Have TimeoutError hexlify blobs 2016-07-26 13:54:46 -05:00
Job Evers-Meltzer
f8dd3d05dc misc bug fixes and code cleanup 2016-07-26 12:24:25 -05:00
Job Evers-Meltzer
93993e62d6 Fix: Log configuration should not happen when a module is imported
Instead, move the responsibility to the main program. Also,
each module had the same, redundant setup.
2016-07-26 12:01:03 -05:00
Job Evers
4a1e846958 Remove print line
This line is responsible for flooding the console with messages like
<_io.BytesIO object at 0x7f9e286e52f0>
2016-07-26 11:34:13 -05:00
Jack
9e8827f015 resolve name bug 2016-07-25 23:46:18 -04:00
Jack
ca45f461ae spelling 2016-07-25 23:42:03 -04:00
Jack
7e5af11c2d fix key fee payment problem 2016-07-25 23:41:26 -04:00
Jack
102436274f USD denominated max_key_fee in settings 2016-07-25 22:46:04 -04:00
Jack
49c26a76b4 remove fee checking from autofetcher script 2016-07-25 22:28:01 -04:00
Jack
a5374cb876 fix currencies and LBRYFeeFormat 2016-07-25 22:17:31 -04:00
Jack
a53e911a0c stop looping call when stop() is called 2016-07-25 21:48:39 -04:00
Jack
c4a78a149b LBRYFee things
-move exchange rate updates to wallet, do them every half hour
-add convention checker for fees
-pay BTC or USD denominated key fees in converted LBC amount
2016-07-25 21:45:42 -04:00
Job Evers-Meltzer
3814912adf Move to core.utils and expand to check lbryum too 2016-07-25 16:09:13 -05:00
Job Evers-Meltzer
d0bc383a79 bug fix: version comparison is not lexographic.
Use distutils.version to compare version strings.
2016-07-25 12:25:10 -05:00
Job Evers-Meltzer
ea5d31b530 OCD: alphabetize and group imports
I'm not the only one:
https://google.github.io/styleguide/pyguide.html?showone=Imports_formatting#Imports_formatting
2016-07-25 12:19:19 -05:00
Job Evers
ed393eb75c Updates the deployment process and the version check associated with it
This commit supports steps 1 and 2 in the new workflow:
1. Change the logic in the daemon to check the github api for the latest release that is not a pre release
2. Change travis to mark all releases as pre release
3. When we are ready to stage a release we push a tag to master. Travis builds the packages and releases them
4. We manually check them
5. Remove the pre release mark when we are happy
2016-07-25 11:13:47 -05:00
Jack
2e2d309d38 BTC/USD denominated fees, metadata revisions 2016-07-25 01:40:26 -04:00
Jack
6bfb33adb2 fix version comparison 2016-07-24 22:03:32 -04:00
Job Evers-Meltzer
05138e1db1 web-ui files are on S3 now 2016-07-22 10:58:37 -05:00
Jack
b65402db41 debug line 2016-07-21 16:47:47 -04:00
Jack
fbef187400 Merge branch 'master' into metadata-version
# Conflicts:
#	lbrynet/conf.py
#	lbrynet/lbrynet_daemon/LBRYDaemon.py
2016-07-21 16:45:41 -04:00
Jack
25d1b8b9e5 move towards better fees and metadata 2016-07-21 16:11:14 -04:00
Job Evers
ec91594083 Remove datetime.now() from log statements 2016-07-21 10:41:26 -05:00
Jack
e67f55bd74 disable debug logging 2016-07-20 22:40:55 -04:00
Jack Robison
276a7f9d2a Merge pull request #92 from lbryio/file-uploads
Add support for file uploads (for Publish page)
2016-07-20 22:37:08 -04:00
Jack
4888d7a567 Bump version: 0.3.9 -> 0.3.10 2016-07-20 22:34:16 -04:00
Jack
4311b218fb fix auto_connect 2016-07-20 22:13:22 -04:00
Jack
89892042dd remove unused line 2016-07-20 20:57:05 -04:00
Jack
a22dfb3864 cleaner logging
from https://github.com/lbryio/lbry/pull/94
2016-07-20 20:56:56 -04:00
Jack
f40c42dcf0 Merge branch 'master' into lbryum-catchup 2016-07-20 20:38:42 -04:00
Jack
1d31aa9da3 Bump version: 0.3.8 -> 0.3.9 2016-07-20 20:34:41 -04:00
Jack
f999073fb4 revert download refactor
to be re-merged after fixes
2016-07-20 20:34:02 -04:00
Jack
5eb7c64ec3 revert get() refactor 2016-07-20 20:30:57 -04:00
Jack
7e79818555 Revert "Merge branch 'master' into lbryum-catchup"
This reverts commit a51576b250, reversing
changes made to 0bee2689d1.
2016-07-20 20:24:49 -04:00
Jack
a51576b250 Merge branch 'master' into lbryum-catchup 2016-07-20 20:17:08 -04:00
Jack
0bee2689d1 download fixes 2016-07-20 20:17:01 -04:00
Jack
c232743963 fix LBRYumWallet._do_send_many 2016-07-20 20:13:44 -04:00
Jack
8e8e186de9 Merge branch 'master' into lbryum-catchup 2016-07-20 19:29:11 -04:00
Jack
55f47a2b1b lbryum catchup 2016-07-20 17:32:15 -04:00
Job Evers-Meltzer
5c27b9eb90 use asctime in logging format
Instead of manually adding datetime.now() use
asctime formatter to do it for us.
2016-07-20 07:21:12 -05:00
Job Evers‐Meltzer
34b8841f5c Merge pull request #73 from lbryio/refactor-dl-name
Refactor jsonrpc_get, _download_name, _resolve_name
2016-07-20 07:07:02 -05:00
Alex Liebowitz
a54166a27c Add support for file uploads (for Publish page) 2016-07-20 02:36:55 -04:00
Job Evers
4adec39dce Bump version: 0.3.7 -> 0.3.8 2016-07-18 16:00:52 -05:00
Job Evers-Meltzer
78b4b3ffa8 revert default wallet back to lbryum 2016-07-18 11:30:21 -05:00
Job Evers-Meltzer
5ebcc01bcc Bump version: 0.3.6 -> 0.3.7 2016-07-17 14:10:11 -05:00
Job Evers-Meltzer
8ec10e2304 emergency fix: force lbrycrd to be the default wallet
Ignore save settings for wallet type and use the default wallet (lbrycrd)
instead.  lbryum can be used but only if specified on the command line.
2016-07-17 13:45:26 -05:00
Job Evers-Meltzer
172f275bc7 Refactor _resolve_name.
Continue using the delegation/helper pattern for the daemon.
2016-07-16 09:24:27 -05:00
Jack
2dcd2b13be add LBRYMetadata.py 2016-07-15 14:09:43 -04:00
Job Evers-Meltzer
a15d7ca543 Refactor _download_name
Nested functions are the devil, especially ones that
use variables from the outer scope. Refactoring
_download_name to use a helper class helps make
the scoping more explicit and will undoubtably
prevent bugs in the future.

I think this makes _download_name drastically more readable.

Also cleaned up some duplicated code and
made download_directory respect the passed in parameter
instead of being the default.
2016-07-15 12:42:26 -05:00
Job Evers-Meltzer
a90029ec50 update doc string 2016-07-15 11:37:04 -05:00
Job Evers-Meltzer
563896b126 fix bug in reveal code 2016-07-15 11:33:38 -05:00
Job Evers-Meltzer
5aecd02668 Refactor jsonrpc_get.
Move parameter handling into its own function and
better use the `.get()` function for dictionaries.

Early return on the failed checks is more readable.

The lambda function in the callback was long and
hard to read so moved it out.
2016-07-15 11:32:46 -05:00
Job Evers‐Meltzer
842dd90780 Merge pull request #66 from lbryio/add-tests-blob-handler
add tests for BlobRequestHandler and run on travis
2016-07-14 09:33:06 -05:00
kimihiro64
ee71a03f96 Revert to 2 params as isinstance cannot support 3+ (#69)
* Revert to 2 params as isinstance cannot support 3+

* Use basestring for maximum efficiency
2016-07-13 22:44:02 -05:00
Jack
5221631b40 Bump version: 0.3.5 -> 0.3.6 2016-07-12 17:30:58 -04:00
Jack
404412a950 return publish error message 2016-07-11 21:57:34 -04:00
Job Evers-Meltzer
53bf1fe4fd add send_blob tests 2016-07-10 21:56:00 -05:00
Jack
5c05daa007 update import to new file name 2016-07-10 22:21:50 -04:00
Jack
1b53e8e98c re-enable lbryum 2016-07-09 13:31:07 -04:00
Jack
b727bd20c8 version bump 2016-07-06 22:48:38 -04:00
Jack
5a703c116f linux lbrycrdd path 2016-07-06 22:46:59 -04:00
Alex Liebowitz
c58fc0781c Call xdg-open properly in jsonrpc_reveal() 2016-07-06 15:57:00 -04:00
Jack
03c02ff74f lbrycrdd path wierdness 2016-07-06 03:37:31 -04:00
Jack
9277c3c674 add help for when things go wrong 2016-07-06 03:02:55 -04:00
Jack
34b1259dc6 move check for if daemon is running to inside of function 2016-07-06 02:20:18 -04:00
Jack
257e38de12 add command line wrapper for lbrynet-daemon calls 2016-07-06 02:17:38 -04:00
Jack
1984132eae add update_available keys to version()
as to not require making the version string comparison in whatever is
making the daemon call
2016-07-06 01:46:49 -04:00
Jack
8b1d75ea98 check every 30 minutes for a new ui version
-previously the check for a new ui version was only at startup, which
resulted in bugs persisting after they’d been fixed

-add option to skip requirements check

-try to load an existing ui if it can’t be obtained from github
2016-07-06 01:27:25 -04:00
Alex Grintsvayg
8336930091 Bump version: 0.3.2 → 0.3.3 2016-07-05 15:20:35 -04:00
Alex Grintsvayg
d875325cee better non-root fix, restore version var 2016-07-05 15:20:30 -04:00
Alex Grintsvayg
f1c5d1cb23 Bump version: 0.3.1 → 0.3.2 2016-07-05 14:30:35 -04:00
Alex Grintsvayg
b55752e715 add bumpversion script 2016-07-05 14:29:24 -04:00
Jack
4c2ab23c1f write to the file that's supposed to be written to 2016-07-04 20:19:04 -04:00
Jack
0a3f81e364 fix download directory not existing problem 2016-07-04 20:02:38 -04:00
Jack
cca4331ac4 create lbrycrddpath.conf if it doesnt exist 2016-07-04 19:34:51 -04:00
Job Evers-Meltzer
794f2d8576 version bump: 0.3.0.2 2016-07-04 16:51:29 -05:00
Alex Liebowitz
e35dce530a Set default download dir to ~/Downloads on Linux 2016-07-04 17:49:48 -04:00
Job Evers-Meltzer
6034bd3cb2 version bump: 0.3.0.1 2016-07-04 15:47:12 -05:00
Job Evers‐Meltzer
42c77bbb67 Merge pull request #51 from lbryio/restart-lbrycrd
add a more useful exception if auth fails on lbrycrd
2016-07-04 15:45:44 -05:00
Job Evers‐Meltzer
d504c8f4a3 Merge pull request #50 from lbryio/lbrycrd-in-bundle
Add lbrycrd to app bundle on macos
2016-07-04 15:42:24 -05:00
Job Evers-Meltzer
976c8b3ce0 add a more useful exception if auth fails on lbrycrd 2016-07-04 15:40:52 -05:00
Job Evers-Meltzer
16f48d0400 Add lbrycrd to app bundle on macos 2016-07-04 15:18:08 -05:00
Alex Liebowitz
6d7608d851 Create lbrycrd.conf if needed 2016-07-04 16:16:34 -04:00
Jack
7b9e3aace9 use lbrycrd 2016-07-04 05:43:26 -04:00
Jack
568737e123 change lbryum version constant name 2016-07-04 05:15:53 -04:00
Jack
808e3ea6e3 rename LBRYcrdWallet.py to LBRYWallet.py and change default wallet to lbrycrd 2016-07-04 04:57:30 -04:00
Jack
1cedd8ee5b update name 2016-07-01 03:16:08 -04:00
Jack
b80fe24179 tanstaafl 2016-07-01 02:55:20 -04:00
Jack
3cea41a854 remove lbrynet_gui 2016-07-01 02:42:34 -04:00
Jack
62b80c13cc version bump 2016-06-30 01:26:33 -04:00
Jack
08b612575c update_claim fix and clean up publish keys
-replace ‘value’ key with ‘metadata’

-update claim metadata in db when an update is published
2016-06-28 23:20:28 -04:00
Jack
b3b804bf2d add update_name 2016-06-28 14:28:59 -04:00
Jack
09d8a86e30 rename variable 2016-06-28 02:06:04 -04:00
Jack
cc5d917c72 download fix 2016-06-28 01:51:05 -04:00
Jack
7cc3e9d5ef publish updates
-adds a base set of metadata fields required for results to be rendered
in conf.py, including language and content-type

-dont support old style claims on the new blockchain
2016-06-27 17:07:59 -04:00
Jack
f89486f5fe port and import name 2016-06-24 13:12:27 -04:00
Jack
761e4f2718 change variable name to lbrynet_log 2016-06-07 04:30:22 -04:00
Jack
3441dd4d2d don't mess with logging 2016-06-07 04:19:51 -04:00
Jack
a0f823910c delete accidentally committed file 2016-06-07 03:16:22 -04:00
Jack
755338ded0 import logging.handlers 2016-06-07 03:08:32 -04:00
Jack
ecd85a53a1 ui dir for linux 2016-06-07 01:20:44 -04:00
Jack
8faa0d9e01 update lbryum log path 2016-06-06 15:24:29 -04:00
Jack
20ca2eac37 lbryum logging in lbryum.log, add to upload_log() 2016-06-04 17:05:14 -04:00
Jack
85b56247a3 merge add-tests-to-travis updates 2016-06-04 15:11:51 -04:00
Jack
febc66fb02 missing keyword args for travis 2016-06-04 15:03:16 -04:00
Jack
3f929aee3c merge travis fixes 2016-06-04 14:28:32 -04:00
Jack
8c46dd194d save command line wallet choice to config 2016-06-04 14:18:58 -04:00
Jack
a9f99d05b9 add more known dht nodes
also fix migrator bug
2016-06-03 20:20:16 -04:00
Jack
e224c33817 add mime_type to get_lbry_file 2016-06-03 03:45:46 -04:00
Jack
36787eeeeb default value 2016-06-01 21:05:38 -04:00
Jack
104cafedb0 --wallet fix 2016-06-01 20:52:15 -04:00
Jack
f50c98e10d revert import
see if this helps travis
2016-05-31 17:45:04 -04:00
Jack
a4a5d63da7 fix update settings problem
also move log upload url constant to conf.py
2016-05-31 17:38:00 -04:00
Jack
9f0f9e0928 Merge remote-tracking branch 'origin/better_log_names' into add-tests-to-travis 2016-05-30 17:09:39 -04:00
Jack
2026024c8a updates from development 2016-05-30 15:49:25 -04:00
Jack
3d56baddd7 fix import error 2016-05-30 15:44:31 -04:00
Jack
c10e7b2b41 fix import 2016-05-30 15:39:27 -04:00
Jack
ba605e985a no shell=True 2016-05-30 04:40:58 -04:00
Jack
4cd1cdf495 escape spaces in paths given to reveal() 2016-05-30 04:37:34 -04:00
Jack
f9c644b964 fix switching between --branch and --ui 2016-05-30 04:00:47 -04:00
Jack
da68bcf952 third time's the charm 2016-05-30 03:14:59 -04:00
Jack
2c3b625b6b change full_path to path 2016-05-30 02:56:08 -04:00
Jack
16ef259ae1 add full_path to lbry_file 2016-05-30 02:53:36 -04:00
Jack
c56b3e75ea add download_directory to lbry_file 2016-05-30 02:42:33 -04:00
Jack
772866389f ui manager fixes
load a ui when it’s supposed to be loaded
2016-05-30 02:36:13 -04:00
Jack
41f8b5aee2 add reveal() function and delete_target_file param for delete_lbry_file 2016-05-30 02:05:16 -04:00
Jack
75052fc773 remove check_for_new_version vestige 2016-05-30 00:10:43 -04:00
Jack
e7a580fd3a add lbry_ui_manager 2016-05-29 23:18:30 -04:00
Jack
8922fd6dde add startup scripts
-populate blockchainname.db on first run from older version
2016-05-25 22:28:45 -04:00
Jack
eb0dd827b1 delete old unused app and move uri handler to lbry-osx-app 2016-05-24 17:54:44 -04:00
Jack
7fca1f865d update from master 2016-05-24 17:50:01 -04:00
Alex Grintsvayg
7a97a28e00 fix lbry icon 2016-05-22 23:48:51 -04:00
Alex Grintsvayg
f48c1562f3 better log names 2016-05-20 19:59:49 -04:00
Jack
be96c77467 add set_miner and get_miner_status
set_miner takes parameter key ‘run’, which is True or False
2016-05-14 17:57:34 -04:00
Jack
b5e8aec548 fix --wallet=lbrycrd 2016-05-14 17:36:30 -04:00
Jack
278c7dc836 have get() wait for file to have written data before returning by default
controlled by wait_for_write parameter
2016-05-13 19:35:38 -04:00
Jack
1425ad87ab fix get_lbry_file problem 2016-05-11 04:44:23 -04:00
Jack
f985a2a8ad add waiting_for_credits startup code 2016-05-11 02:47:33 -04:00
Jack
20f423a2fc bump version 2016-05-11 02:08:13 -04:00
Jack
210c1215d6 add metadata to lbry_file 2016-05-11 01:48:23 -04:00
Jack
1c507393a9 fix problem with getting a stream where the file has been deleted 2016-05-10 21:01:53 -04:00
Jack
b04cfdc091 load uri and txid when stream is started 2016-05-10 20:47:35 -04:00
Jack
42a3006f6e add claim txid and uri to lbry_file 2016-05-10 19:03:18 -04:00
Jack
8bd6fb5b4e clean up uri handler
clean up work arounds from when ui didn’t do loading nicely
2016-05-06 17:20:03 -04:00
Jack
bb2fb92b0e have uri handler fail silently to prevent misleading error
otherwise first run produced an error while it was downloading the
headers if the app was started by going to lbry://lbry
2016-05-06 16:59:23 -04:00
Jack
10b016312d get rid of Xcode tools and git requirement 2016-05-06 16:16:09 -04:00
Jack
b4500a2914 get rid of git HEAD stuff 2016-05-06 15:51:59 -04:00
Jack
da9b1b3f58 merge conflicts 2016-05-06 15:42:21 -04:00
Alex Grintsvayg
da31520465 use github api instead of git 2016-05-06 15:34:41 -04:00
Jack
f3d3a0e57f Don't show 0 while downloading headers from amazon, fix uri handler 2016-05-06 14:31:44 -04:00
Jack
e32853744a better loading message 2016-05-05 22:26:25 -04:00
Jack
b017b63745 status code for previously downloaded file
also fix return for files downloaded manually with stream_info
2016-05-05 21:45:25 -04:00
Jack
29d6d824fc write cryptsd files to data dir instead of cwd 2016-05-05 19:16:36 -04:00
Jack
d6983a25b0 fix metadata problem in downloader and publisher 2016-05-04 23:40:05 -04:00
Jack
4cab6726b0 log to file from publisher
also fix sd_hash exception that could happen
2016-05-04 23:27:40 -04:00
Jack
509b8f3a29 add file_name and stream_info fields to get()
-file_name is the name of the file in the downloads folder

-stream_info is a dict of the metadata in a name claim, it can be used
to download streams where the claim hasn’t yet been added to the
nametrie
2016-05-04 21:25:46 -04:00
Jack
461c2f9055 add file download statuses for get_lbry_file
also clean up remaining fetcher stuff
2016-05-04 05:20:38 -04:00
Jack
c1d0f9cf1b get rid of autofetcher in daemon
the purpose of the autofetcher was to automatically back up and host
published content, it is simpler to do this in a separate script that
uses existing daemon functions than to have it be built in
2016-05-04 04:12:11 -04:00
Jack
019de08c64 add more transaction functions to daemon
also fix —wallet command line option
2016-05-03 23:13:31 -04:00
Jack
30f88f99b7 use static.File 2016-05-02 15:58:40 -04:00
Jack
04ee9894c9 speed up streaming, off by one errors 2016-05-02 04:10:50 -04:00
Jack
46368f52f5 streaming files
still needs work, still has problems in safari and is otherwise slow
2016-05-01 05:17:59 -04:00
Jack
226e9084c9 return false from get_lbry_file if the file doesnt exist 2016-04-30 23:43:02 -04:00
Jack
caf5d2f788 update uri handler to use /watch 2016-04-26 19:48:43 -04:00
Jack
591634f175 cache name claim info
-cache name claim info for an hour rather than looking it up each time
it’s required

-add default thumbnail to search results
2016-04-25 22:35:21 -04:00
Jack
dfaf51a432 lbry file improvements
-fix daemon functions to start/stop lbry files

-remove unused stuff in LBRYFileManager

-improve and use new get_lbry_file function instead of _check_history,
which didn’t use the lbry file manager

-use said function to let delete_lbry_file use the same search keys
(sd_hash, name, and file_name)

-logging in LBRYDownloader
2016-04-24 17:51:24 -04:00
Jack
c2ec066c85 add LBRYFileProducer
-Add LBRYFileProducer, to host the contents of a download without
having to keep re-opening it as it is added to

-included sd hash in ManagedLBRYFileDownloader, to make comparing the
contents of the file manager against name claims easier

-add get_lbry_file function, which returns information about a LBRY
file found by sd_hash, file name, or lbry uri
2016-04-24 04:42:42 -04:00
Jack
3e7c09bb44 fix duplicate/buffering problem
fix problem where get request takes time to respond, in this time it
can receive more get requests that each manage to start downloading
2016-04-22 18:48:44 -04:00
Jack
28f66e30dd improve timeouts 2016-04-22 18:18:17 -04:00
Jack
bac7f097a9 add -x to filename before extension for duplicate downloads 2016-04-22 02:45:41 -04:00
Jack
fecd29a967 only load /view page when file isn't empty 2016-04-22 02:45:05 -04:00
Jack
2c1ba623a4 add message key to upload_log
log the message which is then uploaded with a special file prefix, and
also send the message to slack
2016-04-20 23:50:13 -04:00
Jack
561cdba7c9 fix jsonrpc import 2016-04-20 22:59:46 -04:00
Jack
e5e25012ff move daemon server stuff into its own class 2016-04-20 22:02:52 -04:00
Jack
c5d653a51a add bug report page
adds a page to submit a message and upload log at /report
2016-04-20 14:44:26 -04:00
Jack
c4620a0b0c add problem_code to daemon_status 2016-04-20 04:24:32 -04:00
Jack
a82f85f058 bump version, increase log size, fix shutdown problem 2016-04-20 02:56:29 -04:00
Jack
29f7307f9d periodically check internet connection and for new versions 2016-04-18 13:21:53 -04:00
Jack
24eed71959 upload log function doc string 2016-04-18 03:41:16 -04:00
Jack
9341ccb643 Merge branch 'master' into transaction-explorer
fix conflicts in LBRYDaemonControl.py
2016-04-17 23:28:00 -04:00
Jack
4385b90cca add get transaction and history functions to daemon 2016-04-17 23:23:20 -04:00
Jack
99b3cdd45d default on launching ui if daemon already running when command is called
-also update deb version
2016-04-17 20:16:35 -04:00
Jack
5f49827bd2 fix lagging indicator and improve diagnostic
-make is_lagging more meaningful - it is set to true after 90 seconds
with no progress, this is to stop slow but steady catchups from
triggering it

-prevent situation where repeated shutdowns before wallet catchup
results in never receiving first run credits

-fix settings to write new defaults that aren’t already in the
configuration file

-report log of startup sequence if upload_log set to true

-redirect /view?name=lbry to the main UI page. This is to make the ui
accessible from a lbry:// link on linux
2016-04-17 19:54:04 -04:00
Jack
cdab127b98 have separate handlers for uris on linux and os x 2016-04-15 23:57:52 -04:00
Jack
bac7ea5dc0 include platform information in version() 2016-04-15 22:31:06 -04:00
Jack
b3b5581f2d don't log to console, add --no-launch flag, fix help()
by default, the ui opens in the lbrynet-daemon startup sequence, the
—no-launch flag stops the ui from launching
2016-04-15 19:37:27 -04:00
Jack
9a26d869fe better first run message 2016-04-14 17:01:05 -04:00
Jack
57138d9629 is_lagging message 2016-04-14 16:50:11 -04:00
Jack
47d897b48d is_lagging indicator and internet connection check
-adds is_lagging indicator as a key from daemon_status, which is set to
True during a phase of the startup sequence, presently only during
loading_wallet if catching up with the blockchain takes longer than a
minute.

-checks if connected to internet before trying to start
2016-04-14 00:29:40 -04:00
Jack
6b9f1d519e remove null handling used to fix a now resolved bug, update daemon_status outputs per alex's suggestions 2016-04-13 23:10:17 -04:00
Jack
8b966c61d8 check version during startup 2016-04-13 22:07:27 -04:00
Jack
65a0583c85 add help function and documentation for functions
-calling help() will return the list of functions

-setting the ‘function’ param in the help function will return the doc
string for that function

-setting the ‘callable_on_startup’ in the help function will return the
list of functions callable during the startup sequence
2016-04-13 14:47:34 -04:00
Jack
2000a1b334 replace rawgit with raw.githubusercontent 2016-04-13 02:52:41 -04:00
Jack
cdd44af043 fix links in LBRYDaemonControl
https was failing
2016-04-13 02:39:50 -04:00
Jack
df99d06d11 fix links in check_for_new_version and log version info
-also handle situation where function is given a null argument
2016-04-13 02:35:31 -04:00
Alex Grintsvayg
b9d5d1041c bump version, better icon 2016-04-12 19:27:26 -04:00
Jack
59002413f8 organize daemon init, move more into daemon_settings.json
-also add wallet.catchup_progress to get a rough percentage of how
caught up the daemon is, this is accessed through daemon_status()
2016-04-12 02:03:57 -04:00
Jack
e04f35af4f fix check_for_new_version
returns true if new version is available, otherwise false

check_for_new_version is callable during startup
2016-04-11 23:13:26 -04:00
Jack
c50f83400a make version callable during startup 2016-04-11 22:37:42 -04:00
Jack
31fa974379 version function, ui version tracking, blocks behind blockchain during startup, cleaner set_vars
-adds version() function, which can be called after the daemon is
running and returns lbrynet, lbryum, and lbry ui version information.

-daemon_status now returns how far behind its behind the blockchain
when in the loading_wallet phase of startup

-cleans up set_vars by moving to init
2016-04-11 22:28:46 -04:00
Jack
aa8c362cb8 add --branch arg to lbrynet-daemon to specify ui branch 2016-04-11 16:15:12 -04:00
Jack
e48cc40610 fix incorrect variable 2016-04-09 16:18:06 -04:00
Jack
a931f59dda only return first run message until credits arrive 2016-04-09 16:14:28 -04:00
Jack
f0d39e6081 log LBRYDaemonControl and return None from get_start_notice if there is no notice to give 2016-04-09 15:43:10 -04:00
Jack
c11872a229 default on no startup message 2016-04-09 04:35:34 -04:00
Jack
f4fe730dc9 add get_start_notice to return startup messages 2016-04-09 04:15:58 -04:00
Jack
a4c83a08c7 change name of check_first_run to is_first_run 2016-04-09 04:00:31 -04:00
Jack
c3277d24c3 use status_message and status_code return fields for daemon_status() 2016-04-09 02:09:30 -04:00
Jack
28a23590ef add message for startup status
-added daemon_status function that returns {'status': startup status
message, 'is_running': true/false}
2016-04-09 01:33:27 -04:00
Jack
162275992b return fail from check_first_run when is_first_run isn't callable 2016-04-08 23:52:43 -04:00
Jack
08e25f4622 convert ints to floats if given as settings params 2016-04-08 23:38:57 -04:00
Jack
9a300d773f optional download_directory parameter for get function
-optional download_directory parameter to choose the directory a file
is saved to, if not given or not a valid directory it uses the default
2016-04-08 22:23:37 -04:00
Jack
a5362f3170 daemon settings
-set_settings accepts a dict of settings
    -adds upload_log field, defaulting on true, this uploads the lbry
log file to lbry.io to help figure out if and where things aren’t
working
    -default_download_directory is the key of the path where files are
saved

-gets publish working with sources

-adds check_first_run function, returns True/False

-previously only is_running would work during startup, check_first_run,
 get_time_behind_blockchain, and stop have been added

-requires six 1.9, 1.10.0 produced errors
2016-04-07 03:12:09 -04:00
Jimmy Kiselak
f464b3ae7c when decoding lbryum transactions, return values as Decimal 2016-04-04 22:20:15 -04:00
Jack
d4b7064d2f fix sources problems 2016-04-01 22:11:11 -04:00
Jack
2540b9969f check UI version from command line
-check UI version, if out of date get a fresh copy. overridden by —ui
flag, which is used to specify a ui directory
2016-04-01 22:06:06 -04:00
Jack
4355b799cb before is_running is true all other methods return a failure 2016-03-29 22:02:36 -04:00
Jack
a7fb434f9f update uri handler for change in daemon output 2016-03-29 17:04:01 -04:00
Jack
b3465f3bbf fix /view, improve is_running, clean function outputs
-Use localhost:5279/view?name=wonderfullife to download and render a
file

-is_running is now the only function that will work during startup

-functions output json, rather than json in your json
2016-03-29 16:42:47 -04:00
Jack
2670279b0d change access control allow origin to * 2016-03-28 16:49:51 -04:00
Jack
200d239e0b log ui directory 2016-03-28 14:54:01 -04:00
Jack
41a0590182 fix daemon directories for linux 2016-03-28 14:53:32 -04:00
Jack
63b2c49354 don't start lbry app if daemon is running in console 2016-03-28 14:21:41 -04:00
Jack
fa1d4dae0f add --ui parameter to lbrynet-daemon to set ui path
defaults on temp, which will download a .zip of the current ui to a
temp directory, which will be deleted when lbrynet-daemon closes
2016-03-25 21:03:58 -04:00
Jack
a882bdb08c fix output of get_time_behind_blockchain function 2016-03-25 09:32:24 -04:00
Jack
cfd6ea5a34 Merge branch 'development' 2016-03-24 21:15:54 -04:00
Jack
b3cf5e8698 add bundle identifier to uri handler 2016-03-24 20:46:44 -04:00
Jack
71c4dba34d Merge branch 'development' into jsonrpc
# Conflicts:
#	setup.py
2016-03-23 22:34:27 -04:00
Jack
9a3187e36c merge updates 2016-03-23 22:29:48 -04:00
Jack
c714a3f91c merge updates 2016-03-23 22:27:48 -04:00
Jimmy Kiselak
1ccd2a3cc9 do version better 2016-03-23 22:02:02 -04:00
Jack
94398071eb have uri handler check if app is running
-checks if LBRY.app is running, starts it if it isn’t

-delete unused function in LBRYDaemon
2016-03-23 19:49:14 -04:00
Jimmy Kiselak
e85683e40f show more informative messages when blockchain is catching up 2016-03-22 22:42:45 -04:00
Jack
13acbfb64f update uri handler
-use new jsonrpc daemon, start app if it isn’t running on first lbry://
request
2016-03-22 11:51:27 -04:00
Jack
a55e3d8578 use UI downloaded to temp folder at startup 2016-03-22 10:37:13 -04:00
Jack
2486ae6d3f get rid of unused updater function
updater function was hacky and not the most reliable, to be replaced by
app version checking
2016-03-22 09:40:18 -04:00
Jack
ba991b47ea add /view to dynamically generate a video containing page
-uses UI stored in Resources folder of app

-going to /view?name=  will download the corresponding stream and
display the file in the browser

-adds default daemon settings, currently they don’t do anything, to be
added to

-adds missing packages to setup.py
2016-03-22 00:03:17 -04:00
Jimmy Kiselak
e4a30c052e put the actual version in __init__.py 2016-03-21 21:37:15 -04:00
Jimmy Kiselak
df5b889f7d add a version to lbrynet 2016-03-21 21:33:55 -04:00
Jack
55f25c2613 consolidate search output
consolidate search output into a list of dicts
2016-03-21 12:06:19 -04:00
Jack
34eaa822a0 handle null parameter 2016-03-21 10:12:01 -04:00
Jack
5072f503c4 fix cross scripting problem
add access-control-allow-origin: http://localhost:5279
2016-03-20 22:53:01 -04:00
Jimmy Kiselak
246647641a remove some log statements that are useless, instead log whenever balance changes 2016-03-19 22:39:47 -04:00
Jimmy Kiselak
a0b75d7ada Tell user to be patient if it's the first run and user has no funds, in two more places 2016-03-19 22:30:55 -04:00
Jimmy Kiselak
d36036a9fe Tell user to be patient if it's the first run and user has no funds 2016-03-19 21:50:38 -04:00
Jimmy Kiselak
a68d891770 enable checking first run status multiple times 2016-03-19 21:24:44 -04:00
Jimmy Kiselak
f272a9ead2 Merge branch 'badunicode' into development 2016-03-19 18:56:21 -04:00
Jimmy Kiselak
8db2e10696 Merge branch 'master' of github.com:lbryio/lbry 2016-03-19 18:55:50 -04:00
Jimmy Kiselak
3cd74c06d6 convert description in ControlHandlers to str so that the prompt does not get converted to unicode 2016-03-19 18:55:17 -04:00
Jack
e3225f7123 add missing commits 2016-03-17 22:50:15 -04:00
Jack
ef62b0e746 fix conflicts 2016-03-17 22:38:48 -04:00
Jack
7756d12993 check if daemon is running before starting console 2016-03-17 22:03:56 -04:00
Jimmy Kiselak
4449bf3c75 change manage timer back to 60 seconds 2016-03-17 21:55:06 -04:00
Jimmy Kiselak
0200ed1341 refresh wallet balance every 3 seconds instead of 60 2016-03-17 20:19:13 -04:00
Jack
02bde900d6 update daemon and console
-don’t start console if daemon is running, display a message alerting
user

-move os x data directory to match app

-add timeout parameter to get function
2016-03-17 10:19:36 -04:00
Jack
36e299b4cf fix files
-don’t automatically remove files that can’t be found from
LBRYFileManager

-add timeout to GetStream
2016-03-17 00:44:04 -04:00
Jack
4e34f861c9 Merge branch 'development' into jsonrpc 2016-03-15 23:02:06 -04:00
Jack
42df2fe242 update daemon
convert to jsonrpc, fix a few issues, remove hacky functions
2016-03-14 12:30:22 -04:00
Jimmy Kiselak
dff0fcb1fd ensure the lbryum wallet is caught up before giving the prompt 2016-03-12 14:58:58 -05:00
Jimmy Kiselak
14ab2b52e9 create fee field in metadata 2016-03-12 14:42:57 -05:00
Jimmy Kiselak
e91f34f09b change metadata structure to use sources key 2016-03-12 14:25:46 -05:00
Jimmy Kiselak
6c733f84e9 Merge branch 'stopexceptions' into development 2016-03-12 14:08:42 -05:00
Jimmy Kiselak
45f9a10bfb hide exceptions that show up in the dht and due to bad metadata in the blockchain 2016-03-12 14:08:15 -05:00
Jimmy Kiselak
5bf895eefe update documentation to reflect using lbryum by default 2016-03-09 12:26:07 -05:00
Jack
27ccb37646 update daemon
check that managed files still exist, if they don’t remove them from
the manager
2016-03-08 12:15:49 -05:00
Jack
d76feeb320 use master branches 2016-03-03 13:55:03 -05:00
Jack
e4f23b3fce better organize apps 2016-03-03 00:16:51 -05:00
Jack
02d8dc22e9 update daemon
-notify user when connected to lbrynet
-check for updates from status bar app
2016-03-02 18:32:48 -05:00
Jack
2fc3ec7224 update status bar app 2016-03-02 02:00:45 -05:00
Jack
a243ac7a01 fix bug starting daemon from status bar 2016-02-29 15:04:20 -05:00
Jack
6f1ee78623 update daemon 2016-02-29 13:25:47 -05:00
Jack
a22e29532c start daemon from status bar 2016-02-28 23:49:37 -05:00
Jack
59d08a92d0 update status bar app 2016-02-27 17:49:49 -05:00
Jack
33c1a002da update daemon
only let local user connect to lbrynet-daemon
2016-02-27 13:19:26 -05:00
Jack
a18f3bf08a disable status bar 2016-02-26 10:59:09 -05:00
Jack
b4c8a317d0 switch branch 2016-02-26 10:39:56 -05:00
Jack Robison
30ac075555 Merge pull request #14 from lbryio/development
merge updates
2016-02-26 10:29:38 -05:00
Jimmy Kiselak
9991f79326 add support for claiming names, abandoning names, and listing claimed names to the LBRYumWallet 2016-02-26 01:45:52 -05:00
Jack
7cf3f8c7cd fix typo 2016-02-25 17:18:18 -05:00
Jack
eeef183cc6 update lbrynet-daemon 2016-02-25 17:17:07 -05:00
Jack
96bc02c8cb Merge branch 'development' into lbryum 2016-02-24 16:19:19 -05:00
Jimmy Kiselak
b0bfb5e443 use electrum as default 2016-02-23 15:13:34 -05:00
Jimmy Kiselak
671e6da104 show when the wallet is starting/started 2016-02-22 23:31:07 -05:00
Jack
485be533c9 make lbryum default wallet for daemon
with optional command line argument —wallet=
2016-02-22 22:32:07 -05:00
Jimmy Kiselak
b419b8f642 enable getting the whole claim trie 2016-02-22 14:24:49 -05:00
Jimmy Kiselak
c32f8d0998 implement getblock 2016-02-22 12:18:28 -05:00
Jack
8aab844a48 add bdb 2016-02-22 10:05:55 -05:00
Jack
8fc1cbfc54 check for six 1.9.0 2016-02-20 15:30:30 -05:00
Jack
82ea330dda Merge remote-tracking branch 'origin/master' 2016-02-19 23:27:29 -05:00
Jack
c63aa3033a install lbryum 2016-02-19 23:26:24 -05:00
Jimmy Kiselak
7837738c17 Merge branch 'master' of github.com:lbryio/lbry 2016-02-19 00:44:35 -05:00
Jimmy Kiselak
bdb0ad4836 enable lbryum, the lightweight lbrycrd client 2016-02-19 00:44:08 -05:00
Jack
0dbf810cfe move status bar stuff 2016-02-19 00:07:19 -05:00
Jack
58aa4887ad update daemon
Start status bar if possible
2016-02-18 20:55:59 -05:00
Jack
3ff0916f49 remove icon 2016-02-18 20:48:43 -05:00
Jack
cc9fb3ff41 fix icon path 2016-02-18 20:45:16 -05:00
Jack
2c51928b9d Status bar for lbrynet daemon 2016-02-18 20:41:23 -05:00
Jimmy Kiselak
4451978af6 make wallet method public and move common functions back into parent wallet class 2016-02-17 11:47:39 -05:00
Jack
d4193c55ae update fetcher 2016-02-17 10:45:33 -05:00
Jimmy Kiselak
ec3e365b3c fix up LBRYcrdWallet and split it into two classes 2016-02-16 23:10:26 -05:00
Jack
c245c69389 Add check-for-new-version function to daemon 2016-02-16 14:48:10 -05:00
Jack
9a9a7c9d7a update daemon 2016-02-16 13:55:46 -05:00
Jack
20b516b5fa automatic updates
Adds automatic updates to lbrynet-daemon, this will check if the
installed versions of LBRY applications as well as the lbrynet python
installation are up to date. If they aren’t, it downloads the new
versions, installs them, and restarts the daemon.
2016-02-16 13:39:08 -05:00
Jack
4dcfeca092 speed up update scripts
don’t download repo history, only what’s current.
2016-02-16 10:25:15 -05:00
Jack
8ca8c73868 update scripts 2016-02-16 09:09:50 -05:00
Jack
1a1c101b9a Add lbry app update script 2016-02-15 23:00:24 -05:00
Jack
a0a0e2d324 add daemon update script 2016-02-15 21:31:29 -05:00
Jack
d544199eff Fix search issue and move some settings to conf.py 2016-02-15 10:12:49 -05:00
Jack
407ebeb699 Update daemon 2016-02-11 08:32:48 -05:00
Jimmy Kiselak
9ba12b3e3f Merge branch 'master' of github.com:lbryio/lbry 2016-02-04 15:19:47 -05:00
Jimmy Kiselak
97976cbee9 lower the minimum rate 2016-02-04 15:18:47 -05:00
Jack
cb5c772233 Have autofetcher use managed downloader 2016-01-27 11:05:40 -05:00
Jimmy Kiselak
2bfbb824bf Merge branch 'master' of github.com:lbryio/lbry 2016-01-27 02:56:41 -05:00
Jimmy Kiselak
05189651ee update path for close file name on windows 2016-01-27 02:55:45 -05:00
James Kiselak
0c80134523 Merge pull request #12 from DaveA50/master
Enable building and installing of GUI for windows
2016-01-27 00:47:32 -05:00
Jack
49ae029572 Don't try to process blank IPs 2016-01-26 16:07:33 -05:00
David Amrhein
10e43203ed Enable building and installing of GUI for windows 2016-01-26 11:56:28 -05:00
Jack
e25be5a522 Update lbrynet-daemon
Use PaymentRateManager
2016-01-25 23:59:57 -05:00
Jack
47ff64a9e9 Update lbrynet-daemon
Adds the following:

-Abandon claim from its txid
-Get your name claims
-Get time behind blockchain
-Fixes upload
2016-01-25 20:28:05 -05:00
Jack
35f3887d79 Don't try to download a blank name 2016-01-24 00:26:41 -05:00
Jack
dacfc8b00a Update lbrynet-daemon
-Add optional content_license to name claim

-Get a better cost estimate, if the sd blob takes longer than 5 seconds
to download just use the key fee

-Adds the free speech flag as the default thumbnail if none is provided
2016-01-24 00:10:39 -05:00
Jimmy Kiselak
0840ac7d06 Merge branch 'master' of github.com:lbryio/lbry 2016-01-22 18:16:14 -05:00
Jimmy Kiselak
f34b96f565 print a message when a download finishes 2016-01-22 18:16:00 -05:00
jackrobison
808fbed4f3 Don't open links while having a 0.0 balance 2016-01-22 16:46:35 -05:00
jackrobison
b48800049b fix url 2016-01-22 16:19:20 -05:00
jackrobison
7e5d4166d8 Use locally hosted gui 2016-01-22 16:04:23 -05:00
Jimmy Kiselak
6b724ba8db Merge branch 'master' of github.com:lbryio/lbry 2016-01-22 15:56:01 -05:00
Jimmy Kiselak
25e1427a84 fix error that occurred when one connection's download was stopped due to another download finishing 2016-01-22 15:50:18 -05:00
Jack
1e73b2437d Update daemon and uri handler
Add command to stop daemon from the terminal

If lbrynet-daemon isn’t running the uri handler will now redirect to
lbry.io/get
2016-01-22 09:44:38 -05:00
Jack
9ef9220689 Add thumbnail option to name claim
Add thumbnail option to name claim
2016-01-20 22:01:03 -05:00
Jack
23b6a8c495 Add publish
Add publish function
2016-01-20 22:00:28 -05:00
jackrobison
4b9552fdf5 Fix output from shutdown function 2016-01-20 12:55:15 -05:00
Jack
888d77c96c Update lbrynet-daemon
-Get rid of separate db for daemon, instead use already existing files
-Simplify the get function
-Add start/stop functions for lbry files
2016-01-19 21:07:16 -05:00
Jack
e2ae1ca866 Remove file handle 2016-01-17 01:49:17 -05:00
Jack
7ef9a0f0bf Merge remote-tracking branch 'lbryio/master' 2016-01-16 23:16:21 -05:00
Jack
885a0882f2 Update daemon and uri handler 2016-01-16 23:06:24 -05:00
Jimmy Kiselak
2ddeca2976 fix bug caused by downloading file twice and deleting one 2016-01-16 01:16:37 -05:00
Jack
2085012874 Get managed lbry files 2016-01-13 09:42:30 -05:00
Jack
ebb495ab8b Fix error at shutdown
Fixed messy error message that sometimes appeared at shutdown
2016-01-12 13:41:20 -05:00
Jack
905274d6d4 Use same downloader for daemon as is used for console
Use
lbrynet.lbryfilemanager.LBRYFileDownloader.ManagedLBRYFileDownloaderFact
ory instead of
lbrynet.lbryfile.client.LBRYFileDownloader.LBRYFileSaverFactory
2016-01-12 13:40:51 -05:00
Jack
120d7edf12 Better handle bad names, improve browser uri handler
Play videos in browser rather than in a separate application window
2016-01-12 12:42:32 -05:00
Jack
12cd06cae5 Add download history logging
Logs downloads as to not make duplicate files
2016-01-11 18:01:46 -05:00
Jack
42c26102d8 Make daemon shut down properly
Makes the daemon shutdown properly and adds better start/stop messages.
2016-01-11 15:52:38 -05:00
jackrobison
e906564f70 Merge pull request #8 from jackrobison/master
Fix daemon paths and add settings
2016-01-07 10:28:59 -05:00
Jack
b8b2dc3b6d Fix daemon paths and add settings
Fixed lbrycrdd path in lbrynet-daemon, added configurable max key fee
and data payment rate
2016-01-07 10:24:55 -05:00
Jimmy Kiselak
ec1ba02cca show where the log file is, and log failure to open file better 2016-01-06 13:08:20 -05:00
Jimmy Kiselak
49869d071a show when lbrycrdd is being stopped and when it stops 2016-01-06 00:56:45 -05:00
Jimmy Kiselak
39275682d9 show the estimated cost of a download and format the download size better 2016-01-06 00:50:50 -05:00
Jack
0a7b2683ff Fix paths for os x
Fix paths to use binaries in the app bundle
2015-12-20 03:29:13 -05:00
Jimmy Kiselak
9714985855 Merge branch 'master' of github.com:lbryio/lbry 2015-12-18 15:48:16 -05:00
Jimmy Kiselak
d809b8eee0 increase usefulness of error messages and change the download directory back to pwd for linux 2015-12-18 15:48:02 -05:00
jackrobison
52e2ed2aa7 Update download directory for os x gui 2015-12-16 23:42:38 -05:00
Jack
0a33324321 Merge remote-tracking branch 'lbryio/master' 2015-12-16 09:16:42 -05:00
Jimmy Kiselak
a948335cb9 show if the application is behind on the blockchain if an error occurs that could be caused by that 2015-12-15 14:42:29 -05:00
Jimmy Kiselak
6d2e5af6bc Inform user that they are behind on the blockchain if they get certain errors 2015-12-14 23:49:27 -05:00
Jimmy Kiselak
9a7c71394e make welcome messages more friendly 2015-12-14 22:35:16 -05:00
Jack
1ebf184e9f Add get function for daemon
Adds a ‘get’ function to the daemon, which downloads a file and returns
its file path.
2015-12-14 21:49:01 -05:00
jackrobison
48b013fa85 Delete autodownloader.py
File still exists in autodownloader branch
2015-12-14 15:56:19 -05:00
Jack
e96dee478d Remove autofetcher from lbrynet-console
Disabled autofetcher in the console, moved getstream and fetcherdaemon
to their own file in lbrynet-daemon
2015-12-14 15:54:33 -05:00
Jack
9fdd766429 Fix import error 2015-12-14 13:24:29 -05:00
Jack
1abe890067 Disable console autofetcher 2015-12-14 13:14:04 -05:00
Jack
75fbedeeac Merge branch 'master' into autodownloader 2015-12-14 13:03:17 -05:00
Jack
a1861a2f84 Update lbrynet-daemon
Add auto fetcher to fetch new name claims
2015-12-14 12:59:44 -05:00
Jack
0eecfb52ed Update lbrynet-daemon
Daemon creates data directory if it doesn’t already exist
2015-12-14 10:22:52 -05:00
Jimmy Kiselak
ce1c28ffb9 allow the thumbnail link to get to the gui 2015-12-10 00:37:43 -05:00
Jack
9667b81c8d Update url handler 2015-12-09 23:59:19 -05:00
Jack
afac596a7b Update url handler 2015-12-09 23:57:58 -05:00
Jimmy Kiselak
636692ba6a show a thumbnail if one is included in the blockchain 2015-12-09 02:33:50 -05:00
Jack
203f7e7ea6 Update lbry daemon 2015-12-08 00:37:49 -05:00
Jack
8aee19b0ef Fix error
Fixes an error if you don’t have a conf file set up, previously it
would fail because the AutoFetcher object doesn’t have a console object
until it’s called for the first time
2015-12-07 18:02:29 -05:00
Jimmy Kiselak
49ed31c895 stop showing options, show estimated cost 2015-12-07 15:54:51 -05:00
Jack
526075cd5e Fix get_downloads function
get_downloads would throw an error when it tried to open a file that
had already been downloaded, now it just ignores these duplicates
2015-12-07 09:17:45 -05:00
Jack
441d3c1220 LBRYNet daemon
Adds a daemon for lbrynet. Currently commands are limited the following:

download_name(name)
resolve_name(name)
get_downloads
stop

This allows other programs to easily interact with lbrynet, such as
LBRYURIHandler. LBRYURIHandler can be built with py2app, the resulting
plist file must be edited in the same way the committed plist file has
been edited. When built and installed to the /Applications folder
lbry:// domain names will download and open the corresponding file so
long as the daemon is running.
2015-12-06 17:32:17 -05:00
Jack
f3141727d7 Update from master and fix a path problem
Update from the master branch and a fix to a path problem in lbrynet-gui
2015-12-03 20:56:56 -05:00
Jimmy Kiselak
c7e4638736 update gui to work with updated LBRYcrdWallet 2015-12-02 14:53:39 -05:00
Jimmy Kiselak
d04981969f increase the time limit for waiting for lbrycrdd to start up 2015-11-25 11:16:27 -05:00
Jack
a9e105f9eb Make autofetcher ignore key payments 2015-11-24 01:17:47 -05:00
Jimmy Kiselak
c8afce2a3a stop console from crashing on input before it is started 2015-11-23 15:11:34 -05:00
Jack
ebf9d11f4d Rename a class 2015-11-20 10:42:19 -05:00
Jimmy Kiselak
7a3bdf93e9 make sure upnp is neither set nor unset if upnp is disabled 2015-11-19 23:20:17 -05:00
Jack
35d5c585ec Added a max key price set in autofetcher.conf 2015-11-19 16:20:12 -05:00
Jack
45eb4f7201 Improved autofetcher
Added commands:

start-autofetcher
stop-autofetcher
autofetcher-status
2015-11-19 14:43:36 -05:00
Jimmy Kiselak
e4c2585e23 pass console object to all control handlers 2015-11-17 17:28:17 -05:00
jackrobison
a05f2fe3fb Check blocks for new claims more frequently 2015-11-16 12:55:01 -05:00
Jack
34aa51e98a remove debugging messages 2015-11-14 21:57:58 -05:00
Jack
6e93c68a77 Run AutoFetcher in the background 2015-11-14 21:53:16 -05:00
Jack
f16eec2ad2 Automatic downloading now works 2015-11-14 20:36:53 -05:00
Jack
657c1a4626 Adds a command to automatically download files as names are claimed
Defaults on only trying to download wonderfullife
2015-11-12 00:03:49 -05:00
Jimmy Kiselak
6bf6e943cc Merge branch 'master' of github.com:lbryio/lbry 2015-11-11 15:06:31 -05:00
Jimmy Kiselak
6252f903ee automatically give LBC to users on the first run and update RUNNING.md for prompt interface 2015-11-11 15:06:14 -05:00
Jack
a1e827fb3b LBRY autodownloader
Aquire LBRY files as they are published
2015-11-10 11:33:35 -05:00
Jack
40218e02e1 fixed a problem with publish 2015-11-07 00:15:42 -05:00
Jack
0891b0d294 Changed LBRYcrdWallet to retrieve the rpc config 2015-10-28 20:59:07 -04:00
Jimmy Kiselak
756c43c087 Merge branch 'master' of github.com:lbryio/lbry 2015-10-28 01:38:13 -04:00
Jimmy Kiselak
6488e66088 show lbry:// name of downloaded files if applicable as well as the status of the claim 2015-10-28 01:38:01 -04:00
jackrobison
31ee3fb12b Update LBRYConsole.py
Forgetting to add a new line at the end of lbrycrd.conf will no longer mess up the rpc login.
2015-10-27 12:07:09 -04:00
Jimmy Kiselak
b80d45ad45 Prompt for file path instead of file name, then show file name and file path 2015-10-26 13:15:32 -04:00
jackrobison
ea2a3c3b70 Update LBRYSettings.py 2015-10-26 11:00:07 -04:00
Jimmy Kiselak
c0312159eb update help strings, reorder main commands, and take application status info out of 'status' command 2015-10-23 18:00:10 -04:00
Jimmy Kiselak
e124f582aa make a single publish step and consolidate status 2015-10-23 14:51:26 -04:00
Jimmy Kiselak
54150a8f2a move some stream descriptor functions to the appropriate file, start creating a publish command 2015-10-22 20:36:03 -04:00
Jimmy Kiselak
385c221ef8 add some status messages when starting up and break commands into common and debug 2015-10-22 02:23:12 -04:00
Jimmy Kiselak
7df6e99e28 fix typo and formatting errors, stop console's shutdown from running twice on exit, give more informative message if ports can't be bound, only set upnp if there isn't already a redirect on that port/protocol, and only unset upnp if the redirect was set by the program 2015-10-19 15:05:17 -04:00
Jimmy Kiselak
76a5f2f516 show and log when an error occurs during shutdown 2015-10-18 23:56:13 -04:00
Jimmy Kiselak
936c1f2ada fix typo and make sure objects exist before trying to stop them 2015-10-18 22:36:09 -04:00
Jimmy Kiselak
5787802077 change the console ui to command based rather than option based 2015-10-15 14:12:22 -04:00
Jimmy Kiselak
c902d25524 start upgroading the console interface 2015-10-12 13:52:47 -04:00
Jimmy Kiselak
d152336f42 initial commit of auto-launch lbrycrdd 2015-10-08 11:01:50 -04:00
Jimmy Kiselak
964db2a779 enable setting lbrycrdd path in gui conf, disable launching lbrycrdd by default in linux gui, change running instructions, put linux gui conf in users home directory 2015-10-02 16:38:57 -04:00
Jimmy Kiselak
f2867542b1 remove length from metadata stored in blockchain 2015-09-22 13:06:20 -04:00
Jimmy Kiselak
8f6e886821 show metadata found in blockchain in console 2015-09-22 12:21:16 -04:00
Jimmy Kiselak
dfca7bc2c4 make console pay decryption key fee 2015-09-22 12:08:17 -04:00
Jimmy Kiselak
f94b04bb19 make class to encompass stream metadata 2015-09-21 22:06:04 -04:00
Jimmy Kiselak
be1e97c616 show name claim options better, and fix bug when length is entered manually 2015-09-20 23:05:10 -04:00
Jimmy Kiselak
9790e9f843 put more fields into the value of a name claim, and fix bug where creating a plain stream descriptor file fails if no file name is given 2015-09-20 00:49:29 -04:00
Jimmy Kiselak
e339d3857f make saving plain stream descriptor file work when no file name is given 2015-09-18 00:49:06 -04:00
Jimmy Kiselak
0e4f21842c when creating a new lbry file, make sure its status is set to completed 2015-09-18 00:20:07 -04:00
Jimmy Kiselak
d4ea9a1ba3 rename downloader gui to simply gui 2015-09-18 00:09:53 -04:00
Jimmy Kiselak
5300fa929b make sure blobfiles directory is created in console, and make sure blobfiles dir is always inside the db dir for the gui 2015-09-17 23:47:36 -04:00
Jimmy Kiselak
8a5a66a06a in console disable putting blob dir outside of the db dir, and rename conf_dir to db_dir/data_dir 2015-09-17 23:10:14 -04:00
Jimmy Kiselak
43ed4427b4 stop the console from upgrading the db on a brand new conf dir 2015-09-17 12:05:08 -04:00
Jimmy Kiselak
22b0d92e6b disable the blind repeater 2015-09-17 11:03:57 -04:00
Jimmy Kiselak
7eb528232e enable getting a new address via the console 2015-09-17 10:59:57 -04:00
Jimmy Kiselak
33b6b85e72 better error messages in console when funds are exhausted 2015-09-17 01:43:41 -04:00
Jimmy Kiselak
8177119671 Fix how some errors are presented to the user
If an invalid stream descriptor hash is entered, abort and
give a useful error.

If a name doesn't resolve, abort and give a useful error.

If a name resolves to something invalid, abort and give a useful error.
2015-09-16 16:27:46 -04:00
Jimmy Kiselak
4b407a9dd2 shut down session last, actually save LBRY file metadata 2015-09-15 00:30:49 -04:00
Jimmy Kiselak
0836d9c5ee fix bug pulling blob length out of the database 2015-09-10 21:43:46 -04:00
Jimmy Kiselak
ff5b6c4eab if lbrycrd server fails to launch, don't stop it at shutdown 2015-09-09 12:17:46 -04:00
Jimmy Kiselak
bb5cd49327 Use named loggers, fix some pep8 formatting mistakes 2015-09-08 15:42:56 -04:00
Jimmy Kiselak
6f40ef6015 fix typo in migrator path, set up logging and running as a script for migrator, change args to windows migrator exe so they are all strings 2015-09-07 23:59:59 -04:00
Jimmy Kiselak
c7758506ac remove leveldb, use sqlite and unqlite. create migrator tool 2015-09-04 16:22:02 -04:00
Jimmy Kiselak
192ac6959a more specific exceptions, and change when blobs are deleted
More specific exceptions are raised when problems are encountered
looking up metadata and validating stream descriptor files, and
on the GUI those more specific exceptions are used to prevent
errors from being presented to the user.

If the user has selected the option to re-upload data for some
stream, blobs downloaded for that purpose will not be deleted
when they are finished being output. Instead, by default, for
the GUI they will be deleted when the stream is removed from
the GUI. That can be changed so they are not deleted at all,
using the lbry.conf file.
2015-09-01 17:49:26 -04:00
Jimmy Kiselak
465a4643a8 change how the windows client finds pictures 2015-09-01 00:08:53 -04:00
Jimmy Kiselak
1bf0065d9d Show download progress in terms of percent, console startup errors now cause the application to abort, and a friendlier error is shown when no lbrycrd server is running 2015-08-31 22:05:50 -04:00
Jimmy Kiselak
c14efc843c disable the URI entry bar until the app has finished starting up 2015-08-31 11:25:48 -04:00
Jimmy Kiselak
0506dfba10 when looking up peers, only return one instance of each peer 2015-08-31 11:14:25 -04:00
Jimmy Kiselak
7e4f36e8b4 Make sure errors resulting from connections failing don't make it to the user interface, as they are expected 2015-08-31 10:46:22 -04:00
Jimmy Kiselak
55dc482a61 enable running a server within lbrydownloader, and create a configuration file for lbrydownloader 2015-08-31 01:14:11 -04:00
Jimmy Kiselak
05b9f9cae6 refactor the downloading app a bit 2015-08-28 15:17:28 -04:00
Jimmy Kiselak
c79868de3e check for specific vlc paths on windows 2015-08-28 11:47:21 -04:00
Jimmy Kiselak
7eeac060ab don't use distutils to check if vlc is available 2015-08-27 23:32:45 -04:00
Jimmy Kiselak
c8b2b7b279 Downloader options in its own class, show options in gui downloader
Put stream downloader options into its own class, and make stream
downloader options global to the stream type rather than specific
to each factory.

Show downloader options in the lbrynet-downloader-gui.

Make a class for downloader option choices, so that the descriptions
can be displayed.

In the console, if there are multiple choices for the download
option, make it a list selected by its index.

Make sure that the ConnectionManager closes properly when some of
the connections fail to open (e.g. due to a host being down)
2015-08-27 15:41:17 -04:00
Jimmy Kiselak
f4b3187494 use lbrycrd.conf in LBRYConsole to get rpc credentials 2015-08-24 13:19:03 -04:00
Jimmy Kiselak
7240ff6b1c initial commit 2015-08-20 11:27:15 -04:00