Commit Graph

17421 Commits

Author SHA1 Message Date
Florian Bruhin
184e41b538 Adjustments for mypy upgrade 2018-12-10 20:05:59 +01:00
Florian Bruhin
ddb0e050ac Merge remote-tracking branch 'origin/pyup-scheduled-update-2018-12-10' 2018-12-10 20:00:12 +01:00
Florian Bruhin
4a1333795f Add api/interceptor.py to check_coverage 2018-12-10 19:52:20 +01:00
pyup-bot
20e9c22dc6 Update hypothesis from 3.82.1 to 3.82.5 2018-12-10 19:19:30 +01:00
pyup-bot
db62c52c44 Update mypy from 0.641 to 0.650 2018-12-10 19:19:28 +01:00
pyup-bot
9c141314c5 Update six from 1.11.0 to 1.12.0 2018-12-10 19:19:27 +01:00
pyup-bot
f8c56ffaf6 Update six from 1.11.0 to 1.12.0 2018-12-10 19:19:25 +01:00
pyup-bot
fe919769ba Update six from 1.11.0 to 1.12.0 2018-12-10 19:19:24 +01:00
pyup-bot
9b6b0ef1a5 Update six from 1.11.0 to 1.12.0 2018-12-10 19:19:22 +01:00
pyup-bot
aab6ba9ef1 Update six from 1.11.0 to 1.12.0 2018-12-10 19:19:21 +01:00
pyup-bot
4288b71039 Update six from 1.11.0 to 1.12.0 2018-12-10 19:19:19 +01:00
pyup-bot
a12fd67218 Update requests from 2.20.1 to 2.21.0 2018-12-10 19:19:18 +01:00
pyup-bot
7c72c7565c Update requests from 2.20.1 to 2.21.0 2018-12-10 19:19:16 +01:00
pyup-bot
d4c4971821 Update idna from 2.7 to 2.8 2018-12-10 19:19:14 +01:00
pyup-bot
81930d73a8 Update idna from 2.7 to 2.8 2018-12-10 19:19:13 +01:00
Florian Bruhin
a3279772d5 Fix lint 2018-12-10 18:34:11 +01:00
Florian Bruhin
98543af57b Rename requests/request filters to interceptors
So we don't collide with the requests library.
2018-12-10 17:50:13 +01:00
Florian Bruhin
7f06b54f25 Add more extensions.loader tests 2018-12-10 17:26:58 +01:00
Florian Bruhin
7b1bcea306 Bring back separate is_blocked method 2018-12-10 16:33:24 +01:00
Florian Bruhin
007250033a Remove HostBlockerStub 2018-12-10 16:33:24 +01:00
Florian Bruhin
8508928f3d Use bool instead of passing args 2018-12-10 16:33:24 +01:00
Florian Bruhin
35a3fe029d Fix lint 2018-12-10 16:33:24 +01:00
Florian Bruhin
4e99caafb9 Skip hooks for vulture/docs 2018-12-10 16:33:24 +01:00
Florian Bruhin
b41005d487 Fix mypy issues 2018-12-10 16:27:04 +01:00
Florian Bruhin
a96c6efc34 Add types to components.adblock 2018-12-10 16:27:04 +01:00
Florian Bruhin
3b53270ee3 Use hook system for config_changed hook 2018-12-10 15:48:26 +01:00
Florian Bruhin
6001640a8a Guard against double init hooks 2018-12-10 15:24:15 +01:00
Florian Bruhin
93a36c8572 Fix :adblock-update
After #640 we can likely fix this up again.
2018-12-10 15:03:09 +01:00
Florian Bruhin
a146ce865b Register host blocker as request filter 2018-12-10 15:03:09 +01:00
Florian Bruhin
58d179302e Add api.config.get 2018-12-10 15:03:09 +01:00
Florian Bruhin
1b1872e464 Expose a config_changed signal to extensions 2018-12-10 15:03:09 +01:00
Florian Bruhin
42790e7623 Expose config.change_filter 2018-12-10 15:03:09 +01:00
Florian Bruhin
9764472fd8 Move adblock from browser/ to components/ 2018-12-10 15:03:09 +01:00
Florian Bruhin
7ad7623d73 Add request filter API for host blocking
Closes https://github.com/qutebrowser/qutebrowser-extensions/issues/8
2018-12-10 15:03:09 +01:00
Florian Bruhin
3d6f604739 Prepare for moving adblocker to extension API 2018-12-10 15:03:09 +01:00
Florian Bruhin
8806c0925e Expose data and config dir as pathlib.Path 2018-12-10 14:11:16 +01:00
Florian Bruhin
4ad5790311 Add API for temporary downloads
Closes https://github.com/qutebrowser/qutebrowser-extensions/issues/9
2018-12-10 14:08:32 +01:00
Florian Bruhin
b1894f1428 Fix lint 2018-12-10 13:00:41 +01:00
Florian Bruhin
380905854c Pass standarddir to modules 2018-12-10 12:37:58 +01:00
Florian Bruhin
5b354164c5 Make it possible for extensions to define init hooks 2018-12-10 12:37:58 +01:00
Florian Bruhin
ec5a93a80d Add tests for extensions.loader 2018-12-10 12:37:58 +01:00
Florian Bruhin
38c4ef3623 Fix lint 2018-12-10 12:37:58 +01:00
Florian Bruhin
bb115afc1a Make sure we always yield full names 2018-12-10 12:37:58 +01:00
Florian Bruhin
6bc771151f Make walking components work for PyInstaller
Closes https://github.com/qutebrowser/qutebrowser-extensions/issues/5
2018-12-10 12:37:58 +01:00
Florian Bruhin
15e9127fa0 Add components to pyinstaller hiddenimports 2018-12-10 12:37:58 +01:00
Florian Bruhin
fcb39c1d7f Add types to extensions.loader 2018-12-10 12:37:58 +01:00
Florian Bruhin
411c5171a2 Load components dynamically 2018-12-10 12:37:58 +01:00
Florian Bruhin
735e6123cd Fix lint 2018-12-10 12:37:49 +01:00
Maurits van Altvorst
e203f18411 Remove redundant line 2018-12-09 14:43:54 +01:00
Maurits van Altvorst
c93bb0c1be Remove Do-Not-Track header, use DNT header instead 2018-12-09 14:42:34 +01:00