Commit Graph

629 Commits

Author SHA1 Message Date
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
Matthew Shao
0b8b943b0b [web] Update tests. 2017-07-17 13:59:25 +02:00
Matthew Shao
73685da78b [web] Try StringSequence update logic and add tooltip. 2017-07-17 13:59:25 +02:00
Matthew Shao
e1ee21d8bb [web] Update test. 2017-07-17 13:59:25 +02:00
Matthew Shao
5df15208d6 [web] Add PureStringSequenceOption type to OptionMaster.jsx 2017-07-17 13:59:25 +02:00
Matthew Shao
4a02822b34 [web] Update OptionMaster. 2017-07-17 15:32:52 +08:00
Matthew Shao
c19a184ba2 [web] Add reducer and actions for option editor. 2017-07-17 15:28:06 +08:00
Matthew Shao
80091c859a [web] Add simple validation and improve UI. 2017-07-15 22:54:33 +08:00
Matthew Shao
73855908da [web] Update tests. 2017-07-10 20:43:59 +08:00
Matthew Shao
89a300fe3e [web] Try StringSequence update logic and add tooltip. 2017-07-10 20:42:24 +08:00
Matthew Shao
1cc143d502 [web] Update test. 2017-07-07 10:20:12 +08:00
Matthew Shao
30fbcfa355 [web] Add PureStringSequenceOption type to OptionMaster.jsx 2017-07-07 10:18:29 +08:00
Matthew Shao
7516f706b4 [web] Update Option Modal UI and its tests. 2017-07-05 18:55:56 +08:00
Matthew Shao
e8f3b740c9 [web] Update css for modal. 2017-07-05 08:46:16 +08:00
Matthew Shao
d889892ba5 [web] List all options in option modal. 2017-07-05 08:45:31 +08:00
Matthew Shao
aa01a62df7 [web] Add keys argument for dump_dict in optmanager. 2017-07-05 08:40:21 +08:00
Matthew Shao
2e6f56c4e7 [web] Try toggle options in option modal. 2017-07-02 12:19:32 +08:00
Matthew Shao
aad0b95cbe [web] Update js/components/Modal/OptionModal.jsx 2017-06-30 21:12:50 +08:00
Matthew Shao
e28f3881dc [web] Update tests for components. 2017-06-30 20:46:50 +08:00
Matthew Shao
7baf3069b1 [web] Update the Structure of Modal component. 2017-06-30 20:46:02 +08:00
Matthew Shao
7a50301af3 [web] Add tests for js/components/Modal/ModalSpec.js 2017-06-29 09:20:11 +08:00
Matthew Shao
daec9854e2 [web] Update __tests__/ducks/tutils.js 2017-06-29 09:06:55 +08:00
Matthew Shao
7784d7cdd0 [web] Add tests for reducors of options and modal. 2017-06-28 22:08:30 +08:00
Matthew Shao
4e8b8bf2ce [web] Add src/css/modal.less 2017-06-28 21:48:49 +08:00
Matthew Shao
febfeb9ef2 [web] Minor update for Modal Component. 2017-06-28 21:48:22 +08:00
Matthew Shao
81c854e909 [web] Update test for js/components/Header/FileMenu.jsx 2017-06-28 18:50:08 +08:00
Matthew Shao
2a9b2a549a [web] Add Option Modal to FileMenu. 2017-06-28 18:49:11 +08:00
Matthew Shao
c0ad25715b [web] Add Modal Component and OptionModal 2017-06-28 18:48:31 +08:00
Matthew Shao
23a2409a87 [web] Add modal to js/ducks/ui/index.js 2017-06-27 22:00:10 +08:00
Matthew Shao
f95dcfd2e5 [web] Add js/ducks/options.js 2017-06-27 21:58:41 +08:00
Matthew Shao
58af3a6ba4 [web] Add js/ducks/ui/modal.js 2017-06-27 21:58:13 +08:00
Matthew Shao
9ff29cdb2b [web] Minor fix and Coverage ++ 2017-06-26 09:49:31 +08:00
Matthew Shao
d2fa4d8341 [web] Add tests for js/components/FlowTable.jsx 2017-06-25 21:15:01 +08:00
Matthew Shao
9f58093954 [web] Add tests for js/components/EventLog.jsx 2017-06-25 21:13:53 +08:00
Matthew Shao
06a0cabb7a [web] Add tests for js/components/ContentView.jsx 2017-06-25 21:12:30 +08:00
Maximilian Hils
c4804b5fe1 [web] update dependencies 2017-06-12 13:02:15 +02:00
Maximilian Hils
99eca6dfed [web] fix contentviews, simplify related logic 2017-06-12 13:01:22 +02:00
Maximilian Hils
c1ba6b6c21 [web] fix stopEdit 2017-06-12 12:57:37 +02:00
Matthew Shao
49a04e37c3 [web] Update ContentLoader class name. 2017-06-12 08:41:40 +08:00
Matthew Shao
d1a40def20 [web] Export PureViewServer in ContentView/ContentView.jsx 2017-06-08 11:26:36 +08:00
Matthew Shao
602ab1a687 [web] Add tests for js/components/ContentView/ContentView.jsx 2017-06-08 11:13:59 +08:00
Matthew Shao
55fd82b8f0 [web] Add tests for js/components/ContentView/ContentLoader.jsx 2017-06-08 11:09:29 +08:00
Matthew Shao
edd363262c [web] Add mock-xmlhttprequest dependency. 2017-06-08 11:06:24 +08:00
Matthew Shao
4d3d18784e [web] Add tests for js/components/ContentView/ViewSelector.jsx 2017-06-06 19:07:35 +08:00
Matthew Shao
3d51595b27 [web] Add tests for js/components/ContentView/UploadContentButton.jsx 2017-06-06 19:04:40 +08:00