Commit Graph

356 Commits

Author SHA1 Message Date
Maximilian Hils
1b13411383 update ruamel.yaml, adjust api 2021-06-13 19:59:11 +02:00
Maximilian Hils
27883e7b05
downgrade ruamel.yaml to fix tests 2021-05-31 21:17:07 +02:00
Maximilian Hils
292e3b413c
[requires.io] dependency update on main branch (#4602)
* [requires.io] dependency update

* [requires.io] dependency update

* Update setup.py

* Update setup.py

Co-authored-by: requires.io <support@requires.io>
2021-05-24 12:54:31 +02:00
Maximilian Hils
5f5e2dc0ee
[requires.io] dependency update on main branch (#4597)
* [requires.io] dependency update

* [requires.io] dependency update

* [requires.io] dependency update

* Update setup.py

Co-authored-by: requires.io <support@requires.io>
2021-05-14 06:35:34 +00:00
Maximilian Hils
dbc5352b5b
[requires.io] dependency update on main branch (#4595)
* [requires.io] dependency update

* [requires.io] dependency update

* Update setup.py

Co-authored-by: requires.io <support@requires.io>
2021-05-11 17:36:39 +02:00
Maximilian Hils
518fb94124
Harden CI Pipeline (#4590)
* ci: use actions/checkout@v2

* ci: always specify python version

* ci: pin external actions

* ci: split docs job, pin immediate dependencies

* ci: correct hugo sha256sum

* ci: full repo fetch depth for tests

* ci: use pip-tools to pin all the things

* ci: minor fixes

* ci: fixup

* ci: streamline pinned install

* ci: minor fixes

* ci: fix py3.8 pins

* ci: don't persist checkout credentials

* ci: always run local linter

* ci: test docs deployment from actions-hardening branch

* ci: fix docs job

* ci: pass in credentials

* ci: fix file permissions

* ci: try harder to fix docs deploy

* ci: fix docker artifact name

* Revert "ci: test docs deployment from actions-hardening branch"

This reverts commit 30cfb7a814b61a8926fc0623e3e70b6dd5106d90.

* unpin PyPI dependencies

* ci: install tox first

* ci: fixups

* ci: fixups

* ci: fixups

* ci: fixups
2021-05-11 11:17:09 +02:00
Maximilian Hils
39d77ec73d
[requires.io] dependency update on main branch (#4568)
* [requires.io] dependency update

* [requires.io] dependency update

* [requires.io] dependency update

* Update setup.py

* [requires.io] dependency update

* Update setup.py

Co-authored-by: requires.io <support@requires.io>
2021-04-21 12:07:52 +02:00
Maximilian Hils
4659ab8408
[requires.io] dependency update on main branch (#4559)
* [requires.io] dependency update

* [requires.io] dependency update

* Update setup.py

Co-authored-by: requires.io <support@requires.io>
2021-04-14 00:34:46 +02:00
Maximilian Hils
ead33008bc master branch -> main branch 2021-03-30 15:30:45 +02:00
Maximilian Hils
2c941b8905
Merge pull request #4528 from mitmproxy/requires-io-master
[requires.io] dependency update on master branch
2021-03-29 15:15:51 +02:00
Maximilian Hils
748fc93699
Merge pull request #4422 from mhils/pdoc
Docs: Add API Reference Using Pdoc
2021-02-13 00:18:49 +01:00
Maximilian Hils
08d1f67e5b
[requires.io] dependency update on master branch (#4431)
Co-authored-by: requires.io <support@requires.io>
2021-02-08 16:46:57 +00:00
Maximilian Hils
09beb1aa13 docs: add api reference using pdoc 2021-02-05 09:15:54 +01:00
Maximilian Hils
a11cfd45c4
[requires.io] dependency update on master branch (#4391)
Co-authored-by: requires.io <support@requires.io>
2021-01-17 10:38:47 +00:00
Maximilian Hils
3432cc397b fix compat with h11 0.12, add explicit dependency 2021-01-01 15:06:29 +01:00
Maximilian Hils
86bee371db
[requires.io] dependency update on master branch (#4373)
Co-authored-by: requires.io <support@requires.io>
2020-12-30 22:59:59 +01:00
Maximilian Hils
2a30172525 migrate certs.Cert to pyca/cryptography, re-add mitmcert 2020-12-30 15:20:49 +01:00
Thomas Kriechbaumer
c35316f85a remove pathod and pathoc 2020-12-13 20:21:11 +01:00
Thomas Kriechbaumer
2f667f950e fix long description content type 2020-12-13 19:57:26 +01:00
Maximilian Hils
32c73a8d61 split README.rst into README.md and CONTRIBUTING.md 2020-12-13 18:50:43 +01:00
Maximilian Hils
7217c60e4e
[requires.io] dependency update on master branch (#4345)
Co-authored-by: requires.io <support@requires.io>
2020-12-13 00:06:15 +01:00
Maximilian Hils
c5eae9d752 drop support for Python 3.6 and 3.7
We require Python 3.8 for sans-io (#1775),
so we need to drop support for older versions.
2020-12-06 00:25:09 +01:00
Maximilian Hils
e06c3d68cb update pyOpenSSL 2020-11-27 23:49:04 +01:00
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