Commit graph

3365 commits

Author SHA1 Message Date
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
Alex Grintsvayg
6803bfae99 add more bins to path 2016-09-24 15:48:07 -04:00
Jack
c49b0fdd49 Bump version: 0.4.9 → 0.5.0 2016-09-24 01:50:14 -04:00
Jack
bf3c56f0ec only run unit tests on windows 2016-09-24 01:47:37 -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
Job Evers-Meltzer
2107ffdd18 encourage use of virtualenv 2016-09-22 10:19:28 -07:00
Jack
492fc510fa move _get_my_unspent_claim to function 2016-09-21 22:10:19 -04:00
Jack Robison
c75d240a65 Merge pull request #169 from lbryio/functional-tests
Enable functional tests
2016-09-21 22:05:16 -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 Robison
9a412bbc76 Merge pull request #168 from lbryio/fewer-desktop-shortcuts
no extra desktop shortcuts in windows
2016-09-16 03:50:04 -04:00
Jack Robison
b3a16f95f7 Merge pull request #167 from lbryio/block-api-requests-by-referer
block api requests by referer
2016-09-16 03:49:55 -04:00
Jack
871b3be09a no extra desktop shortcuts 2016-09-16 03:42:25 -04:00
Jack
7085b1e3c3 block api requests by referer 2016-09-16 03:40:06 -04:00
Jack Robison
a9e4343775 Merge pull request #166 from lbryio/daemon-settings-yml
.yml daemon settings file
2016-09-16 01:22:20 -04:00
Jack
3d4d895d9b fix windows requirement 2016-09-16 01:14:56 -04:00
Jack
3d89e3fd93 add to appveyor.yml 2016-09-16 01:08:43 -04:00
Jack
a8e2dd3f2a add pyyaml to requirements.txt 2016-09-16 00:57:30 -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 Robison
6fa65ebb9f Merge pull request #163 from lbryio/windows-cli
fix windows cli
2016-09-15 22:57:44 -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 Robison
9f14cdb1d7 Merge pull request #162 from lbryio/fix-appveyor
fix appveyor error
2016-09-15 12:36:02 -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 Robison
c8bb0c0bc8 Merge pull request #161 from lbryio/delete-lbry-file-without-claim
Delete lbry file with abandoned claim
2016-09-14 22:41:43 -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
Alex Grintsvayg
1215470cc1 MIT license 2016-09-13 22:10:12 -04:00
Jack Robison
94195b7018 Merge pull request #160 from lbryio/allow-retry-after-timeout
Allow download attempts after having timed out and lower the name cache time
2016-09-13 15:17:13 -04:00
Jack
3c9c178bdc fix conf update 2016-09-12 15:44:56 -04:00