Commit Graph

10328 Commits

Author SHA1 Message Date
dependabot[bot] 1bca23a290
Bump pyinstaller from 5.10.1 to 5.11.0 (#6156)
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller) from 5.10.1 to 5.11.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases)
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst)
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v5.10.1...v5.11.0)

---
updated-dependencies:
- dependency-name: pyinstaller
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 12:06:51 +02:00
dependabot[bot] 0fadf8b453
Update pytest-cov requirement from <4.1,>=2.7.1 to >=2.7.1,<4.2 (#6157)
Updates the requirements on [pytest-cov](https://github.com/pytest-dev/pytest-cov) to permit the latest version.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v2.7.1...v4.1.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 12:06:45 +02:00
dependabot[bot] 5dce2eecb3
Update pytest-xdist requirement from <3.3,>=2.1.0 to >=2.1.0,<3.4 (#6155)
Updates the requirements on [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) to permit the latest version.
- [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v2.1.0...v3.3.1)

---
updated-dependencies:
- dependency-name: pytest-xdist
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 12:06:37 +02:00
dependabot[bot] c59f4e0981
Update cryptography requirement from <40.1,>=38.0 to >=38.0,<41.1 (#6154)
Updates the requirements on [cryptography](https://github.com/pyca/cryptography) to permit the latest version.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/38.0.0...41.0.1)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 12:06:30 +02:00
dependabot[bot] 96ac55293f
Bump install-pinned/black (#6153)
Bumps [install-pinned/black](https://github.com/install-pinned/black) from 98d42bad3459705a15b069b0f4dfd9e2b2d63a2b to 91bfc65283b1e8e9abac5d9e2a092c03c2ffddb8.
- [Release notes](https://github.com/install-pinned/black/releases)
- [Commits](98d42bad34...91bfc65283)

---
updated-dependencies:
- dependency-name: install-pinned/black
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 12:06:04 +02:00
Maximilian Hils e0e46f453c
re-use SNI in reverse proxy mode if the original connection was torn down (#6148)
fix #6143
2023-05-28 16:35:34 +00:00
emanuele-em ab9429e3f6
solve #4272 docs bug (#6127) 2023-05-14 19:22:51 +02:00
Thomas Bucaioni 90686abe82
Add example, according to issue #3752 (#6094)
* Add example, according to issue #3752

* Add list options

* Replace generic IPs

* Remove chars < and >

* Update docs/src/content/concepts-options.md

Perfect

Co-authored-by: Maximilian Hils <github@maximilianhils.com>

---------

Co-authored-by: Maximilian Hils <github@maximilianhils.com>
2023-05-08 09:30:59 +00:00
dependabot[bot] 93d16af383
Bump docker/setup-buildx-action (#6096)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from b167a89702b8b5314c104ab9d211b3dcf774f2b1 to a946f06b5ddbde456d0115dc585e8dc3c7a0c3e0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](b167a89702...a946f06b5d)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-05 16:12:56 +02:00
dependabot[bot] 91d40ebe26
Update zstandard requirement from <0.21,>=0.11 to >=0.11,<0.22 (#6100)
Updates the requirements on [zstandard](https://github.com/indygreg/python-zstandard) to permit the latest version.
- [Release notes](https://github.com/indygreg/python-zstandard/releases)
- [Changelog](https://github.com/indygreg/python-zstandard/blob/main/docs/news.rst)
- [Commits](https://github.com/indygreg/python-zstandard/compare/0.11.0...0.21.0)

---
updated-dependencies:
- dependency-name: zstandard
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 23:12:31 +00:00
dependabot[bot] f899c97c73
Bump pyinstaller from 5.9.0 to 5.10.1 (#6099)
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller) from 5.9.0 to 5.10.1.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases)
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst)
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v5.9.0...v5.10.1)

---
updated-dependencies:
- dependency-name: pyinstaller
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 23:11:01 +00:00
dependabot[bot] d00f6c241b
Bump install-pinned/black (#6097)
Bumps [install-pinned/black](https://github.com/install-pinned/black) from 87375d4cc14ee53c4372492102a7503f9fd18837 to 98d42bad3459705a15b069b0f4dfd9e2b2d63a2b.
- [Release notes](https://github.com/install-pinned/black/releases)
- [Commits](87375d4cc1...98d42bad34)

---
updated-dependencies:
- dependency-name: install-pinned/black
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 23:09:34 +00:00
dependabot[bot] ab9dbadbbf
Update flask requirement from <2.3,>=1.1.1 to >=1.1.1,<2.4 (#6098)
Updates the requirements on [flask](https://github.com/pallets/flask) to permit the latest version.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/flask/compare/1.1.1...2.3.2)

---
updated-dependencies:
- dependency-name: flask
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 23:08:32 +00:00
dependabot[bot] e51432ee49
Bump install-pinned/autoflake (#6095)
Bumps [install-pinned/autoflake](https://github.com/install-pinned/autoflake) from 80957f084eab3ad54adf35d689a3f0af436cbe0a to 46b4898323be58db319656fe2758f3fd5ddfee32.
- [Release notes](https://github.com/install-pinned/autoflake/releases)
- [Commits](80957f084e...46b4898323)

---
updated-dependencies:
- dependency-name: install-pinned/autoflake
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 23:07:24 +00:00
Thomas Bucaioni 0ace627f6e
Update file howto-transparent.md as suggested in issue #4748 (#6091)
* Update file howto-transparent.md as suggested in issue #4748

* Update docs/src/content/howto-transparent.md

Absolutely

Co-authored-by: Maximilian Hils <github@maximilianhils.com>

---------

Co-authored-by: Maximilian Hils <github@maximilianhils.com>
2023-04-29 12:58:38 +00:00
Sujal Singh 3675bedad8
Add escape key as another shortcut to exit current view. (#6087)
* add esc key binding

* make initialization of Keymap.keys more readable

* update changelog
2023-04-28 10:47:53 +02:00
Sujal Singh 33682c206e
Allow focus-follow shortcut to work in flow view context. (#6088)
* add follow new shortcut to flowview context

* update changelog

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-27 18:14:11 +02:00
Vadim 2261346334
DockerHub-README.md: reword ambiguous command (#6080)
* DockerHub-README.md: reword ambiguous command

Being unfamiliar with the docker options, I thought the square brackets could be part of the command.

Instead, they refer to the sentence *after* the command, that is, they meant "optionally".

To remove the ambiguity, I put into onto different lines with an explanation.

* DockerHub-README.md: reword again, -v by default

- only leave the command with -v as an example
- grammar
- httpS link
2023-04-27 08:49:15 +00:00
Niles Ingalls 19218bfaf2
update api for sni call (#6077) 2023-04-22 12:48:24 +02:00
Maximilian Hils be02b1e298
improve error message if script is not found (#6047) 2023-04-03 23:44:25 +00:00
dependabot[bot] 04754304e9
Bump install-pinned/black (#6041)
Bumps [install-pinned/black](https://github.com/install-pinned/black) from 44aa4e4ccf77b6e312ba570f6774484ea6ef9007 to 87375d4cc14ee53c4372492102a7503f9fd18837.
- [Release notes](https://github.com/install-pinned/black/releases)
- [Commits](44aa4e4ccf...87375d4cc1)

---
updated-dependencies:
- dependency-name: install-pinned/black
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-02 08:06:39 +02:00
y52en e0b6734ed5
Fixed auto scroll in mitmweb (#6038)
Co-authored-by: y52en <email@example.com>
2023-04-01 13:29:44 +02:00
Michał Wesołowski 04d9249ab1
Command signature inspection fix (#6029) (#6032) 2023-03-29 11:13:54 +00:00
Maximilian Hils 8757757892
improve ux when errors are logged during startup, fix #5935 (#6020) 2023-03-26 18:14:57 +00:00
dependabot[bot] 84b03c06e3
Update wheel requirement from <0.39,>=0.36.2 to >=0.36.2,<0.41 (#6018)
Updates the requirements on [wheel](https://github.com/pypa/wheel) to permit the latest version.
- [Release notes](https://github.com/pypa/wheel/releases)
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.36.2...0.40.0)

---
updated-dependencies:
- dependency-name: wheel
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-26 17:58:58 +00:00
dependabot[bot] 40bc6b46f0
Update pytest-asyncio requirement from <0.21,>=0.17 to >=0.17,<0.22 (#6019)
Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.17.0...v0.21.0)

---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-26 17:56:41 +00:00
Maximilian Hils c38c01fa4f
Switch to pyproject.toml (#6016)
* switch to pyproject.toml

* fix mypy

* fix pyinstaller
2023-03-26 17:40:32 +00:00
Maximilian Hils 555a2d2199
disallow bare except statements (#6017) 2023-03-26 13:57:48 +00:00
dependabot[bot] 7bf388979a
Bump docker/setup-buildx-action (#6011)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from a19c1710881d7ce3cf668865cc8459bba5b912aa to b167a89702b8b5314c104ab9d211b3dcf774f2b1.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](a19c171088...b167a89702)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-26 15:07:58 +02:00
Maximilian Hils 8c6ec5cb56
update cryptography and pyOpenSSL (#6012) 2023-03-26 15:07:38 +02:00
dependabot[bot] 5c4c665bb2
Bump install-pinned/autoflake (#6010)
Bumps [install-pinned/autoflake](https://github.com/install-pinned/autoflake) from dfa39c5f136f5b885c175734a719dc6ad1f11fc7 to 80957f084eab3ad54adf35d689a3f0af436cbe0a.
- [Release notes](https://github.com/install-pinned/autoflake/releases)
- [Commits](dfa39c5f13...80957f084e)

---
updated-dependencies:
- dependency-name: install-pinned/autoflake
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-24 18:03:19 +00:00
dependabot[bot] dffe070d37
Bump install-pinned/black (#6009)
Bumps [install-pinned/black](https://github.com/install-pinned/black) from eb57934f28e8d533bbcb4caa88d00b613b6ddd00 to 44aa4e4ccf77b6e312ba570f6774484ea6ef9007.
- [Release notes](https://github.com/install-pinned/black/releases)
- [Commits](eb57934f28...44aa4e4ccf)

---
updated-dependencies:
- dependency-name: install-pinned/black
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-24 17:55:28 +00:00
ZzZombo 33a81a0ead
Fixed typo in `__init__.py` (#6008) 2023-03-24 11:25:36 +00:00
Alexander Prinzhorn 8e7564e995
Add a prettier npm script (#5986)
* Add a prettier npm script

* Linting -> Formatting
2023-03-13 12:26:30 +01:00
Alex Gershberg 8f13293771
Add prettier to mitmweb (#5985)
Co-authored-by: Maximilian Hils <git@maximilianhils.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-03-12 17:50:15 +01:00
Maximilian Hils 884fd60e26
fix #5972 (#5982) 2023-03-09 15:48:26 +00:00
Maximilian Hils 2b10e3f3a7
cleanups and mypy 1.1.1 fixes (#5977) 2023-03-08 12:14:12 +00:00
Maximilian Hils c7de03bc36
Merge pull request #5967 from mhils/better-nextlayer
Update next layer detection, add option to block HTTP/3.
2023-03-05 23:38:56 +01:00
Maximilian Hils ed740e72bf fix Python 3.10 compat 2023-03-05 23:33:03 +01:00
Maximilian Hils aa61f70b53 update CHANGELOG 2023-03-05 19:55:24 +01:00
Maximilian Hils f9d808562d add option to disable HTTP/3 2023-03-05 19:55:24 +01:00
Maximilian Hils edb85d4af1 refactor NextLayer addon 2023-03-05 19:55:24 +01:00
Maximilian Hils 524adbf950 Revert "add MaybeClientTLSLayer"
This reverts commit e7b0e3f351686c2ef5f1daa13365216b775eefb3.
2023-03-05 19:55:24 +01:00
Maximilian Hils 0583e8e46c add MaybeClientTLSLayer 2023-03-05 19:55:24 +01:00
Maximilian Hils 262cadab75 is_[d]tls_record -> starts_like_[d]tls_record 2023-03-05 19:55:24 +01:00
dependabot[bot] 6054d31665
Bump install-pinned/pyupgrade (#5957)
Bumps [install-pinned/pyupgrade](https://github.com/install-pinned/pyupgrade) from 28e8d2633f6f1a03d5b4709682ce155a66324e6a to af7d65f31bddb01097a24da6c8fb694441f51cba.
- [Release notes](https://github.com/install-pinned/pyupgrade/releases)
- [Commits](28e8d2633f...af7d65f31b)

---
updated-dependencies:
- dependency-name: install-pinned/pyupgrade
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-02 00:50:06 +01:00
dependabot[bot] 71d35e18fe
Bump install-pinned/yesqa (#5958)
Bumps [install-pinned/yesqa](https://github.com/install-pinned/yesqa) from 4896f663e9c294fddfbf5f4e4fc4f9b1a4556658 to e45b0928dd14d5c2a22695e32de8936530ba7a49.
- [Release notes](https://github.com/install-pinned/yesqa/releases)
- [Commits](4896f663e9...e45b0928dd)

---
updated-dependencies:
- dependency-name: install-pinned/yesqa
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-02 00:50:01 +01:00
dependabot[bot] 3e04379eaf
Bump install-pinned/black (#5959)
Bumps [install-pinned/black](https://github.com/install-pinned/black) from 3375665f712256be11c3212db472c3dafc217fa1 to eb57934f28e8d533bbcb4caa88d00b613b6ddd00.
- [Release notes](https://github.com/install-pinned/black/releases)
- [Commits](3375665f71...eb57934f28)

---
updated-dependencies:
- dependency-name: install-pinned/black
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-02 00:49:53 +01:00
dependabot[bot] 88e0d61093
Bump docker/setup-buildx-action (#5960)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 11e8a2e2910826a92412015c515187a2d6750279 to a19c1710881d7ce3cf668865cc8459bba5b912aa.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](11e8a2e291...a19c171088)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-02 00:49:41 +01:00
dependabot[bot] 098cf89187
Bump install-pinned/reorder_python_imports (#5961)
Bumps [install-pinned/reorder_python_imports](https://github.com/install-pinned/reorder_python_imports) from 2cc264e0f6bc33907796602661e5b26d8199314d to 9766e7ba4f33497b107014571afe3b5f4c2d946b.
- [Release notes](https://github.com/install-pinned/reorder_python_imports/releases)
- [Commits](2cc264e0f6...9766e7ba4f)

---
updated-dependencies:
- dependency-name: install-pinned/reorder_python_imports
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-02 00:49:33 +01:00