aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* netlib.tutils -> mitmproxy.test.tutilsAldo Cortesi2016-10-2038-104/+104
| | | | There's a LOT more to be done refactoring our different conflicting test utils.
* Improve exception hierarchyAldo Cortesi2016-10-202-15/+16
| | | | | ProxyException -> MitmproxyException NetlibException inherits from MitmproxyException
* netlib.exceptions.* -> mitmproxy.exceptionsAldo Cortesi2016-10-2034-172/+164
|
* netlib.encoding -> netlib.http.encodingAldo Cortesi2016-10-203-2/+3
| | | | Encoding is highly specific to http, and only used within this module.
* netlib.certutils -> mitmproxy.certsAldo Cortesi2016-10-209-86/+97
|
* netlib.utils -> netlib.checkAldo Cortesi2016-10-209-21/+21
| | | | | | Now only contains is_valid_[host,port] Intermediate step - this will be in mitproxy.net soon.
* netlib.utils.[get,set]bit -> mitmproxy.utils.bitsAldo Cortesi2016-10-207-30/+29
|
* netlib.utils.BiDi -> mitmproxy.types.bidi.BiDiAldo Cortesi2016-10-207-49/+53
|
* netlib.debug -> mitmproxy.utils.debugAldo Cortesi2016-10-203-2/+2
|
* mitmproxy.types.[basethread,multidict,serializable]Aldo Cortesi2016-10-2024-32/+32
|
* netlib.strutils -> mitmproxy.utils.strutilsAldo Cortesi2016-10-2026-25/+33
|
* netlib.human -> mitmproxy.utils.humanAldo Cortesi2016-10-2013-13/+15
|
* Create mitmproxy.utils hierarchyAldo Cortesi2016-10-2016-67/+69
| | | | - Add mitproxy.utils.lrucache, mitproxy.utils.data
* netlib.version -> mitmproxy.versionAldo Cortesi2016-10-2016-17/+18
|
* Merge pull request #1635 from cortesi/refactor3Aldo Cortesi2016-10-1921-27/+27
|\ | | | | mitmproxy.protocol -> mitmproxy.proxy.protocol
| * console: fix master invocation orderAldo Cortesi2016-10-192-2/+2
| |
| * mitmproxy.protocol -> mitmproxy.proxy.protocolAldo Cortesi2016-10-1919-25/+25
|/ | | | | The protocols here are compltely proxy-specific, are only used from within the proxy module, and are not exposed to users.
* Merge pull request #1634 from cortesi/pathocThomas Kriechbaumer2016-10-191-1/+4
|\ | | | | pathoc: handle error when selecting on read file
| * pathoc: handle error when selecting on read fileAldo Cortesi2016-10-191-1/+4
|/
* debug: add missing print output file paramaterAldo Cortesi2016-10-191-1/+1
|
* Merge pull request #1633 from cortesi/refactor2Aldo Cortesi2016-10-19104-427/+428
|\ | | | | Continue module structure cleanup
| * Move all tools into mitmproxy.tools, move models/* to top levelAldo Cortesi2016-10-1995-378/+381
| | | | | | | | | | | | The primary motivation here (and for all the other moving around) is to present a clean "front of house" to library users, and to migrate primary objects to the top of the module hierarchy.
| * Remove flow module entirely, move contents to top levelAldo Cortesi2016-10-1923-53/+51
| | | | | | | | | | mitmproxy.flow.io -> mitmproxy.io mitmproxy.flow.export -> mitmproxy.export
* | Merge pull request #1632 from cortesi/refactorAldo Cortesi2016-10-1975-247/+157
|\| | | | | Start rationalising our module structure bit by bit
| * flow.state -> addons.stateAldo Cortesi2016-10-199-118/+26
| |
| * addons.Addons -> addonmanager, builtins -> addonsAldo Cortesi2016-10-1965-79/+81
| |
| * controller.Log -> log.LogAldo Cortesi2016-10-197-51/+51
|/
* Merge pull request #1631 from cortesi/nomasterAldo Cortesi2016-10-1931-232/+241
|\ | | | | Kill flow.master - create master.Master
| * Kill flow.master - create master.MasterAldo Cortesi2016-10-1931-232/+241
| | | | | | | | Also extract events into .events
* | Merge pull request #1630 from cortesi/multiservAldo Cortesi2016-10-1928-79/+75
|\| | | | | Let's dispense with this fiction that we support multiple servers
| * Let's dispense with this fiction that we support multiple serversAldo Cortesi2016-10-1928-79/+75
| | | | | | | | It's simple enough to re-add if needed, and until then is just cruft.
* | Merge pull request #1629 from cortesi/addonhaltAldo Cortesi2016-10-195-3/+12
|\| | | | | addons: add AddonHalt exception
| * addons: add AddonHalt exceptionAldo Cortesi2016-10-195-3/+12
| | | | | | | | | | | | This can be raised from an addon handler to stop further processing of a flow. Use this to prevent further handling of web app requests.
* | Merge pull request #1628 from cortesi/webappAldo Cortesi2016-10-1936-151/+262
|\| | | | | Web apps to addons
| * web app cleanups: tests and examplesAldo Cortesi2016-10-193-26/+10
| |
| * pathoc: Guess the Host header from the path if possibleAldo Cortesi2016-10-191-3/+14
| |
| * Web apps to addonsAldo Cortesi2016-10-1934-143/+259
| | | | | | | | | | This commit removes the app registry, adds a wsgiapp addon base, and ports the onboarding app to it.
* | Merge pull request #1627 from cortesi/statecleanAldo Cortesi2016-10-183-16/+21
|\| | | | | No need for all builtins to be loaded for server tests
| * No need for all builtins to be loaded for server testsAldo Cortesi2016-10-183-16/+21
| |
* | Merge pull request #1626 from cortesi/stateAldo Cortesi2016-10-1830-173/+121
|\| | | | | Convert flow.state to an addon
| * Convert flow.state to an addonAldo Cortesi2016-10-1825-158/+101
| | | | | | | | A first step, and already many things are much nicer.
| * accept_addon -> resume, intercept/resume eventsAldo Cortesi2016-10-188-18/+23
| |
* | Merge pull request #1625 from cortesi/dupflowAldo Cortesi2016-10-188-24/+28
|\| | | | | master.duplicate_flow -> state.duplicate_flow
| * master.duplicate_flow -> state.duplicate_flowAldo Cortesi2016-10-188-24/+28
| | | | | | | | | | | | This is a pure operation on state, and doesn't belong on master. Part of prep to move state to an addon.
* | Merge pull request #1624 from cortesi/streambodiesAldo Cortesi2016-10-1811-53/+76
|\| | | | | Response body streaming to addon
| * Response body streaming to addonAldo Cortesi2016-10-1811-53/+76
|/
* Remove mention of pathod.net from READMEAldo Cortesi2016-10-181-6/+1
| | | | I'm just about to redirect this to mitmproxy.org
* dumper: limit url lengthMaximilian Hils2016-10-171-0/+2
|
* fix testsMaximilian Hils2016-10-171-2/+4
|
* remove empty lines at beginning of fileThomas Kriechbaumer2016-10-1788-91/+0
|