Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | streamfile: make options less crazy | Aldo Cortesi | 2016-11-03 | 2 | -37/+5 | |
| | | | | | | | Instead of a (file, mode) tuple, move to "streamfile" as the path, and "streamfile_append" to specify if we should append or not. Leave the command-line options intact for now. | |||||
* | FileStreamer -> StreamFile | Aldo Cortesi | 2016-11-03 | 1 | -14/+13 | |
| | | | | options.wfile -> options.streamfile | |||||
* | addons: filestreamer test cov to 100% | Aldo Cortesi | 2016-11-03 | 1 | -7/+44 | |
| | | | | | Also address a bug in taddons that caused options changes that raised errors to be retained rather than rolled back. | |||||
* | addons filstreamer: tests and bugfixes | Aldo Cortesi | 2016-11-03 | 1 | -25/+13 | |
| | | | | | - Move tests to taddons - Fix a bug where options updates caused streaming to halt | |||||
* | Change antiquated test cipher suites | Aldo Cortesi | 2016-11-03 | 1 | -4/+4 | |
| | | | | This breaks Travis, possibly due to OpenSSL version. | |||||
* | addons: dumper spit and polish | Aldo Cortesi | 2016-11-02 | 2 | -7/+151 | |
| | | | | | | | - 100% test coverage - Cleanups - Add test/mitmproxy/addons/dumperview.py, a small utility for viewing dumper output variations | |||||
* | tests: convert test_dumper to use taddons | Aldo Cortesi | 2016-11-02 | 2 | -29/+19 | |
| | ||||||
* | tests: client_playback coverage | Aldo Cortesi | 2016-11-02 | 3 | -28/+60 | |
| | ||||||
* | tests: pathod/tutils.py -> pathod/tservers.py | Aldo Cortesi | 2016-11-02 | 12 | -45/+40 | |
| | | | | And remove all aliases for mitmproxy.test.tutils | |||||
* | tests: clean up test/mitmproxy/tutils.py | Aldo Cortesi | 2016-11-02 | 26 | -165/+149 | |
| | | | | Remove aliases, use mitmproxy/test/tutils instead. | |||||
* | tests: minor cleanup for tests/mitmproxy/tutils.py | Aldo Cortesi | 2016-11-02 | 2 | -17/+13 | |
| | ||||||
* | addons anticom, anticache: expand tests, new truss | Aldo Cortesi | 2016-11-01 | 3 | -27/+26 | |
| | ||||||
* | Remove addons.State | Aldo Cortesi | 2016-11-01 | 3 | -168/+5 | |
| | | | | | - Do a first-pass port of mitmweb. Some stuff still broken. - Remove more all State tests from the test suite | |||||
* | Replace addons.state in test suite | Aldo Cortesi | 2016-11-01 | 2 | -14/+30 | |
| | | | | Use a super-simple flow recorder instead. | |||||
* | console: add caching sort keys | Aldo Cortesi | 2016-10-30 | 1 | -32/+27 | |
| | | | | | | | | | | | This is a tad complicated. The underlying sorted list implementation expects the sort key to be stable for the lifetime of the object. However, if we sort by size, for instance, the sort order changes as the flow progresses through its lifecycle. We address this through two means: - Let order keys cache the sort value by flow ID. - Add a facility to refresh items in the list by removing and re-adding them when they are updated. | |||||
* | console: re-add follow focus | Aldo Cortesi | 2016-10-30 | 1 | -0/+5 | |
| | ||||||
* | console: "v" to reverse flow order | Aldo Cortesi | 2016-10-30 | 1 | -4/+13 | |
| | ||||||
* | console: o for flow order | Aldo Cortesi | 2016-10-30 | 1 | -1/+5 | |
| | | | | | | "o" shortcut and --order cmdline option to change flow order. Options is now bound to "O". | |||||
* | addons.view: Add first-class support for marking | Aldo Cortesi | 2016-10-30 | 2 | -93/+12 | |
| | | | | | | | | | Marking now works differently - it's no longer just another filter, it's applied in addition to the filter. This means you can apply a filter, mark some flows, and then toggle between marked and unmarked flows matching the filter. I'm leaving the filter for marked flows intact - it will come in handy in other situations. | |||||
* | console: Port from state to view | Aldo Cortesi | 2016-10-30 | 1 | -25/+19 | |
| | | | | | First phase of the port - basic flow list and flow view functionality working. More to come. | |||||
* | Add options.default_contentview | Aldo Cortesi | 2016-10-30 | 1 | -4/+4 | |
| | | | | | This is the first step in a longer process of revamping content views. For the moment, the option is not exposed on the command line. | |||||
* | Cleanups: remove intercept from addons.state, unused imports | Aldo Cortesi | 2016-10-30 | 12 | -20/+9 | |
| | ||||||
* | Replace interception in mitmproxy and mitmweb with addon | Aldo Cortesi | 2016-10-30 | 1 | -0/+2 | |
| | | | | Fixes #1674 | |||||
* | test.taddon: Add cycle() method, use it to test addons.intercept | Aldo Cortesi | 2016-10-30 | 1 | -0/+11 | |
| |