Job Evers‐Meltzer
ddf24de16d
Merge pull request #407 from lbryio/handle-closed-api-requests-rebase
...
handle dropped api requests
2017-01-13 13:33:42 -06:00
Alex Grintsvayg
8277df1034
minor nits
2017-01-13 12:26:37 -05:00
Jack Robison
e03bba0b62
handle dropped api requests
2017-01-13 10:41:59 -06:00
Job Evers-Meltzer
e61260a263
merge with change stop to be an inlineCallback
2017-01-13 08:24:07 -06:00
Job Evers-Meltzer
a9261b2032
change stop to be an inlineCallback
2017-01-13 08:24:07 -06:00
Job Evers-Meltzer
9366a6e561
bug fix: reset blob_requester between start/stop
2017-01-13 08:24:06 -06:00
Job Evers-Meltzer
488c04543d
add TODO comment
2017-01-13 08:24:06 -06:00
Job Evers-Meltzer
cb2bb6ee6b
bug fix: properly stop ConnectionManager
...
It is possible (likely) that a manage call is in progress when
`stop` is called. When that happens, _manage will continue to
run, and schedule another call - and the manager won't actually stop,
and will likely cause an error as other components have been torn down.
This fix adds a deferred that gets created when a manage call starts
and is fired when its done. At this points its safe to start the
stopping process. Also add a check to not schedule another manage
call if we're stopped
This fixes https://app.asana.com/0/142330900434470/239832897034382
2017-01-13 08:24:06 -06:00
Job Evers-Meltzer
0bb62515a8
reorder functions to match call order
2017-01-13 08:24:06 -06:00
Job Evers-Meltzer
f535d96929
switch stop to inlineCallback
2017-01-13 08:24:06 -06:00
Job Evers-Meltzer
15c5075d38
refactor closing peers
2017-01-13 08:24:06 -06:00
Job Evers-Meltzer
2449604844
fixup: bug fix for stopping downloads
2017-01-13 08:24:06 -06:00
Job Evers-Meltzer
6035a84675
bug fix for stopping downloads
...
deferredlist returns a tuple of (success, result) and the previous
code was looking at the entire tuple not the success values.
2017-01-13 08:24:05 -06:00
Job Evers-Meltzer
1151019186
Improve downloader error handling
...
Instead of having an error cause a timeout, send
the error directly to the callback
2017-01-13 08:24:05 -06:00
Job Evers-Meltzer
8075ced1af
bug fix for file_seed
...
cannot return a deferred in inlineCallbacks, it must be a value
2017-01-13 08:23:52 -06:00
Job Evers-Meltzer
1b2c46e224
make _download_manager private
2017-01-13 08:19:23 -06:00
Job Evers-Meltzer
20f113d3da
bug fix: jsonrpc methods no longer have a 'result' key
2017-01-12 09:55:38 -06:00
Job Evers‐Meltzer
61702ba1e4
Merge pull request #301 from lbryio/query-available-blobs
...
Query available blobs and Upload to Lighthouse Scripts
2017-01-12 08:42:08 -06:00
Alex Grintsvayg
d06211015d
api doc generator
2017-01-11 17:30:16 -05:00
Alex Grintsvayg
86aa8e1de0
updates based on job's comments
2017-01-11 15:39:28 -05:00
Alex Grintsvayg
495a48add1
appveyor is a line-length nazi
2017-01-11 15:39:28 -05:00
Alex Grintsvayg
a6457d2c0a
detect authentication error and warn accordingly
2017-01-11 15:39:28 -05:00
Alex Grintsvayg
5c429e15bd
remove authjsonrpc subhandlers. we dont use them
2017-01-11 15:39:28 -05:00
Alex Grintsvayg
05725e0dc9
rpc works with authentication
2017-01-11 15:39:28 -05:00
Alex Grintsvayg
53acb2d9cd
restore one deprecated method (for now)
2017-01-11 15:39:28 -05:00
Alex Grintsvayg
f050337dbc
incorporate job's changes
2017-01-11 15:39:28 -05:00
Alex Grintsvayg
6d7b09a3aa
remove return codes that are not being used
2017-01-11 15:39:28 -05:00
Alex Grintsvayg
dd87aa3ce6
make sure deprecated methods still return results
2017-01-11 15:39:28 -05:00
Alex Grintsvayg
b602b09ca3
better cli help
2017-01-11 15:39:28 -05:00
Alex Grintsvayg
628defa891
remove extraneous ellipses in messages
2017-01-11 15:39:28 -05:00
Alex Grintsvayg
962edb8e4c
rename api endpoints
2017-01-11 15:39:28 -05:00
Job Evers-Meltzer
5dbf9034ec
Add scripts related to querying / downloading sd blobs
2017-01-11 12:05:34 -06:00
Umpei Kay Kurokawa
a67aab0797
Merge pull request #393 from lbryio/fix_github_version_request
...
Fix obtaining version from github
2017-01-10 20:42:08 -05:00
Kay Kurokawa
52500bfbf5
use latest release for getting lbryum version, add a timeout when requesting lbrynet/lbryum version
2017-01-10 12:55:47 -05:00
Job Evers‐Meltzer
c393bd97e8
Merge pull request #388 from lbryio/hash-announce
...
ensure hash_announcer exists before announcing
2017-01-09 15:23:53 -06:00
Job Evers‐Meltzer
d32bb9270a
Merge pull request #376 from lbryio/add-id
...
add id field to jsonrpc response
2017-01-09 15:23:24 -06:00
Kay Kurokawa
9e7b69f4a0
fix publish output
2017-01-09 14:35:29 -05:00
Job Evers-Meltzer
68887d145f
cleanup whitespace for increased readability
2017-01-06 08:04:18 -06:00
Job Evers-Meltzer
f37808859f
ensure hash_announcer exists before announcing
2017-01-06 08:00:22 -06:00
Job Evers
abc122f77b
Don't send log messages to loggly in dev mode
2017-01-03 22:17:44 -06:00
Job Evers
0ababb7f3b
Route twisted logging messages to the python stdlib logger
2017-01-03 22:16:57 -06:00
Job Evers-Meltzer
30af8a0e20
Bump version: 0.7.12rc4 → 0.7.12
2017-01-03 21:09:25 -06:00
Job Evers
c2fc15160f
Fix watch
...
I changed the _download_name return type without realizing that
it was also used by the watch endpoint. This switches the endpoint
to go through get so that watches can be tracked just like downloads
2017-01-03 18:08:31 -06:00
Job Evers-Meltzer
40d4f5a292
Bump version: 0.7.12rc3 → 0.7.12rc4
2017-01-03 15:29:20 -06:00
Job Evers‐Meltzer
38e6b4e6c6
Merge pull request #379 from lbryio/open-ui-asap
...
open the ui as soon as possible
2017-01-03 15:28:50 -06:00
Jack
3541625825
move launch into own function
2017-01-03 15:51:42 -05:00
Job Evers‐Meltzer
f8f83fccf1
Merge pull request #375 from lbryio/fix-stop-errors
...
Fix stop errors
2017-01-03 14:13:24 -06:00
Jack
5f8a06443c
open the ui as soon as UIManager finishes setting itself up
2017-01-03 11:44:29 -05:00
Job Evers
4e0194d576
add id field to jsonrpc response
2017-01-02 20:12:37 -06:00
Job Evers
16fc416d88
more informative name error
2017-01-02 19:47:34 -06:00
Job Evers
6faee910de
Raise exception if lbry_file can't be found
2017-01-02 19:46:40 -06:00
Job Evers
f7308beee9
upgrade txJson-RCP to 0.5
...
The older version we were running didn't support jsonrpc v2 for
error codes, which both the command line client and ui client
were expecting.
2017-01-02 19:15:25 -06:00
Job Evers-Meltzer
5233dc303e
Bump version: 0.7.12rc2 → 0.7.12rc3
2017-01-02 17:18:46 -06:00
Job Evers‐Meltzer
3d0913ca94
Merge pull request #373 from lbryio/bundled-version
...
Set ui_version for Bundled UI
2017-01-02 17:17:31 -06:00
Job Evers‐Meltzer
c37bb0d1ed
Merge pull request #372 from lbryio/fix-stop
...
fix the stop script
2017-01-02 16:50:34 -06:00
Job Evers-Meltzer
a4a9a2b0b0
fix the stop script
2017-01-02 16:40:50 -06:00
Job Evers-Meltzer
9e320921a9
Bump version: 0.7.12rc1 → 0.7.12rc2
2017-01-02 16:12:35 -06:00
Jack
2cf08fda2d
use urllib for loggly url formatting
2017-01-02 16:09:28 -05:00
Jack
c2c7d2b327
send bug reports to slack
2017-01-02 14:52:24 -05:00
Job Evers‐Meltzer
585f802a91
Merge pull request #370 from lbryio/fail-wallet
...
Stop eating wallet connection error
2017-01-02 12:02:35 -06:00
Job Evers-Meltzer
26cf04e0c1
refactor requirements parsing
2017-01-02 12:01:55 -06:00
Job Evers-Meltzer
3bb8f4ac21
set ui_version for bundled ui
2017-01-02 12:01:55 -06:00
Job Evers-Meltzer
a5c25ff887
Stop eating wallet connection error
2016-12-30 22:34:08 -06:00
Job Evers-Meltzer
e823bb2012
Bug fix in auth.server
...
Fixes a mistake in fa8190356a
,
where an usage of _log_and_render_error was overlooked
2016-12-30 16:48:44 -06:00
Job Evers-Meltzer
eec25791a5
fix lbryid in settings dict
...
The lbryid is stored as raw bytes, need to hexlify
it before sending it over to the client
2016-12-30 16:47:50 -06:00
Job Evers-Meltzer
18a47a048a
Bump version: 0.7.12rc0 → 0.7.12rc1
2016-12-30 15:42:13 -06:00
Job Evers‐Meltzer
6936dbd588
Merge pull request #369 from lbryio/track-errors
...
track errors in analytics
2016-12-30 15:39:41 -06:00
Job Evers‐Meltzer
621530b3b8
Merge pull request #367 from lbryio/analytics-on-get
...
Analytics on get
2016-12-30 15:39:06 -06:00
Job Evers-Meltzer
123fda1844
track errors in analytics
2016-12-30 15:09:34 -06:00
Job Evers-Meltzer
1299c23bcc
fix cli
2016-12-30 15:07:24 -06:00
Job Evers-Meltzer
1747f53276
Remove _set_events
...
Function was removed in 101985ca11
,
but wasn't removed from setup()
2016-12-30 14:42:03 -06:00
Job Evers-Meltzer
669a567545
add id to link download events
2016-12-30 13:35:16 -06:00
Job Evers-Meltzer
6bdc9069c9
on get, first check if we already have the name
2016-12-30 13:35:16 -06:00
Job Evers-Meltzer
ad1e2650e3
add events for downloading stages
2016-12-30 13:31:20 -06:00
Job Evers-Meltzer
1bf1b7624c
more inlineCallback cleanup
2016-12-30 13:28:38 -06:00
Job Evers-Meltzer
0b53fde352
refactor connectionmanager to use inlineCallbacks
2016-12-30 13:28:34 -06:00
Job Evers-Meltzer
4eb10b56c1
small changes
2016-12-30 13:27:17 -06:00
Job Evers-Meltzer
227323b7a4
convert more to inlineCallbacks
2016-12-30 13:27:16 -06:00
Job Evers-Meltzer
1256beea96
remove blob_requester from DownloadManager
2016-12-30 13:27:16 -06:00
Job Evers-Meltzer
01cc4f28e0
Refactor jsonrpc_get
...
Convert some of the calls to inlineCallbacks, which
allowed the code to be cleaned up and made more clear
2016-12-30 13:27:12 -06:00
Job Evers-Meltzer
689ac431d3
bug fix in log.fail()
...
The value of the callback needs to be returned. In particular,
this allows the error to be passed along.
2016-12-30 13:22:06 -06:00
Job Evers-Meltzer
ccfb1f3921
refactor: name private/public variables
2016-12-30 13:22:06 -06:00
Job Evers-Meltzer
5eecae8889
record server startup event as part of start_server
2016-12-30 13:05:19 -06:00
Job Evers-Meltzer
5aa10031bc
Move log_support import earlier
...
Since log_support configures the logging class, it needs
to be early in the initialization process.
2016-12-30 13:05:19 -06:00
Job Evers-Meltzer
52010ade41
add docstring
2016-12-30 13:05:19 -06:00
Job Evers-Meltzer
101985ca11
Remove analytics setup code from daemon
...
Now that lbryid and session_id are available at startup
we don't need to reconfigure the analytics manager
inside the daemon
2016-12-30 13:05:19 -06:00
Job Evers-Meltzer
8f61fb3fc4
Initialize settings, along with lbryid and session_id on startup
2016-12-30 13:05:19 -06:00
Job Evers-Meltzer
39b2e44492
Replace settings with conf.settings
...
In the next commit I change conf.settings to be initialized
at runtime instead of load time and so any import of
`from lbrynet.conf import settings` will be and stay None if
it happens before the initialization.
2016-12-30 13:05:18 -06:00
Job Evers-Meltzer
26bc6d05a0
Consistently use lbryid over lbry_id variable name
2016-12-30 12:40:36 -06:00
Job Evers‐Meltzer
47f71fd363
Merge pull request #360 from lbryio/store-offer
...
Only store the offer explicitly when its sent
2016-12-30 12:15:06 -06:00
Job Evers‐Meltzer
4574e3317c
Merge pull request #363 from lbryio/wallet-storage
...
Wallet storage
2016-12-30 11:41:38 -06:00
Job Evers‐Meltzer
b59c098d58
Merge pull request #364 from lbryio/fix_serverprotocol
...
Fix bug in server protocol
2016-12-30 11:28:08 -06:00
Alex Liebowitz
da0b4e9a1a
Fix typo in set_settings API method
2016-12-30 05:00:28 -05:00
Kay Kurokawa
7d5dd1ff51
fix bug in ServerProtocol
2016-12-28 14:34:38 -05:00
Job Evers-Meltzer
2c7fc3fb46
switch startup sequence to use inlineCallbacks
...
This cleans up the process, makes it more readable,
and better surfaces errors.
2016-12-28 11:21:10 -06:00
Job Evers-Meltzer
fc24d9b5aa
pull out metadata storage from the wallet
2016-12-28 11:18:55 -06:00
Kay Kurokawa
da366495b0
fixing get_value_for_name bug
2016-12-28 10:37:53 -05:00
Umpei Kay Kurokawa
552ed77882
Merge pull request #358 from lbryio/fix_wallet_init_3
...
Fix wallet initialization
2016-12-22 12:12:27 -05:00
Jack Robison
aa3353ae49
Merge pull request #345 from lbryio/better-dht-shutdown
...
Better dht shutdown.
2016-12-21 17:15:17 -05:00
Job Evers-Meltzer
f7864e8cb7
Only store the offer explicitly when its sent
...
Ran into a situation where I was recieving an offer response without
something in protocol_offers. I think this was because
get_and_set_rate doesn't always populate that dictionary.
Worried that there still might be issues if the connection is
unreliable: if a response comes in twice it will error or
if a second offer is made without a response to the first
there will be an error.
2016-12-20 10:37:42 -08:00
Kay Kurokawa
1690e71ad1
setup Commands class on run, instead of on initialization
2016-12-19 19:15:59 -05:00
Kay Kurokawa
7d02e7d370
changing wallet initialization order
2016-12-19 19:15:50 -05:00
Kay Kurokawa
10810226ff
Fixing bug in publisher
2016-12-19 18:41:35 -05:00
Jack Robison
c0f22decd7
Merge pull request #347 from lbryio/log-error-on-lbry-files
...
Log failure when attempting to get_lbry_files
2016-12-19 16:22:37 -05:00
Jack
618d0ebd5b
newline
2016-12-19 13:40:33 -05:00
Jack
f301741807
re-use lbryid
2016-12-19 13:27:45 -05:00
Jack
0044d6cf75
BlobAvailabilityTracker.sample bug, remove whitespace
2016-12-17 20:05:27 -05:00
Jack
5a76a03cb6
remove unqlite requirement
...
-conditionally import PTCWallet (needed for testing, requires unqlite)
-install unqlite on travis and appveyor
2016-12-17 20:03:35 -05:00
Jack
09846413bd
remove Settings.py
...
remove old settings class, which was only used for the lbryid and
required unqlite.
this allows the daemon startup to be simplified, it previously relied
on Settings in a few places. lbryid had been stored in the old
settings, this initializes it at startup.
2016-12-17 20:01:06 -05:00
Job Evers-Meltzer
a8cb255d24
Bump version: 0.7.11rc0 → 0.7.12rc0
2016-12-16 21:45:02 -06:00
Job Evers-Meltzer
6172924021
Bump version: 0.7.8 → 0.7.11rc0
2016-12-16 20:58:24 -06:00
Job Evers-Meltzer
d5d0d0e31c
change error log on resolve-name to info
2016-12-16 19:51:10 -06:00
Job Evers-Meltzer
53df361d23
Log failure when attempting to get_lbry_files
...
I had an old version of lbryum installed and so no
names were coming back. But the daemon was failing
silently. This at least logs the error.
2016-12-16 00:32:06 -06:00
Job Evers-Meltzer
8fe15f507b
Better dht shutdown.
...
The old code relied on the timing of DelayedCalls
to see what had been called or not, but unfortunately
we don't have a real-time OS so the timing on DelayedCalls
can only be approximate. Changed to explicitly keep
track of which calls had been made.
This simplifies the shutdown logic drastically, and I believe
we can take out the reactor.iterate() now
2016-12-15 23:44:35 -06:00
Job Evers‐Meltzer
3dde7af576
Merge pull request #339 from lbryio/all-prs
...
All The PRs
2016-12-15 19:42:35 -06:00
Job Evers-Meltzer
7af6e9e0dd
Improve BlobAvailabilityTracker performance
...
For daemons with a lot of blobs, getting mean availabity
will be slow. Samples the blobs in an attempt at getting
better performance.
2016-12-15 19:03:37 -06:00
Job Evers-Meltzer
56d394fb5f
Add timing to hash announcements
...
This could potentially be a performance issue
on reflector or any daemon with a large number of blobs.
2016-12-15 18:58:16 -06:00
Job Evers-Meltzer
3585d861ff
Add TRACE level logging
2016-12-15 18:58:16 -06:00
Job Evers-Meltzer
f181af8547
Cleanup code in BlobManager
2016-12-15 18:58:16 -06:00
Job Evers-Meltzer
84baa5e065
dht: refactor _msgTimeout
2016-12-15 18:58:16 -06:00
Job Evers-Meltzer
781b915717
remove unused check_consistency function
2016-12-15 18:58:16 -06:00
Job Evers-Meltzer
fa29c92760
Add setting to disable reuploading to reflector
2016-12-15 18:58:16 -06:00
Job Evers-Meltzer
fec917b9c1
rename platform to system_info
2016-12-15 18:58:16 -06:00
Job Evers-Meltzer
4f3b5cd802
Better logging on DHT errors
...
Timeout errors are common on the dht so log those
at debug, but other errors need to (potentially) recieve
more attention
2016-12-15 18:58:16 -06:00
Job Evers-Meltzer
250831a86a
remove unused distance function from routingtable
2016-12-15 18:58:15 -06:00
Job Evers-Meltzer
323bccb0ae
another distance optimization
2016-12-15 18:58:15 -06:00
Job Evers-Meltzer
0084d4684f
Add distance optimization
2016-12-15 18:58:15 -06:00
Job Evers-Meltzer
740fad5cbe
Refactor dht.node.iterativeFind
...
Move nested functions into a helper class.
Add new, smaller functions to increase readability
2016-12-15 18:58:15 -06:00
Job Evers-Meltzer
fa8190356a
replace log_support.failure calls
2016-12-15 18:58:15 -06:00
Job Evers-Meltzer
4ca33505b5
logging: add kwargs to fail() call
2016-12-15 18:58:15 -06:00
Job Evers-Meltzer
20b6b22334
Add callback functionality to log.fail
...
This enables the common pattern of being able to log a failure and
then do something.
2016-12-15 18:58:15 -06:00
Job Evers-Meltzer
b8c91c61bb
Make a new logger with a fail method that is useful for errbacks.
...
Extracting useful tracebacks and line numbers from failures
withing twisted's deferred can be a pain. Hopefully this is a step
in the right direction.
2016-12-15 18:58:15 -06:00
Job Evers-Meltzer
c30ea04959
Remove commented code
...
This is the result of running eradicate (https://github.com/myint/eradicate )
on the code and double-checking the changes.
2016-12-15 18:58:06 -06:00
Kay Kurokawa
23bf43f40c
fixing bug where broadcast_transaction function would not return a deferred
2016-12-15 10:28:49 -05:00
Kay Kurokawa
6f60b8b827
work on resolving threading issues with lbryum in Wallet.py
2016-12-15 10:28:49 -05:00
Kay Kurokawa
965f8f1238
removing unused get_transaction function from daemon and wallet
2016-12-15 10:28:49 -05:00
Job Evers-Meltzer
7bce37a720
pylint: add check for missing-final-newline
2016-12-14 19:21:59 -06:00
Job Evers-Meltzer
14ac2bac39
pylint: fix trailing-whitespace
2016-12-14 19:21:59 -06:00
Jeremy Kauffman
32fa2460ff
sort the help functions
2016-12-14 19:21:54 -06:00
Job Evers-Meltzer
f796f701f2
Immediately announce completed blobs
...
It doesn't seem necessary to wait up to 60 seconds for a new blob to
be announced to the dht. Immediately announce it and schedule the next
announce time as usual.
2016-12-14 19:05:24 -06:00
Kay Kurokawa
bce41ddab4
Do not return 'success' and 'reason' as outputs in claim commands
...
We throw an Exception instead
2016-12-14 19:05:05 -06:00
Jack
5bf20096b2
fix wallet_balance when checking fee amount
2016-12-12 14:32:33 -05:00
Job Evers-Meltzer
e8faadc324
fix more long lines
2016-12-07 10:10:46 -05:00
Job Evers-Meltzer
b64fa51567
fixup long lines
2016-12-07 09:38:34 -05:00
Job Evers-Meltzer
fe3e25982c
don't lint unused files
2016-12-07 09:35:16 -05:00
Jack Robison
9ad55e93b9
Merge pull request #315 from kaykurokawa/fix_claim_bug
...
Fix bug to exclude support in get_my_claim
2016-12-07 09:25:44 -05:00
Jack Robison
9e7e168175
Merge pull request #319 from lbryio/reenable-startup-status-codes
...
Reenable startup status
2016-12-06 17:00:03 -05:00
Jack Robison
f84df50d7f
Merge pull request #317 from lbryio/remove-lbrynet-console
...
Remove lbrynet-console
2016-12-06 16:59:52 -05:00
Jack
f0ed4e5513
move listen to DaemonServer startup
2016-12-06 16:34:50 -05:00
alexliebowitz
39005ffc14
Merge pull request #310 from lbryio/allow-cors-config
...
allow Access-Control-Allow-Origin to be configurable
2016-12-06 15:11:38 -05:00
Jack Robison
28e88d89a5
Merge pull request #313 from lbryio/config-bittrex
...
Add bittrex to conf
2016-12-06 12:41:45 -05:00
Jack
979f8efa79
remove unused lbrynet-console
2016-12-06 12:35:27 -05:00
Jack Robison
4c4bccfe73
Merge pull request #312 from lbryio/local-ui-conf
...
local_ui_path needs to be a str
2016-12-06 12:23:45 -05:00
Jack
8cb0f99e30
fix pylint errors
2016-12-06 12:22:43 -05:00
Umpei Kay Kurokawa
6076861cd0
Merge pull request #304 from kaykurokawa/remove_lbrycrd
...
Remove lbrycrdd
2016-12-06 12:06:09 -05:00
Job Evers‐Meltzer
8b427a92ac
Merge pull request #311 from lbryio/fix-server-port
...
port needs to be an int
2016-12-06 09:48:08 -05:00
Kay Kurokawa
9c50cfdcdb
fix bug in get_my_claim
2016-12-05 17:17:17 -05:00
Job Evers-Meltzer
8f80e8a3da
add bittrex to conf
2016-12-05 17:14:25 -05:00
Job Evers-Meltzer
cd44ae02a3
__getattr__ should call __getattribute__
2016-12-05 17:06:45 -05:00
Job Evers-Meltzer
848f1f025c
local_ui_path needs to be a str
2016-12-05 16:29:18 -05:00
Job Evers-Meltzer
d2cc8355dc
port needs to be an int
2016-12-05 16:20:16 -05:00
Job Evers
ee00d1984a
allow Access-Control-Allow-Origin to be configurable
2016-12-05 15:34:48 -05:00
Jack
b9bb337a07
add tests for daemon.get_est_cost
2016-12-05 11:48:44 -05:00
Jack
d93f86030c
clean up get_est_cost functions
2016-12-05 11:48:44 -05:00
Jack
d9e1e88c05
refactor get_est_cost
...
-add size parameter, if provided the sd blob won’t be downloaded (can
be used with size information from lighthouse)
-check if blob was already downloaded before trying to download it again
2016-12-05 11:48:43 -05:00
Job Evers-Meltzer
f579c8dbb8
Bump version: 0.7.7 → 0.7.8
2016-12-02 20:05:08 -06:00
Jack Robison
13d74d1f76
Merge pull request #297 from lbryio/better-name-error
...
Provide better feedback on why a name is invalid
2016-12-02 12:08:58 -05:00
Job Evers-Meltzer
ddf678af8a
Bump version: 0.7.7rc0 → 0.7.7
2016-12-02 09:47:27 -06:00
Job Evers‐Meltzer
2c6d6d1602
Merge pull request #303 from lbryio/settings-api-fixes
...
Fixes to get_settings() and set_settings()
2016-12-02 09:41:22 -06:00
Alex Liebowitz
7d0e9f6ab9
Tweak logic in ApplicationSettings
...
Use self.environ instead of ENVIRONMENT to avoid global reference
2016-12-01 23:51:58 -05:00
Kay Kurokawa
200a22c93b
Remove support for lbrycrdd wallet and related code
2016-12-01 16:45:48 -05:00
Alex Liebowitz
458561fe6f
In AdjustableSettings, initialize all keys on init
...
Settings.update() method expects keys to already be present, so load
them all up front
2016-12-01 15:22:52 -05:00
Alex Liebowitz
157d6dca93
Save settings in conf.py
2016-12-01 15:22:52 -05:00
Alex Liebowitz
7b1b7fbf13
Call conf.settings.get_dict() in jsonrpc_get_daemon_settings()
2016-12-01 15:22:51 -05:00
Alex Liebowitz
876cdce51f
Add Config.get_dict()
...
We don't want the version from DefaultSettings, so use super() to get
the standard functionality from conf.Settings.
2016-12-01 15:22:51 -05:00
Alex Liebowitz
205a10bc8e
Refactor how adjustable settings are pulled out of config.settings
...
- Factor out this functionality into separate method
- Change the set_settings() JSON-RPC method to use this (before, it was
just returning all fields, which doesn't work anymore after the
settings refactor)
2016-12-01 15:22:51 -05:00
Alex Liebowitz
ef8d1cfdc2
Rename var in Settings.update()
2016-12-01 15:22:51 -05:00
Alex Liebowitz
879c01ba00
Add separate list of excluded fields to AdjustableSettings
...
Adds "environ" field. Also renames __excluded to _excluded so it can
be overridden by child classes.
2016-12-01 15:22:44 -05:00
Alex Liebowitz
8bb7517f32
Merge pull request #300 from kaykurokawa/fix_claim_defer
...
Missing the return of a defer.fail when claim fails, changing to raise Exception
2016-12-01 13:49:29 -05:00
Job Evers-Meltzer
70d9b3ed74
Attempt to fix analytics badstatusline error
...
We've started seeing a lot of:
ConnectionError: ('Connection aborted.', BadStatusLine("''",))
Hopefully this fixes the problem. Its hard to test, so I'll
have to check the logs after releasing.
2016-12-01 12:13:12 -06:00
Job Evers-Meltzer
f39a21cf7b
Provide better feedback on why a name is invalid
2016-12-01 11:02:37 -06:00
Umpei Kay Kurokawa
67b169c5a1
Merge pull request #300 from kaykurokawa/fix_claim_defer
...
Missing the return of a defer.fail when claim fails, changing to raise Exception
2016-11-30 23:08:48 -05:00
Kay Kurokawa
ff10546152
Missing the return of a defer.fail when claim fails, changing to raise Exception
2016-11-30 22:57:23 -05:00
Kay Kurokawa
360f4e50a0
converting some log.info to log.debug in Wallet
2016-11-30 16:37:28 -05:00
Job Evers‐Meltzer
f11f486f5a
Merge pull request #292 from lbryio/allow-rc
...
allow for rc in version values
2016-11-30 14:16:17 -06:00
Jack Robison
fe53cc97d9
Merge pull request #285 from lbryio/more-flexible-origin-check
...
Allow 0.0.0.0 for api interface
2016-11-30 14:04:52 -05:00
Jack
051e63d76b
don't allow 0 bid
2016-11-29 20:17:06 -05:00
Job Evers-Meltzer
8cdda7d845
Bump version: 0.7.6 → 0.7.7rc0
2016-11-28 23:33:57 -06:00
Job Evers-Meltzer
6a8789050c
Allow 0.0.0.0 for api interface
...
For a host to be able to access the daemon running inside a docker
container the damon needs to be listening to 0.0.0.0
- move the API_INTERFACE setting to the adjustablesettings
- check the port matches as well as the interface
2016-11-28 19:19:05 -06:00
Job Evers‐Meltzer
9140c95a0c
Merge pull request #291 from lbryio/fix-pylint
...
fix pylint errors
2016-11-28 15:32:16 -06:00
Job Evers-Meltzer
6f2e2e727e
fix pylint errors
2016-11-28 13:33:34 -06:00
Jack Robison
48b137fe4c
Merge pull request #287 from lbryio/version-add-lbry-id
...
get_lbry_session_info
2016-11-28 14:26:43 -05:00
Jack
a6326ee7a1
get_lbry_session_info
2016-11-28 14:16:21 -05:00
Jack
bfcd84a568
use nOut in addition with txid to identify claims
2016-11-25 16:59:23 -05:00
Alex Liebowitz
4cb2a8f2aa
Include LBRY ID in version() API method result
2016-11-23 20:29:45 -05:00
Alex Liebowitz
9d272befcd
Convert length of shortened plaintext LBRY ID to constant
2016-11-23 20:28:16 -05:00
Job Evers
91fb78b077
Update TODO with more useful info
2016-11-22 18:14:41 -06:00
Job Evers-Meltzer
464bd11c3a
Improve parsing of environment variables
...
Switch adjustable settings to use the envparse library. This
provides more flexible and robust parsing.
2016-11-22 18:14:36 -06:00
Job Evers-Meltzer
b88e771eb2
bug fix: use proper settings dictionary
2016-11-22 16:03:37 -06:00
Job Evers-Meltzer
7a76763610
rename Setting to Settings
2016-11-22 16:03:37 -06:00
Job Evers-Meltzer
02d2bad03f
allow json to be used to set settings
2016-11-22 16:03:37 -06:00
Jack Robison
f65a50a6a3
Merge pull request #260 from lbryio/error-messages
...
meaningful error messages, improve cli, remove unused search from daemon
2016-11-22 15:54:21 -05:00
Jack
0a9ef07787
Merge branch 'master' into error-messages
...
# Conflicts:
# lbrynet/lbrynet_daemon/Daemon.py
# lbrynet/lbrynet_daemon/auth/server.py
2016-11-22 15:44:47 -05:00
Jack Robison
0e9ad16a2e
Merge pull request #278 from lbryio/fix-uncaught-analytics-exception
...
fix uncaught analytics exception
2016-11-22 15:25:07 -05:00
Jack
cd0a9ba9e8
feedback from job
2016-11-22 15:18:01 -05:00
Jack
e08d0eb8f9
_log_and_render_error
2016-11-22 15:11:25 -05:00
Jack Robison
82f9cc57fd
Merge pull request #283 from lbryio/fail-blank-uri
...
fail verify_name_characters for blank uri
2016-11-22 13:55:12 -05:00
Jack
543f65fc24
fail verify_name_characters for blank name
2016-11-21 21:58:04 -05:00
Kay Kurokawa
896a16c15d
fix spelling mistake for auto connect
2016-11-19 19:29:58 -05:00
Job Evers-Meltzer
3d7dee1208
allow for rc in version values
2016-11-19 16:58:40 -06:00
Alex Liebowitz
e03db79f79
Always return array from jsonrpc_get_lbry_files()
...
Before, would return false when there were no files in the DB.
2016-11-16 23:57:02 -05:00
Jack
0b0150ad73
fix uncaught analytics exception
2016-11-16 19:10:49 -05:00
Jack Robison
0490250da4
Merge pull request #272 from lbryio/setup-ui-defaults
...
Give priority to arguments over settings in UIManager.setup()
2016-11-16 18:53:26 -05:00
Job Evers-Meltzer
dd952ddbe3
Bug fix: pkg_resources doesn't like cx_freeze.
...
Getting the location of bundling resources doesn't work
with cx_freeze so putting in some temporary error handling
while we figure out a better way to bundle the UI.
2016-11-16 15:15:46 -06:00
Alex Liebowitz
776fe41e03
Switch back to "or" style for default params in UIManager.setup()
2016-11-16 16:09:42 -05:00
Alex Liebowitz
8b1ea0a6a7
Give priority to arguments over settings in UIManager.setup()
2016-11-16 15:58:11 -05:00
Jack
ba7f326e72
use log_support
2016-11-16 15:16:15 -05:00
Job Evers-Meltzer
b9caf2c4a9
Bump version: 0.7.6rc0 → 0.7.6
2016-11-16 11:06:53 -06:00
Alex Grintsvayg
7ecc8103d8
improve error analytics
...
- move analytics creation earlier in the startup process
- add several events to track startup, startup failure, other errors
- abstract platform detection into separate file
- add "build" type to platform so we can differentiate devs vs live users
2016-11-15 10:31:35 -05:00
Alex Grintsvayg
6b72b4de11
use constants for wallet types
2016-11-15 10:31:35 -05:00
Job Evers‐Meltzer
8e1ad0aa8b
Merge pull request #270 from lbryio/survive-lbry-down
...
Bug fix: continue even if log fails to upload
2016-11-15 08:48:05 -06:00
Job Evers‐Meltzer
5b7f80487f
Merge pull request #271 from lbryio/log-lbryum-on-verbose
...
enable lbryum info logging when verbose
2016-11-15 08:47:51 -06:00
Job Evers-Meltzer
9940327b9a
enable lbryum info logging when verbose
2016-11-14 20:34:56 -06:00
Job Evers-Meltzer
b300afb504
Bug fix: continue even if log fails to upload
...
lbry.io being down caused lbrynet to die when uploading a log.
2016-11-14 20:16:34 -06:00
Job Evers-Meltzer
0941618048
move reflector blob client to its own module
2016-11-14 19:33:36 -06:00
Job Evers-Meltzer
abc7b11e26
remove repeated code for reflector
2016-11-14 19:33:36 -06:00
Job Evers-Meltzer
85dee27c92
whitespace
2016-11-14 19:33:36 -06:00
Jack
5ae3485411
Merge branch 'master' into error-messages
...
# Conflicts:
# lbrynet/dht/protocol.py
2016-11-14 14:11:02 -05:00
Jack
8f98469969
unused imports
2016-11-14 14:10:19 -05:00
Jack
e1cdbdc91d
fix coveralls error
2016-11-14 14:02:19 -05:00
Jack
908c9a3bfa
feedback from job
2016-11-14 13:53:11 -05:00
Jack
f45a2cba32
fix insufficient funds and max key fee bug
2016-11-14 13:41:05 -05:00
Jack Robison
763fefb33f
Merge pull request #256 from kaykurokawa/fix_get_my_claim
...
Update right after making claim will fail due to get_my_claim()
2016-11-14 13:37:54 -05:00
Job Evers-Meltzer
cd65b6fd13
Normalize python version
...
setuptools will force a version to be 'normalized'
which means that it removes the dash.
This will probably cause some weirdness on the version
numbers in the windows build; might have to re-work
my patches on cx_freeze: https://bitbucket.org/jobevers/cx_freeze/commits/all
2016-11-11 14:34:01 -06:00
Jack
472bb6af1b
remove unused lighthouse search from daemon
2016-11-11 13:43:58 -05:00
Jack
7f96e35b0e
clean up daemon imports and settings var name
2016-11-11 13:42:51 -05:00
Jack
f9fef3d586
reactor.iterate() in dht shutdown
...
-fixes enigmatic `’Port' object has no attribute 'socket’` error
2016-11-11 13:41:36 -05:00
Jack
ec4f9011b9
meaningful API error messages
2016-11-11 13:40:19 -05:00
Job Evers-Meltzer
d634c009d3
Bump version: 0.7.5 → 0.7.6-rc0
2016-11-11 12:04:21 -06:00
Job Evers‐Meltzer
a7589914d0
Merge pull request #267 from lbryio/fix-dht-ports
...
Restore reactor.iterate in dht shutdown
2016-11-11 11:42:43 -06:00
Job Evers‐Meltzer
0736fa506b
Merge pull request #266 from lbryio/startup-logging
...
more logging on startup
2016-11-11 11:11:02 -06:00
Job Evers‐Meltzer
edc89be794
Merge pull request #257 from lbryio/ensure-ui-loads
...
bug fix: ensure the bundled ui is loaded
2016-11-11 10:26:54 -06:00
Job Evers-Meltzer
d41881596d
Restore reactor.iterate in dht shutdown
...
This reverts the change made in 693fef1964
Not sure why this is needed, but taking this out sometimes causes
`exceptions.AttributeError: 'Port' object has no attribute 'socket'`
to happen on shutdown.
2016-11-11 10:21:50 -06:00
Job Evers-Meltzer
3b34bddf0a
more logging on startup
2016-11-11 10:14:41 -06:00
Jack Robison
0abc081edc
Merge pull request #259 from lbryio/use-whole-message-in-auth
...
use whole message to make hmac
2016-11-10 17:07:39 -05:00
Kay Kurokawa
11b36ff4c8
fixing to remove supports from get_my_claim
2016-11-10 12:52:35 -05:00
Alex Liebowitz
87cc487051
Fix deferred for loading user-specified UIs
...
In UIManager, pass self._load_ui into deferred as function object
instead of calling immediately
2016-11-10 03:47:32 -05:00
Jack Robison
5ea945ca0b
Merge pull request #249 from lbryio/settings-bugs
...
fix --wallet argument bug, use .json conf file if not given a .yml file
2016-11-09 16:53:46 -05:00
Kay Kurokawa
1f06339d5a
fix get_my_claim command
2016-11-09 15:19:58 -05:00
Job Evers-Meltzer
09d248b3cc
bug fix: ensure the bundled ui is loaded
2016-11-09 13:34:04 -06:00
Umpei Kay Kurokawa
28bf5215e4
Merge pull request #251 from kaykurokawa/fix_unknonwname_exc
...
fixing UnknownNameError exception initialization
2016-11-09 12:37:03 -05:00
Job Evers-Meltzer
61a354fa60
add bad-whitespace check to pylint
2016-11-09 11:27:07 -06:00
Job Evers-Meltzer
838508f342
Bundle the UI into non-tagged builds.
...
Updates the UIManager to check if a bundled UI was included
in the package and preferentially use that.
2016-11-09 09:29:39 -06:00
Alex Grin
9d82be6664
that server's not up anymore
2016-11-09 10:13:36 -05:00
Job Evers‐Meltzer
66745b0820
Merge pull request #242 from lbryio/shutdown-issues
...
Shutdown issues
2016-11-09 08:17:13 -06:00
Job Evers‐Meltzer
f845729adb
Merge pull request #246 from lbryio/refactor-upload
...
Refactor upload
2016-11-09 08:16:34 -06:00
Job Evers-Meltzer
6a587d03cf
refactor upload endpoint
2016-11-09 08:16:08 -06:00
Job Evers-Meltzer
affb7d837a
better logging, cleanup whitespace
2016-11-09 08:16:08 -06:00
Kay Kurokawa
4ad6405f35
fixing UnknownNameError exception initialization
2016-11-08 14:28:17 -05:00
Jack
297865902b
use json conf file if not given yml
2016-11-05 14:23:48 -04:00
Jack
ab15074ae4
fix --wallet=lbrycrd argument
2016-11-05 14:10:26 -04:00
Job Evers-Meltzer
b68a1838f2
eliminate unused return value
2016-11-04 11:44:50 -05:00
Job Evers-Meltzer
43b2cd1433
cleanup whitespace and long-lines
2016-11-04 11:44:50 -05:00
Job Evers-Meltzer
0036685ece
use more readable KB, MB
2016-11-04 11:44:50 -05:00
Job Evers-Meltzer
d06c670a12
Allow publishing with unicode filenames
...
encodes unicode into a string before hashing. Also adds tests
to verify that the fix works and that normal files
can be made into EncryptedFiles
2016-11-04 11:44:50 -05:00
Job Evers-Meltzer
59c4593bf4
whitespace
2016-11-03 14:42:57 -05:00
Job Evers-Meltzer
5bccfdb244
add logging to shutdown process
2016-11-03 14:42:45 -05:00
Job Evers-Meltzer
10cb20d08f
fix whitespace and long-lines
2016-11-03 14:22:16 -05:00
Job Evers-Meltzer
693fef1964
remove reactor.iterate from dht shutdown
2016-11-03 10:43:24 -05:00
Job Evers-Meltzer
fe7700d726
Bump version: 0.7.4 → 0.7.5
2016-11-02 10:50:42 -05:00
Jack
7d04ae2237
use whole message to make hmac
2016-11-02 11:38:09 -04:00
Jack
c748572bf6
feedback from job
2016-11-02 11:32:46 -04:00
Jack
660bf74d42
fix missing conf file on first run
2016-11-02 10:41:47 -04:00
Job Evers-Meltzer
4db3be345b
Bump version: 0.7.3 → 0.7.4
2016-11-02 07:43:11 -05:00
Job Evers‐Meltzer
dcea8a8c78
Merge pull request #236 from lbryio/better-log-and-kill
...
More robustly stop the reactor
2016-11-02 07:36:21 -05:00
Job Evers-Meltzer
815696485f
More robustly stop the reactor
...
Was getting a "cannot stop a reactor that isn't running error"
when playing around with error handling on startup.
Following the suggestion from http://stackoverflow.com/a/36738480
it seems to work better
2016-11-02 07:23:37 -05:00
Job Evers‐Meltzer
b316b56885
Merge pull request #234 from lbryio/unicode-settings
...
download directory and ui bug fixes for windows
2016-11-02 07:19:51 -05:00
Job Evers‐Meltzer
269dc47b69
Merge pull request #230 from kaykurokawa/better_stream_info_error
...
Better error detection in Wallet for invalid streams
2016-11-02 07:13:48 -05:00
Jack
96ef5089fc
fix data_dir problem in UIManager
2016-11-01 16:40:50 -04:00
Job Evers-Meltzer
c0d96a5733
fix bug in jsonrpc_get_settings
2016-11-01 15:39:51 -05:00
kkurokawa
7dd5e7ceeb
spacing after comma fix, use Exception init in InvalidStreamInfoError
2016-11-01 16:35:44 -04:00
Jack
9de7354ea0
drop connection on failed read blob
2016-11-01 16:32:34 -04:00
Jack
cfbdda411a
whoops
2016-11-01 13:23:02 -04:00
Jack
96c4837cb8
clean up errback
2016-11-01 13:19:13 -04:00
Jack
2294e6bf36
Merge branch 'master' into unicode-settings
2016-11-01 13:06:20 -04:00
Jack
4cffc32328
catch availability check error
2016-11-01 13:05:19 -04:00
Jack
d1b23e25d9
allow unicode settings
2016-11-01 12:53:04 -04:00
Job Evers-Meltzer
e5ba70c3ba
Bump version: 0.7.2 → 0.7.3
2016-11-01 11:38:45 -05:00
Job Evers‐Meltzer
c88e4aecf5
Merge pull request #232 from lbryio/read-config
...
Read config
2016-11-01 11:33:17 -05:00
Job Evers‐Meltzer
469df84990
Merge pull request #229 from kaykurokawa/fix_updates
...
Fix updates in name_claim function
2016-11-01 11:16:03 -05:00
Job Evers-Meltzer
30533a7986
Read config file in windows and osx
...
Also moves the config loading to BEFORE the log configuration
2016-11-01 11:14:04 -05:00
kkurokawa
39b47bc569
better error detection in _get_stream_info_from_value
2016-11-01 10:34:08 -04:00
Job Evers‐Meltzer
96104e65ed
Merge pull request #226 from lbryio/start-tcp-earlier
...
Start listening before launching browser
2016-11-01 07:33:33 -05:00
kkurokawa
e9bab33e2a
fixing claim updates
2016-10-31 19:17:37 -04:00
Job Evers-Meltzer
3b6006d759
Start listening before launching browser
2016-10-31 14:00:07 -05:00
Job Evers-Meltzer
9ca80a7cf7
set lbryum to log at warning level
...
lbryum is very chatty at the info level. As a rough estimate a bit
over half of our logs in loggly are a result of lbrum.
The better, long-term, solution would be to modify lbryum to move more
logs to the debug level.
2016-10-30 16:47:37 -05:00
Job Evers-Meltzer
9baf261cb3
Bump version: 0.7.1 → 0.7.2
2016-10-30 14:47:21 -05:00
Job Evers-Meltzer
f03a15d503
remove unneeded 'after_first_run' check
2016-10-30 14:46:16 -05:00
Job Evers-Meltzer
1a70a20c8b
Bump version: 0.7.0 → 0.7.1
2016-10-30 10:57:41 -05:00
Job Evers-Meltzer
359cb83fab
change windows log file location
2016-10-30 10:46:58 -05:00
Job Evers-Meltzer
0893858385
Bump version: 0.6.10 → 0.7.0
2016-10-28 18:03:40 -05:00
Job Evers-Meltzer
864e963dea
Merge remote-tracking branch 'origin/master' into reflect-my-unavailable-streams
...
Conflicts:
lbrynet/core/log_support.py
2016-10-28 17:16:39 -05:00
Job Evers-Meltzer
dee0917642
various fixes
2016-10-28 16:57:25 -05:00
Job Evers-Meltzer
395a68b261
For settings: On conversion failure, fallback to default values
2016-10-28 16:29:16 -05:00
Job Evers-Meltzer
353ede26b8
Log error when resolve name fails
2016-10-28 16:03:58 -05:00
Job Evers‐Meltzer
46cfa20f65
Merge pull request #204 from lbryio/cleanup-logging
...
Cleanup logging
2016-10-28 15:56:54 -05:00
Jack
da601818a3
return from restore_status properly
2016-10-28 16:47:45 -04:00
Job Evers-Meltzer
6fa624ec8a
switch LogUploader to use an already encoded lbryid
2016-10-28 15:44:24 -05:00
Job Evers-Meltzer
779ba8e214
Fix missing conf imports
2016-10-28 15:43:04 -05:00
Job Evers-Meltzer
6f9ec2fa66
remove repeated log code
2016-10-28 15:43:04 -05:00
Job Evers-Meltzer
40437e4a82
log cleanup
2016-10-28 15:43:04 -05:00
Job Evers-Meltzer
2ee6fac014
redo logging configuration for lbrynet-daemon script
2016-10-28 15:43:04 -05:00
Job Evers-Meltzer
8fe5eb514a
make app startup consistent across versions
2016-10-28 15:41:48 -05:00
Jack
c4312cc387
Merge branch 'master' into reflect-my-unavailable-streams
2016-10-28 16:05:16 -04:00
Jack
110a9b1e0f
whoops
2016-10-28 15:56:22 -04:00
Jack
035a1cf758
feedback from job
2016-10-28 15:48:51 -04:00
Jack
d4785849e1
remove unused imports
2016-10-28 14:22:37 -04:00
Job Evers-Meltzer
b41756e38a
Bump version: 0.6.9 → 0.6.10
2016-10-28 12:29:15 -05:00
Job Evers-Meltzer
862055a6de
move settings into conf file
2016-10-27 14:31:27 -05:00
Job Evers-Meltzer
7076c0c870
Require env settings are in LBRY namespace
2016-10-27 11:05:21 -05:00
Job Evers-Meltzer
2cd6c644a0
Merge remote-tracking branch 'origin/master' into refactor-settings
...
Conflicts:
lbrynet/lbrynet_daemon/Daemon.py
lbrynet/lbrynet_daemon/DaemonControl.py
lbrynet/lbrynet_daemon/DaemonServer.py
2016-10-27 10:34:48 -05:00
Job Evers-Meltzer
0edacbe4c8
Merge remote-tracking branch 'origin/master' into refactor-settings
...
Conflicts:
lbrynet/conf.py
lbrynet/lbrynet_daemon/Daemon.py
lbrynet/lbrynet_daemon/DaemonCLI.py
lbrynet/lbrynet_daemon/UIManager.py
tests/functional/test_misc.py
2016-10-27 10:18:56 -05:00
Jack
127987f3ba
upload log if lbry id is not yet set, clean up crash log
2016-10-26 17:39:47 -05:00
Job Evers-Meltzer
3c7eec9456
raise error if database is newer
2016-10-26 17:39:46 -05:00
Job Evers-Meltzer
5d45345398
shutdown if there are errors during setup
2016-10-26 17:39:43 -05:00
Jack
369cd516c0
move availability check and fix from ManagedEncryptedFileDownloader to ReflectorAvailabilityHelper
2016-10-26 16:17:01 -04:00
Jack
24320d6444
remove debug line
2016-10-26 03:22:45 -04:00
Jack
1951ea09cd
updates from master, more refactoring
...
-lbrynet.lbrynet_daemon.auth.client.LBRYAPIClient.config will detect if
it needs to return the auth/non-auth version
2016-10-26 03:16:33 -04:00
Job Evers-Meltzer
4d391e7429
Use better json formatting
...
Apply json.dumps at the end of the formatting process instead of the
middle. This allows for proper escaping of quotes and allows for
actual json to be emitted.
2016-10-25 17:49:35 -05:00
Job Evers‐Meltzer
fb88cdb445
Merge pull request #203 from lbryio/github-bug
...
catch exception if github is down
2016-10-24 11:02:12 -05:00
Job Evers-Meltzer
e62e2cc440
catch exception if github is down
2016-10-21 16:12:56 -07:00
Job Evers-Meltzer
a5797cdeb3
Better handling of lbry file search
...
- replace lbry file search strings with constants
- refactor repeated code for deciding what search type to use
2016-10-20 16:01:54 -07:00
Jack
3dd99fdc92
upload unavailable streams to reflector on startup
2016-10-20 15:40:35 -04:00
Job Evers-Meltzer
0c2265a8da
replace some strings
2016-10-20 11:30:38 -07:00
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