Florian Bruhin
9381aac501
Merge {Pastebin,PyPIVersion}Client into HTTPClient.
2015-04-13 20:42:28 +02:00
Florian Bruhin
8ebac8d38c
Various spelling fixes.
2015-03-31 21:11:47 +02:00
Florian Bruhin
2f629befc3
Add an option to disable host blocking.
2015-03-30 18:33:10 +02:00
Florian Bruhin
82322beb03
Fix pep257 issues.
2015-03-26 07:08:54 +01:00
Florian Bruhin
21d2bb2291
Simplify some unneeded lambdas.
2015-03-23 07:04:50 +01:00
Florian Bruhin
8811947f50
Re-enable some pylint checks.
2015-03-23 07:04:41 +01:00
Florian Bruhin
218822d6e8
Clear rejected SSL questions when reloading page.
...
Fixes #565 .
2015-03-19 21:21:40 +01:00
Florian Bruhin
e8e6d8409b
Adjust pylint exceptions.
2015-03-11 20:14:39 +01:00
Florian Bruhin
4b6d49e926
Make QSslError hashable for Qt <= 5.4.
...
PyQt uses qHash() for __hash__, and qHash for QSslError was added with Qt 5.4.
This means 2da45e98ca
raised TypeError there as
QSslError is unhashable.
For those older Qt versions, we implement __hash__ ourselves which does about
the same thing as Qt does, combining the DER (binary) representation of the
certificate and the error() (which is just a QEnum, hashable as int).
2015-03-10 08:29:56 +01:00
Florian Bruhin
2da45e98ca
Auto-handle equal SSL errors for the same host.
...
For every (scheme, host, port) tuple, we save all SSL errors we asked the user
about, and if everything matches (scheme, host, port, error, certificate), we
don't ask the user again.
Fixes #422 .
2015-03-10 07:58:40 +01:00
Florian Bruhin
6a16875f50
Fix retrying of downloads from closed tabs.
...
Fixes #502 .
2015-03-09 07:39:40 +01:00
Florian Bruhin
31d9018fc4
Disable insecure SSL ciphers (< 128bit) for Qt 5.2.
...
This is only an issue for the users which are stuck on Ubuntu Trusty.
2015-02-25 21:07:44 +01:00
Florian Bruhin
b721a0e992
Clean up NetworkManager after downloads finished.
...
Fixes #490 .
2015-01-28 22:52:24 +01:00
Florian Bruhin
4c87287f4e
Don't set up on_ssl_errors slot without SSL.
2015-01-26 13:23:41 +01:00
Florian Bruhin
2203db298d
Abort blocking questions when new page is loaded.
...
Fixes #430 .
Fixes #431 .
Hopefully fixes #354 .
Hopefully fixes #434 .
2015-01-03 22:21:47 +01:00
Florian Bruhin
f811f511fa
Use self._win_id in QNetworkManager._ask.
2015-01-03 22:04:56 +01:00
Florian Bruhin
450d1ab70d
Update copyright years
2015-01-03 15:51:31 +01:00
Florian Bruhin
3cc1134e82
Fix AttributeError on HTTP/proxy authentications.
...
This is a regression introduced in cafb487ac9
.
Fixes #355 .
See #333 .
2014-12-17 13:40:15 +01:00
Florian Bruhin
512d7c4448
Simplify config exception tree and handling.
...
Also make sure we catch all config-related errors in all related places.
Fixes #324 .
2014-12-17 11:17:18 +01:00
Florian Bruhin
655ab31d48
Add a network -> proxy-dns-requests option.
...
Closes #330 .
2014-12-16 23:27:55 +01:00
Florian Bruhin
cafb487ac9
Abort questions in NetworkManager on destroyed.
...
Hopefully fixes #333 .
2014-12-16 17:22:01 +01:00
Florian Bruhin
06ec1a3885
Big file tree reorganisation.
...
Closes #255 .
Should make a lot more sense now ;)
2014-12-13 17:28:50 +01:00