aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* tests: client_playback coverageAldo Cortesi2016-11-023-28/+60
|
* tests: pathod/tutils.py -> pathod/tservers.pyAldo Cortesi2016-11-0212-45/+40
| | | | And remove all aliases for mitmproxy.test.tutils
* tests: clean up test/mitmproxy/tutils.pyAldo Cortesi2016-11-0226-165/+149
| | | | Remove aliases, use mitmproxy/test/tutils instead.
* tests: minor cleanup for tests/mitmproxy/tutils.pyAldo Cortesi2016-11-022-17/+13
|
* addons anticom, anticache: expand tests, new trussAldo Cortesi2016-11-013-27/+26
|
* Remove addons.StateAldo Cortesi2016-11-013-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 suiteAldo Cortesi2016-11-012-14/+30
| | | | Use a super-simple flow recorder instead.
* console: add caching sort keysAldo Cortesi2016-10-301-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 focusAldo Cortesi2016-10-301-0/+5
|
* console: "v" to reverse flow orderAldo Cortesi2016-10-301-4/+13
|
* console: o for flow orderAldo Cortesi2016-10-301-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 markingAldo Cortesi2016-10-302-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 viewAldo Cortesi2016-10-301-25/+19
| | | | | First phase of the port - basic flow list and flow view functionality working. More to come.
* Add options.default_contentviewAldo Cortesi2016-10-301-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 importsAldo Cortesi2016-10-3012-20/+9
|
* Replace interception in mitmproxy and mitmweb with addonAldo Cortesi2016-10-301-0/+2
| | | | Fixes #1674
* test.taddon: Add cycle() method, use it to test addons.interceptAldo Cortesi2016-10-301-0/+11
|
* Move test flow creators to mitmproxy.test.tflowAldo Cortesi2016-10-3026-264/+195
|
* Add addons.interceptAldo Cortesi2016-10-292-4/+25
| | | | | - Add an addon to handle intercept based on a filter pattern - Start sketching out a nicer testing truss for addons in mitmproxy.test.taddon
* SyncAldo Cortesi2016-10-291-0/+0
|
* addons.view: focus.focusflow -> focus.flowAldo Cortesi2016-10-291-17/+17
|
* addons.view.focus: next and prev methodsAldo Cortesi2016-10-291-0/+25
|
* addons.view: flow settingsAldo Cortesi2016-10-291-0/+15
| | | | Add a flow settings mechanism, enable focus and settings unilaterally.
* addons.view.focus: Better handling of view refreshAldo Cortesi2016-10-291-1/+1
| | | | | When we refresh and our current focus goes out of scope, we set the focus to the element nearest the old focus.
* addons.View: better order reversalAldo Cortesi2016-10-291-2/+19
| | | | | Deal with some subtleties in order reversal, add a toggle method that emits refresh.
* addons.view: Add a focus trackerAldo Cortesi2016-10-291-0/+55
|
* addons.View: hook up signalsAldo Cortesi2016-10-291-0/+71
|
* Sketch out addons.ViewAldo Cortesi2016-10-291-0/+92
| | | | The first iteration of a replacement for addons.State
* upgrade h2 to >=2.5.0Thomas Kriechbaumer2016-10-271-3/+3
|
* Merge pull request #1670 from chhsiao90/display-cipher-#582Maximilian Hils2016-10-271-0/+2
|\ | | | | Resolved #582: display ClientConnection select cipher of TLS
| * Show tls version on consolechhsiao902016-10-261-0/+1
| |
| * Resolved #582: display ClientConnection select cipher of TLSchhsiao902016-10-261-0/+1
| |
* | typecheck options, fix current inconsistenciesMaximilian Hils2016-10-257-2/+51
|/
* Merge pull request #1664 from chhsiao90/sni-display-#1639Maximilian Hils2016-10-241-0/+1
|\ | | | | Resolved #1639: display sni on ClientConnection
| * Resolved #1639: display sni on ClientConnectionchhsiao902016-10-251-0/+1
| |
* | Merge pull request #1656 from mhils/improve-export-2Maximilian Hils2016-10-245-87/+22
|\ \ | |/ |/| Improve Flow Export
| * improve flow exportMaximilian Hils2016-10-225-87/+22
| |
* | replace mitmproxy.utils.lrucache with functools.lru_cacheSahil Chelaramani2016-10-241-34/+0
| |
* | Merge pull request #1649 from cortesi/killMaximilian Hils2016-10-221-1/+0
|\ \ | |/ |/| Don't call error for flow kill
| * Don't call error for flow killAldo Cortesi2016-10-221-1/+0
| | | | | | | | | | This is now the error handler on master, so whatever the intetion was it's now definitely wrong.
* | various encoding fixes, fix #1650Maximilian Hils2016-10-223-2/+23
|/
* multidict: remove to_dictAldo Cortesi2016-10-211-7/+0
| | | | | We never use it, and it is dangerously ambiguous when a key is associated with a list.
* multidict: ditch ImmutableMultiDictAldo Cortesi2016-10-211-34/+0
| | | | A contorted class we only use for cookie attributes. We don't need it.
* The final piece: netlib -> mitproxy.netAldo Cortesi2016-10-2066-90/+90
|
* netlib.tutils -> mitmproxy.test.tutilsAldo Cortesi2016-10-2036-100/+102
| | | | There's a LOT more to be done refactoring our different conflicting test utils.
* netlib.exceptions.* -> mitmproxy.exceptionsAldo Cortesi2016-10-2012-68/+69
|
* netlib.encoding -> netlib.http.encodingAldo Cortesi2016-10-201-1/+2
| | | | Encoding is highly specific to http, and only used within this module.
* netlib.certutils -> mitmproxy.certsAldo Cortesi2016-10-203-61/+66
|
* netlib.utils -> netlib.checkAldo Cortesi2016-10-204-12/+11
| | | | | | Now only contains is_valid_[host,port] Intermediate step - this will be in mitproxy.net soon.
* netlib.utils.[get,set]bit -> mitmproxy.utils.bitsAldo Cortesi2016-10-201-1/+1
|