aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* minor fixesMaximilian Hils2016-12-102-2/+2
|
* add new xml/html pretty-printer :tada:Maximilian Hils2016-12-1010-1/+102
|
* remove lxml-dependent codeMaximilian Hils2016-12-103-35/+9
|
* update tests, increase coverage, add type infoMaximilian Hils2016-12-0922-333/+355
|
* options: add a merge method to assimilate optionsAldo Cortesi2016-12-083-5/+23
| | | | Fixes #953
* Minor tweaksAldo Cortesi2016-12-082-13/+13
|
* Amalgamate all the Options objectsAldo Cortesi2016-12-083-8/+11
|
* Replace configargparse with argparse, enable new options loadingAldo Cortesi2016-12-081-1/+2
| | | | | | This commit ditches configargparse and enables the new config file format. The default location is ~/.mitmproxy/config.yaml. Unifying all of the various Options objects will follow in the next patch.
* options: defaults are a class attributeAldo Cortesi2016-12-081-0/+5
|
* options: save defaults, add .reset() to restore defaultsAldo Cortesi2016-12-081-5/+0
| | | | Use .reset() in console app to clear options.
* Add YAML serialization of optionsAldo Cortesi2016-12-081-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 attributeAldo Cortesi2016-12-081-0/+5
|
* Add OptManager.subscribe, use it to clean up palettes in consoleAldo Cortesi2016-12-081-0/+23
| | | | .subscribe lets you subscribe a function to a specified set of options.
* Options - avoid mutation, API cleanup, has_changedAldo Cortesi2016-12-081-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 optionAldo Cortesi2016-12-082-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 testsAldo Cortesi2016-12-082-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 defaultsAldo Cortesi2016-12-081-0/+37
| | | | Use .reset() in console app to clear options.
* tls_parser: allow optional extensionsThomas Kriechbaumer2016-12-062-0/+64
| | | | fixes #1816
* simplify ALPN and OpenSSL on macOSThomas Kriechbaumer2016-12-047-95/+131
|
* websocket: update close handshake testsThomas Kriechbaumer2016-11-291-0/+4
|
* fix #1783 (#1794)Maximilian Hils2016-11-281-0/+12
|
* fix pyinstallerMaximilian Hils2016-11-281-2/+2
| | | amongst other things, fix #1746
* Fix transparent mode initialisation, refactor mitmproxy.platform (#1787)Maximilian Hils2016-11-253-29/+14
|
* Merge branch 'mitmweb-eventlog'Maximilian Hils2016-11-233-11/+278
|\
| * mitmweb: 100% app test coverage, numerous fixesMaximilian Hils2016-11-232-11/+246
| |
| * add eventstore testsMaximilian Hils2016-11-231-0/+32
| |
* | disable TCP support for nowThomas Kriechbaumer2016-11-231-3/+4
| |
* | websocket: add testsThomas Kriechbaumer2016-11-232-0/+36
| |
* | websocket: change cmdline optionThomas Kriechbaumer2016-11-231-1/+1
| |
* | rename WebSocket{s,} protocolThomas Kriechbaumer2016-11-231-13/+13
|/
* Descriptive error message for SSL context initialization failure (#1767)Yoginski2016-11-211-0/+15
|
* organize examplesMaximilian Hils2016-11-211-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 Hils2016-11-201-0/+15
|
* tests: fix race conditionThomas Kriechbaumer2016-11-201-5/+15
|
* lint!Maximilian Hils2016-11-182-0/+2
|
* addons.view: clarify modification eventsAldo Cortesi2016-11-151-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 newAldo Cortesi2016-11-135-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 testAldo Cortesi2016-11-131-3/+119
|
* stub out proxyauth addonAldo Cortesi2016-11-131-0/+53
| | | | Stub out basic workings, add and test configure event.
* upstream_proxy_auth -> upstream_authAldo Cortesi2016-11-131-3/+3
| | | | Also clarify what this does in commandline help.
* Complete upstream authentication moduleAldo Cortesi2016-11-132-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 CONNECTAldo Cortesi2016-11-122-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 requestsAldo Cortesi2016-11-121-3/+15
|
* Upstream proxy auth to addonAldo Cortesi2016-11-123-25/+54
|
* Test failure during 100-continueAldo Cortesi2016-11-121-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 readAldo Cortesi2016-11-121-0/+48
| | | | Also add the beginnings of a test suite to exercise issues like this.
* http2: add push-promise metadata testThomas Kriechbaumer2016-11-051-0/+6
|
* Remove deprecated interfacesAldo Cortesi2016-11-041-4/+4
|
* script.concurrent: tests to taddonsAldo Cortesi2016-11-042-24/+24
|
* addons: convert last of the test suite to taddonsAldo Cortesi2016-11-045-94/+92
|