Commit graph

656 commits

Author SHA1 Message Date
Jimmy Kiselak
ec3e365b3c fix up LBRYcrdWallet and split it into two classes 2016-02-16 23:10:26 -05:00
Jack
407ebeb699 Update daemon 2016-02-11 08:32:48 -05:00
Jack
cb5c772233 Have autofetcher use managed downloader 2016-01-27 11:05:40 -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
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
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
9ef9220689 Add thumbnail option to name claim
Add thumbnail option to name claim
2016-01-20 22:01:03 -05:00
Jack
7ef9a0f0bf Merge remote-tracking branch 'lbryio/master' 2016-01-16 23:16:21 -05:00
Jimmy Kiselak
2ddeca2976 fix bug caused by downloading file twice and deleting one 2016-01-16 01:16:37 -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
Jimmy Kiselak
49869d071a show when lbrycrdd is being stopped and when it stops 2016-01-06 00:56:45 -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
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
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
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
Jimmy Kiselak
ce1c28ffb9 allow the thumbnail link to get to the gui 2015-12-10 00:37:43 -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
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
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
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
Jack
f16eec2ad2 Automatic downloading now works 2015-11-14 20:36:53 -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
0891b0d294 Changed LBRYcrdWallet to retrieve the rpc config 2015-10-28 20:59:07 -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
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
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
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
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
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
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
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
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
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
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
7240ff6b1c initial commit 2015-08-20 11:27:15 -04:00