Commit graph

135 commits

Author SHA1 Message Date
Lex Berezhny
1ed38fff6f removed runner.shutdown() as runner.cleanup() calls this already 2019-10-26 15:01:17 -04:00
Hugo
087124ce42 Update unit test asserts 2019-10-26 10:36:52 -04:00
Hugo
c5cfd8f40e Upgrade Python syntax with pyupgrade --py37-plus 2019-10-26 10:36:52 -04:00
Lex Berezhny
d227660d6c minor refactor and cleanup, generated api.json 2019-10-26 01:18:27 -04:00
Oleg Silkin
f6b5a40813 self.daemon.jsonrpc_file_list(params) -> self.file_list(params) in tests 2019-10-26 01:18:27 -04:00
Oleg Silkin
69c0cefe5e Adds pre-formatted file_list method to testcase, fixes file_list tests 2019-10-26 01:18:27 -04:00
Oleg Silkin
ad8772e191 Replaces .get with bracket notation dictionary access 2019-10-26 01:18:27 -04:00
Oleg Silkin
4637559c6e Enforces the default paginated output on file_list 2019-10-26 01:18:27 -04:00
Oleg Silkin
766dcff6c6 Paginates only if either --page or --page_size are provided 2019-10-26 01:18:27 -04:00
Oleg Silkin
a23178633a Adds tests to ensure paginated file_list works properly 2019-10-26 01:18:27 -04:00
Lex Berezhny
7b86b3843f refactored and updates all list commands to always be paginated 2019-10-26 00:15:19 -04:00
Oleksandr Manyk
bd1df09098 Unify paginated endpoints logic 2019-10-26 00:15:19 -04:00
Lex Berezhny
e3cb5bfa07 fix for stream type change integration test 2019-10-25 11:51:45 -04:00
Lex Berezhny
63b8a76bf6 refactored tests and simplified clearing of metadata on file type change 2019-10-25 07:02:21 -04:00
Miroslav Kovar
5fe536a058 Clean up the test 2019-10-25 07:02:21 -04:00
Miroslav Kovar
342184e532 Clear metadata when updating file type 2019-10-25 07:02:21 -04:00
Lex Berezhny
e5c169ddf8 minor fixup 2019-10-24 17:28:59 -04:00
Miroslav Kovar
db34f89251 Normalize tag names 2019-10-24 17:28:59 -04:00
Lex Berezhny
bb8a2bfff7 fix bug with resolve and conflicting claim_id segments 2019-10-23 11:48:00 -04:00
Miroslav Kovar
d4d1d87680 Revert changes to cli, apply suggestions 2019-10-21 12:43:40 -04:00
Miroslav Kovar
869be3e361 Improve tests, update suggested file name when necessary 2019-10-21 12:43:40 -04:00
Miroslav Kovar
15376c19be Apply suggestions 2019-10-21 12:43:40 -04:00
Miroslav Kovar
268f6447cb Sanitize suggested, add tests 2019-10-21 12:43:40 -04:00
Lex Berezhny
481e265ec7 added wallet.save() in test since it is no longer saved redundantly on startup 2019-10-18 18:08:43 -04:00
Miroslav Kovar
6b0b441329 Fix logging bug 2019-10-18 12:02:36 -04:00
Lex Berezhny
1c8aad7a07 fix for encrypted wallet with import read-only channel accounts 2019-10-17 22:28:44 -04:00
Lex Berezhny
12a0cbf4e1 improve preference sync integration test 2019-10-16 17:19:10 -04:00
Lex Berezhny
39bc8c45c3 test fix 2019-10-16 15:49:10 -04:00
Lex Berezhny
d1a123997d sync_apply always updates local password if encrypt-on-disk is enabled 2019-10-16 12:06:05 -04:00
Lex Berezhny
bcd69f812e sync_apply overwrites local password when encrypt-on-disk is true 2019-10-16 12:06:05 -04:00
Lex Berezhny
e5be1ff157 bug fixes and encrypt-on-disk preference 2019-10-16 12:06:05 -04:00
Lex Berezhny
398fe55083 renamed: test_sync.py -> test_wallet_commands.py 2019-10-16 12:06:05 -04:00
Lex Berezhny
45eef03576 fixes 2019-10-14 12:57:09 -04:00
Lex Berezhny
e2b92c99ef added wallet balance command 2019-10-13 20:06:11 -04:00
Lex Berezhny
37ae302fc6 timestamped top-level wallet preferences 2019-10-12 20:23:29 -04:00
Miroslav Kovar
19e8b6e11f Add test 2019-10-11 10:12:18 -04:00
Victor Shyba
8cd18e47e7 get_kad... -> make_kad.. 2019-10-07 13:20:38 -03:00
Victor Shyba
7d6db20081 use cache for dht peer objects 2019-10-07 13:20:38 -03:00
Lex Berezhny
56df145052 updating/abanding streams/channels works across all accounts 2019-10-07 09:57:22 -04:00
Hugo
3a3a9b5f4e Fix spelling 2019-10-03 21:40:06 -04:00
Victor Shyba
4a6af0b938 retriable resolve 2019-09-30 12:57:18 -04:00
Lex Berezhny
1d5333c737 integration test fix 2019-09-23 13:49:50 -04:00
Lex Berezhny
68e9fd8541 account integration test fix 2019-09-23 13:49:50 -04:00
Lex Berezhny
ea434e3469 wallet_id related test fixes 2019-09-23 13:49:50 -04:00
Lex Berezhny
84587ac232 wallet commands and wallet_id argument to other commands 2019-09-23 13:49:50 -04:00
Miroslav Kovar
1e7bec48b6 Add integration test, remove unit test 2019-09-19 15:21:01 -04:00
Victor Shyba
c5530aee5f refactor tests 2019-09-18 19:19:34 -04:00
Victor Shyba
817f01593e call the correct method on is_valid_address 2019-09-18 19:19:34 -04:00
Jack Robison
a095f89c81
remove redundant test 2019-09-17 12:09:19 -04:00
Lex Berezhny
81f16d7061 refactored address_list API to be more detailed 2019-09-17 09:08:29 -04:00
Lex Berezhny
7c22111ae0 channel certificate and channel claim can be different accounts, also JSON RPC responses now include a field showing if the channel certificate is available 2019-09-16 13:21:45 -04:00
Jack Robison
f9880c8931
test sqlite binding error 2019-09-09 21:46:04 -04:00
Lex Berezhny
d2ad3e7ff1 initial kv store 2019-09-03 12:00:29 -04:00
Victor Shyba
6c79f98d3c connect directly on test server 2019-09-03 11:29:02 -03:00
Victor Shyba
96800de052 switch tests and fixes + support for multiple servers 2019-08-31 06:37:29 -03:00
Oleg Silkin
8f7c291e33 Adds comment_hide functionality 2019-08-26 12:43:07 -04:00
Victor Shyba
7fdd9dc293 fix annoying assertEquals warning 2019-08-21 22:03:24 -03:00
Alex Grin
ff73418fc1
Merge pull request #2371 from lbryio/basenetwork_refactor
refactor basenetwork so each session takes care of itself
2019-08-16 10:19:53 -04:00
Victor Shyba
ab6944b7b0 wallet server: dont fail to start on segwit txs 2019-08-14 10:26:02 -03:00
Victor Shyba
f3a163b382 fix names and types 2019-08-12 18:16:58 -03:00
Victor Shyba
022d60ec2c both exceptions can be raised, depending on when the call happens 2019-08-12 18:16:57 -03:00
Victor Shyba
5728493abb refactor basenetwork so each session takes care of itself 2019-08-12 18:16:57 -03:00
Lex Berezhny
46d89929ba fixup balance tests and other stuff 2019-08-12 10:22:14 -04:00
Lex Berezhny
98d4d00f96 most commands now work across all accounts 2019-08-12 10:22:14 -04:00
Victor Shyba
35541bbbb9 new api format, hide subtotals by default 2019-08-05 11:08:33 -04:00
Victor Shyba
59424a3e73 add query to get tips summary for granular balances 2019-08-05 11:08:33 -04:00
Victor Shyba
2056888667 implement tips_received tips_sent, wip, in python for now 2019-08-05 11:08:33 -04:00
Victor Shyba
1e54785742 add granular balances 2019-08-05 11:08:33 -04:00
Jack Robison
f4c111f04c
handle null content fee 2019-07-29 17:56:24 -04:00
Oleg Silkin
2545ebbece Adds unittests & fixes comment_client functions 2019-07-29 14:55:42 -04:00
Victor Shyba
45fb673e49 dont fail when s3 is out of reach 2019-07-23 17:44:13 -04:00
Victor Shyba
df41a82b23 fix integration test 2019-07-22 11:31:45 -04:00
Lex Berezhny
b89f04b1f1 fix claim integration tests 2019-07-20 15:45:15 -04:00
Victor Shyba
6997ea608d fix reconnect and timeouts 2019-07-16 23:59:28 -03:00
Victor Shyba
a4d8508b40 update remote height on demand 2019-07-13 01:21:26 -04:00
Lex Berezhny
99d21e93f3 added --no_totals argument to claim_search 2019-07-07 23:51:32 -04:00
Jack Robison
a2953ac9ac
test session bloat from timed out sockets 2019-07-01 11:36:26 -04:00
Lex Berezhny
9ce93a1da6 added --not_channel_ids and --has_channel_signature 2019-06-23 20:24:35 -04:00
Lex Berezhny
d0e1468acd channel migration better handles missing or invalid certificates 2019-06-23 13:46:02 -04:00
Lex Berezhny
816cde32a9 fix support reorg error 2019-06-23 10:56:59 -04:00
Lex Berezhny
488c2e2f17 searching by fee_amount and fee_currency 2019-06-22 23:24:56 -04:00
Lex Berezhny
9e11fc1e99 dont error when claim search gets invalid channel 2019-06-22 23:24:56 -04:00
Lex Berezhny
a8b590ecbb add tag normalization on storage and on search 2019-06-22 23:24:56 -04:00
Lex Berezhny
f5e38f6e23 updated imports after moving lbrynet -> lbry 2019-06-20 22:50:39 -04:00
Lex Berezhny
85d7adc0b5 moved lbrynet into lbry directory 2019-06-20 22:50:39 -04:00