aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/script
Commit message (Collapse)AuthorAgeFilesLines
* Remove the tick eventAldo Cortesi2018-05-021-1/+1
| | | | Mitmproxy: the tickless wonder.
* @concurrent decorator works for class methods. (#2708)fate02017-12-261-7/+9
| | | | | * @concurrent decorator should works for class methods * modify test for @concurrent decorator in class. * add docs
* mitmproxy.types -> mitmproxy.coretypesAldo Cortesi2017-12-171-1/+1
| | | | | | | | | | The types name is valuable, and we have a better use for it in collecting and exposing types for options and commands. The coretypes module should probably be split up anyway - it contains a threading base class, a few container objects, and the defintion of our serialization protocol. I was tempted to rename it to "uncagegorized" for the sake of honesty.
* addons: start -> load throughoutAldo Cortesi2017-03-251-1/+1
|
* docs++Maximilian Hils2017-02-211-0/+1
|
* Fix #1928, @concurrent decorator now works for class methods.Matthew Shao2017-02-211-1/+4
|
* eventsequence: coverage++Thomas Kriechbaumer2017-02-091-2/+2
|
* mitmproxy.types.[basethread,multidict,serializable]Aldo Cortesi2016-10-201-1/+1
|
* Kill flow.master - create master.MasterAldo Cortesi2016-10-191-2/+2
| | | | Also extract events into .events
* python3: clean up super and __future__Aldo Cortesi2016-10-171-1/+0
|
* finalize Reply semantics, fix testsMaximilian Hils2016-08-091-3/+5
|
* Add .start for addons and scriptsAldo Cortesi2016-07-151-1/+1
| | | | Also improve error messages, fix various unit tests
* Zap old scripts infrastructure, fix concurrency testsAldo Cortesi2016-07-143-189/+0
|
* remove script contextsMaximilian Hils2016-07-075-108/+35
|
* minor fixesMaximilian Hils2016-06-281-1/+0
|
* watchdog: always use PollingObserverMaximilian Hils2016-06-281-6/+4
|
* Don't fail when start() is not definedAldo Cortesi2016-06-141-1/+1
|
* fix contextmanager, remove args argument to start()Maximilian Hils2016-06-131-3/+15
|
* A tiny wrapper to make script invocations nicerAldo Cortesi2016-06-141-1/+11
|
* Improve debugging of thread and other leaksAldo Cortesi2016-06-111-3/+6
| | | | | | | - Add basethread.BaseThread that all threads outside of test suites should use - Add a signal handler to mitmproxy, mitmdump and mitmweb that dumps resource information to screen when SIGUSR1 is received. - Improve thread naming throughout to make thread dumps understandable
* Simplify script concurrency helpersAldo Cortesi2016-06-081-38/+6
| | | | We now have take() to prevent double-replies.
* A new interface for replyAldo Cortesi2016-06-081-18/+13
| | | | | | | | | | | Reply is now explicit - it's no longer a callable itself. Instead, we have: reply.kill() - kill the flow reply.ack() - ack, but don't send anything reply.send(message) - send a response This is part of an incremental move to detach reply from our flow objects, and unify the script and handler interfaces.
* use module-level imports onlyMaximilian Hils2016-05-315-13/+21
|
* cleanupThomas Kriechbaumer2016-05-291-1/+1
|
* cleanup imports with flake8Thomas Kriechbaumer2016-05-281-1/+0
|
* improve script loadingMaximilian Hils2016-05-111-4/+4
|
* scripts: allow package importsMaximilian Hils2016-05-031-0/+2
|
* fix #1061Maximilian Hils2016-04-021-13/+14
|
* s/nocover/no cover/gThomas Kriechbaumer2016-03-271-1/+1
| | | according to coveralls docs
* port mitmproxy.scripts to py3Maximilian Hils2016-03-192-7/+20
|
* add tests for mitmproxy.script.reloaderMaximilian Hils2016-03-191-3/+3
|
* improve mitmproxy.scripts semantics, clean up testsMaximilian Hils2016-03-191-2/+10
|
* combine projectsMaximilian Hils2016-02-185-0/+282