Commit graph

210 commits

Author SHA1 Message Date
Victor Shyba
423b48866f apply refactor suggested on review by removing .out calls 2019-11-18 17:07:46 -05:00
Victor Shyba
745bc24343 add a test for normal repost mixed with blocking repost, use inner queries 2019-11-18 17:07:46 -05:00
Victor Shyba
04a823c7d0 FILTERING_CHANNELS_IDS on claim search 2019-11-18 17:07:46 -05:00
Victor Shyba
56af4c2fcb minor fixes from rebase 2019-11-18 17:07:46 -05:00
Victor Shyba
c7e964ec42 add reposted_claim_hash column, writer and reader w/ tests 2019-11-18 17:07:46 -05:00
Victor Shyba
694e2c2a4f improve test cases for reposts, add a new one for reverse search 2019-11-18 17:07:46 -05:00
Victor Shyba
df6537fae8 add API for reposting 2019-11-18 17:07:46 -05:00
Victor Shyba
5a6294c08e test errors arent trapped 2019-11-18 10:57:24 -05:00
Victor Shyba
d8fed79810 remove headers component 2019-11-15 13:59:28 -05:00
Lex Berezhny
62543b94c9 minor cleanup of collections implementation 2019-11-14 18:53:20 -05:00
jessop
4d607ed276 review response 2019-11-14 18:53:20 -05:00
jessop
26e2865e35 cleanup 2019-11-14 18:53:20 -05:00
jessop
f7c94c9eb5 collection resolve endpoint 2019-11-14 18:53:20 -05:00
jessop
25a91f89fd tests 2019-11-14 18:53:20 -05:00
jessop
246f055145 enables collections 2019-11-14 18:53:20 -05:00
Lex Berezhny
e49f24e95f added more tests to make sure stream update and abandon update the full text search indexes 2019-11-14 17:19:10 -05:00
Lex Berezhny
48a18ff771 full text search in wallet server 2019-11-14 17:19:10 -05:00
Victor Shyba
3a0ce58cda send back correct server version 2019-11-11 10:14:00 -05:00
Lex Berezhny
2d7038dc18 fixed wallet balance for multiple accounts 2019-11-05 10:14:03 -05:00
Lex Berezhny
25a0e67841 added caching for account/wallet balance and removed --reserved_subtotals argument instead always returning the subtotals 2019-11-05 10:14:03 -05:00
Jack Robison
aa7c0a3544
test unused fields are backwards compatible 2019-11-01 10:45:12 -04:00
Lex Berezhny
3624a3b450 added --uri to purchase_list and file_list now includes purchase_receipt field 2019-10-30 23:00:45 -04:00
Lex Berezhny
6a3d760cfe fix for integration test 2019-10-30 23:00:45 -04:00
Lex Berezhny
fdd2562f32 added purchase_list and purchase_create 2019-10-30 23:00:45 -04:00
Lex Berezhny
28457021f8 figure out why time to first byte duration went up 2019-10-30 23:00:45 -04:00
Lex Berezhny
459716bd6e initial RETURN_OP based purchase metadata 2019-10-30 23:00:45 -04:00
Lex Berezhny
41e0e6762c added wallet management tests and address unsubscribe feature on wallet server 2019-10-30 17:59:12 -04:00
Lex Berezhny
d2315f4fd7 added ledger.on_ready to know when ledger is finished syncing 2019-10-26 15:01:17 -04:00
Lex Berezhny
1ed38fff6f removed runner.shutdown() as runner.cleanup() calls this already 2019-10-26 15:01:17 -04:00
Chris Baumler
ba48713219 Add CLI unit test for keyboard interrupt 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
Julin S
c61fae05d6 Convert some format() strings in lbry and torba to fstrings 2019-10-25 20:47:39 -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
Alex Grintsvayg
98b9972fa5 cleanup setup_logging()
added more logging tests and refactored for merging into master
2019-10-24 15:48:29 -04:00
Lex Berezhny
dd5507036f fix broken tests 2019-10-23 15:29:12 -04:00
Lex Berezhny
75da209de1 fix for wallet server bug related to changing the channel of a stream 2019-10-23 15:29:12 -04:00
Lex Berezhny
bb8a2bfff7 fix bug with resolve and conflicting claim_id segments 2019-10-23 11:48:00 -04:00
Miroslav Kovar
bc04903741 Return a default value 2019-10-21 12:43:40 -04:00
Miroslav Kovar
2eec26b648 Clean up 2019-10-21 12:43:40 -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
f92b610a03 Simplify 2019-10-21 12:43:40 -04:00
Miroslav Kovar
268f6447cb Sanitize suggested, add tests 2019-10-21 12:43:40 -04:00
Miroslav Kovar
ed93c647d2 Sanitize file names before saving 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
Lex Berezhny
4e7e475a5e minor fixups for logging 2019-10-18 12:02:36 -04:00
Miroslav Kovar
f8a5bc94e5 Pass root logger instead 2019-10-18 12:02:36 -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
05a28ea346 handle attempts to add peers with no node id and issue a warning 2019-10-07 13:20:38 -03:00
Victor Shyba
624f986978 handle peer_is_good for unknown node id 2019-10-07 13:20:38 -03:00
Victor Shyba
8cd18e47e7 get_kad... -> make_kad.. 2019-10-07 13:20:38 -03:00
Victor Shyba
517868f73c fix unit tests 2019-10-07 13:20:38 -03:00
Victor Shyba
7aa5e2cbe1 use a dataclass experiment 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
9fbc83fe9d Always handle claim_name as a string 2019-09-20 14:22:01 -04:00
Victor Shyba
965972a719 match regex from app into ours 2019-09-19 17:30:22 -04:00
Miroslav Kovar
34d19c4a72 Remove superfluous test 2019-09-19 17:16:18 -04:00
Miroslav Kovar
9b0910767d Fix formatting, support null argument only 2019-09-19 17:16:18 -04:00
Miroslav Kovar
32cc077e1f enable to set max_key_fee to null via cli 2019-09-19 17:16:18 -04:00
Miroslav Kovar
1e7bec48b6 Add integration test, remove unit test 2019-09-19 15:21:01 -04:00
Miroslav Kovar
c035837a14 Fix failing key payment for null max key fee 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