Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Add a tick event for addons and scripts, and use it for race-free reload | Aldo Cortesi | 2016-07-14 | 3 | -14/+24 | |
| | | | ||||||
| * | | Tighten the tick loop | Aldo Cortesi | 2016-07-14 | 1 | -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 fixes | Aldo Cortesi | 2016-07-14 | 7 | -61/+38 | |
| | | | ||||||
| * | | Convert examples and example tests for new-style scripts | Aldo Cortesi | 2016-07-14 | 14 | -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 tests | Aldo Cortesi | 2016-07-14 | 9 | -216/+43 | |
| | | | ||||||
| * | | First-order integration of scripts addon | Aldo Cortesi | 2016-07-14 | 16 | -184/+379 | |
|/ / | ||||||
* | | Re-add deletion of stickycookies (#1355) | Shadab Zafar | 2016-07-14 | 2 | -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-options | Aldo Cortesi | 2016-07-14 | 14 | -135/+192 | |
|\ \ | | | | | | | Make options explicit | |||||
| * | | minor fixes | Maximilian Hils | 2016-07-13 | 3 | -3/+3 | |
| | | | ||||||
| * | | make options explicit | Maximilian Hils | 2016-07-13 | 13 | -134/+191 | |
|/ / | ||||||
* | | Merge pull request #1353 from cortesi/stream | Aldo Cortesi | 2016-07-14 | 8 | -118/+167 | |
|\ \ | | | | | | | Streaming to file -> addon | |||||
| * | | Stream to file -> addon | Aldo Cortesi | 2016-07-14 | 8 | -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/stickycookie | Aldo Cortesi | 2016-07-14 | 11 | -208/+204 | |
|\| | | | | | | | | StickyCookies to addon | |||||
| * | | Fix indeterminacy in sticky cookie tests | Aldo Cortesi | 2016-07-14 | 1 | -6/+9 | |
| | | | | | | | | | | | | How has this not bitten us before? | |||||
| * | | Zap unused imports | Aldo Cortesi | 2016-07-14 | 1 | -3/+0 | |
| | | | ||||||
| * | | Ditch StickyCookie module | Aldo Cortesi | 2016-07-14 | 2 | -65/+2 | |
| | | | ||||||
| * | | StickyCookies to addon | Aldo Cortesi | 2016-07-14 | 9 | -140/+199 | |
| | | | ||||||
* | | | Merge pull request #1351 from cortesi/anticache | Aldo Cortesi | 2016-07-14 | 8 | -21/+43 | |
|\| | | | | | | | | AntiCache to addon | |||||
| * | | Merge remote-tracking branch 'upstream/master' into anticache | Aldo Cortesi | 2016-07-14 | 0 | -0/+0 | |
| |\ \ | |/ / |/| | | ||||||
* | | | Merge pull request #1350 from cortesi/addons-cleanup | Aldo Cortesi | 2016-07-14 | 8 | -19/+39 | |
|\ \ \ | | | | | | | | | Addons cleanup | |||||
* \ \ \ | Merge pull request #1349 from cortesi/addons | Aldo Cortesi | 2016-07-14 | 12 | -85/+63 | |
|\ \ \ \ | | | | | | | | | | | Addons: StickyAuth | |||||
| | | * | | AntiCache to addon | Aldo Cortesi | 2016-07-14 | 8 | -21/+43 | |
| | |/ / | ||||||
| | * | | Disable OSX tests on Travis for now | Aldo Cortesi | 2016-07-14 | 1 | -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 Options | Aldo Cortesi | 2016-07-14 | 6 | -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 Cortesi | 2016-07-14 | 1 | -3/+11 | |
| |/ / | ||||||
| * | | Move StickyAuth into addon | Aldo Cortesi | 2016-07-14 | 11 | -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.5 | Aldo Cortesi | 2016-07-14 | 1 | -3/+1 | |
|/ / | | | | | | | Thanks to @resam and @dwfreed for pointing this out | |||||
* | | Merge pull request #1348 from cortesi/addons | Aldo Cortesi | 2016-07-14 | 18 | -51/+194 | |
|\ \ | | | | | | | Addons | |||||
| * | | Satisfy our ruthless linting overlords | Aldo Cortesi | 2016-07-13 | 1 | -0/+1 | |
| | | | ||||||
| * | | Add the addons mechanism | Aldo Cortesi | 2016-07-13 | 13 | -10/+60 | |
| | | | | | | | | | | | | | | | Demonstrate how it works and interacts with Options by adding our first new builtin: anticomp. | |||||
| * | | Merge branch 'options' into addons | Aldo Cortesi | 2016-07-13 | 0 | -0/+0 | |
| |\ \ | ||||||
| * | | | Basic outline of addons | Aldo Cortesi | 2016-07-13 | 12 | -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/options | Aldo Cortesi | 2016-07-13 | 8 | -24/+156 | |
|\ \ \ \ | | |/ / | |/| | | Options | |||||
| * | | | Raise AttributeError from Options.__getattr__ | Aldo Cortesi | 2016-07-13 | 1 | -1/+4 | |
| |/ / | ||||||
| * | | Show how options integrates with console | Aldo Cortesi | 2016-07-13 | 4 | -0/+11 | |
| | | | | | | | | | | | | | | | This is not functional at the moment, because all mutable options are still on master. | |||||
| * | | More powerful Options scheme | Aldo Cortesi | 2016-07-13 | 6 | -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 Brunner | 2016-07-12 | 2 | -4/+4 | |
| | | | | | | fix minor mitmweb issues | |||||
* | | http2: fix race-condition in tests | Thomas Kriechbaumer | 2016-07-12 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #1345 from strohu/patch-2 | Thomas Kriechbaumer | 2016-07-12 | 1 | -2/+2 | |
|\ \ | | | | | | | Make sudo pfctl error check Python 3 compatible | |||||
| * | | Make sudo pfctl error check Python 3 compatible | strohu | 2016-07-12 | 1 | -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-1 | Thomas Kriechbaumer | 2016-07-12 | 1 | -1/+1 | |
|\ \ | | | | | | | Fix is_ascii check when determining next layer | |||||
| * | | Fix is_ascii check when determining next layer | strohu | 2016-07-12 | 1 | -1/+1 | |
|/ / | ||||||
* | | Merge pull request #1338 from Kriechi/http2-tests | Thomas Kriechbaumer | 2016-07-10 | 2 | -96/+241 | |
|\ \ | | | | | | | Improve HTTP/2 test coverage | |||||
| * | | http2: more coverage | Thomas Kriechbaumer | 2016-07-10 | 2 | -43/+231 | |
| | | | ||||||
| * | | http2: simplify test class | Thomas Kriechbaumer | 2016-07-10 | 1 | -65/+22 | |
|/ / | ||||||
* | | update dependency and loosen restrictions on good citizens | Thomas Kriechbaumer | 2016-07-10 | 1 | -7/+7 | |
| | | ||||||
* | | Merge pull request #1335 from mitmproxy/travis | Thomas Kriechbaumer | 2016-07-10 | 1 | -13/+20 | |
|\ \ | | | | | | | move OSX Travis job to py3 for snapshots | |||||
| * | | move OSX Travis job to py3 for snapshots | Thomas Kriechbaumer | 2016-07-10 | 1 | -13/+20 | |
| | | | ||||||
* | | | fix sysinfo for py3 | Thomas Kriechbaumer | 2016-07-10 | 1 | -1/+1 | |
|/ / | ||||||
* | | Merge pull request #1336 from dufferzafar/rtool-hotfix | Thomas Kriechbaumer | 2016-07-10 | 1 | -1/+1 | |
|\ \ | | | | | | | rtool hotfix |