aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* fix Tornado 5.0 event loopThomas Kriechbaumer2018-03-241-0/+4
| | | | https://github.com/tornadoweb/tornado/issues/2183#issuecomment-371001254
* don't crash if server address is unknown, fix #2969Maximilian Hils2018-03-232-0/+7
|
* bench: Add some very simple manual benchmarking helpersAldo Cortesi2018-03-176-0/+93
| | | | | This includes a profiler addon that we might consider for promotion to a builtin down the track.
* Merge pull request #2956 from kira0204/test-for-2850Maximilian Hils2018-03-151-0/+25
|\ | | | | Test for #2850
| * adding commandkira02042018-03-121-3/+5
| |
| * Testing using addonkira02042018-03-121-11/+17
| |
| * fixing lintkira02042018-03-071-3/+3
| |
| * using assertskira02042018-03-071-0/+3
| |
| * wrong additionskira02042018-03-061-0/+14
| | | | | | | | | | | | | | | | | | | | test-for-2850 few fixes mock testing Typo error
* | Merge pull request #2945 from kajojify/shorteningAldo Cortesi2018-03-051-0/+28
|\ \ | | | | | | Polite shortening of statusbar messages. Fix #1433
| * | Minor fixes.Miroslav2018-03-031-12/+11
| | | | | | | | | | | | | | | | | | | | | Renaming prep_message method to shorten_message. Docstring. \u2026 instead of .... max_width parameter.
| * | Finalization of tests. Conditions rewritten again.Miroslav2018-03-021-19/+23
| | |
| * | Initial tests. New conditions.Miroslav2018-03-011-0/+25
| | |
* | | Merge pull request #2868 from kira0204/data-crashMaximilian Hils2018-03-041-2/+2
|\ \ \ | |_|/ |/| | Fix crashing when editing form with random data, fix #2794
| * | Testingkira02042018-02-191-1/+1
| | |
| * | Adding testkira02042018-02-161-1/+1
| | |
* | | clean up ProxyConfigMaximilian Hils2018-02-273-24/+20
| |/ |/| | | | | | | some of these options weren't even used anymore, others only in one place where it makes sense to use options directly.
* | Start consolidating core optionsAldo Cortesi2018-02-2610-98/+59
| | | | | | | | | | | | | | | | | | | | This is a preparatory patch that paves the way to consolidating our core options in the core addon. It amalgamates the core_option_validation and core addons, prepares the test suite for a world where options live in core, and moves over two trivial options as a trial balloon. From here, things will get harder, but at the end of the process we'll have a core that's responsive to options.
* | Split dumper_filter off from view_filterAldo Cortesi2018-02-262-6/+6
| | | | | | | | These don't even do the same thing.
* | Revamp verbosity optionsAldo Cortesi2018-02-265-6/+7
| | | | | | | | | | | | | | | | | | | | Split verbosity into termlog_verbosity and console_eventlog_verbosity. This patch also removes printing to console if there are unknown options in the command-line. Options now live in separate addons, so having uknown options remaining is common and expected. We definitely shoould have some other way for users to see what was ignored so they can catch typos and the like, but that's a different patch.
* | Merge pull request #2909 from fristonio/Fix-2867Aldo Cortesi2018-02-251-0/+9
|\ \ | | | | | | Fix test fails in test_xss_scanner when running tox without internet connection.
| * | Fix test fails in test_xss_scanner when running tox without internet ↵Deepesh Pathak2018-02-241-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | connections. - Add mock implementation for gethostbyname in test_xss_scanner. - Fix failed tests when running tox without internet connection. - Fixes #2867
* | | Misc. typosluz.paz2018-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found via `codespell -q 3 -I ../mitmproxy-word-whitelist.txt` Where whitelist contains: ``` cas doubleclick nd ot seeked statics te thru ```
* | | Merge pull request #2907 from cortesi/optionscompAldo Cortesi2018-02-257-32/+18
|\ \ \ | |/ / |/| | Start moving more complicated options over to /addons
| * | addon options: proxyauth to /addonsAldo Cortesi2018-02-242-7/+8
| | |
| * | Split default_contentview into dumper_* and console_* varietiesAldo Cortesi2018-02-241-1/+1
| | | | | | | | | | | | | | | Then move the new options into their respective addons. This was a shared option, and things are much much simpler if it isn't.
| * | Move intercept options to addonAldo Cortesi2018-02-242-16/+1
| | | | | | | | | | | | | | | | | | | | | As part of this, we zap an un-needed console command and use a boolean toggle setter instead. Also remove an ancient regression test that breaks encapsulation.
| * | flow_detail option to /addons/dumperAldo Cortesi2018-02-242-8/+8
| | |
* | | Merge branch 'master' into optsAldo Cortesi2018-02-242-0/+37
|\ \ \ | |/ / |/| |
| * | Merge pull request #2886 from tran-tien-dat/set-cookieAldo Cortesi2018-02-241-0/+21
| |\ \ | | | | | | | | Parse Set-Cookie header more permissively. Fix #2829
| | * | Fix #2829Tran Tien Dat2018-02-211-0/+21
| | | |
| * | | Fix an issue with quoting and commandsAldo Cortesi2018-02-231-0/+16
| |/ / | | | | | | | | | | | | Previously, quotes would disappear during editing, making it impossible to enter command arguments with spaces.
* | | Resolve some left-over cross-addon dependenciesAldo Cortesi2018-02-242-6/+3
| | |
* | | addon options: upstream_authAldo Cortesi2018-02-241-2/+2
| | | | | | | | | | | | Also the last "easy" option to shift.
* | | addon options: stickycookie, streambodiesAldo Cortesi2018-02-242-9/+9
| | |
* | | addon options: setheaders, stickyauthAldo Cortesi2018-02-244-22/+16
| | |
* | | addon options: readfile, save, scriptAldo Cortesi2018-02-241-5/+5
| | |
* | | addon options: migrate replace, simplify taddons.contextAldo Cortesi2018-02-241-5/+5
| | |
* | | addon options: shift server_replay optionsAldo Cortesi2018-02-241-16/+16
| | |
* | | addon options: shift keepserving and onboarding optionsAldo Cortesi2018-02-243-12/+13
| | |
* | | client options: migrate allowremote and clientplaybackAldo Cortesi2018-02-242-5/+4
| | | | | | | | | | | | | | | Also triage options, and categorize them into core options (won't be migrated), options that are hard to migrate for various reasons, and easy migrations.
* | | Clean up un-necessary arguments to taddons.contextAldo Cortesi2018-02-245-16/+15
| | | | | | | | | | | | Also test coverage ++
* | | Start moving addon options into /addonsAldo Cortesi2018-02-245-12/+13
|/ / | | | | | | | | | | | | | | | | This takes the first few steps: - Extends taddons to make loading addon options easier - Removes dependencies in the test suite on options in addons - Tweaks command-line parser autocreation to ignore nonexistent options. This lets us load common options without over-depending on loaded addons.
* | Flake, be happyMiroslav2018-02-201-2/+0
| |
* | one more cleanupMiroslav2018-02-201-1/+0
| |
* | Hotkeys cleanupMiroslav2018-02-201-10/+0
| |
* | Merge pull request #2881 from cortesi/refreshoptMaximilian Hils2018-02-193-6/+6
|\ \ | |/ |/| option refresh_server_playback -> server_replay_refresh
| * option replay_kill_extra -> server_replay_kill_extraAldo Cortesi2018-02-203-3/+3
| | | | | | | | Continuing effort to collect all sever replay options under a commmon prefix.
| * option refresh_server_playback -> server_replay_refreshAldo Cortesi2018-02-202-3/+3
| | | | | | | | All other server playback options have this form.
* | Merge pull request #2847 from kira0204/key-cookie-issueMaximilian Hils2018-02-122-6/+26
|\ \ | | | | | | Handling empty key with value for cookies, fix #2827