Commit Graph

1880 Commits

Author SHA1 Message Date
Maximilian Hils
a148b52548
minor improvements 2018-03-18 21:02:53 +01:00
Fenil Gandhi
ef1c1239dc Remove Highlight from statusbar 2018-03-19 01:10:08 +05:30
jplochocki
28c7eb17c0
Update cut.py
Line 132: cut.clip command always copy "utf-8" when single cut specified (ie :cut.clip @focus request.method gets "utf-8")
2018-03-18 16:16:03 +01:00
Fenil Gandhi
d9dcf8365b Fixing the Fix for #2990 2018-03-15 22:54:00 +05:30
Fenil Gandhi
729910bcd2 Removing the erroneously highlighted keybinding 2018-03-15 21:01:12 +05:30
Maximilian Hils
2001184b6c
Merge pull request #2956 from kira0204/test-for-2850
Test for #2850
2018-03-15 00:29:52 +01:00
Thomas Kriechbaumer
0bc3f1fbf1 fix docstring 2018-03-10 18:07:39 +01:00
Oliver Fish
ee4dd2bafd Added Support for AUR Google Chrome 2018-03-07 03:45:49 +01:00
kira0204
be50f3f481 wrong additions
test-for-2850

few fixes

mock testing

Typo error
2018-03-06 05:44:05 +05:30
Fenil Gandhi
ece6002328 Update remaining old docs url with new one. 2018-03-05 22:56:36 +05:30
Aldo Cortesi
bc6550abc5
Merge pull request #2945 from kajojify/shortening
Polite shortening of statusbar messages. Fix #1433
2018-03-05 09:07:18 +13:00
Maximilian Hils
a2740ee4ae
Merge pull request #2868 from kira0204/data-crash
Fix crashing when editing form with random data, fix #2794
2018-03-04 19:53:15 +01:00
Maximilian Hils
618d52a65e
Merge pull request #2946 from fenilgandhi/master
Fix for wrapping up extra-long urls in flowdetailview
2018-03-04 19:46:43 +01:00
Miroslav
237320a539 Minor fixes.
Renaming prep_message method to shorten_message.
Docstring.
\u2026 instead of ....
max_width parameter.
2018-03-03 22:12:56 +02:00
Maximilian Hils
3692b4ceab
fix display inconsistency for certstore path 2018-03-03 19:23:05 +01:00
Fenil Gandhi
fa09bfa489 Fix for wrapping up extra-long urls in flowdetailview 2018-03-03 09:44:46 +05:30
Miroslav
63f0a712d8 Addition to the comment 2018-03-03 00:32:32 +02:00
Miroslav
0dcdb6c3cc Finalization of tests. Conditions rewritten again. 2018-03-02 23:40:58 +02:00
Miroslav
d151c6c322 Initial tests. New conditions. 2018-03-01 01:18:05 +02:00
Miroslav
5161458217 Shortening notifications in statusbar 2018-02-28 00:18:18 +02:00
Maximilian Hils
944e81dcfc clean up ProxyConfig
some of these options weren't even used anymore,
others only in one place where it makes sense to use options directly.
2018-02-27 19:05:59 +01:00
Maximilian Hils
65b8b65ebc add missing client_certs directory expansion 2018-02-27 19:05:52 +01:00
Aldo Cortesi
9016608486
Merge pull request #2931 from cortesi/scriptpath
script.run takes a path argument
2018-02-27 10:14:33 +13:00
Aldo Cortesi
bb7e4b853c script.run takes a path argument
This must have slipped through in the first conversion.
2018-02-27 09:33:14 +13:00
Aldo Cortesi
1295856cd5
Merge pull request #2875 from fenilgandhi/issue-2872
Fixed a bug with bytes encoding error
2018-02-27 09:03:20 +13:00
Aldo Cortesi
e52adb1755
Merge pull request #2926 from cortesi/coreopts
Start consolidating core options
2018-02-27 07:58:40 +13:00
Aldo Cortesi
494390bf07
Merge pull request #2925 from mhils/clientcert-from-sni
Use sni to select clientcerts
2018-02-26 11:35:35 +13:00
Aldo Cortesi
7bd63ee713 Start consolidating core options
This is a preparatory patch that paves the way to consolidating our core
options in the core addon. It amalgamates the core_option_validation and core
addons, prepares the test suite for a world where options live in core, and
moves over two trivial options as a trial balloon.

From here, things will get harder, but at the end of the process we'll have a
core that's responsive to options.
2018-02-26 11:26:32 +13:00
Maximilian Hils
820ccc69da use sni to select clientcerts 2018-02-25 22:19:14 +01:00
Aldo Cortesi
e5cdc20eb8 Split dumper_filter off from view_filter
These don't even do the same thing.
2018-02-26 09:43:15 +13:00
Aldo Cortesi
2fb85553cc Revamp verbosity options
Split verbosity into termlog_verbosity and console_eventlog_verbosity.

This patch also removes printing to console if there are unknown options in the
command-line. Options now live in separate addons, so having uknown options
remaining is common and expected. We definitely shoould have some other way for
users to see what was ignored so they can catch typos and the like, but that's
a different patch.
2018-02-26 09:02:24 +13:00
Aldo Cortesi
77e5d823e0 Shift option help styling admonition into the appropriate Loader docstring 2018-02-26 09:02:24 +13:00
Maximilian Hils
a9b8d85e99
Merge pull request #2919 from fristonio/Fix-2906
Fix --socks option deprecated info in command line args check.
2018-02-25 16:52:34 +01:00
Deepesh Pathak
13a47c66bf
Fix --socks option deprecated info in command line args check. 2018-02-25 19:51:18 +05:30
luz.paz
afbb7f117b Misc. typos
Found via `codespell -q 3 -I ../mitmproxy-word-whitelist.txt`
Where whitelist contains:
```
cas
doubleclick
nd
ot
seeked
statics
te
thru
```
2018-02-24 21:45:11 -05:00
Aldo Cortesi
6b5b71aefa
Merge pull request #2907 from cortesi/optionscomp
Start moving more complicated options over to /addons
2018-02-25 10:15:21 +13:00
Aldo Cortesi
6ea81a96d4 addon options: proxyauth to /addons 2018-02-24 19:16:13 +13:00
Aldo Cortesi
59db25bd0f Split default_contentview into dumper_* and console_* varieties
Then move the new options into their respective addons. This was a shared
option, and things are much much simpler if it isn't.
2018-02-24 19:09:32 +13:00
Aldo Cortesi
f49aae312f Move intercept options to addon
As part of this, we zap an un-needed console command and use a boolean toggle
setter instead.

Also remove an ancient regression test that breaks encapsulation.
2018-02-24 18:33:15 +13:00
Aldo Cortesi
3a766a420c
Merge branch 'master' into opts 2018-02-24 16:47:58 +13:00
Aldo Cortesi
93c49c47ae flow_detail option to /addons/dumper 2018-02-24 16:42:32 +13:00
Aldo Cortesi
f361ea491c addon options: upstream_auth
Also the last "easy" option to shift.
2018-02-24 15:58:37 +13:00
Aldo Cortesi
2aa7ac584b addon options: stickycookie, streambodies 2018-02-24 15:49:38 +13:00
Aldo Cortesi
704c1db1b7 addon options: setheaders, stickyauth 2018-02-24 15:45:12 +13:00
Aldo Cortesi
12633adeb9 addon options: readfile, save, script 2018-02-24 15:28:43 +13:00
Aldo Cortesi
144b559b46 addon options: migrate replace, simplify taddons.context 2018-02-24 15:22:28 +13:00
Aldo Cortesi
52c8d7e0f8 addon options: shift server_replay options 2018-02-24 15:00:40 +13:00
Aldo Cortesi
74a0230788 addon options: shift keepserving and onboarding options 2018-02-24 14:53:54 +13:00
Aldo Cortesi
a12d149230 client options: migrate allowremote and clientplayback
Also triage options, and categorize them into core options (won't be migrated),
options that are hard to migrate for various reasons, and easy migrations.
2018-02-24 14:39:03 +13:00
Aldo Cortesi
4522a6f7b7 Start moving addon options into /addons
This takes the first few steps:

- Extends taddons to make loading addon options easier
- Removes dependencies in the test suite on options in addons
- Tweaks command-line parser autocreation to ignore nonexistent options. This
lets us load common options without over-depending on loaded addons.
2018-02-24 12:13:52 +13:00