aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/types.py
Commit message (Collapse)AuthorAgeFilesLines
* fix re-raised exceptions not having a messageItai Sadan2020-01-181-3/+3
|
* fix coverageMaximilian Hils2019-11-181-1/+1
|
* fix vararg handlingMaximilian Hils2019-11-181-1/+1
|
* revamp command processingMaximilian Hils2019-11-181-67/+56
| | | | | | | | | | | | - Display the parameter name instead of the parameter type whenver users interact with commands. This makes it easy to enter commands just by their signature. We may want to expose type information in the command list, but some quick testing showed that this are rather intuitive anyways. - Add shift tab backward cycling for the command completion. - Use inspect.Signature instead of homebrew argument matching solution. This gets rid of quite a bit of cruft. - Remove some type checking hacks in mitmproxy.types
* Various changes to address PR commentsHenrique2019-11-161-3/+3
| | | | | Made a change to make `CommandManager.execute` the main entry point for executing commands and made `call_strings` into a private method.
* update mypyMaximilian Hils2019-11-121-1/+1
|
* View API slightly extended; codebase cleaned in some pointsmadt1m2018-06-131-2/+2
|
* commands: clarify command call interface, fix web app replayAldo Cortesi2018-05-021-7/+7
|
* Fix #3002. Auto-expandingMiroslav2018-04-261-1/+1
|
* fix Python 3.6 variable type annotations #3053oscure762018-04-141-4/+4
|
* rename TLS/SSL-related attributesThomas Kriechbaumer2018-01-061-2/+2
| | | | | | 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.
* commander: palette entries, highlight errorsAldo Cortesi2017-12-201-0/+18
| | | | | | | - 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-201-2/+8
| | | | Step 1 of the fancification of commander.
* commands: partial parser now returns help for remaining argumentsAldo Cortesi2017-12-191-0/+2
|
* types: use new type validation mechanism in commandsAldo Cortesi2017-12-191-1/+9
|
* types: add validation functionsAldo Cortesi2017-12-191-6/+87
|
* types: cleanups and minor refactoringsAldo Cortesi2017-12-191-58/+58
|
* commands: refactor typesAldo Cortesi2017-12-181-0/+330
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.