Commit Graph

8345 Commits

Author SHA1 Message Date
Henrique
863d2fbcb2 Merge branch 'command-history-file' of github.com:typoon/mitmproxy into command-history-file 2019-11-27 08:13:19 -05:00
Henrique
09c0162e8d Merge branch 'master' of github.com:mitmproxy/mitmproxy into command-history-file 2019-11-27 08:07:22 -05:00
Henrique
8fbd0bb9ce Merge branch 'mitmproxy-improve-commander' of github.com:typoon/mitmproxy into command-history-file 2019-11-27 08:06:40 -05:00
Maximilian Hils
f026285434
Merge pull request #3727 from typoon/mitmproxy-improve-commander
Commander bar navigation keys
2019-11-26 02:47:34 +01:00
Maximilian Hils
819d5e6317 command history: start adjusting tests 2019-11-26 02:43:09 +01:00
Maximilian Hils
06ef7350f5 simplify command history addon 2019-11-26 02:42:47 +01:00
Henrique
b3b069f468 Remove blank line 2019-11-25 19:00:54 -05:00
Henrique
8449db103e Fixed ctrl w 2019-11-25 18:55:12 -05:00
Henrique
046779615f Added some navigation keys to the command bar same way as in a Linux
terminal
2019-11-25 15:41:58 -05:00
Henrique
68b016e180 Addressing comments from review 2019-11-25 14:37:49 -05:00
Henrique
0f0fc15c16 Removing the remotepdb stuff. 2019-11-25 14:12:36 -05:00
Henrique
1948a27023 Fixing it back to what it was 2019-11-25 13:13:50 -05:00
Henrique
4464648c38 Logic to handle multiple instances using CommandHistory. 2019-11-25 13:08:09 -05:00
Henrique
5b582a76a8 Make windows happy once again 2019-11-25 10:48:42 -05:00
Henrique
1c8abaed78 Make windows happy 2019-11-25 10:39:36 -05:00
Henrique
ed7f0b4b39 Making windows happy 2019-11-25 10:24:46 -05:00
Henrique
640bec24e5 Oops, forgot to add the tests for the CommandHistory addon 2019-11-25 10:23:51 -05:00
Henrique
1b5337e4d4 Making windows happy 2019-11-25 09:17:40 -05:00
Henrique
0d29804ab8 Moved confdir check logic into the addon 2019-11-25 08:56:44 -05:00
Henrique
6a7f27ff15 Make mypy happy 2019-11-24 20:21:14 -05:00
Henrique
7b386d5393 Fixed the logic according to some tests, added new tests 2019-11-24 20:13:25 -05:00
Henrique
1d43abcb28 Making the linter happy 2019-11-23 16:36:52 -05:00
Henrique
6d67286bd1 Fix to check if command_history file exists prior to trying to read it 2019-11-23 16:31:21 -05:00
Henrique
01b40e2c36 Fix to create the confdir in case it doesn't exist 2019-11-23 16:31:03 -05:00
Henrique
a866b424fe Moved command history to an addon and added a new feature:
* If you start typing a command and press "up" only commands starting
with that string will be returned
2019-11-23 15:31:00 -05:00
Maximilian Hils
80973bd6ec remove unused hyperlink in README.rst 2019-11-23 18:03:59 +01:00
Henrique
16b55f9476 Implemented feature to save command history to a file. This allows users
to reuse their commands the next time they open mitmproxy
2019-11-22 10:00:17 -05:00
Maximilian Hils
bbb7eb692f
Merge pull request #3718 from mhils/simplify-install-instructions
Simplify install instructions
2019-11-21 22:50:34 +01:00
Maximilian Hils
3550bdfe00
Merge pull request #3693 from typoon/fix-command-bar-issue-3259
Improve Command Bar UX
2019-11-21 14:13:08 +01:00
Maximilian Hils
f7a3e903ac fix keybind for loading flows 2019-11-21 14:06:03 +01:00
Maximilian Hils
6ad7b575bb simplify install instructions 2019-11-20 18:45:36 +01:00
Maximilian Hils
3a7ca3e1e7
Merge pull request #3717 from Jessonsotoventura/replay
Added Replay to new table UI
2019-11-20 17:28:27 +01:00
Jesson Soto Ventura
dc2d8f50ca added column for mark and replay 2019-11-19 22:39:00 -05:00
Maximilian Hils
223335111d
Delete issue_template.md
this is in .github/ now.
2019-11-19 21:36:56 +01:00
Maximilian Hils
51cea9eee3
update badges 2019-11-19 21:36:20 +01:00
Maximilian Hils
fa100b9d16 lint! 2019-11-19 21:11:49 +01:00
Maximilian Hils
228e1c74c2 fix tests 2019-11-19 18:37:47 +01:00
Maximilian Hils
b9f3a310a7
Merge pull request #3714 from sethb157/ipv6_only
Add support for IPv6-only environments
2019-11-19 18:32:29 +01:00
Maximilian Hils
c7eedcbc1a fix 'set' to only accept a single argument 2019-11-19 18:29:22 +01:00
Maximilian Hils
76e6484107 fix lexing, sort of 2019-11-19 18:21:14 +01:00
Maximilian Hils
e92b957e3a
Use Github Actions for CI (#3713)
switch to github actions for CI
2019-11-19 18:15:08 +01:00
Seth Barrios
1ada2e26e8 Add support for IPv6-only environments
Previously, the proxy would attempt to bind to an IPv6 + IPv4 enabled socket.
On failure, it would try to bind to an IPv4 only socket. If that failed, the
proxy would fail to start. This update makes it so that the proxy also tries
to bind to an IPv6-only socket, which is necessary in environments where IPv4
is disabled.

In short, the proxy will try binding in the following order, only moving
to the next step when binding fails:
IPv6 + IPv4 -> IPv4 only -> IPv6 only -> proxy fails to start.
2019-11-18 15:26:49 -08:00
Maximilian Hils
74f5fa6a77 wip 2019-11-18 22:03:51 +01:00
Maximilian Hils
70e3871fdb pin pyopenssl to fix builds, refs #3692 2019-11-18 17:11:15 +01:00
Maximilian Hils
7bf06f8ae0 fix coverage 2019-11-18 05:19:06 +01:00
Maximilian Hils
dd556f052b coverage++ 2019-11-18 04:34:23 +01:00
Maximilian Hils
da0755106d adjust test 2019-11-18 03:54:18 +01:00
Maximilian Hils
f75a95acea fix vararg handling 2019-11-18 03:45:16 +01:00
Maximilian Hils
cb723c53fa revamp command processing
- Display the parameter name instead of the parameter type
  whenver users interact with commands. This makes it easy to
  enter commands just by their signature. We may want to expose type
  information in the command list, but some quick testing showed that
  this are rather intuitive anyways.
- Add shift tab backward cycling for the command completion.
- Use inspect.Signature instead of homebrew argument matching solution.
  This gets rid of quite a bit of cruft.
- Remove some type checking hacks in mitmproxy.types
2019-11-18 03:05:41 +01:00
Maximilian Hils
8a6370f1c2 make command parameter names more descriptive 2019-11-18 02:55:37 +01:00