Felix Yan
24c50c42c4
Remove duplicated flask from dev dependencies
...
It's already in install_requires.
2020-11-27 01:21:58 +08:00
Felix Yan
0b0a6cfef6
Replace asynctest with stdlib mock
...
This is an implementation of
https://github.com/mitmproxy/mitmproxy/issues/4020
Tested to work fine here with Python 3.8.6.
2020-11-14 05:27:35 +08:00
Thomas Kriechbaumer
db2959ad53
release preparations
2020-11-01 12:12:51 +01:00
Maximilian Hils
dd8d338a62
update cryptography, change test cert generation to use different CNs
2020-11-01 01:38:10 +01:00
Thomas Kriechbaumer
b2c7ceaa25
restore py36 classifier
2020-10-07 18:38:22 +02:00
Thomas Kriechbaumer
3915af18a4
fix dependencies for py35 upgrade message
2020-10-06 23:33:39 +02:00
Thomas Kriechbaumer
67b3ee1307
semver bump
2020-10-06 22:45:58 +02:00
Maximilian Hils
cc77a16539
temporarily pin cryptography
2020-10-06 22:29:34 +02:00
Maximilian Hils
cf0a1b0ce2
add py39 trove classifier
2020-08-27 16:49:44 +02:00
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
Aldo Cortesi
76c056affd
Merge pull request #3156 from cortesi/cibuild2
...
More cibuild tweaks
2018-05-25 13:13:10 +12:00
Aldo Cortesi
ff92962c51
cibuild: start building version awareness
2018-05-25 10:50:48 +12:00
Maximilian Hils
1da4358706
[requires.io] dependency update on master branch ( #3154 )
2018-05-24 23:48:45 +02:00
requires.io
710880a652
[requires.io] dependency update
2018-04-26 22:41:36 +02:00
Aldo Cortesi
cabb788072
Merge pull request #3057 from mitmproxy/requires-io-master
...
[requires.io] dependency update on master branch
2018-04-15 10:03:54 +12:00
requires.io
09e125396c
[requires.io] dependency update
2018-04-14 19:10:15 +02:00
requires.io
84af021c1b
[requires.io] dependency update
2018-04-14 02:56:00 +02:00
Aldo Cortesi
8609de6f31
readfile: add a readfile_filter option
...
* Add a readfile_filter option that filters flows on read.
* Adjust test suite for asyncio.
* Add asynctest as a dev dependency.
2018-04-14 11:52:02 +12:00
Aldo Cortesi
9dcd15d350
asyncio: ditch the handler context
...
There are a few reasons for this. First, logs are now async, and can be called
at any time. Second, the event loop is thread local, so there can only ever be
one master per thread. These two things together completely obviate the need
for a handler context.
2018-04-07 09:04:14 +12:00
requires.io
c5881c0dc9
[requires.io] dependency update
2018-04-02 20:49:26 +02:00
Thomas Kriechbaumer
46f8901b8c
Python 3.5 is dead -- long live Python 3.6!
...
fixes #2266
2018-03-31 18:46:32 +02:00
Thomas Kriechbaumer
eb297d82aa
fix Tornado 5.0 event loop
...
https://github.com/tornadoweb/tornado/issues/2183#issuecomment-371001254
2018-03-24 11:19:04 +01:00
Thomas Kriechbaumer
f34932c171
[requires.io] dependency update on master branch ( #2992 )
2018-03-24 10:42:49 +01:00
requires.io
7e1a6d1427
[requires.io] dependency update
2018-03-02 21:02:21 +01:00
Aldo Cortesi
b57f551c0d
Merge pull request #2921 from fristonio/Fix-2899
...
Remove h11 from dependencies and move requests to dev dependencies
2018-02-26 08:49:19 +13:00
Miroslav
4ae9b065e7
Getting rid of Pillow
2018-02-25 21:26:25 +02:00
Deepesh Pathak
a40dbc11b8
Remove h11 from dependencies and move requests to dev dependencies
2018-02-26 00:02:05 +05:30
Chih-Hsuan Yen
d1ecf9df94
Explicitly declare pyperclip requirement
...
pyperclip version 1.6.0 introduces an API change: the class `pyperclip.exceptions.PyperclipException` is moved to `pyperclip.PyperclipException`. As mitmproxy uses the latter, it's better to explicitly declare the requirement.
2018-02-24 00:26:49 +08:00
Aldo Cortesi
982508d30f
All new documentation
...
This patch does a lot.
- Ditch sphinx in favor of hugo. This gives us complete control of the layout
and presentation of our docs. Henceforth, docs will be hosted on our website
rather than ReadTheDocs.
- Create a simple, clean doc layout and theme.
- Remove large parts of the documentaion. I've ditched anything that was a)
woefully out of date, b) too detailed, or c) too hard to maintain in the long
term.
- Huge updates to the docs themselves: completely rewrite addons documentation,
add docs for core concepts like commands and options, and revise and tweak a
lot of the existing docs.
With this patch, we're also changing the way we publish and maintain the docs.
From now on, we don't publish docs for every release. Instead, the website will
contain ONE set of docs for each major release. The online docs will be updated
if needed as minor releases are made. Docs are free to improve during minor
releases, but anything that changes behaviour sufficiently to require a doc
change warrants a new major release. This also leaves us free to progressively
update and improve docs out of step with our release cadence.
With this new scheme, I feel CI over the docs is less important. I've removed
it for now, but won't object if someone wants to add it back in.
2018-02-22 18:07:58 +13:00
requires.io
b95319cb66
[requires.io] dependency update
2018-02-12 10:33:06 +01:00
Thomas Kriechbaumer
02d8ed8aeb
[requires.io] dependency update on master branch ( #2848 )
2018-02-07 13:06:29 +01:00
Thomas Kriechbaumer
7610d78bb6
bump minimum requirements for known bugfix releases
2018-01-27 11:27:37 +01:00
Maximilian Hils
bfac5f968e
bump minimum required urwid version, fix #2815
2018-01-26 20:28:11 +01:00
Thomas Kriechbaumer
06da673942
[requires.io] dependency update on master branch ( #2799 )
2018-01-18 19:25:59 +01:00
Maximilian Hils
1e03a5d31e
dependency update
2018-01-04 18:55:07 +01:00
Thomas Kriechbaumer
4495562f86
unvendor wsproto
2018-01-01 13:34:21 +01:00
Maximilian Hils
6245566263
fix #2470
2017-12-30 18:48:51 +01:00
Maximilian Hils
9dc3d16bf2
single-source version processing
2017-12-30 18:48:47 +01:00
Thomas Kriechbaumer
8a38e1ef3a
bump cryptography
...
This includes important security fixes.
2017-12-17 09:44:57 +01:00
requires.io
4e24915c8e
[requires.io] dependency update
2017-12-15 23:20:14 +01:00
Thomas Kriechbaumer
f5fafbfcb5
vendoring of wsproto
...
https://github.com/python-hyper/wsproto.git
commit 5ea2da61266796666f5de6461aaae22e6b00deba
2017-12-12 22:09:46 +01:00
Thomas Kriechbaumer
b09c28d8a6
[requires.io] dependency update on master branch ( #2637 )
2017-12-11 17:04:33 +01:00
Thomas Kriechbaumer
59af6af0f7
[requires.io] dependency update on master branch ( #2629 )
2017-11-15 12:56:38 +01:00
requires.io
d00804656d
[requires.io] dependency update
2017-11-10 21:44:26 +01:00
Thomas Kriechbaumer
68c259293e
[requires.io] dependency update on master branch ( #2623 )
2017-11-10 11:14:41 +01:00
Thomas Kriechbaumer
80a8eaa708
bump flake8
...
closes #2601
2017-10-31 10:58:38 +01:00
Thomas Kriechbaumer
569d275d76
[requires.io] dependency update on master branch ( #2586 )
2017-10-22 18:06:44 +02:00
Maximilian Hils
d5173f3905
allow pyOpenSSL 17.2
2017-10-17 11:41:09 +02:00
requires.io
f62e9882cd
[requires.io] dependency update
2017-10-06 19:48:36 +03:00
requires.io
579b0863b7
[requires.io] dependency update
2017-10-02 17:48:05 +02:00
Maximilian Hils
289ddfe988
remove html outline contentview, fix #2572
2017-09-14 15:11:24 -07:00