Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | setheaders -> addon | Aldo Cortesi | 2016-07-17 | 2 | -52/+64 |
| | |||||
* | Merge pull request #1370 from cortesi/filestreamer | Aldo Cortesi | 2016-07-17 | 1 | -2/+2 |
|\ | | | | | Some work on stream-to-file | ||||
| * | Some work on stream-to-file | Aldo Cortesi | 2016-07-17 | 1 | -2/+2 |
| | | | | | | | | | | - stream -> filestreamer throughout - move active_flows set into FileStreamer addon | ||||
* | | Merge pull request #1367 from Kriechi/fix-1366 | Aldo Cortesi | 2016-07-17 | 1 | -4/+22 |
|\ \ | | | | | | | fix-1366 | ||||
| * | | fix-1366 | Thomas Kriechbaumer | 2016-07-16 | 1 | -4/+22 |
| |/ | |||||
* | | Merge branch 'master' into dumper | Aldo Cortesi | 2016-07-17 | 3 | -6/+229 |
|\| | |||||
| * | Merge remote-tracking branch 'duffer/tcpflow-filter' | Maximilian Hils | 2016-07-16 | 3 | -6/+229 |
| |\ | |||||
| | * | Allow DummyFlow to match ~e, ~src and ~dst | Shadab Zafar | 2016-07-16 | 2 | -15/+37 |
| | | | |||||
| | * | Add DummyFlow and its Tests | Shadab Zafar | 2016-07-16 | 1 | -1/+59 |
| | | | |||||
| | * | Add tests for TCPFlow.match | Shadab Zafar | 2016-07-16 | 1 | -1/+15 |
| | | | |||||
| | * | Add ~http and ~tcp filters | Shadab Zafar | 2016-07-16 | 1 | -0/+10 |
| | | | |||||
| | * | Use ~bq / ~bs for messages sent from client / server | Shadab Zafar | 2016-07-16 | 1 | -5/+11 |
| | | | |||||
| | * | Add tests for HTTPFlow only filters | Shadab Zafar | 2016-07-16 | 1 | -0/+50 |
| | | | |||||
| | * | Add test for operators (& | !) | Shadab Zafar | 2016-07-16 | 1 | -0/+25 |
| | | | |||||
| | * | Add test for addresses (~src, ~dst) | Shadab Zafar | 2016-07-16 | 1 | -0/+16 |
| | | | |||||
| | * | Add test for body (~b) | Shadab Zafar | 2016-07-16 | 1 | -0/+7 |
| | | | |||||
| | * | Add test for error (~e) | Shadab Zafar | 2016-07-16 | 1 | -1/+16 |
| | | | |||||
* | | | Extract console dump functionality into an addon | Aldo Cortesi | 2016-07-17 | 3 | -82/+94 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes all the code that deals with printing flows to screen from dump.py into a self-contained addon. - This fixes a bug - by moving dumping into an addon, we now dump flows AFTER addon transformation, so we can see the changes made. - We get dumping "for free" in other places by simply adding the addon. It's now easy to add dumping to console to mitmweb for debugging and development. The same goes for external projects that derive from master. - We also get major benefits in clarity for a frankly hairy part of our project. Mitmdump is much clearer, and all the hairyness is now isolated for further refactoring. | ||||
* | | Merge pull request #1306 from mitmproxy/message-body-encoding | Maximilian Hils | 2016-07-16 | 5 | -93/+219 |
|\ \ | | | | | | | Improve Message Body Encoding | ||||
| * | | preserve content-type parameter order | Maximilian Hils | 2016-07-15 | 1 | -1/+3 |
| | | | |||||
| * | | Merge remote-tracking branch 'origin/master' into message-body-encoding | Maximilian Hils | 2016-07-15 | 57 | -956/+1395 |
| |\| | |||||
| * | | improve message content semantics | Maximilian Hils | 2016-07-15 | 2 | -13/+73 |
| | | | |||||
| * | | raise ValueError if content-encoding is invalid | Maximilian Hils | 2016-07-04 | 1 | -8/+10 |
| | | | |||||
| * | | tests++ | Maximilian Hils | 2016-07-02 | 1 | -1/+43 |
| | | | |||||
| * | | make the linter happy | Maximilian Hils | 2016-07-02 | 1 | -1/+0 |
| | | | |||||
| * | | message.content -> .raw_content, implement .text | Maximilian Hils | 2016-07-02 | 7 | -97/+117 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR improves our handling of HTTP message body encodings: - The unaltered message body is now accessible as `.raw_content` - The "content-encoding"-decoded content (i.e. gzip removed) content is not `.content`, as this is what we want in 99% of the cases. - `.text` now provides the "content-encoding"-decoded and then "content-type charset"-decoded message body. - The decoded values for `.content` and `.text` are cached, so that repeated access and `x.text = x.text` is cheap. - The `decoded()` decorator is now deprecated, as we can now just use `.content`. Similarly `HTTPMessage.get_decoded_content()` is deprecated. | ||||
* | | | replacehooks -> addon | Aldo Cortesi | 2016-07-16 | 4 | -61/+62 |
| |/ |/| | | | | | | | Also fixes a bug in header replacements in netlib that resulted in a mutable multidict. | ||||
* | | add_event -> add_log throughout project | Aldo Cortesi | 2016-07-16 | 4 | -4/+5 |
| | | | | | | | | | | "Event" is terribly over-loaded in the project, and "log" is straight-forward and self-explanatory. | ||||
* | | Zap unused test scripts | Aldo Cortesi | 2016-07-15 | 11 | -59/+9 |
| | | |||||
* | | Script cleanups | Aldo Cortesi | 2016-07-15 | 2 | -4/+67 |
| | | | | | | | | | | | | - Preserve script order on config change - Prohibit script duplicates (i.e. identical script + args) - Various cleanups and tweaks | ||||
* | | Fix HAR extractor | Aldo Cortesi | 2016-07-15 | 1 | -3/+4 |
| | | | | | | | | Thanks to @mhils | ||||
* | | Adjust concurrent tests for start method | Aldo Cortesi | 2016-07-15 | 1 | -1/+1 |
| | | |||||
* | | Add .start for addons and scripts | Aldo Cortesi | 2016-07-15 | 1 | -2/+5 |
| | | | | | | | | Also improve error messages, fix various unit tests | ||||
* | | Fix windows parse_args test | Aldo Cortesi | 2016-07-15 | 1 | -1/+1 |
| | | |||||
* | | Adjust for new options scheme | Aldo Cortesi | 2016-07-14 | 1 | -1/+1 |
| | | |||||
* | | Add a tick event for addons and scripts, and use it for race-free reload | Aldo Cortesi | 2016-07-14 | 1 | -0/+1 |
| | | |||||
* | | Script cleanup: editing in console, Python3 compatibility fixes | Aldo Cortesi | 2016-07-14 | 3 | -13/+18 |
| | | |||||
* | | Convert examples and example tests for new-style scripts | Aldo Cortesi | 2016-07-14 | 3 | -250/+101 |
| | | | | | | | | | | 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 | 5 | -24/+43 |
| | | |||||
* | | First-order integration of scripts addon | Aldo Cortesi | 2016-07-14 | 10 | -86/+197 |
| | | |||||
* | | Re-add deletion of stickycookies (#1355) | Shadab Zafar | 2016-07-14 | 1 | -0/+10 |
| | | | | | | | | This was originally added in #1324 (fixing issue #1096) but got lost during "the big refactor" (#1352) | ||||
* | | minor fixes | Maximilian Hils | 2016-07-13 | 1 | -1/+1 |
| | | |||||
* | | make options explicit | Maximilian Hils | 2016-07-13 | 7 | -21/+32 |
| | | |||||
* | | Stream to file -> addon | Aldo Cortesi | 2016-07-14 | 4 | -75/+104 |
| | | | | | | | | | | This commit also clarifies a confusion about the "outfile" attribute and its use in testing in the mitmdump master. | ||||
* | | Fix indeterminacy in sticky cookie tests | Aldo Cortesi | 2016-07-14 | 1 | -6/+9 |
| | | | | | | | | How has this not bitten us before? | ||||
* | | StickyCookies to addon | Aldo Cortesi | 2016-07-14 | 2 | -102/+118 |
| | | |||||
* | | AntiCache to addon | Aldo Cortesi | 2016-07-14 | 2 | -10/+23 |
| | | |||||
* | | Add a .setter helper to Options | Aldo Cortesi | 2016-07-14 | 1 | -3/+11 |
| | | | | | | | | | | This returns a function that sets a named attribute, and is handy for event-driven code like mitmproxy console. | ||||
* | | Move StickyAuth into addon | Aldo Cortesi | 2016-07-14 | 2 | -34/+23 |
| | | | | | | | | | | 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. | ||||
* | | Add the addons mechanism | Aldo Cortesi | 2016-07-13 | 4 | -2/+29 |
| | | | | | | | | | | Demonstrate how it works and interacts with Options by adding our first new builtin: anticomp. |