Jack Robison
615e489d8d
fix stream_update
--clear_channel flag
2021-10-05 16:44:49 -04:00
Jack Robison
bfeeacb230
tests
2021-10-05 16:44:49 -04:00
Victor Shyba
dade49743b
fix file reflect and add test
2021-10-04 19:26:05 -03:00
Victor Shyba
245b564f13
generalize stream empty to argument empty
2021-09-30 13:24:17 -03:00
Victor Shyba
0d8d1ea4f3
empty stream name error for user input
2021-09-30 13:24:17 -03:00
Victor Shyba
27a427a363
error for missing channel private key
2021-09-30 13:24:17 -03:00
Victor Shyba
2ff028a694
error for already purchased claims
2021-09-30 13:24:17 -03:00
belikor
bbbaf59591
daemon: fix documentation in the file_list
docstring
...
This is necessary to produce the `docs/api.json`
(through `scripts/generate_json_api.py`)
with correct information, and to be able to parse this file later on
by other tools.
2021-09-23 21:00:31 -05:00
Lex Berezhny
ef89c2e47a
use databse to track blob disk space use and preserve own blobs
2021-09-15 09:10:06 -04:00
Victor Shyba
358ef4536f
add ConflictingInputValueError for claim_id+claim_ids
2021-09-10 18:57:20 -03:00
Victor Shyba
5061a35e66
remove ignored output from hub node
2021-09-10 18:57:20 -03:00
Victor Shyba
8206441834
run CI for old and new setups
2021-09-10 18:57:20 -03:00
Victor Shyba
d713783736
ignore default values
2021-09-10 18:57:20 -03:00
Victor Shyba
9e81dd2360
refactor arguments fixup
2021-09-10 18:57:20 -03:00
Victor Shyba
e2798969d7
claim_id is an invertible field, not a repeated
2021-09-10 18:57:20 -03:00
Victor Shyba
1c31ec66f2
simplify operator handling
2021-09-10 18:57:20 -03:00
Victor Shyba
241f9fc7b0
not_claim_id/not_claim_ids is not a search parameter
2021-09-10 18:57:20 -03:00
Victor Shyba
a799503c97
update fields from hub
2021-09-10 18:57:20 -03:00
Victor Shyba
9685928087
there is no first_search
2021-09-10 18:57:20 -03:00
Victor Shyba
3c4571a4e0
remove fallback
2021-09-10 18:57:20 -03:00
Jeffrey Picard
046147eb1d
updates for fields
2021-09-10 18:57:20 -03:00
Jeffrey Picard
7834520e54
update code to be consistent with field renames
2021-09-10 18:57:20 -03:00
Jeffrey Picard
8e5b4d4b6f
hardcode port
2021-09-10 18:57:20 -03:00
Jeffrey Picard
4544a074d9
Move the go hub settings from network to ledger config and hook reset
...
correctly.
2021-09-10 18:57:20 -03:00
Jeffrey Picard
9b78501392
Set default server to the networks default and use go hub by default
2021-09-10 18:57:20 -03:00
Jeffrey Picard
a4955a2b79
remove uneeded prints
2021-09-10 18:57:20 -03:00
Jeffrey Picard
15a56ca25e
tons of small changes squashed together
2021-09-10 18:57:20 -03:00
Jeffrey Picard
9f65799a3d
uncomment tests, add remove_duplicates param
...
Cleanup prints and commented out code
remove print
don't do list claims
cleanup
2021-09-10 18:57:20 -03:00
Jeffrey Picard
a97fc6dba8
cleanup and reorgnazing some stuff
...
Fixing tests
relabel failing tests properly
run all the tests for the hub
cleanup HubNode
2021-09-10 18:57:20 -03:00
Cristian Vicas
45bf6c3bf3
Drop comment_* apis.
...
Refactored dangling functions.
Added unit test.
2021-09-02 11:38:29 +03:00
Cristian Vicas
fef0cc764d
Drop comment_* apis
...
Removed the comment API
Removed tests for the comment API
Removed the documentation section
Removed the comment server configuration
2021-09-02 08:51:00 +03:00
belikor
d26c06dbf3
jsonrpc_support_sum: remove the + signs from the docstring
...
These symbols came from 0a0ac3b7c9
and were probably added
accidentally to the beginning of the line by copying and pasting
some diffs.
2021-08-25 13:28:02 -05:00
Lex Berezhny
dc1d9e1c84
upgrade pylint and fix lint errors
2021-08-20 22:36:35 -04:00
Jack Robison
eccedada40
add TODOs for errors raised that aren't defined in lbry.error
2021-08-17 12:31:03 -04:00
Jack Robison
25d54accf8
return api errors from wallet_add
and wallet_create
2021-08-17 12:30:17 -04:00
Jack Robison
d07685f0e9
only log tracebacks for api errors not defined in lbry.error
2021-08-17 11:30:58 -04:00
Lex Berezhny
51d21d8c86
working disk cleanup
2021-08-16 14:15:12 -04:00
Lex Berezhny
4e8d10cb44
disk space manager and status API
2021-08-13 10:32:46 -04:00
Victor Shyba
1849c02cb6
fix typo in kwargs key
2021-07-26 16:02:48 -03:00
belikor
6421cecafb
daemon: fix --claim_id
with lbrynet claim search
...
For some reason, when using `claim_search`
with `--claim_id`, the arguments dictionary will also
contain `claim_ids` with an empty list, even if we didn't specify it.
```
lbrynet claim search --claim_id=8945573bcfcb7f8276187dfbb93545eac4ebf71a
```
Using both `claim_id` and `claim_ids` will raise a `ValueError`
exception so the daemon won't return a valid result
even if the claim ID is in fact valid.
So if `claim_id` exists, we need to discard `claim_ids`
if it is empty, before proceeding with the rest of the code.
On the other hand, if `claim_ids` is used, and `claim_id` is absent,
there will be no problem as `claim_id` won't be added to the dictionary.
```
lbrynet claim search --claim_ids=8945573bcfcb7f8276187dfbb93545eac4ebf71a
```
2021-07-19 22:24:43 -05:00
Victor Shyba
bce299ccc7
fix docopt typo
2021-06-02 12:05:36 -04:00
Victor Shyba
67cce0ef7e
test+implement --comment for support_create
2021-06-02 12:05:36 -04:00
Lex Berezhny
fe469ae57f
create appropriate script for scripthash address
2021-06-02 11:34:21 -04:00
Victor Shyba
8c4b0037f5
API: add --remove_duplicates to claim_search
2021-05-27 20:14:12 -03:00
zeppi
2b950ff5dd
fix bug in collection_update --replace
2021-05-15 03:27:33 -03:00
Lex Berezhny
3d4321ee38
added --has_source/--has_no_source filters to claim_list
2021-04-23 10:24:48 -04:00
Lex Berezhny
f8814881a1
ability to set sd_hash, file_name and file_hash when updating a stream claim
2021-04-14 19:52:50 -04:00
Lex Berezhny
6acf94a810
moved balance calculation to SQL
2021-04-14 11:24:58 -04:00
Lex Berezhny
c8781392be
added unit test for Access-Control HTTP headers
2021-04-06 17:12:05 -04:00
John Leith
b97164fcfb
adding access control headers
2021-04-06 17:12:05 -04:00