aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Add a tick event for addons and scripts, and use it for race-free reloadAldo Cortesi2016-07-143-14/+24
| | |
| * | Tighten the tick loopAldo Cortesi2016-07-141-17/+14
| | | | | | | | | | | | | | | | | | | | | | | | In the past, we consumed from the event queue until we were idle for a certain amount of time (0.1s). This would cause hangs in interactive tools when there was a stream of events, hurting responsiveness. We now wait for a maximum of 0.1s before triggering the tick loop, will be able to reduce this further down the track.
| * | Script cleanup: editing in console, Python3 compatibility fixesAldo Cortesi2016-07-147-61/+38
| | |
| * | Convert examples and example tests for new-style scriptsAldo Cortesi2016-07-1414-261/+120
| | | | | | | | | | | | | | | Remove the test that just loads all the example scripts for now - it's a very low-value test, and we need to think of something better.
| * | Zap old scripts infrastructure, fix concurrency testsAldo Cortesi2016-07-149-216/+43
| | |
| * | First-order integration of scripts addonAldo Cortesi2016-07-1416-184/+379
|/ /
* | Re-add deletion of stickycookies (#1355)Shadab Zafar2016-07-142-4/+24
| | | | | | | | This was originally added in #1324 (fixing issue #1096) but got lost during "the big refactor" (#1352)
* | Merge pull request #1354 from mhils/explicit-optionsAldo Cortesi2016-07-1414-135/+192
|\ \ | | | | | | Make options explicit
| * | minor fixesMaximilian Hils2016-07-133-3/+3
| | |
| * | make options explicitMaximilian Hils2016-07-1313-134/+191
|/ /
* | Merge pull request #1353 from cortesi/streamAldo Cortesi2016-07-148-118/+167
|\ \ | | | | | | Streaming to file -> addon
| * | Stream to file -> addonAldo Cortesi2016-07-148-118/+167
| | | | | | | | | | | | | | | This commit also clarifies a confusion about the "outfile" attribute and its use in testing in the mitmdump master.
* | | Merge pull request #1352 from cortesi/stickycookieAldo Cortesi2016-07-1411-208/+204
|\| | | | | | | | StickyCookies to addon
| * | Fix indeterminacy in sticky cookie testsAldo Cortesi2016-07-141-6/+9
| | | | | | | | | | | | How has this not bitten us before?
| * | Zap unused importsAldo Cortesi2016-07-141-3/+0
| | |
| * | Ditch StickyCookie moduleAldo Cortesi2016-07-142-65/+2
| | |
| * | StickyCookies to addonAldo Cortesi2016-07-149-140/+199
| | |
* | | Merge pull request #1351 from cortesi/anticacheAldo Cortesi2016-07-148-21/+43
|\| | | | | | | | AntiCache to addon
| * | Merge remote-tracking branch 'upstream/master' into anticacheAldo Cortesi2016-07-140-0/+0
| |\ \ | |/ / |/| |
* | | Merge pull request #1350 from cortesi/addons-cleanupAldo Cortesi2016-07-148-19/+39
|\ \ \ | | | | | | | | Addons cleanup
* \ \ \ Merge pull request #1349 from cortesi/addonsAldo Cortesi2016-07-1412-85/+63
|\ \ \ \ | | | | | | | | | | Addons: StickyAuth
| | | * | AntiCache to addonAldo Cortesi2016-07-148-21/+43
| | |/ /
| | * | Disable OSX tests on Travis for nowAldo Cortesi2016-07-141-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | We'll re-enable as soon as this is sorted out: https://github.com/travis-ci/travis-ci/issues/6303
| | * | Add a .setter helper to OptionsAldo Cortesi2016-07-146-12/+24
| | | | | | | | | | | | | | | | | | | | This returns a function that sets a named attribute, and is handy for event-driven code like mitmproxy console.
| | * | Handle OptionsError for command-line args.Aldo Cortesi2016-07-141-3/+11
| |/ /
| * | Move StickyAuth into addonAldo Cortesi2016-07-1411-82/+62
| | | | | | | | | | | | | | | This is the first addon that handles an OptionsError, so this commit also demos how this works in console. Handling of command-line erorrs is on its way.
| * | func.__name__ works in both 2.7 and 3.5Aldo Cortesi2016-07-141-3/+1
|/ / | | | | | | Thanks to @resam and @dwfreed for pointing this out
* | Merge pull request #1348 from cortesi/addonsAldo Cortesi2016-07-1418-51/+194
|\ \ | | | | | | Addons
| * | Satisfy our ruthless linting overlordsAldo Cortesi2016-07-131-0/+1
| | |
| * | Add the addons mechanismAldo Cortesi2016-07-1313-10/+60
| | | | | | | | | | | | | | | Demonstrate how it works and interacts with Options by adding our first new builtin: anticomp.
| * | Merge branch 'options' into addonsAldo Cortesi2016-07-130-0/+0
| |\ \
| * | | Basic outline of addonsAldo Cortesi2016-07-1312-43/+138
| | | | | | | | | | | | | | | | | | | | Add addons.py, integrate with our event mechanism, and change the Master API so options is the first init argument.
* | | | Merge pull request #1347 from cortesi/optionsAldo Cortesi2016-07-138-24/+156
|\ \ \ \ | | |/ / | |/| | Options
| * | | Raise AttributeError from Options.__getattr__Aldo Cortesi2016-07-131-1/+4
| |/ /
| * | Show how options integrates with consoleAldo Cortesi2016-07-134-0/+11
| | | | | | | | | | | | | | | This is not functional at the moment, because all mutable options are still on master.
| * | More powerful Options schemeAldo Cortesi2016-07-136-25/+143
|/ / | | | | | | | | | | | | | | | | | | | | This prepares us for the addon configuration mechanism and gives us a more flexible way to handle options changes. This changeset should spell the end of the current anti-pattern in our codebase where we duplicate data out of options onto the master when mutability is needed. From now on, Options can be the one source of thruth. - Change notifications - Rollback on error
* | fixed bug (#1342)Clemens Brunner2016-07-122-4/+4
| | | | | | fix minor mitmweb issues
* | http2: fix race-condition in testsThomas Kriechbaumer2016-07-121-1/+1
| |
* | Merge pull request #1345 from strohu/patch-2Thomas Kriechbaumer2016-07-121-2/+2
|\ \ | | | | | | Make sudo pfctl error check Python 3 compatible
| * | Make sudo pfctl error check Python 3 compatiblestrohu2016-07-121-2/+2
|/ / | | | | In Python 3, subprocess.check_output() returns a sequence of bytes. This change ensures that it will be converted to a string, so the substring test for the sudo error message does not raise a TypeError. This fixes the code in Python 3 while remaining compatible with Python 2.
* | Merge pull request #1344 from strohu/patch-1Thomas Kriechbaumer2016-07-121-1/+1
|\ \ | | | | | | Fix is_ascii check when determining next layer
| * | Fix is_ascii check when determining next layerstrohu2016-07-121-1/+1
|/ /
* | Merge pull request #1338 from Kriechi/http2-testsThomas Kriechbaumer2016-07-102-96/+241
|\ \ | | | | | | Improve HTTP/2 test coverage
| * | http2: more coverageThomas Kriechbaumer2016-07-102-43/+231
| | |
| * | http2: simplify test classThomas Kriechbaumer2016-07-101-65/+22
|/ /
* | update dependency and loosen restrictions on good citizensThomas Kriechbaumer2016-07-101-7/+7
| |
* | Merge pull request #1335 from mitmproxy/travisThomas Kriechbaumer2016-07-101-13/+20
|\ \ | | | | | | move OSX Travis job to py3 for snapshots
| * | move OSX Travis job to py3 for snapshotsThomas Kriechbaumer2016-07-101-13/+20
| | |
* | | fix sysinfo for py3Thomas Kriechbaumer2016-07-101-1/+1
|/ /
* | Merge pull request #1336 from dufferzafar/rtool-hotfixThomas Kriechbaumer2016-07-101-1/+1
|\ \ | | | | | | rtool hotfix