Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | 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. | |||||
| * | | | commands: emit types from partial parser, implement choice completion | Aldo Cortesi | 2017-12-15 | 3 | -20/+66 | |
| | | | | ||||||
| * | | | commander: tab completion for command names | Aldo Cortesi | 2017-12-15 | 3 | -10/+77 | |
| | | | | ||||||
| * | | | WIP: autocompletion | Aldo Cortesi | 2017-12-15 | 5 | -23/+72 | |
| | | | | ||||||
| * | | | commands: add a parser for partial commands | Aldo Cortesi | 2017-12-15 | 2 | -0/+35 | |
| | | | | | | | | | | | | | | | | We only return Cmd and str types for the moment. | |||||
| * | | | commands: add a Cmd argument type | Aldo Cortesi | 2017-12-15 | 8 | -20/+35 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This represents a command passed as an argument. Also split arguments from command values themselves, making the command help for meta-commands much clearer. | |||||
| * | | | Introduce a custom widget for command editing | Aldo Cortesi | 2017-12-15 | 5 | -11/+126 | |
|/ / / | | | | | | | | | | | | | The builtin urwid.Edit widget is not sufficiently flexible for what we want to do. | |||||
* | | | Merge pull request #2674 from mhils/issue-2620 | Aldo Cortesi | 2017-12-15 | 1 | -9/+10 | |
|\ \ \ | | | | | | | | | Fix #2620 | |||||
| * | | | fix #2620 | Maximilian Hils | 2017-12-14 | 1 | -9/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We previously had the problem that overriding keypress() skipped the proper calculation of the top widget's size, leading to broken scrolling behavior in the flowlist. We now always use urwid.Frame's keypress method, but we make sure that urwid.Pile and urwid.Columns delegate to the currently focused component. | |||||
* | | | | Merge pull request #2545 from mitmproxy/wsproto | Aldo Cortesi | 2017-12-15 | 18 | -119/+1708 | |
|\ \ \ \ | | | | | | | | | | | Replace our WebSocket stack with wsproto | |||||
| * | | | | vendoring of wsproto | Thomas Kriechbaumer | 2017-12-12 | 7 | -4/+1419 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/python-hyper/wsproto.git commit 5ea2da61266796666f5de6461aaae22e6b00deba | |||||
| * | | | | docs++: add websocket PING/PONG | Thomas Kriechbaumer | 2017-12-12 | 1 | -0/+5 | |
| | | | | | ||||||
| * | | | | docs++: add individual protocol pages | Thomas Kriechbaumer | 2017-12-12 | 7 | -7/+63 | |
| | | | | | ||||||
| * | | | | Use wsproto for websockets | Ujjwal Verma | 2017-12-12 | 5 | -109/+185 | |
| | | | | | ||||||
| * | | | | prepare WebSocket stack to move to wsproto | Thomas Kriechbaumer | 2017-12-12 | 2 | -117/+154 | |
| | | | | | ||||||
* | | | | | Merge pull request #2675 from mhils/issue-2673 | Aldo Cortesi | 2017-12-15 | 2 | -8/+12 | |
|\ \ \ \ \ | | | | | | | | | | | | | Fix #2673 | |||||
| * | | | | | fix #2673 | Maximilian Hils | 2017-12-14 | 2 | -8/+12 | |
|/ / / / / | ||||||
* | | | | | Merge pull request #2671 from mhils/command-argtypes | Maximilian Hils | 2017-12-14 | 5 | -58/+59 | |
|\ \ \ \ \ | | | | | | | | | | | | | Introduce @command.argument | |||||
| * | | | | | simplify path type | Maximilian Hils | 2017-12-14 | 1 | -6/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the previous implementation crashed the typechecker, as typing.NewType does not return a proper type that can be used for isinstance() checks. | |||||
| * | | | | | adjust tests | Maximilian Hils | 2017-12-14 | 1 | -8/+16 | |
| | | | | | | ||||||
| * | | | | | introduce @command.argument | Maximilian Hils | 2017-12-14 | 4 | -44/+40 | |
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | This makes it possible to specify more specific type annotations at runtime, so that both mypy and our command system are happy. The .argument(name, type=) syntax is similar to click's, so it should be fairly extensible if we need it. | |||||
* / | | | | fix keybinding help strings | Maximilian Hils | 2017-12-14 | 1 | -2/+2 | |
|/ / / / | ||||||
* | | | | Merge pull request #2669 from cortesi/path | Aldo Cortesi | 2017-12-14 | 8 | -17/+31 | |
|\ \ \ \ | | | | | | | | | | | commands: add a Path argument type | |||||
| * | | | | commands: add a Path argument type | Aldo Cortesi | 2017-12-13 | 8 | -17/+31 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is just an alias for str, and in this patch is used mostly to give an appropriate type in help strings. More to come. Fixes #2198 | |||||
* | | | | | Merge pull request #2670 from Kriechi/fix-2664 | Maximilian Hils | 2017-12-13 | 1 | -1/+8 | |
|\ \ \ \ \ | | | | | | | | | | | | | fix #2664 |