aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/console/contentview.py
Commit message (Collapse)AuthorAgeFilesLines
* Adapt to new Pathoc API - silence output to stdout.Aldo Cortesi2015-05-021-2/+1
|
* pretty_size now lives in netlib.utilsAldo Cortesi2015-04-301-1/+1
|
* Housekeeping and cleanupsAldo Cortesi2015-04-141-1/+2
| | | | | | | | - No output to stdout on load in examples - they muck up the test suite. - Use the odict module directly, rather than aliasing it. The small convenience this gives to scripters is not worth it. - Move the cookie tests from the flow test module to the protocol_http test module.
* Merge pull request #515 from krzysiekbielicki/masterMaximilian Hils2015-03-261-22/+2
|\ | | | | [#514] Add support for ignoring payload params in multipart/form-data
| * [#514] Add support for ignoring payload params in multipart/form-dataKrzysztof Bielicki2015-03-101-22/+2
| |
* | Indentation, style, whitespaceAldo Cortesi2015-03-131-25/+65
|/
* fix #459Maximilian Hils2015-02-051-2/+5
|
* - working WBXML parserDavid Shaw2014-05-061-0/+20
|
* add support for log levelsMaximilian Hils2014-03-131-1/+1
|
* always use relative imports, fix status bar bugMaximilian Hils2014-03-101-6/+3
|
* Silence pyflakesAldo Cortesi2014-01-191-1/+1
| | | | And pick up one bug as a consequence.
* Update ViewProtobuf in contentview.py to also decode as protobuf if the ↵Dan Wilbraham2014-01-051-1/+4
| | | | content_type is "application/x-protobuffer"
* Merge branch 'migrate_from_pil_to_pillow' of ↵Aldo Cortesi2014-01-051-5/+2
|\ | | | | | | | | | | | | https://github.com/Kami/mitmproxy into Kami-migrate_from_pil_to_pillow Conflicts: requirements.txt
| * Migrate from Pil to the latest version of Pillow.Tomaz Muraus2014-01-031-5/+2
| |
* | Fix CSS view prompt, update display mode options.Tomaz Muraus2014-01-041-1/+1
| |
* | Provide more sensible serializer options.Tomaz Muraus2014-01-041-0/+5
| |
* | Add CSS view which beautifies CSS files if cssutils library is available,Tomaz Muraus2014-01-041-1/+26
|/ | | | otherwise it acts as a no-op.
* Add error checking to ViewProtobufJason A. Novak2013-04-211-2/+5
| | | | | | | | There are protobufs that protoc can't parse. When protoc --decode_raw fails, it returns nothing to stdin, and writes "Failed to parse input." to stderr. Before this commit, if protoc --decode_raw couldn't parse the protobuf, the blank stdout output would get returned to the view; with this commit stderr gets caught and returned to the view.
* Merge pull request #112 from hamstah/protobuf-viewAldo Cortesi2013-04-191-1/+36
|\ | | | | Adds a new view for protocol buffers
| * Adds a new view for protocol buffersNicolas Esteves2013-04-061-1/+36
| | | | | | | | | | | | | | | | | | The view uses protoc from the Google protocol buffer tools. If the tool isn't installed, the view isn't shown. Google protobuf repo: https://code.google.com/p/protobuf/
* | Correct display mode highlight keysAlexis Hildebrandt2013-04-161-1/+1
|/ | | | | | Add html display mode to the help documentation. Correct html and hex display mode highlight keys (help used 'h' for hex). Correct json display mode highlight keys.
* Substantially rewrite AMF decoding.Aldo Cortesi2012-11-261-24/+68
| | | | This is tricky, but we should now handle a lot more corner-cases.
* Workaround for PIL's ambiguious import method and/or easy_install PIL ↵Mathieu Mitchell2012-11-231-2/+7
| | | | | | | | | | packaging problem. PIL documents two different way to import it's modules: * import Image (http://www.pythonware.com/library/pil/handbook/introduction.htm) * from PIL import Image (http://www.pythonware.com/library/pil/handbook/image.htm) The same problem was noted in Django at https://code.djangoproject.com/ticket/6054
* Move cleanBin and hexdump into netutils.Aldo Cortesi2012-09-241-4/+5
|
* Display "No Content" instead of a parse error when there is no content.Aldo Cortesi2012-08-301-0/+2
|
* Use the new ODict get_first convenience function in a bunch of places.Aldo Cortesi2012-08-181-10/+8
|
* Further content view cleaups.Aldo Cortesi2012-08-181-9/+28
|
* Send tracebacks from content viewers to event log.Aldo Cortesi2012-08-181-2/+3
| | | | Also, 100% test coverage for content viewers.
* Further simplifcation and testing of contentviews.Aldo Cortesi2012-08-181-26/+15
|
* Huge cleanup of content viewers.Aldo Cortesi2012-08-181-287/+293
|
* Optional AMF decoding supportSahn Lam2012-08-171-2/+26
| | | | If PyAMF is installed, enable AMF decoding.
* Add an HTML text outline view.Aldo Cortesi2012-08-181-3/+20
| | | | | | Uses html2text, from here: https://github.com/aaronsw/html2text
* Protect against exceptions thrown by third-party view libraries.Aldo Cortesi2012-07-061-7/+6
|
* Nose mopup: docs, no cover pragmas, a few missing path specs.Aldo Cortesi2012-06-091-5/+4
|
* Minor cruft removal.Aldo Cortesi2012-04-091-1/+1
|
* Add an "f" shortcut key to load full body contents.Aldo Cortesi2012-04-081-28/+32
|
* Merge branch 'master' of ssh.github.com:cortesi/mitmproxyAldo Cortesi2012-04-081-1/+5
|\
| * Catch all errors when using jsbeautifier.Aldo Cortesi2012-04-081-1/+5
| | | | | | | | Turns out there are some problems that can raise arbitrary exceptions.
* | Wrap on any character for body text display.Aldo Cortesi2012-04-081-1/+1
|/
* XML/HTML pretty view tweaks.Aldo Cortesi2012-04-071-11/+7
|
* Integrate lxml for pretty-printing HTML and XML.Aldo Cortesi2012-04-071-10/+57
| | | | | Tackling the pretty-printing performance problem head-on, at the cost of a major dependency.
* Make it clearer when we fall back to Raw.Aldo Cortesi2012-04-021-2/+5
|
* Move "M" shortcut key to global scope.Aldo Cortesi2012-04-021-0/+14
| | | | You now don't have to be viewing a flow to change global default view.
* Start rationalizing content views.Aldo Cortesi2012-04-021-66/+65
| | | | | | We now no longer have distinction between "pretty" view and hex/raw. Instead, we simply a default AUTO view with a global override (M) and a local override (m).
* Tune content viewing to maintain responsiveness:Aldo Cortesi2012-04-011-7/+7
| | | | | | - Reduce display cutoff to 20k. - Make sure that we only indent the visible part of a JS body, not the whole thing.
* Add image pretty viewer to forcing options.Aldo Cortesi2012-03-261-0/+1
|
* Add a pretty-viewer for images.Aldo Cortesi2012-03-261-1/+45
| | | | | This shows basic image information like dimensions, plus extracted EXIF tags and other metadata.
* Pretty view now indents Javascript.Aldo Cortesi2012-03-251-2/+23
| | | | Thanks to the JSBeautifier project, which is now included in the contrib directory.
* Re-enable simple multipart form parsing and preview.Aldo Cortesi2012-03-251-27/+40
|
* Refactor pretty view mechanism.Aldo Cortesi2012-03-241-79/+87
| | | | Also start adding unit tests for this subsystem.