aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Introduce cuts: a flow dissectorAldo Cortesi2017-04-2910-5/+270
| | | | | | | | | | | | | | | | | This PR introduces the cuts addon, a flow dissector that allows you to select and operate on specific components of flows. It also adds the first consumer for cuts - the cuts.save command. Save the content of the focus to /tmp/foo: cuts.save s.content|@focus /tmp/foo Save the URL and response content-type headers for all flows currently shown to file, comma-separated, one flow per line: cuts.save s.url,q.header[content-type]|@focus /tmp/foo We also use this to replace the body save shortcut in the console flowlist.
* command: script.runAldo Cortesi2017-04-294-90/+70
| | | | Plus the flowlist binding adjustments.
* command: flow.revertAldo Cortesi2017-04-294-8/+28
| | | | Plus matching binding in flowlist.
* commands: "replay.client.file" and "replay.server.file"Aldo Cortesi2017-04-294-0/+37
|
* Rework client and server replayAldo Cortesi2017-04-298-81/+71
| | | | | | | | | - Add client.replay [flows], client.replay.stop - Add server.replay [flows], server.replay.stop - The corresponding options for file loading are only read on startup, further changes are ignored. In interactive contexts, replay is started with the commands, not through option changes. - Deprecate flow.replay, use replay.client instead
* command: flow.kill, flow.replayAldo Cortesi2017-04-294-15/+48
| | | | Plus the matching bindings in the flow list.
* commands: markingAldo Cortesi2017-04-296-11/+58
| | | | | Add "view.mark [flows] bool" and "view.mark.toggle [flows]". Use this to rebind marking keys in flowlist.
* commands: view.goAldo Cortesi2017-04-299-75/+153
| | | | | bind G to "view.go -1" bind g to "view.go 0"
* Commands, core update eventAldo Cortesi2017-04-2910-89/+104
| | | | | | | | | | | | | | | This patch: - Introduces a core update() event that should be invoked whenever flows are changed outside of the normal lifecycle. - Extend view.resolve to know about @all, which matches all flows in the view. - Add a core flow.resume comand, which resumes flows and broadcasts an update event. - Define flow list bindings for: A -> flow.resume @all a -> flow.resume @focus d -> view.remove @focus z -> view.remove @all
* Update README.mdMaximilian Hils2017-04-281-1/+1
|
* Update README.mdMaximilian Hils2017-04-281-1/+1
|
* update CHANGELOGMaximilian Hils2017-04-281-0/+16
|
* fix mitmweb's content security policyMaximilian Hils2017-04-281-1/+1
|
* Merge pull request #2282 from cortesi/cmddecAldo Cortesi2017-04-2812-105/+176
|\ | | | | Add a command.command decorator
| * commands: add a command.command decoratorAldo Cortesi2017-04-286-29/+87
| | | | | | | | Use this for our built-ins and the console commands.
| * Support unary flow command argumentsAldo Cortesi2017-04-284-8/+29
| | | | | | | | Use this to add a console.view.flow command and bind "enter" in flowlist.
| * console: save flows to commandAldo Cortesi2017-04-282-22/+1
| |
| * console: start migrating hotkeys to keymapAldo Cortesi2017-04-288-48/+61
| | | | | | | | This shifts a set of flow list keys to keymaps. Much more to come.
* | Merge pull request #2280 from cortesi/coresetAldo Cortesi2017-04-286-16/+43
|\| | | | | commands: add the core command addon, and the command "set"
| * command: partialsAldo Cortesi2017-04-284-16/+8
| | | | | | | | | | Support partial commands in console.command, use it to keybind "i" for intercept, which prompts the user with ":set intercept=".
| * commands: add the core command addon, and the command "set"Aldo Cortesi2017-04-283-0/+35
| | | | | | | | The set command sets an option using the same syntax as commandline --set.
* | Merge pull request #2279 from cortesi/keymapAldo Cortesi2017-04-2812-114/+317
|\| | | | | console: keymap
| * console: add a keymapAldo Cortesi2017-04-286-26/+104
| | | | | | | | | | This sketches out a keymap system for consone, and adds the first few top-level commands and mappings.
| * console: interactive command browserAldo Cortesi2017-04-2810-91/+216
|/ | | | | Simple browser that lets users view and select commands interactively. Key binding for this is still to be sorted out.
* Merge pull request #2274 from cortesi/alertsAldo Cortesi2017-04-283-1/+17
|\ | | | | Add an "alert" log level.
| * Add an "alert" log level.Aldo Cortesi2017-04-273-1/+17
| | | | | | | | | | | | | | This has the same urgency as "info", but also signals to interactive tools that the user's attention should be drawn to the output, even if they're not looking at the event log. In the console app, this means the message appears in the status bar with a timeout.
* | Merge pull request #2273 from cortesi/commandsAldo Cortesi2017-04-2824-149/+523
|\| | | | | Commands
| * Test coverage ++Aldo Cortesi2017-04-274-0/+67
| |
| * command: save.file flowspec path -> NoneAldo Cortesi2017-04-278-41/+89
| | | | | | | | | | | | | | | | | | Our first user-facing command. The following commands do the obvious things: save.file @marked /tmp/flows save.file @focus /tmp/flows save.file @hidden /tmp/flows save.file "~m get" /tmp/flows
| * addons.streamfile -> addons.saveAldo Cortesi2017-04-279-38/+38
| | | | | | | | | | | | | | Options: streamfile -> save_stream_file streamfile_filter -> save_stream_filter
| * console: flow resolution commandAldo Cortesi2017-04-279-20/+122
| | | | | | | | | | | | | | This is our first built-in command, which will be used by very many other commands. Also add a --commands option to dump all commands, analogous to --options.
| * console: very basic interactive command executorAldo Cortesi2017-04-277-5/+44
| |
| * Basic outline of the command subsystemAldo Cortesi2017-04-277-42/+160
| | | | | | | | | | - Add a command manager - Sketch out the type system with a few simple supported types
* | Merge pull request #2277 from Kriechi/bump-cryptographyThomas Kriechbaumer2017-04-273-15/+8
|\ \ | | | | | | bump cryptography min-version
| * | bump cryptography min-versionThomas Kriechbaumer2017-04-273-15/+8
| | | | | | | | | | | | This removes OpenSSL v0.9.8 support.
* | | Merge pull request #2275 from mitmproxy/mitmweb-change-react-prop-typesMaximilian Hils2017-04-2741-4817/+5575
|\ \ \ | |_|/ |/| | change import of prop-types
| * | change import of prop-typescle10002017-04-2741-4817/+5575
|/ /
* | Merge pull request #2265 from cortesi/addonsAldo Cortesi2017-04-2712-155/+141
|\ \ | | | | | | Addons and addon testing
| * | Addons and addon testingAldo Cortesi2017-04-2612-155/+141
| |/ | | | | | | | | | | | | | | - Fix some loading sequence bugs affecting command-line script invocation - Allow addons to over-ride existing options (with a warning). We need this for reloading. - Convert har_dump to new-style arguments, fix and re-instate its test suite. - Covnert miscelaneous other exmples to new-style args.
* | Merge pull request #2270 from F1ashhimself/masterMaximilian Hils2017-04-261-1/+1
|\ \ | | | | | | Update readme for complex examples
| * | Update readme for complex examplesMaksim Beloborodko2017-04-261-1/+1
| | |
* | | Merge pull request #2269 from mhils/issue-2250Maximilian Hils2017-04-264-50/+58
|\ \ \ | |/ / |/| | fix #2250, add type info to cookie module
| * | fix #2250, add type info to cookie moduleMaximilian Hils2017-04-264-50/+58
| | |
* | | Merge pull request #2258 from mhils/readfileMaximilian Hils2017-04-2610-152/+147
|\ \ \ | | | | | | | | Integrate readstdin into readfile
| * | | separate reading from stdin into its own addonMaximilian Hils2017-04-266-72/+94
| | | |
| * | | integrate readstdin into readfile addonMaximilian Hils2017-04-265-127/+92
| | | |
| * | | typecheck: add support for typing.AnyMaximilian Hils2017-04-262-0/+8
| | |/ | |/|
* | | Merge pull request #2268 from mhils/issue-2257Maximilian Hils2017-04-264-79/+110
|\ \ \ | | | | | | | | fix #2257
| * | | fix #2257Maximilian Hils2017-04-264-79/+110
| | | |
* | | | Merge pull request #2267 from MatthewShao/jest-devMaximilian Hils2017-04-262-0/+164
|\ \ \ \ | |_|_|/ |/| | | [web] Add coverage for js/utils.js, js/flow/utils.js