Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Revamp replacement hooks | Aldo Cortesi | 2017-02-01 | 2 | -103/+74 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Replacement specifiers can be either strings or tuples. This lets us cope gracefully with command-line parsing (and posible quick interactive specification) without having to special-case replacement hooks, or have knowledge of hook specification leak outside the addon. We can also now use the same command-line spec format in config files. - Split replacement and replacement from file into separate addons and options. Files are now read on each replacement, so you can edit replacement files in place without restart. - Modernise the test suite to use addon test helpers. TODO: editing and displaying replace-from-file in console app | |||||
* | | Merge pull request #1965 from cortesi/optname | Aldo Cortesi | 2017-02-01 | 1 | -15/+15 | |
|\ \ | | | | | | | Consolidate option names | |||||
| * | | Consolidate option names | Aldo Cortesi | 2017-01-30 | 1 | -15/+15 | |
| | | | | | | | | | | | | | | | | | | - Onboarding app options to onboarding* - Console-specific options to console_* - Web-specific options to web_* | |||||
* | | | fully test addonmanager (#1970) | Thomas Kriechbaumer | 2017-01-31 | 1 | -0/+12 | |
|/ / | ||||||
* | | addons: unit tests to 100% | Aldo Cortesi | 2017-01-29 | 5 | -20/+73 | |
| | | | | | | | | | | This patch pushes the coverage of ./tests/mitproxy/addons to 100% of the addons module. | |||||
* | | fix newlines on windows | Thomas Kriechbaumer | 2017-01-25 | 1 | -5/+5 | |
| | | ||||||
* | | fix alpn requirement in web tests | Thomas Kriechbaumer | 2017-01-25 | 1 | -1/+1 | |
| | | ||||||
* | | simplify termlog outfile handling | Thomas Kriechbaumer | 2017-01-25 | 1 | -13/+22 | |
| | | ||||||
* | | write errors to stderr (#1952) | nish21 | 2017-01-25 | 1 | -7/+9 | |
| | | ||||||
* | | Merge pull request #1945 from Kriechi/ca-expired | Maximilian Hils | 2017-01-23 | 4 | -3/+65 | |
|\ \ | | | | | | | fix #939 | |||||
| * | | fix #939 | Thomas Kriechbaumer | 2017-01-23 | 4 | -3/+65 | |
| | | | ||||||
* | | | test disable_h2c_upgrade addon | Thomas Kriechbaumer | 2017-01-23 | 2 | -0/+18 | |
| | | | ||||||
* | | | test websocket addon | Thomas Kriechbaumer | 2017-01-23 | 1 | -1/+18 | |
|/ / | ||||||
* / | nuke mock dependency | Thomas Kriechbaumer | 2017-01-22 | 21 | -27/+30 | |
|/ | | | | This is already included in Python 3.3+ as unittest.mock | |||||
* | provide git information with --version | Thomas Kriechbaumer | 2017-01-19 | 2 | -6/+7 | |
| | | | | fixes #1848 | |||||
* | stronger tests, lint | Maximilian Hils | 2017-01-07 | 2 | -3/+3 | |
| | ||||||
* | Revert "add strutils.replace_surrogates" | Maximilian Hils | 2017-01-07 | 1 | -5/+0 | |
| | | | | This reverts commit 15ae88db08dbf2725c8c9f945f2006c4b2a10d46. | |||||
* | add strutils.replace_surrogates | Maximilian Hils | 2017-01-07 | 1 | -0/+5 | |
| | ||||||
* | minor encoding fixes | Maximilian Hils | 2017-01-07 | 2 | -5/+19 | |
| | | | | | | - native() -> always_str() The old function name does not make sense on Python 3 only. - Inline utility functions in message.py. | |||||
* | Controls the length of URL displayed using the -d option (#1903) | lymanZerga11 | 2017-01-05 | 1 | -0/+9 | |
| | ||||||
* | Allow underscore in hostname | chhsiao90 | 2016-12-30 | 1 | -0/+2 | |
| | ||||||
* | fix IO type checking | Maximilian Hils | 2016-12-28 | 1 | -0/+8 | |
| | ||||||
* | fix compat with Python 3.5.0 | Maximilian Hils | 2016-12-28 | 1 | -0/+9 | |
| | ||||||
* | fix url.parse tests for Python 3.6 | Maximilian Hils | 2016-12-27 | 1 | -3/+10 | |
| | | | | This is a simpler version of @Kriechi's patch. | |||||
* | remove output of dumper during tests | Thomas Kriechbaumer | 2016-12-21 | 2 | -3/+3 | |
| | ||||||
* | remove output of webmaster during tests | Thomas Kriechbaumer | 2016-12-21 | 1 | -0/+1 | |
| | ||||||
* | Merge pull request #1880 from mhils/1877 | Maximilian Hils | 2016-12-19 | 1 | -0/+9 | |
|\ | | | | | Fix #1877 | |||||
| * | fix #1877 | Maximilian Hils | 2016-12-19 | 1 | -0/+9 | |
| | | ||||||
* | | fix io compat with previous releases | Maximilian Hils | 2016-12-19 | 2 | -0/+93 | |
|/ | ||||||
* | fix #1858 | Maximilian Hils | 2016-12-19 | 2 | -4/+4 | |
| | ||||||
* | Merge pull request #1862 from mhils/remove-intercept-events | Aldo Cortesi | 2016-12-17 | 2 | -8/+6 | |
|\ | | | | | Remove intercept events, update view manually | |||||
| * | remove intercept events, update view manually | Maximilian Hils | 2016-12-16 | 2 | -8/+6 | |
| | | ||||||
* | | console: mark view indiciator, fix empty flow list behaviour | Aldo Cortesi | 2016-12-16 | 1 | -0/+5 | |
|/ | | | | Fixes #1782 | |||||
* | Merge pull request #1845 from mhils/mitmweb-improvements | Aldo Cortesi | 2016-12-16 | 1 | -3/+16 | |
|\ | | | | | Mitmweb Improvements | |||||
| * | [web] various fixes | Maximilian Hils | 2016-12-12 | 1 | -3/+16 | |
| | | ||||||
* | | Merge pull request #1852 from mhils/simplenamespace | Maximilian Hils | 2016-12-13 | 2 | -8/+1 | |
|\ \ | | | | | | | Use types.SimpleNamespace instead of custom NS class | |||||
| * | | use types.SimpleNamespace instead of custom NS class | Maximilian Hils | 2016-12-13 | 2 | -8/+1 | |
| | | | ||||||
* | | | fix #1850 | Maximilian Hils | 2016-12-13 | 1 | -1/+2 | |
|/ / | ||||||
* | | console: clean path prompt handling | Aldo Cortesi | 2016-12-12 | 1 | -1/+1 | |
| | | | | | | | | | | | | - Don't trigger callback if no path is specified - Expand userdir centrally - Catch IO errors from callbacks and turn them into status messages | |||||
* | | Extend type checker validate Sequence specs | Aldo Cortesi | 2016-12-12 | 1 | -1/+12 | |
|/ | ||||||
* | minor fixes | Maximilian Hils | 2016-12-10 | 2 | -2/+2 | |
| | ||||||
* | add new xml/html pretty-printer :tada: | Maximilian Hils | 2016-12-10 | 10 | -1/+102 | |
| | ||||||
* | remove lxml-dependent code | Maximilian Hils | 2016-12-10 | 3 | -35/+9 | |
| | ||||||
* | update tests, increase coverage, add type info | Maximilian Hils | 2016-12-09 | 22 | -333/+355 | |
| | ||||||
* | options: add a merge method to assimilate options | Aldo Cortesi | 2016-12-08 | 3 | -5/+23 | |
| | | | | Fixes #953 | |||||
* | Minor tweaks | Aldo Cortesi | 2016-12-08 | 2 | -13/+13 | |
| | ||||||
* | Amalgamate all the Options objects | Aldo Cortesi | 2016-12-08 | 3 | -8/+11 | |
| | ||||||
* | Replace configargparse with argparse, enable new options loading | Aldo Cortesi | 2016-12-08 | 1 | -1/+2 | |
| | | | | | | This commit ditches configargparse and enables the new config file format. The default location is ~/.mitmproxy/config.yaml. Unifying all of the various Options objects will follow in the next patch. | |||||
* | options: defaults are a class attribute | Aldo Cortesi | 2016-12-08 | 1 | -0/+5 | |
| | ||||||
* | options: save defaults, add .reset() to restore defaults | Aldo Cortesi | 2016-12-08 | 1 | -5/+0 | |
| | | | | Use .reset() in console app to clear options. |