Commit graph

141 commits

Author SHA1 Message Date
Jack Robison
3c4574f11f
remove logger from reader context 2019-11-01 13:32:13 -04: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