Commit Graph

12112 Commits

Author SHA1 Message Date
meejah efce7b1f6a use Failure for all errors from async methods 2018-09-10 21:58:27 -06:00
meejah 676a9efc23 docstring 2018-09-10 21:58:27 -06:00
meejah 714b0887dc more docstrings 2018-09-10 21:58:27 -06:00
meejah 2d55b61dd2 fixups after rebase 2018-09-10 21:58:27 -06:00
meejah c22d7c632e docstring improvements 2018-09-10 21:58:27 -06:00
meejah d6aeae0540 newsfragment 2018-09-10 21:58:27 -06:00
meejah 3974af6660 redundant imports 2018-09-10 21:58:27 -06:00
meejah 7632504373 create_client is async 2018-09-10 21:58:27 -06:00
meejah 14a66a54f0 flake8 2018-09-10 21:58:27 -06:00
meejah 0cfbdeb634 dead code 2018-09-10 21:58:27 -06:00
meejah 767f4ddd5d reorder args to match other method 2018-09-10 21:58:27 -06:00
meejah 045af64c2b dead code 2018-09-10 21:58:27 -06:00
meejah 06de4c88c4 codecleanup (incorrect merge?) 2018-09-10 21:58:27 -06:00
meejah edc50f655b get rid of is_tub_listening 2018-09-10 21:58:27 -06:00
meejah a82aa4ba2c code cleanup, docs 2018-09-10 21:58:27 -06:00
meejah 955d7abfa3 move validation code to parser-helper 2018-09-10 21:58:27 -06:00
meejah 2517535d2b test for 'listen on port 0' 2018-09-10 21:58:27 -06:00
meejah 9e34d15b90 simplify _tub_portlocation helper 2018-09-10 21:58:27 -06:00
meejah 053b494054 comment 2018-09-10 21:58:27 -06:00
meejah e74d2a7d01 get rid of redundant 'introducer_clients' var 2018-09-10 21:58:27 -06:00
meejah c84e50baf0 post-rebase fixup: _client_factory and docs 2018-09-10 21:58:27 -06:00
meejah c7b47f44d2 flake8 2018-09-10 21:58:27 -06:00
meejah 17fa32633c post-rebase fixups; needs review 2018-09-10 21:58:27 -06:00
meejah 23d304814f not required for tests 2018-09-10 21:58:27 -06:00
meejah 283be23e3a basedir fixup, more tests 2018-09-10 21:58:27 -06:00
meejah a628411988 basedir fixup 2018-09-10 21:58:27 -06:00
meejah c2d1cf4400 correct service-parent in tests 2018-09-10 21:58:27 -06:00
meejah 136495e405 basedir fixup 2018-09-10 21:58:27 -06:00
meejah 2d044e1324 remove unused method 2018-09-10 21:58:27 -06:00
meejah bb332fecf7 basedir fixup 2018-09-10 21:58:27 -06:00
meejah 548d9cbbcc basedir fixup 2018-09-10 21:58:27 -06:00
meejah 5d6a76ffee proper daemonize error-handling 2018-09-10 21:58:27 -06:00
meejah 08e0c3b7e2 get rid of 'add_service' (just an alias to setServiceParent anyway) 2018-09-10 21:58:27 -06:00
meejah ea99915af6 basedir/config fixup 2018-09-10 21:58:27 -06:00
meejah 7685fb34cd pull 'basedir' entirely into _Config
Put all config-related methods into _Config; change
code to ask config for paths instead of using basedir;
add some better docstrings
2018-09-10 21:58:27 -06:00
meejah f80e61fef6 put setServiceParent calls in create_* 2018-09-10 21:58:27 -06:00
meejah 26007f363b pull 'StorageFarmBroker' out of __init__
This means also pulling out introducer-clients and some
related utility methods
2018-09-10 21:58:27 -06:00
meejah 42c39d435a imports 2018-09-10 21:58:27 -06:00
meejah 465bfb8053 cleanup 2018-09-10 21:58:27 -06:00
meejah 48f0df627e cleanup 2018-09-10 21:58:27 -06:00
meejah 739aaa3ef9 put create() methods in i2p_, tor_provider
Also Provider -> _Provider, improve docs and update tests
2018-09-10 21:58:27 -06:00
meejah 903d4afaa4 handle None for providers 2018-09-10 21:58:27 -06:00
meejah 793827f8a6 put providers back in service tree 2018-09-10 21:58:27 -06:00
meejah e7a8d39fbc split client, introducer READMEs 2018-09-10 21:58:27 -06:00
meejah c2946cc2e3 remove unused code 2018-09-10 21:58:27 -06:00
meejah f0c3db0e5a pyflakes 2018-09-10 21:58:27 -06:00
meejah 0ff21ea7d5 all tests pass. wooo 2018-09-10 21:58:27 -06:00
meejah c7515b5d8b more working test 2018-09-10 21:58:27 -06:00
meejah 92ca04d629 fix more tests 2018-09-10 21:58:27 -06:00
meejah 0e51bb183e fix more things 2018-09-10 21:58:27 -06:00