Commit graph

6704 commits

Author SHA1 Message Date
Oleg Silkin
610f19bea1 Updates api example generation for file_list 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
b30dc39e37 Makes page & page_size co-dependent in doc 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
Oleg Silkin
7c074e1cd4 paginates file_list 2019-10-26 01:18:27 -04:00
Lex Berezhny
4a8b96a6d2 removed outdated docs, see https://lbry.tech/api/sdk instead 2019-10-26 00:16:57 -04:00
Lex Berezhny
290a206012 fix api doc script 2019-10-26 00:15:19 -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
553adb2ad0 Fetch records count only when needed 2019-10-26 00:15:19 -04:00
Oleksandr Manyk
cc55a78fb4 Call claim_search only once 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
09f6034f2f added back prefix argument to create_upload_file fixture method 2019-10-25 07:02:21 -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
622ba2b0e3 Revert to the original 2019-10-24 17:28:59 -04:00
Miroslav Kovar
fbfe8f8d14 Remove extend, fix index var 2019-10-24 17:28:59 -04:00
Miroslav Kovar
3c96fda59b Preserve order of tags when cleaning 2019-10-24 17:28:59 -04:00
Miroslav Kovar
7cb03dde44 Normalize only when writing (setting, updating) 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
Lex Berezhny
a7f8febed7 dont error if blank password was set previously 2019-10-23 10:45:55 -04:00
Lex Berezhny
21d291531e v0.43.4 2019-10-21 13:09:36 -04:00
Victor Shyba
d133fa0d74 start virtualenv clean on Mac build 2019-10-21 13:08:19 -04:00
Victor Shyba
2653a9447b bump ecdsa version 2019-10-21 13:08:19 -04:00
Miroslav Kovar
bc04903741 Return a default value 2019-10-21 12:43:40 -04:00
Miroslav Kovar
5501418727 Fix failing test 2019-10-21 12:43:40 -04:00
Miroslav Kovar
2737b3635f Revert last change 2019-10-21 12:43:40 -04:00
Miroslav Kovar
e29688530d Do not close files unnecessarily 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
f60db358ee v0.43.3 2019-10-18 18:10:01 -04:00
Lex Berezhny
ad6bd840a9 make decrypt atomic, if it fails the state for all encrypted values in account does not change 2019-10-18 18:08:43 -04:00
Lex Berezhny
0fa9e8d9f5 if decrypted private key is empty, no longer save the encrypted empty string as private key 2019-10-18 18:08:43 -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
583833017b refactor save and encryption check 2019-10-18 18:08:43 -04:00
Lex Berezhny
d50ebcf9eb do not save wallet if gap did not change, also dont encrypt on save if already encrypted 2019-10-18 18:08:43 -04:00
Lex Berezhny
c448531551 dont save wallet on startup regardless of changes 2019-10-18 18:08:43 -04:00