Repository navigation
Support for socksproxytype plugins in Settings dialog - #1547
Conversation
5235812 to
d8c8d2b
Compare
meaning i.e.: proxy_type in SOCKS4a, SOCKS5 any one of these two, choose freely! |
Seriously? tl;dr! Actually, I meant 'stem' or any other plugin for the |
08e500b to
e179d8b
Compare
| 'bitmessagesettings', 'settingsversion') is None | ||
| if not needToCreateKeysFile: | ||
| print( | ||
| logger.info( |
There was a problem hiding this comment.
Good, these are the few places where I left print due to initialisation order, which you now fixed.
3d4e108 to
ede5b0e
Compare
ff157b1 to
fcb1bd5
Compare
|
I made this "Ready for review" because it contains the solution for periodic Travis CI fails, e.g. https://travis-ci.org/Bitmessage/PyBitmessage/builds/629056869: I separated clearnet and tor tests and marked tor tests for skipping (because stem package isn't installed). Manual testing scenario I used for this changeset (and it fails):
|
PeterSurda
left a comment
There was a problem hiding this comment.
Haven't tested but looks ok.
socksproxytype is set to SOCKS5 temporary if proxyconfig succeeds.
no more prints in helper_startup
for skipping until the finish of debug.
made that a separate function getSOCKSProxyType(config) in the settings.
Hello.
With this changes now it's possible to set "Proxy server / Tor Type:" to any one provided by plugin.
start_proxyconfigwill be called when user press "OK" in the Settings dialog.This is a draft because I'm trying to fix test and maybe port in
proxyconfig_stem.