aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* New commandMiroslav2018-02-081-9/+1
|
* Fix #2777Miroslav2018-01-191-1/+9
|
* Fix #2765 (#2792)Samoilenko Roman2018-01-141-0/+4
|
* Fix #2768 (#2778)Samoilenko Roman2018-01-141-0/+8
|
* Merge pull request #2793 from kajojify/issue-2399Maximilian Hils2018-01-141-0/+1
|\ | | | | Issue 2399
| * Fix #2399Miroslav2018-01-141-0/+1
| |
* | store ClientHello extensions with client connectionMaximilian Hils2018-01-132-2/+3
| |
* | Merge pull request #2790 from mhils/stateobject-improvementsMaximilian Hils2018-01-132-52/+102
|\ \ | | | | | | stateobject: use typing, enable tuples and more complex datatypes
| * | stateobject: use typing, enable tuples and more complex datatypesMaximilian Hils2018-01-132-52/+102
| | |
* | | improve net.tls.ClientHello API, fix bugs, add testsMaximilian Hils2018-01-131-6/+84
| | |
* | | move ClientHello and related functions to mitmproxy.net.tlsMaximilian Hils2018-01-122-26/+24
|/ /
* | Add test for fix#2766.Matthew Shao2018-01-111-0/+4
| |
* | Raise a CommandError for the exceptionMatthew Shao2018-01-081-3/+4
| |
* | Fix #2760Matthew Shao2018-01-081-0/+3
| |
* | Fix #2767 (#2770)Samoilenko Roman2018-01-071-1/+1
| |
* | only use annotated tags for version calculationMaximilian Hils2018-01-071-1/+1
| |
* | avoid TLS/SSL ambiguity for Cert classThomas Kriechbaumer2018-01-073-15/+15
| |
* | rename TLS/SSL-related functionsThomas Kriechbaumer2018-01-0611-49/+49
| | | | | | | | | | | | SSL is an outdated protocol superseeded by TLS. Although the commonly used library is called OpenSSL, it is no reason to still use outdated language for function names.
* | rename TLS/SSL-related attributesThomas Kriechbaumer2018-01-065-10/+10
| | | | | | | | | | | | SSL is an outdated protocol superseeded by TLS. Although the commonly used library is called OpenSSL, it is no reason to still use outdated language for attributes.
* | refactor common.format_keyvalsMaximilian Hils2018-01-052-13/+25
| | | | | | | | | | | | | | the semantics here were really quite unclear, now it is hopefully a bit more obvious what's happening. Once we are Python 3.6+ exclusively, we may consider changing the signature to accept a (order-preserving) dict instead of a list.
* | fix test flow timestamps to values that don't overflow in certain timezonesMaximilian Hils2018-01-054-14/+10
| |
* | fix #2470Maximilian Hils2018-01-041-1/+4
| |
* | do not add leading zeroes to .dev version part.Maximilian Hils2018-01-041-1/+1
|/ | | | | wheel normalizes to no leading zeroes, and we don't want to special-case that.
* Merge pull request #2733 from mitmproxy/pyinstallerMaximilian Hils2017-12-302-13/+23
|\ | | | | Update PyInstaller, add dev version info to builds.
| * single-source version processingMaximilian Hils2017-12-302-13/+23
| |
* | Merge pull request #2703 from mhils/test-defaultkeysMaximilian Hils2017-12-301-0/+23
|\ \ | | | | | | Test that default key bindings are valid commands
| * | test that defaultkeys are valid commandsMaximilian Hils2017-12-291-0/+23
| |/
* | fix Flow.kill behaviourMaximilian Hils2017-12-291-2/+2
| | | | | | | | | | | | | | | | | | | | This now just sets a kill reply instead of committing directly. First, this seems like the more sane thing to do. Second, we have an iffy race condition where we call Reply.commit() before the addonmanager finishes its invocation, the proxy thread then progresses and sets a new flow.reply attribute, and the addonmanager then gets confused when finishing. This commit doesn't fix that, but mitigates it for Flow.kill which is now committed by the addonmanager.
* | websocket: add flow kill testThomas Kriechbaumer2017-12-291-0/+19
| |
* | websocket: test killableThomas Kriechbaumer2017-12-281-0/+15
| |
* | websocket: docs++ and kill messagesThomas Kriechbaumer2017-12-271-0/+6
| | | | | | | | fixes #2724
* | Display "*" when listening on all interfacesMaximilian Hils2017-12-261-0/+2
|/ | | | | | | | | | The set of people who understand "0.0.0.0" (and/or "::") is a subset of the set of people who understand "*", so we can make things easier to understand by using the less technical notation. Empirical Evidence: - https://discourse.mitmproxy.org/t/unable-to-use-mitmproxy-on-windows/735 - https://discourse.mitmproxy.org/t/how-to-view-the-proxy-servers-url/23
* @concurrent decorator works for class methods. (#2708)fate02017-12-261-1/+1
| | | | | * @concurrent decorator should works for class methods * modify test for @concurrent decorator in class. * add docs
* cuts: don't crash when retrieving header of a non-existent responseAldo Cortesi2017-12-201-0/+5
|
* commander: command argument underlayAldo Cortesi2017-12-201-0/+71
| | | | Display context-sensitive argument types as an "underlay" in commander.
* commander: palette entries, highlight errorsAldo Cortesi2017-12-202-2/+15
| | | | | | | - Add palette entries specific to commander - Highlight errors - Introduce an Unknown type to keep track of extra unknown arguments to commands
* commander: highlight commandsAldo Cortesi2017-12-202-12/+23
| | | | Step 1 of the fancification of commander.
* commands: partial parser now returns help for remaining argumentsAldo Cortesi2017-12-192-57/+37
|
* types: add validation to partial parserAldo Cortesi2017-12-192-15/+16
|
* types: use new type validation mechanism in commandsAldo Cortesi2017-12-193-35/+4
|
* types: add validation functionsAldo Cortesi2017-12-191-0/+42
|
* types: cleanups and minor refactoringsAldo Cortesi2017-12-191-12/+12
|
* Merge pull request #2702 from Kriechi/fix-2640Thomas Kriechbaumer2017-12-183-1/+42
|\ | | | | improve websocket dumps
| * add testsThomas Kriechbaumer2017-12-182-1/+16
| |
| * fix #2640Thomas Kriechbaumer2017-12-181-0/+12
| |
| * websocket: support domain and url filtersThomas Kriechbaumer2017-12-181-0/+14
| |
* | commands: refactor typesAldo Cortesi2017-12-185-62/+200
|/ | | | | | | The type system was scattered over a number of places, making it hard to follow. This collects all command types in types.py, and completion, validation and parsing for each type is centralised. We should use the same mechanism for options.
* Merge pull request #2690 from cortesi/typesAldo Cortesi2017-12-187-6/+6
|\ | | | | mitmproxy.types -> mitmproxy.coretypes
| * mitmproxy.types -> mitmproxy.coretypesAldo Cortesi2017-12-177-6/+6
| | | | | | | | | | | | | | | | | | | | The types name is valuable, and we have a better use for it in collecting and exposing types for options and commands. The coretypes module should probably be split up anyway - it contains a threading base class, a few container objects, and the defintion of our serialization protocol. I was tempted to rename it to "uncagegorized" for the sake of honesty.
* | commands: minor refactoring and command renamingAldo Cortesi2017-12-171-10/+9
|/