Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | commands: partial parser now returns help for remaining arguments | Aldo Cortesi | 2017-12-19 | 5 | -61/+55 |
| | |||||
* | types: add validation to partial parser | Aldo Cortesi | 2017-12-19 | 3 | -18/+39 |
| | |||||
* | types: use new type validation mechanism in commands | Aldo Cortesi | 2017-12-19 | 6 | -99/+33 |
| | |||||
* | types: add validation functions | Aldo Cortesi | 2017-12-19 | 2 | -6/+129 |
| | |||||
* | types: cleanups and minor refactorings | Aldo Cortesi | 2017-12-19 | 5 | -76/+80 |
| | |||||
* | Merge pull request #2702 from Kriechi/fix-2640 | Thomas Kriechbaumer | 2017-12-18 | 14 | -19/+128 |
|\ | | | | | improve websocket dumps | ||||
| * | add doc string | Thomas Kriechbaumer | 2017-12-18 | 1 | -0/+5 |
| | | |||||
| * | add tests | Thomas Kriechbaumer | 2017-12-18 | 5 | -3/+33 |
| | | |||||
| * | ignore contrib type errors | Thomas Kriechbaumer | 2017-12-18 | 3 | -0/+7 |
| | | |||||
| * | fix #2640 | Thomas Kriechbaumer | 2017-12-18 | 8 | -13/+63 |
| | | |||||
| * | websocket: support domain and url filters | Thomas Kriechbaumer | 2017-12-18 | 3 | -5/+22 |
| | | |||||
* | | Merge pull request #2707 from cortesi/addtypes | Aldo Cortesi | 2017-12-19 | 17 | -313/+591 |
|\ \ | |/ |/| | commands: refactor types | ||||
| * | commands: refactor types | Aldo Cortesi | 2017-12-18 | 17 | -313/+591 |
|/ | | | | | | | The type system was scattered over a number of places, making it hard to follow. This collects all command types in types.py, and completion, validation and parsing for each type is centralised. We should use the same mechanism for options. | ||||
* | Merge pull request #2700 from mhils/issue-2697 | Aldo Cortesi | 2017-12-18 | 1 | -7/+25 |
|\ | | | | | Fix #2697 | ||||
| * | fix #2697 | Maximilian Hils | 2017-12-17 | 1 | -7/+25 |
| | | |||||
* | | Merge pull request #2698 from mhils/issue-2658 | Aldo Cortesi | 2017-12-18 | 2 | -2/+3 |
|\ \ | | | | | | | Don't display contentview errors too prominently. | ||||
| * | | update evenlog when verbosity changes | Maximilian Hils | 2017-12-17 | 1 | -1/+2 |
| | | | |||||
| * | | log contentview errors in the debug log only | Maximilian Hils | 2017-12-17 | 1 | -1/+1 |
| |/ | | | | | | | | | | | | | We already display the "couldn't parse" message, which is better than overwhelming users with a traceback. refs #2658 | ||||
* | | Merge pull request #2690 from cortesi/types | Aldo Cortesi | 2017-12-18 | 34 | -29/+29 |
|\ \ | |/ |/| | mitmproxy.types -> mitmproxy.coretypes | ||||
| * | mitmproxy.types -> mitmproxy.coretypes | Aldo Cortesi | 2017-12-17 | 34 | -29/+29 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Merge pull request #2691 from Kriechi/bump-cryptography | Thomas Kriechbaumer | 2017-12-17 | 1 | -1/+1 |
|\ \ | | | | | | | bump cryptography | ||||
| * | | bump cryptography | Thomas Kriechbaumer | 2017-12-17 | 1 | -1/+1 |
|/ / | | | | | | | This includes important security fixes. | ||||
* | | Merge pull request #2689 from cortesi/grideditor.save | Aldo Cortesi | 2017-12-17 | 2 | -0/+21 |
|\ \ | | | | | | | console.grideditor.save | ||||
| * | | console: add console.grideditor.save | Aldo Cortesi | 2017-12-17 | 2 | -0/+21 |
| | | | | | | | | | | | | This will tide us over until we have a proper data viewer. | ||||
* | | | Merge pull request #2687 from cortesi/minor1 | Aldo Cortesi | 2017-12-17 | 4 | -22/+21 |
|\| | | |/ |/| | commands: minor refactoring and command renaming | ||||
| * | commands: minor refactoring and command renaming | Aldo Cortesi | 2017-12-17 | 4 | -22/+21 |
| | | |||||
* | | Merge pull request #2686 from cortesi/flowspecopts | Aldo Cortesi | 2017-12-17 | 2 | -1/+35 |
|\| | | | | | commander: add completion for flowspecs | ||||
| * | commander: add completion for flowspecs | Aldo Cortesi | 2017-12-17 | 2 | -1/+35 |
| | | |||||
* | | Merge pull request #2685 from cortesi/longout | Aldo Cortesi | 2017-12-17 | 18 | -183/+311 |
|\| | | | | | Add a data viewer for command output | ||||
| * | Disable implicit JS test asset generation | Aldo Cortesi | 2017-12-17 | 2 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | The JS test assets depend in a brittle way on the details of the tflow() utility functions. We shouldn't have to fix JS tests when adjusting these. Options: - Manually generate the test assets in a script. - Define the JS assets without using tflow, so they don't unexpextedly vary. | ||||
| * | console: add a data view overlay for command output | Aldo Cortesi | 2017-12-17 | 7 | -8/+123 |
| | | | | | | | | Fixes #2654 | ||||
| * | minor: commandeditor.py -> commandexecutor.py | Aldo Cortesi | 2017-12-17 | 3 | -4/+4 |
| | | |||||
| * | minor: fix key bindings, adjust flow command presentation | Aldo Cortesi | 2017-12-17 | 3 | -3/+3 |
| | | | | | | | | Fixes #2681 | ||||
| * | command cuts: add completion | Aldo Cortesi | 2017-12-17 | 10 | -92/+145 |
| | | | | | | | | | | | | - Remove shortcuts for request, response, etc. - we don't need them if we have completion - Restrict cuts specification to a set of prefixes - Extend cuts to add a few more items | ||||
| * | commands: Reassess the cuts API | Aldo Cortesi | 2017-12-17 | 5 | -118/+78 |
|/ | | | | | Make the cuts API more transparent. Cut specifications are no longer a centrally resolved core type, and flows are now passed explicitly. | ||||
* | Merge pull request #2682 from mitmproxy/requires-io-master | Thomas Kriechbaumer | 2017-12-16 | 1 | -1/+1 |
|\ | | | | | [requires.io] dependency update on master branch | ||||
| * | [requires.io] dependency update | requires.io | 2017-12-15 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #2679 from cortesi/commander2 | Aldo Cortesi | 2017-12-16 | 8 | -151/+124 |
|\ | | | | | commands - further progress | ||||
| * | commander: test++ | Aldo Cortesi | 2017-12-15 | 2 | -9/+51 |
| | | |||||
| * | commander: sort options for completion | Aldo Cortesi | 2017-12-15 | 1 | -0/+1 |
| | | |||||
| * | command: path completion | Aldo Cortesi | 2017-12-15 | 4 | -145/+51 |
| | | |||||
| * | console: fix variable clash exposed by recent key binding work | Aldo Cortesi | 2017-12-15 | 2 | -2/+2 |
| | | |||||
| * | command: recursive command parsing | Aldo Cortesi | 2017-12-15 | 2 | -2/+26 |
|/ | | | | This lets us complete commands passed to commands correctly. | ||||
* | Merge pull request #2678 from mhils/console-startup-events | Aldo Cortesi | 2017-12-15 | 7 | -72/+85 |
|\ | | | | | Fix console logging during startup | ||||
| * | improve eventstore truncation | Maximilian Hils | 2017-12-15 | 3 | -23/+38 |
| | | |||||
| * | limit eventstore size | Maximilian Hils | 2017-12-14 | 2 | -4/+11 |
| | | |||||
| * | console: display errors that happened during startup | Maximilian Hils | 2017-12-14 | 1 | -3/+16 |
| | | |||||
| * | streamline console logging, fix #2667 | Maximilian Hils | 2017-12-14 | 6 | -60/+38 |
| | | |||||
* | | Merge pull request #2677 from cortesi/commander | Aldo Cortesi | 2017-12-15 | 10 | -19/+355 |
|\ \ | |/ |/| | Commander | ||||
| * | command: add command.Arg type | Aldo Cortesi | 2017-12-15 | 3 | -10/+19 |
| | | | | | | | | | | | | This type represents an argument to a command passed to another command. This improves help text, and will be used in the partial parser to expand subcommand types. |