Commit Graph

8508 Commits

Author SHA1 Message Date
Martin Plattner
aee1b81260 fix test coverage 2020-07-01 23:51:55 +02:00
Maximilian Hils
2a4933eb9d minor fixes 2020-07-01 22:52:35 +02:00
Martin Plattner
2a408c9379 refactor modify addons
Use a universal ModifySpec class to represent rules.
ModifyHeaders now supports reading the header value from a  file.
2020-07-01 13:25:28 +02:00
Martin Plattner
2ed7770716 modify body addon: fix typo in docs 2020-06-30 16:54:17 +02:00
Martin Plattner
0a12479399 modify addons: cleanup redundant code and error handling 2020-06-30 16:20:06 +02:00
Martin Plattner
48dcc6e073 revert modify headers parameter order 2020-06-30 14:57:46 +02:00
Martin Plattner
4cffbec291 modifybody addon: update docs 2020-06-26 20:38:57 +02:00
Martin Plattner
b263b0dece replacements addon: rename to ModifyBody 2020-06-26 20:10:57 +02:00
Martin Plattner
96e756ead0 remove not needed replacement code 2020-06-26 19:04:22 +02:00
Martin Plattner
b608b0ef3e replacements addon: improve namings 2020-06-26 18:58:17 +02:00
Martin Plattner
29f0bd0276 replacements addon: only replace in body 2020-06-26 17:52:50 +02:00
Maximilian Hils
34286626eb
Merge pull request #4045 from mhils/sans-io-adjustments
minor: rename pytest fixture
2020-06-26 10:49:04 +02:00
Maximilian Hils
8783630ac3 minor: rename pytest fixture
tctx clashes with an omnipresent fixture on sans-io and my IDE
is not smart enough to figure out which one is which.
2020-06-26 01:01:25 +02:00
Maximilian Hils
846889c6f9
Merge pull request #4043 from mplattner/addon-setheaders-improve
SetHeaders -> ModifyHeaders
2020-06-25 18:33:39 +02:00
Martin Plattner
781e0a2e7c rename SetHeaders addon to ModifyHeaders 2020-06-25 18:08:48 +02:00
Maximilian Hils
7e0a57aee4
Merge pull request #4044 from mplattner/fix-docs-generation
fix docs generation
2020-06-25 17:28:47 +02:00
Maximilian Hils
bcffa674ba
fix my own linting errors 2020-06-25 17:27:20 +02:00
Maximilian Hils
7a0365ea68
flow pattern -> flow filter
we somewhat consistently refer to these things as filters (and have a docs page on it), so let's keep that consistency.
2020-06-25 17:25:25 +02:00
Maximilian Hils
3885ebbd58
fix hugo version name 2020-06-25 17:16:41 +02:00
Martin Plattner
527e5fcd22 fix docs generation 2020-06-25 17:02:12 +02:00
Martin Plattner
b90dded940 setheaders addon: update docs 2020-06-25 16:53:45 +02:00
Martin Plattner
ccf7182a11 setheaders addon: removal of existing headers 2020-06-25 16:46:24 +02:00
Martin Plattner
b6c70950c3 setheaders addon: change pattern order 2020-06-25 15:33:42 +02:00
Maximilian Hils
1f6a980df3
Merge pull request #3982 from mhils/critical-san
Certs: mark SAN as critical if no CN is set
2020-06-23 23:43:37 +02:00
Maximilian Hils
ed68e0a1ba
Merge pull request #4040 from mhils/restructure-examples
Restructure examples
2020-06-23 20:21:48 +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
Thomas Kriechbaumer
0793f61496
Merge pull request #4039 from JustAnotherArchivist/dev-version-detection-2
Replace git cat-file -t with -e and explain the magic ID
2020-06-22 13:55:36 +02:00
JustAnotherArchivist
9b6198a1fe Replace git cat-file -t with -e and explain the magic ID 2020-06-21 22:12:20 +00:00
Thomas Kriechbaumer
65cce78481
Merge pull request #4038 from Vane11ope/patch-1
the link of wsproto was not displayed right.
2020-06-21 21:41:31 +02:00
Vane11ope
f7cc067724
the link of wsproto was not displayed right
I just fixed the link attached to wsproto.
2020-06-22 02:42:31 +09:00
Thomas Kriechbaumer
e822d68e93
Merge pull request #4032 from jasonruz/patch-2
Document default listen port is 8080
2020-06-21 16:52:41 +02:00
Maximilian Hils
8e5c62c169
Merge pull request #4036 from JustAnotherArchivist/dev-version-detection
Verify that we're in the correct repository when extracting dev version information
2020-06-19 17:34:22 +02:00
JustAnotherArchivist
054d77fb48 Verify that we're in the correct repository when extracting dev version information
Fixes #3987
2020-06-19 15:20:06 +00:00
jasonruz
5599d3b654
Document default listen port is 8080 2020-06-16 14:41:52 +10:00
Maximilian Hils
31a6f60e45
Merge pull request #4006 from oxr463/patch-2
Document mitmweb architecture
2020-06-12 13:18:49 +02:00
V S Sreejeet
c93d00bd7f
Fix #4010. Options modal in the mitmweb page no longer overflows the y axis. (#4014)
don't overflow options dialog, fix #4010
2020-06-12 12:12:37 +02:00
Maximilian Hils
465db6f394
Merge pull request #4011 from G-Rath/patch-1
Support using `wslview` as a browser to open web url
2020-06-12 12:09:31 +02:00
Gareth Jones
f6261aa458 Support using wslview as a browser to open web url 2020-06-12 13:04:39 +12:00
Thomas Kriechbaumer
bbc2cf331a
Merge pull request #4023 from rbdixon/http2_response_fix
HTTP2 response reason is None, render as '' in property.
2020-06-08 19:35:32 +02:00
Brad Dixon
75ec05c85e HTTP2 response reason is None, render as '' in property.
Fixes an error triggered when displaying an HTTP2 response loaded
from a file.
2020-06-08 09:09:09 -04:00
Thomas Kriechbaumer
107b019b05
Merge pull request #4012 from soluble-ai/docs
Add Kubernetes HOWTO to docs
2020-05-31 14:28:11 +02:00
Matt Hamilton
4336720a32
add kubernetes howto 2020-05-23 00:26:06 -04:00
Lucas Ramage
7854562883
Document mitmweb architecture
Bug: https://github.com/mitmproxy/mitmproxy/issues/3925
2020-05-18 14:21:23 -04:00
Maximilian Hils
67372d26ae simplify hugo config 2020-05-16 17:12:38 +02:00
Thung Han
41d1603f37 Fix #3975 by enabling inline HTML in Markdown docs 2020-05-16 17:11:39 +02:00
Maximilian Hils
30c904fe5f update hugo 2020-05-16 17:10:44 +02:00
Maximilian Hils
b4bd1741eb
Merge pull request #3992 from JustAnotherArchivist/ws-message-timestamp-float
Record float timestamp for WebSocket messages instead of truncating to int
2020-05-13 16:11:15 +02:00
JustAnotherArchivist
479d4cda9b Record float timestamp for WebSocket messages instead of truncating to int 2020-05-09 13:13:14 +00:00
| |三 \/ | |\|
3372b77e93
Add a space after prefilled console command string (#3985)
Add a space after console command string
2020-05-08 22:04:05 +02:00
Deepanshu Lulla
8d8f4fd752
enable flag pygmentsCodefences = true (#3977)
* enable flag

Co-authored-by: Maximilian Hils <github@maximilianhils.com>
2020-05-08 22:02:19 +02:00