Commit Graph

673 Commits

Author SHA1 Message Date
zokutyou2@gmail.com
feb77ed7ea add command bar to mitmweb 2021-06-25 22:06:35 +09:00
Maximilian Hils
e8fd816b97 web: fix options ducks 2021-06-25 13:08:27 +02:00
Maximilian Hils
9b119c3dac web: major upgrades
This commit brings a bunch of under-the-hood mitmweb improvements:

 - migrate large parts of the codebase to typescript
 - introduce modern react testing conventions
 - vendor react-codemirror to silence warnings
 - use esbuild for both bundles and tests
 - move from yarn to npm
 - various fixes across the board
2021-06-21 17:51:47 +02:00
zokutyou2@gmail.com
d6fc9a7b27 clean FlowRow arguments 2021-06-19 09:55:55 +09:00
zokutyou2@gmail.com
3b541a0b87 implement actions to the menu 2021-06-18 22:37:09 +09:00
Maximilian Hils
a034b7c2c1 replace dropdown with popper.js-based implementation 2021-06-16 22:28:29 +02:00
zokutyou2@gmail.com
f69c91cb36 apply requested change 2021-06-14 09:21:55 +09:00
zokutyou2@gmail.com
fffd0017d8 add dropdown submenu 2021-06-13 21:11:52 +09:00
zokutyou2@gmail.com
6824666424 Merge branch 'main' of https://github.com/gorogoroumaru/mitmproxy into hover-menu 2021-06-10 22:17:34 +09:00
zokutyou2@gmail.com
ccb48f3cc3 apply suggested changes 2021-06-10 22:13:49 +09:00
gorogoroumaru
a4f5edb5b7
[mitmweb] Add "one click resume / accept all" button (#4615)
* Add one-click-resume button

* Add one-click-resume button

* update jest snapshot

* update style

* Disable forward button when the flow is not intercepted

* update jest snapshot

* group items in main menu

* add layout for quick actions menu

Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2021-06-10 14:59:30 +02:00
zokutyou2@gmail.com
96d6804f5a Merge branch 'main' of https://github.com/gorogoroumaru/mitmproxy into hover-menu 2021-06-10 09:11:06 +09:00
Maximilian Hils
0e9206ceb1 switch to esbuild for bundling 2021-06-09 18:02:05 +02:00
Maximilian Hils
743b409f7f fix some react deprecation warnings 2021-06-09 12:08:41 +02:00
Maximilian Hils
d3f33b90a6 web dependency upgrade: get tests to pass 2021-06-09 12:00:11 +02:00
Maximilian Hils
2c5c6cfa5a wip: update web dependencies 2021-06-08 11:22:59 +02:00
zokutyou2@gmail.com
2ce0f45fe4 Add hover menu to FlowRow 2021-06-07 15:25:38 +09:00
Maximilian Hils
eefc55f28f coverage++ 2021-03-30 13:03:41 +02:00
Maximilian Hils
37672f0be0 give gulp watch func a name 2021-03-30 11:23:50 +02:00
gorogoroumaru
1efe44745b make columns configurable and customizable 2021-03-30 11:23:50 +02:00
Maximilian Hils
16be78ad0a
Merge pull request #4521 from sanlengjingvv/remote-ip
Display server ip address in flow detail tab
2021-03-22 11:35:06 +01:00
sanlengjingvv
71ccbd5607 Display server ip address in flow detail tab 2021-03-22 14:41:16 +08:00
sanlengjingvv
6968c7dd7c Set jest time zone, otherwise the test will fail in other time zones 2021-03-22 14:11:40 +08:00
Peter Dave Hello
123342ea0b
Improve Markdown syntax(styling) (#4496)
* Improve Markdown syntax

- Add missing blank lines
- Remove trailing spaces
- Remove additional blank lines
- Fix indentation consistency and correctness

* Update addons-examples.md

Co-authored-by: Maximilian Hils <github@maximilianhils.com>
2021-03-11 19:13:02 +01:00
Samhita-sopho
6846c8db33
Web UI shows blank for details tab when server address is blank (#4248)
* updated changelog

* Web UI appears blank fix

* Updated DetailsSpec snapshot
2020-12-06 13:56:53 +01:00
sanlengjingvv
5d0e1906e6
Show http trailers in web-ui (#4142) 2020-08-12 17:21:31 +02:00
Maximilian Hils
9d5e59bdfa standardize killed error message
this is mostly a preparation for sans-io, where we detect kills
using the presence of the error.
2020-08-08 00:16:29 +02:00
rugk
9e4f7d47f7
Fix link to anticache docs in mitmweb (#4126) 2020-08-06 22:04:33 +02:00
gorogoroumaru
2f33d6cb1c
add tls/security details of connection/request (TLS protocol, cipher) to mitmweb (#4117) 2020-07-30 13:36:57 +02:00
gorogoroumaru
3e7f9e488a
Add utc_to_local option (#4081) 2020-07-21 08:59:09 +02:00
Yogesh Ojha
4863825737 ran npm test 2020-06-29 21:36:13 +05:30
Yogesh Ojha
285b1f5fef New file renamed to Clear all 2020-06-29 17:54:39 +05:30
Maximilian Hils
31a6f60e45
Merge pull request #4006 from oxr463/patch-2
Document mitmweb architecture
2020-06-12 13:18:49 +02:00
V S Sreejeet
c93d00bd7f
Fix #4010. Options modal in the mitmweb page no longer overflows the y axis. (#4014)
don't overflow options dialog, fix #4010
2020-06-12 12:12:37 +02:00
Lucas Ramage
7854562883
Document mitmweb architecture
Bug: https://github.com/mitmproxy/mitmproxy/issues/3925
2020-05-18 14:21:23 -04:00
Lucas Ramage
53ee0b23ec
Clarify developer documentation for mitmweb
Bug: https://github.com/mitmproxy/mitmproxy/issues/3888
2020-04-03 10:35:03 -04:00
Maximilian Hils
ff759fa51b update compiled mitmweb assets, fix #3822 2020-02-21 23:16:02 +01:00
Ferenc soós
e838aa1860 Fix wording for ssl_insecure option on mitmweb 2020-01-20 10:09:16 +01:00
Cixtor
c872a5c700
Fix #3571 to support image/webp in mitmweb to display previews 2019-12-17 12:52:14 -08:00
Maximilian Hils
c8b6c6150b [web] fix status column rendering 2019-12-12 16:28:22 +01:00
Maximilian Hils
60b95d12f2 [web] update gulp to fix nodejs compatibility 2019-12-12 16:28:11 +01:00
Mumen Yassin
995d9f0f49
fixes copying on macos 2019-01-23 14:34:55 +03:00
Arun Swaminathan
a6ba88ae64 Update snapshot tests 2018-10-20 04:05:07 -04:00
Arun Swaminathan
c1184176e7 Check for null flow response when changing color 2018-10-20 04:04:55 -04:00
Arun Swaminathan
028dd78291 #3312 Change colors according to HTTP status code 2018-10-15 22:43:22 -04:00
Matthew Shao
e9e2b7f443 [web] Fixes #3228:API endpoint error 2018-08-13 15:20:08 +08:00
Maximilian Hils
3227f67d88 update compiled mitmweb assets 2018-06-15 17:15:15 +02:00
Mrigank Krishan
27449d9c8b
Update flowview.less 2018-05-17 23:04:21 +05:30
Maximilian Hils
c6932cbde5
update mitmweb dev instructions 2018-03-20 18:33:51 +01:00
Fenil Gandhi
77ed33b06d Fix for failing UI test 2018-03-06 09:29:20 +05:30
Fenil Gandhi
ece6002328 Update remaining old docs url with new one. 2018-03-05 22:56:36 +05:30
Maximilian Hils
de5dd19297
[web] fix timing display for keepalive connections
see https://discourse.mitmproxy.org/t/mitmweb-details-tab-timing/848/3
2018-02-05 13:52:52 +01:00
Matthew Shao
90d06dcf6f [web] Fix unstable sorting by using 'stable' dependency 2018-02-05 08:28:02 +08:00
Maximilian Hils
3858048c6d
fix broken link 2018-01-02 16:45:06 +01:00
Wouter Visser
828e1a87ca Fix crash when using body filters (#2744)
fix crash when using body filters

They still don't work, but at least the web interface won't crash.
2018-01-02 16:37:32 +01:00
Maximilian Hils
9d514330ca [web] adjust tests 2017-10-26 16:34:24 +02:00
Maximilian Hils
c2401e35f4 [web] move options editor from file menu to options menu
ultimately we probably want to open the options editor immediately if someone presses "Options".
This still requires us to

  1. have a nicer editors for common settings.
  2. Add a "view event log" button somewhere else,
     for example in the footer.

For now, the options editor is marked as beta, as there are some options you
clearly do not want to edit (e.g. wfile).
2017-10-25 15:57:21 +02:00
Maximilian Hils
42895f4fec [web] minor fixes and cleanup 2017-10-25 15:25:41 +02:00
Maximilian Hils
f870ccd949 [web] remove prompt 2017-10-25 14:00:33 +02:00
Maximilian Hils
51d3fb8ea1 [web] minor fixes 2017-10-25 13:35:22 +02:00
Maximilian Hils
01f28bbccb [web] update to react 16.0 2017-10-25 13:35:15 +02:00
Matthew Shao
0647d622a4 [web] Add settings.json to static viewer, so it can display version. 2017-08-30 21:13:51 +08:00
Maximilian Hils
58642d57f6 [web] make it possible to run static viewer in subdirectories 2017-08-22 01:05:29 +02:00
Maximilian Hils
bf243244ce [web] make it possible to run static viewer in subdirectories 2017-08-21 23:46:48 +02:00
Maximilian Hils
194883fc6a fix gulpfile copy mistake 2017-08-21 22:47:15 +02:00
Matthew Shao
3f497640ab [web] Update tests. 2017-08-16 09:42:24 +08:00
Matthew Shao
6560b0dcdb [web] Change the api routing and minor fix. 2017-08-15 22:21:08 +08:00
Matthew Shao
cbdddefcc8 [web] change the path name like _flows to flows.json. 2017-08-14 12:21:11 +08:00
Matthew Shao
7d92cdf3bb [web] Hide ContentViewOptions in static mode 2017-08-12 19:38:52 +08:00
Matthew Shao
e925015d10 [web] Update fetch api to suite the static mode. 2017-08-12 19:36:43 +08:00
Matthew Shao
0ad552ead4 [web] Minor fixes. 2017-08-08 22:46:47 +08:00
Matthew Shao
32957976f5 [web] Remove activeFetches and onMessage in StaticBackend. 2017-08-08 22:33:41 +08:00
Matthew Shao
dd43722c18 [web] Remove MITMWEB_STATIC var in tests, and update them. 2017-08-08 21:59:07 +08:00
Matthew Shao
756b734ae2 [web] update HideInStatic and some components. 2017-08-08 21:57:42 +08:00
Matthew Shao
07b3900ac5 [web] Update react,react-dom,react-test-renderer to 16-beta.3 2017-08-08 21:55:57 +08:00
Matthew Shao
c6385e81c8 [web] Update tests to ensure they won't be disturbed by static mode 2017-08-07 11:08:19 +08:00
Matthew Shao
f7b494ccf2 [web] Add HideInStatic Component
HideInStaic compoent will check the MITMWEB_STATIC var, and hide the
responsive components in static mode.
2017-08-07 11:05:02 +08:00
Matthew Shao
94a0b82cee [web] Add static backend. 2017-08-07 10:57:12 +08:00
Matthew Shao
27f4c6d394 [web] Add static.js to index.html, containing MITMWEB_STATIC var. 2017-08-07 10:53:13 +08:00
Maximilian Hils
7b54ef23d5 Merge pull request #2471 from ujjwal96/traceback-fix
Fixed addon error in test suite
2017-07-29 16:54:22 +02:00
Ujjwal Verma
544a7cdd14 updated snapshot 2017-07-28 00:09:29 +05:30
Matthew Shao
7e5f424c50 [web] Minor fix for frontend and tests. 2017-07-27 11:22:02 +08:00
Matthew Shao
4282dc1ac4 [web] Update tests. 2017-07-26 15:16:23 +08:00
Matthew Shao
c7e41b32ab [web] Update options auto dump for frontend. 2017-07-26 15:09:11 +08:00
Ujjwal Verma
ed0f219167 fixed addon error 2017-07-26 01:02:30 +05:30
Matthew Shao
5c45a90ce9 [web] Update tests. 2017-07-24 20:36:21 +08:00
Matthew Shao
8c3e988a8c [web] Add Download/Load button to OptionEditor. 2017-07-24 20:34:15 +08:00
Matthew Shao
93cd1562de [web] OptionModal component coverge ++. 2017-07-22 21:16:16 +08:00
Matthew Shao
a0d14caa89 [web] Update tests. 2017-07-21 23:00:10 +08:00
Matthew Shao
663e6026fb [web] Add default value suggester in option editor. 2017-07-21 22:58:20 +08:00
Matthew Shao
cb73658dd4 [web] Remove js/ducks/ui/option.js 2017-07-20 22:26:28 +08:00
Matthew Shao
f465f08c9a [web] Minor fix and update tests. 2017-07-20 15:39:43 +08:00
Matthew Shao
cbf5db9a4f [web] Fix line breaking in StringSequenceOption. 2017-07-19 22:24:45 +08:00
Matthew Shao
c2f0b94fb7 [web] sorting the options and minor improve ux. 2017-07-18 14:46:18 +08:00
Matthew Shao
70bb123101 Merge branch 'mitmweb-options' of https://github.com/MatthewShao/mitmproxy into mitmweb-options 2017-07-18 09:14:28 +08:00
Maximilian Hils
183079f731 [web] options: add some styling, minor fixes 2017-07-17 21:13:24 +02:00
Maximilian Hils
babd967eb8 [web] options: make help and err permanently visible, improve perf 2017-07-17 21:04:01 +02:00
Matthew Shao
21b3f9c029 [web] Update OptionMaster. 2017-07-17 13:59:25 +02:00
Matthew Shao
ec5061327f [web] Add reducer and actions for option editor. 2017-07-17 13:59:25 +02:00
Matthew Shao
6be1c2efb9 [web] Add simple validation and improve UI. 2017-07-17 13:59:25 +02:00