New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need network dialogue for proxy server #49
Comments
If Qt provides such facilities, this should be rather easy to implement. |
@gholmlund maybe something to include with the new bookshelf manager? Not sure where though to not add visual complexity. |
Dear Martin: Thank you for considering the enhancement. Regards,Bill
To: bibletime/bibletime bibletime@noreply.github.com @gholmlund maybe something to include with the new bookshelf manager? Not sure where though to not add visual complexity.— |
The Qt Proxy (QNetworkProxy) will only work if the network connection is made with Qt network classes. The network access for our Bookshelf management is not done by Qt network classes. It is done in the sword library using non Qt functions. The proxy would have to be implemented in the sword library. |
Hello Gary, AFAIR the transport is a pluggable layer. Do you think we could and should implement a Qt based transport to support this (not neccessarily now)? Best regards, Martin
|
I think we should make it easier for people to use proxies. This is be important for people behind firewalls or in unsafe networks. Afaik most of the repositories are plain HTTP anyway. We also need to make sure to proxy everything, including DNS lookups. We have to use Sword 😱!? The |
A simple dialog for a proxy server possibility is needed so download works as intended. Also when the user does his own download and implementation and has the program open, the program obviously does not know about the bookshelf; a refresh or a restart is needed.
Suggested code for handling the network business under "settings" using Qt after an appropriate dialog:
#include "QtNetwork"
QNetworkProxy proxy;
proxy.setType(QNetworkProxy::HttpProxy);
proxy.setHostName("192.168.1.11");
proxy.setPort(3128);
proxy.setUser("");
proxy.setPassword("");
QNetworkProxy::setApplicationProxy(proxy);
The text was updated successfully, but these errors were encountered: