Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add YAML serialization of options | Aldo Cortesi | 2016-12-08 | 1 | -1/+54 | |
| | | | | | This uses ruamel.yaml. The library seems well-supported, and can do in-place modification of config files that retains user comments and file structure. | |||||
* | options: defaults are a class attribute | Aldo Cortesi | 2016-12-08 | 1 | -0/+5 | |
| | ||||||
* | Add OptManager.subscribe, use it to clean up palettes in console | Aldo Cortesi | 2016-12-08 | 1 | -0/+23 | |
| | | | | .subscribe lets you subscribe a function to a specified set of options. | |||||
* | Options - avoid mutation, API cleanup, has_changed | Aldo Cortesi | 2016-12-08 | 1 | -2/+5 | |
| | | | | | | | | | - Always return a deepcopy of options to avoid accidental mutation of options state. - Remove .get(opt, default). This is an inappropriate API for Options - trying to retrieve an option that doesn't exist should always be an error. - Add the has_changed method that checks if an option differs from the default, use it in mitmproxy console. | |||||
* | Get rid of tfile testing option | Aldo Cortesi | 2016-12-08 | 2 | -27/+22 | |
| | | | | | It's weird, it's ugly, it's getting in the way of my options refactoring, and it must therefore die. | |||||
* | Clean up dump tests | Aldo Cortesi | 2016-12-08 | 2 | -163/+38 | |
| | | | | | | - Remove tests that redundantly test addon funtionality that we've already tested more comprehensively elsewhere. - Extend to 100% coverage for tools/dump.py | |||||
* | options: save defaults, add .reset() to restore defaults | Aldo Cortesi | 2016-12-08 | 1 | -0/+37 | |
| | | | | Use .reset() in console app to clear options. | |||||
* | tls_parser: allow optional extensions | Thomas Kriechbaumer | 2016-12-06 | 2 | -0/+64 | |
| | | | | fixes #1816 | |||||
* | simplify ALPN and OpenSSL on macOS | Thomas Kriechbaumer | 2016-12-04 | 7 | -95/+131 | |
| | ||||||
* | websocket: update close handshake tests | Thomas Kriechbaumer | 2016-11-29 | 1 | -0/+4 | |
| | ||||||
* | fix #1783 (#1794) | Maximilian Hils | 2016-11-28 | 1 | -0/+12 | |
| | ||||||
* | fix pyinstaller | Maximilian Hils | 2016-11-28 | 1 | -2/+2 | |
| | | | amongst other things, fix #1746 | |||||
* | Fix transparent mode initialisation, refactor mitmproxy.platform (#1787) | Maximilian Hils | 2016-11-25 | 3 | -29/+14 | |
| | ||||||
* | Merge branch 'mitmweb-eventlog' | Maximilian Hils | 2016-11-23 | 3 | -11/+278 | |
|\ | ||||||
| * | mitmweb: 100% app test coverage, numerous fixes | Maximilian Hils | 2016-11-23 | 2 | -11/+246 | |
| | | ||||||
| * | add eventstore tests | Maximilian Hils | 2016-11-23 | 1 | -0/+32 | |
| | | ||||||
* | | disable TCP support for now | Thomas Kriechbaumer | 2016-11-23 | 1 | -3/+4 | |
| | | ||||||
* | | websocket: add tests | Thomas Kriechbaumer | 2016-11-23 | 2 | -0/+36 | |
| | | ||||||
* | | websocket: change cmdline option | Thomas Kriechbaumer | 2016-11-23 | 1 | -1/+1 | |
| | | ||||||
* | | rename WebSocket{s,} protocol | Thomas Kriechbaumer | 2016-11-23 | 1 | -13/+13 | |
|/ | ||||||
* | Descriptive error message for SSL context initialization failure (#1767) | Yoginski | 2016-11-21 | 1 | -0/+15 | |
| | ||||||
* | organize examples | Maximilian Hils | 2016-11-21 | 1 | -17/+22 | |
| | | | | | | | This commit is largely based on work by Thiago Arrais (@thiagoarrais) and Shane Bradfield (@l33tLumberjack). I wasn't really able to get their PR reasonably merged onto the latest master, so I reapplied their changes manually here and did some further improvements on that. | |||||
* | rewrite absolute-form HTTP requests to relative form, fix #1759 (#1765) | Maximilian Hils | 2016-11-20 | 1 | -0/+15 | |
| | ||||||
* | tests: fix race condition | Thomas Kriechbaumer | 2016-11-20 | 1 | -5/+15 | |
| | ||||||
* | lint! | Maximilian Hils | 2016-11-18 | 2 | -0/+2 | |
| | ||||||
* | addons.view: clarify modification events | Aldo Cortesi | 2016-11-15 | 1 | -5/+11 | |
| | | | | | This adds a set of store modification events, and uses them for flow settings. This addresses a bug where settings could persist even after flows were deleted. | |||||
* | addons.proxyauth: out with the old, in with the new | Aldo Cortesi | 2016-11-13 | 5 | -170/+29 | |
| | | | | | - Strip out old auth mechanisms, and enable addon - Disable web app auth for now - this should just use the Tornado auth stuff | |||||
* | addons.proxyauth: complete and test | Aldo Cortesi | 2016-11-13 | 1 | -3/+119 | |
| | ||||||
* | stub out proxyauth addon | Aldo Cortesi | 2016-11-13 | 1 | -0/+53 | |
| | | | | Stub out basic workings, add and test configure event. | |||||
* | upstream_proxy_auth -> upstream_auth | Aldo Cortesi | 2016-11-13 | 1 | -3/+3 | |
| | | | | Also clarify what this does in commandline help. | |||||
* | Complete upstream authentication module | Aldo Cortesi | 2016-11-13 | 2 | -0/+21 | |
| | | | | | | | - Handles upstream CONNECT and regular requests, plus HTTP Basic for reverse proxy - Add some tests to make sure we can rely on the .via attribute on server connections. | |||||
* | Refine handling of HTTP CONNECT | Aldo Cortesi | 2016-11-12 | 2 | -56/+27 | |
| | | | | | | | - CONNECT requests do not generate the usual http events. Instead, they generate the http_connect event and handlers then have the option of setting an error response to abort the connect. - The connect handler is called for both upstream proxy and regular proxy CONNECTs. | |||||
* | Add the http_connect event for HTTP CONNECT requests | Aldo Cortesi | 2016-11-12 | 1 | -3/+15 | |
| | ||||||
* | Upstream proxy auth to addon | Aldo Cortesi | 2016-11-12 | 3 | -25/+54 | |
| | ||||||
* | Test failure during 100-continue | Aldo Cortesi | 2016-11-12 | 1 | -11/+31 | |
| | | | | | | | | | Also: - Remove duplicate and unused code - Tighten scope of HttpReadDisconnect handler - we only want to ignore this for the initial read, not for the entire block that includes things like the expect handling. | |||||
* | Bug: ask requestheaders before request body is read | Aldo Cortesi | 2016-11-12 | 1 | -0/+48 | |
| | | | | Also add the beginnings of a test suite to exercise issues like this. | |||||
* | http2: add push-promise metadata test | Thomas Kriechbaumer | 2016-11-05 | 1 | -0/+6 | |
| | ||||||
* | Remove deprecated interfaces | Aldo Cortesi | 2016-11-04 | 1 | -4/+4 | |
| | ||||||
* | script.concurrent: tests to taddons | Aldo Cortesi | 2016-11-04 | 2 | -24/+24 | |
| | ||||||
* | addons: convert last of the test suite to taddons | Aldo Cortesi | 2016-11-04 | 5 | -94/+92 | |
| | ||||||
* | addons.setheaders: fix configure bug, tests to taddons | Aldo Cortesi | 2016-11-04 | 1 | -49/+45 | |
| | ||||||
* | addons.view: test suite to 100% | Aldo Cortesi | 2016-11-04 | 1 | -15/+55 | |
| | | | | This takes coverage for all of /addons to 100% | |||||
* | addons.view: test improvements | Aldo Cortesi | 2016-11-03 | 1 | -1/+51 | |
| | ||||||
* | addons.streambodies: 100% test coverage | Aldo Cortesi | 2016-11-03 | 1 | -13/+11 | |
| | ||||||
* | addons.serverplayback: 100% test coverage | Aldo Cortesi | 2016-11-03 | 2 | -271/+318 | |
| | ||||||
* | addons.serverplayback: test suite to taddons | Aldo Cortesi | 2016-11-03 | 1 | -58/+61 | |
| | ||||||
* | addons.script: 100% test coverage | Aldo Cortesi | 2016-11-03 | 1 | -2/+49 | |
| | ||||||
* | addons.script: convert to test.taddons | Aldo Cortesi | 2016-11-03 | 1 | -100/+98 | |
| | ||||||
* | addons.onboarding: remove duplicate code | Aldo Cortesi | 2016-11-03 | 1 | -1/+1 | |
| | ||||||
* | addons.intercept: 100% test coverage | Aldo Cortesi | 2016-11-03 | 1 | -0/+5 | |
| |