aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\
| * 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
| | |
| * | 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
| | | |
* | | | 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
|/ / /
* | | Merge pull request #3679 from tomlabaude/pf_ipv6Maximilian Hils2019-11-072-0/+11
|\ \ \ | | | | | | | | Added support for IPv6 in pf.py for macOS
| * | | pfctl state output always have 2 lines for each socket. Adding outgoing ↵Tom2019-11-052-0/+11
| |/ / | | | | | | | | | lines in data which matches lines before incoming ones. Also adding IPv6 data and tests
* / / make duration formatting more forgivingMaximilian Hils2019-11-071-0/+1
|/ /
* | several fixes on command exports has several problems: #3676Yoann L2019-10-281-15/+9
| | | | | | | | | | | | | | | | | | | | | | * authority can usually rely on actual URL. as `:authority` headers will break curl command. (advise if it's better to change them to Host, or if it should be reported on curl side) * `content-length`: 0 is added for each request. if it's found in the curl argument list, it'll try to fetch an empty body (and crash). also trying to guess on accept-encoding header to add the `--compress` option when fetching potentially compressed content. * ditto for httpie
* | Move onboardingapp from tornado to flask (#3661)Maximilian Hils2019-10-062-1/+0
| |
* | Add key_size option to define rsa key size (#3657)vin012019-09-301-10/+10
| |
* | bump more depsThomas Kriechbaumer2019-09-282-8/+8
| |
* | bump depsThomas Kriechbaumer2019-09-282-7/+7
| |
* | Merge pull request #3464 from rjt-gupta/url-fixThomas Kriechbaumer2019-09-281-0/+16
|\ \ | | | | | | Non ascii characters in url
| * | non ascii fix and testsrjt-gupta2019-02-031-0/+16
| |/
* | Merge pull request #3486 from rjt-gupta/unicode-filterThomas Kriechbaumer2019-09-281-0/+23
|\ \ | | | | | | filter unicode fix
| * | filter unicode fixrjt-gupta2019-02-241-0/+23
| |/
* | Merge pull request #3526 from pierlon/feature/allow-hostsThomas Kriechbaumer2019-09-282-2/+58
|\ \ | | | | | | Add --allow_hosts option
| * | Verify ignore_hosts & allow_hosts are mutually exclusivePierre Gordon2019-04-191-0/+9
| | |
| * | Add --allow_hosts optionPierre Gordon2019-04-191-2/+49
| |/ | | | | | | Closes #3295
* | Merge pull request #3631 from mhils/lintMaximilian Hils2019-09-052-14/+14
|\ \ | | | | | | Fix CI
| * | lintMaximilian Hils2019-09-052-14/+14
| | |
* | | encoding: add support for zstd (zstandard)Tero Saaristo2019-09-051-0/+1
|/ / | | | | | | Handles zstandard-compressed bodies labeled as zstd.
* / update formatdate for cookies and tests to use GMT formattingAnthony Biondo2019-04-161-1/+1
|/
* Merge pull request #3437 from yan12125/fix-tests-on-mojaveThomas Kriechbaumer2019-01-261-1/+5
|\ | | | | Fix a failing test on macOS Mojave
| * Fix a failing test on macOS MojaveChih-Hsuan Yen2018-12-291-1/+5
| |
* | Merge pull request #3444 from BoboTiG/fix-resource-leaksMaximilian Hils2019-01-062-2/+4
|\ \ | | | | | | Fix ResourceWarning: unclosed file, prevent resource leaks