Commit graph

2856 commits

Author SHA1 Message Date
Lex Berezhny da8e09846d
pylint fixed 2018-08-24 11:40:43 -04:00
Lex Berezhny 310fe4a42c
updated Headers component to use lbrynet.wallet 2018-08-24 11:40:43 -04:00
hackrush a7ef8889dd
Unified CLI, python 3(WIP) (#1330)
* Added new custom cli class using aiohttp
* Proper error handling in CLI based on RPC error codes(PoC)
* Auth API working
* UnitTests
2018-08-24 11:40:43 -04:00
Lex Berezhny f41229cb5b
tx.get_claim_id() -> txo.claim_id, claim update works now
channel_list encodes claim name and also added claim_id
fixed BlobManager foreign key error handling
2018-08-24 11:40:43 -04:00
Lex Berezhny 8ab4e3ca49
+ channel_list command works again but test_commands.py integration test is failing 2018-08-24 11:40:43 -04:00
Lex Berezhny fcd46629c4
refactored how transactions are created, fixed list addresses command 2018-08-24 11:40:43 -04:00
Lex Berezhny 9348f4f366
add missing new line at end of file 2018-08-24 11:40:43 -04:00
Lex Berezhny 47bb634035
abandon claims and chris45 epic adventure 2018-08-24 11:40:43 -04:00
Lex Berezhny 10b34d6b33
unnecessary list() added during py3 port
instead of recursive bytes2unicode use a proper JSONEncoder to conver bytes->unicode for json.dumps()
removing excessive isinstance(data, bytes) checks
py3: / -> // and list() around .items() that gets modified in loop
moved lbrynet.undecorated to where its actually used and hopefully we can delete it eventually
removed build/upload_assets.py, travis can do all this now
2018-08-24 11:40:43 -04:00
Lex Berezhny f061ca2b15
integration tests no longer mock Blob, BlobManager and Session 2018-08-24 11:40:43 -04:00
Lex Berezhny bc24dbea29
refactoring of DHT tests and fixed encoding bug when dealing with bytearray 2018-08-24 11:40:43 -04:00
Lex Berezhny c21d8cc8dc
update wallet migration 2018-08-24 11:40:43 -04:00
Lex Berezhny 411b8c74cc
travis yaml conslidation via anchors 2018-08-24 11:40:43 -04:00
Lex Berezhny 91bf312e4d
fix for file open during publish 2018-08-24 11:40:43 -04:00
Lex Berezhny 16024c95aa
py2->py3 unhexlify() 2018-08-24 11:40:43 -04:00
hackrush 1af6326b97
Fix account_balance's doc strings 2018-08-24 11:40:43 -04:00
Victor Shyba 31630a84be
reduce entropy on DHT test suite 2018-08-24 11:40:43 -04:00
hackrush 0601bf3197
sq Learning better coding practices with Lex 2 2018-08-24 11:40:43 -04:00
hackrush 826d2866fa
sq Learning better coding practices with Lex 2018-08-24 11:40:43 -04:00
hackrush ba00498d83
Make commands work from terminal 2018-08-24 11:40:43 -04:00
Lex Berezhny 4da40e8d52
renamed build binary to lbrynet and other cleanup 2018-08-24 11:40:41 -04:00
Lex Berezhny d54d989c40
change stop command from daemon_stop to just stop lbrynet 2018-08-24 11:38:20 -04:00
Lex Berezhny 18ecbba87c
fix cli formatting 2018-08-24 11:38:20 -04:00
Lex Berezhny 2ceba79b9f
linux build added and uploading to S3 2018-08-24 11:38:19 -04:00
Victor Shyba b25d592d99
more dht fixes and most of functional tests 2018-08-24 11:37:53 -04:00
Lex Berezhny 84d97ab323
+ account_max_gap command 2018-08-24 11:37:53 -04:00
Lex Berezhny aeaffd620e
simple cli implementation 2018-08-24 11:37:53 -04:00
hackrush 3f7091cbf2
Make curl work in py3 again 2018-08-24 11:37:53 -04:00
hackrush a95f791215
Make daemon work in py3 again 2018-08-24 11:37:53 -04:00
Lex Berezhny a937aff80f
pylint fixes 2018-08-24 11:37:53 -04:00
Lex Berezhny 5597d45aed
got integration tests to work again with rebased branch 2018-08-24 11:37:53 -04:00
hackrush 473d2eabfa
curl works with python3 now 2018-08-24 11:37:53 -04:00
Victor Shyba 78c8c8e64d
more porting, plus some functional tests working 2018-08-24 11:37:53 -04:00
Lex Berezhny 7335d012ef
replace miniupnpc with upnpclient
docker build with wine
2018-08-24 11:37:53 -04:00
Lex Berezhny d35d340613
fixing unit tests
fixing integration tests
skip running functional tests on travis until they are fixed
2018-08-24 11:37:53 -04:00
Lex Berezhny e718caca77
final pylint fixes (hopefuly) 2018-08-24 11:37:53 -04:00
Lex Berezhny 693a3346d2
pylint fixes 2018-08-24 11:37:53 -04:00
Lex Berezhny 4ece422f48
No longer inheriting from object and added proper use of super(). 2018-08-24 11:37:53 -04:00
Lex Berezhny 607677f98f
iterkeys() -> keys() 2018-08-24 11:37:53 -04:00
Victor Shyba e1e7be63b8
more fixes on dht functionals 2018-08-24 11:37:53 -04:00
Victor Shyba e1314a9d1e
working functional test_contact_rpc + more string bans 2018-08-24 11:37:53 -04:00
Victor Shyba 1ee682f06f
make bencoding right for both py3+py2 2018-08-24 11:37:53 -04:00
Lex Berezhny ba80c0e594
py2(iteritems, itervalues) -> py3(items, values) 2018-08-24 11:37:53 -04:00
Lex Berezhny 24a872885a
xrange() -> range() 2018-08-24 11:37:53 -04:00
Lex Berezhny 0b1cb16353
windows related fixes, in py3 everything is unicode, no need to convert paths to bytes 2018-08-24 11:37:53 -04:00
Lex Berezhny 1a3eaf7e6a
unhexlify/hexlify some values in database/storage.py 2018-08-24 11:37:53 -04:00
Lex Berezhny 971252d5d1
undo simplejson commit 2018-08-24 11:37:53 -04:00
hackrush c01716a6c0
Using simplejson and fixed some encodes and decodes 2018-08-24 11:37:53 -04:00
hackrush 0fbf131df3
default certificates is a dict now 2018-08-24 11:37:53 -04:00
hackrush 4bd0806e58
Fix metaclass not registering objects 2018-08-24 11:37:53 -04:00