Commit Graph

324 Commits

Author SHA1 Message Date
Maximilian Hils
54276f0eea update dependencies 2020-08-27 11:00:31 +02:00
Maximilian Hils
cd44256521 update various dependencies 2020-08-27 00:25:08 +02:00
Maximilian Hils
9156873cf1 bump ldap3 dependency
apparently older versions cause issues, see mitmproxy/mitmproxy#4168
2020-08-26 22:58:10 +02:00
Maximilian Hils
67885320c0 add ASGI support for embedded apps
This commit replaces our WSGI implementation with a new ASGI one,
which then uses `asgiref`'s compatibility mode to still support WSGI applications.
The ASGI implementation is a bit bare-bone, but good enough for our purposes.

The major changes are:

  - We now support ASGI apps.
  - Instead of taking connections out of mitmproxy's normal processing,
    we now just set flow.response and let things continue as usual.
    This allows users to see responses in mitmproxy, use the response hook
    to modify app responses, etc. Also important for us,
    this makes the new implementation work for shenanigans like sans-io.
2020-08-13 17:22:31 +02:00
Vincent Haupert
b175bc84e3
Require at least urwid 2.1.1
refs https://github.com/mitmproxy/mitmproxy/issues/3936
refs https://github.com/urwid/urwid/issues/419
2020-07-30 00:12:02 +02:00
Vincent Haupert
ea91772172
Revert "downgrade & pin urwid to 2.0.1 (#4086)"
This reverts commit 2dfcb537f2.

This commit was introduced in response to an upstream issue with urwid
2.1.0 which is fixed in 2.1.1.
2020-07-30 00:12:00 +02:00
Maximilian Hils
1e5464a9e6 ci: test old python releases, pin binary environments 2020-07-27 18:06:55 +02:00
Tom Hacohen
5fd702934c Add a msgpack content viewer. 2020-07-22 16:47:08 +03:00
Maximilian Hils
5af57cfa99 HTTPRequest -> http.Request, add request.authority 2020-07-16 16:55:15 +02:00
Maximilian Hils
2dfcb537f2
downgrade & pin urwid to 2.0.1 (#4086)
refs https://github.com/mitmproxy/mitmproxy/issues/3936
refs https://github.com/mitmproxy/mitmproxy/issues/3967
2020-07-16 16:52:52 +02:00
Maximilian Hils
08895e9ba6 restructure examples
- restructure examples (fix #4031)
 - remove example dependencies from setup.py,
   we do not need special dependencies for our supported addons.
 - unify how we generate docs from code
 - improve example docs
2020-06-23 16:00:14 +02:00
Maximilian Hils
b5e3f736c0 minor improvements, tests++ 2020-04-09 08:25:22 +02:00
Maximilian Hils
9d5305301a Merge remote-tracking branch 'origin/master' into fix-ci 2020-04-08 20:21:12 +02:00
Maximilian Hils
623055a25a bump dependencies 2020-04-03 17:50:15 +02:00
Maximilian Hils
3c09e1a516
Merge pull request #3692 from mhils/tls13
Update cryptography, enable TLS 1.3
2020-04-03 17:10:32 +02:00
Maximilian Hils
c1f01cc67c bump minimum cryptography version 2020-04-03 11:01:24 +02:00
Maximilian Hils
19aa7aeeb7 update mypy and pin version 2020-04-02 11:40:50 +02:00
Thomas Kriechbaumer
ae6fe83adb fix #3780 2020-02-08 21:48:14 +01:00
Thomas Kriechbaumer
40925181e9 re-add missing CI steps and fix linting 2019-12-31 16:27:22 +01:00
Thomas Kriechbaumer
842ecbf82c bump urwid
fixes #3765
2019-12-31 11:03:54 +01:00
Pavel Savchenko
5b2767d18b Add py.typed stub as per PEP-561 2019-12-29 14:19:39 +02:00
Maximilian Hils
67955fad32 update trove classifiers 2019-12-16 03:10:32 +01:00
Maximilian Hils
0f868e9924 update cryptography 2019-11-23 01:06:23 +01:00
Maximilian Hils
70e3871fdb pin pyopenssl to fix builds, refs #3692 2019-11-18 17:11:15 +01:00
Maximilian Hils
ac22aee2f5 cleanup mypy usage 2019-11-16 15:14:30 +01:00
Maximilian Hils
bdc15cbe0c update mypy 2019-11-12 04:38:13 +01:00
Maximilian Hils
902ef59d01
Move onboardingapp from tornado to flask (#3661) 2019-10-06 14:41:46 +02:00
Maximilian Hils
c88d3a9431
update dependencies 2019-10-06 14:00:02 +02:00
Thomas Kriechbaumer
ace79afefc bump more deps 2019-09-28 23:29:13 +02:00
Thomas Kriechbaumer
53cb5bf40f bump deps 2019-09-28 17:37:43 +02:00
Thomas Kriechbaumer
f6405abda2
Merge pull request #3329 from Kriechi/readme-slogan
update readme slogan
2019-09-28 16:45:00 +02:00
Thomas Kriechbaumer
b4ffc929a2 bump dependencies 2019-09-28 14:49:14 +02:00
Jesson Soto Ventura
55719a6942
Updated Setup.py
A comma broke the build
2019-09-24 23:47:14 -04:00
Jesson Soto Ventura
b7e2590294
Merge branch 'master' into tabular 2019-09-24 23:40:28 -04:00
Jesson Soto Ventura
94ca23b782 TLD and SLD are now highlighted using publicsuffix
- Added time.time() as the default for the start time on fake requests
2019-09-24 23:12:25 -04:00
Maximilian Hils
a08c22dcdd
Merge pull request #3631 from mhils/lint
Fix CI
2019-09-05 23:20:54 +02:00
Maximilian Hils
e77f375186 lint 2019-09-05 22:08:21 +02:00
Tero Saaristo
dd3589ce34 encoding: add support for zstd (zstandard)
Handles zstandard-compressed bodies labeled as zstd.
2019-09-05 17:52:04 +03:00
Felix Yan
2fef56767b
Use Brotli instead of brotlipy
brotlipy is stuck at brotli 0.6 and upstream is inactive. Let's switch
to the official binding which is up-to-date and has same interfaces.
2019-05-27 16:10:18 +08:00
rpigott
106948d996 update to wsproto 0.13 2019-01-29 12:09:05 -08:00
Thomas Kriechbaumer
2fb2b48a06 bump dependencies 2018-12-02 15:48:20 +01:00
Thomas Kriechbaumer
afdcb944e1 bump wsproto 2018-09-23 13:46:45 +02:00
Thomas Kriechbaumer
f95784ba9d update readme slogan 2018-09-21 10:38:25 +02:00
Thomas Kriechbaumer
925bba4c3c Python 3.7 is here 2018-09-07 17:48:06 +02:00
Guangchao
3f14a485d3 Lib ruamel.yaml version 0.15.55 will caused typing.Sequence[str] unsupported in option.
Baseed on release note of recent version 0.15.55 ruamel.yaml, it unmade CommentedSeq a subclass of list.
This will cause the sequence parsed from yaml cannot be set to option whose type is typing.Sequence[str].
2018-08-17 15:19:29 +08:00
Thomas Kriechbaumer
f3169da3eb bump dependencies 2018-07-27 10:02:52 +02:00
Pietro Francesco Tirenna
d5da74645b protobuf: tests implemented, full coverage 2018-07-17 19:23:01 +02:00
madt1m
e842aa3798 Added protobuf methods; implemented initial DB logic 2018-06-23 03:02:39 +02:00
Maximilian Hils
09ff5df2fb Such CI, Very Wow. (#3182) 2018-06-02 21:37:44 +02:00
Aldo Cortesi
d1e3968fa8 Fix typo in parver version spec 2018-05-27 09:41:30 +12:00