aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Logic to handle multiple instances using CommandHistory.Henrique2019-11-251-6/+76
|
* Make windows happy once againHenrique2019-11-251-0/+8
|
* Make windows happyHenrique2019-11-251-0/+2
|
* Making windows happyHenrique2019-11-251-0/+1
|
* Oops, forgot to add the tests for the CommandHistory addonHenrique2019-11-251-0/+196
|
* Fixed the logic according to some tests, added new testsHenrique2019-11-241-166/+246
|
* Implemented feature to save command history to a file. This allows usersHenrique2019-11-221-2/+5
| | | | to reuse their commands the next time they open mitmproxy
* Merge pull request #3693 from typoon/fix-command-bar-issue-3259Maximilian Hils2019-11-217-100/+440
|\ | | | | Improve Command Bar UX
| * lint!Maximilian Hils2019-11-191-3/+5
| |
| * fix testsMaximilian Hils2019-11-191-13/+20
| |
| * fix 'set' to only accept a single argumentMaximilian Hils2019-11-191-1/+1
| |
| * fix lexing, sort ofMaximilian Hils2019-11-192-1/+39
| |
| * wipMaximilian Hils2019-11-181-2/+2
| |
| * coverage++Maximilian Hils2019-11-181-1/+23
| |
| * adjust testMaximilian Hils2019-11-181-1/+1
| |
| * fix vararg handlingMaximilian Hils2019-11-183-15/+19
| |
| * revamp command processingMaximilian Hils2019-11-182-116/+150
| | | | | | | | | | | | | | | | | | | | | | | | - 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
| * Added coverage for the changes madeHenrique2019-11-171-0/+4
| |
| * Brought coverage up to 94% on test_commander.pyHenrique2019-11-161-4/+103
| |
| * Various changes to address PR commentsHenrique2019-11-162-2/+2
| | | | | | | | | | Made a change to make `CommandManager.execute` the main entry point for executing commands and made `call_strings` into a private method.
| * Fixing issues pointed during PR reviewHenrique2019-11-163-10/+25
| |
| * Merge branch 'master' into fix-command-bar-issue-3259Henrique M. D2019-11-153-4/+42
| |\
| * | Removed the custom lexer in favor of using pyparsing.Henrique2019-11-154-111/+134
| | |
| * | Added a new test to test that the issue from the previous commit won'tHenrique2019-11-131-1/+13
| | | | | | | | | | | | happen anymore
| * | Added tests to reach 100% coverageHenrique2019-11-132-3/+5
| | |
| * | Getting 100% coverage in the lexerHenrique2019-11-121-0/+14
| | |
| * | Fixing issues reported by the linterHenrique2019-11-122-1/+1
| | |
| * | Tests for the new lexerHenrique2019-11-121-0/+64
| | |
| * | Fixed test to use the new method to get the lexerHenrique2019-11-121-2/+2
| | |
| * | Fix for issues when using \ and " on the commander barHenrique2019-11-121-4/+4
| | |
* | | Use Github Actions for CI (#3713)Maximilian Hils2019-11-1913-25/+68
| | | | | | | | | switch to github actions for CI
* | | Merge branch 'master' into masterMaximilian Hils2019-11-164-19/+124
|\ \ \
| * \ \ Merge pull request #3705 from mhils/issue-3469Maximilian Hils2019-11-161-6/+28
| |\ \ \ | | | | | | | | | | Fix #3469
| | * | | tests++Maximilian Hils2019-11-151-6/+28
| | | | |
| * | | | Merge pull request #3448 from cript0nauta/masterMaximilian Hils2019-11-161-10/+55
| |\ \ \ \ | | |_|_|/ | |/| | | Fix command injection vulnerability when exporting to curl or httpie
| | * | | test coverage++Maximilian Hils2019-11-151-0/+8
| | | | |
| | * | | improve curl/httpie exportMaximilian Hils2019-11-151-7/+9
| | | | |
| | * | | Merge remote-tracking branch 'origin/master' into pr-3448Maximilian Hils2019-11-1519-60/+165
| | |\| |
| | * | | Merge branch 'master' of https://github.com/mitmproxy/mitmproxyMatías Lang2019-01-135-6/+8
| | |\ \ \
| | * | | | Fix command injection when exporting to httpieMatías Lang2019-01-131-5/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The command generated by `export.clip httpie @focus` or `export.file httpie @focus /path/to/file` wasn't being properly escaped so it could contain a malicious command instead of just a simple httpie call.
| | * | | | Fix command injection when exporting to curlMatías Lang2019-01-131-5/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The command generated by `export.clip curl @focus` or `export.file curl @focus /path/to/file` wasn't being properly escaped so it could contain a malicious command instead of just a simple curl.
| * | | | | Merge pull request #3420 from rjt-gupta/multipart-fixMaximilian Hils2019-11-152-3/+41
| |\ \ \ \ \ | | |_|_|/ / | |/| | | | multipart-fix
| | * | | | test coverage improvedrjt-gupta2019-02-061-0/+19
| | | | | |
| | * | | | multipart encoder and testsrjt-gupta2019-02-062-4/+22
| | | | | |
| | * | | | multipart-fixrjt-gupta2019-02-061-2/+3
| | | | | |
* | | | | | Adding raw_request and raw_response to exportMichael McKeirnan2019-11-161-1/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a proposed change for https://github.com/mitmproxy/mitmproxy/issues/3701 which alters the behavior of a raw http export to include both the request and the response. Additionally, this introduces two new export options "raw_request" and "raw_response" which allow for exporting the raw HTTP request or response individually.
* | | | | | Adding export raw http responseMichael McKeirnan2019-11-151-8/+30
|/ / / / / | | | | | | | | | | | | | | | | | | | | Adding a new export type for raw http response, and changing export raw to export raw_request to distinguish between the two. This is a proposed change for https://github.com/mitmproxy/mitmproxy/issues/3701
* | | | | Merge pull request #3691 from mhils/sans-io-adjustmentsMaximilian Hils2019-11-121-1/+1
|\ \ \ \ \ | |_|_|_|/ |/| | | | Update mypy, sans-io adjustments
| * | | | update mypyMaximilian Hils2019-11-121-1/+1
| | | | |
| * | | | minor improvements and sans-io adjustmentsMaximilian Hils2019-11-112-2/+2
| | | | |