Commit Graph

774 Commits

Author SHA1 Message Date
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
Matthew Shao c9a7286b60 [web] Imporve indentation. 2017-06-06 14:59:51 +08:00
Matthew Shao bff23275c3 [web] Add tests for js/components/ContentView/ShowFullContentButton.jsx 2017-06-05 10:22:19 +08:00
Matthew Shao 298ac8391e [web] Add tests for js/components/ContentView/MetaViews.jsx 2017-06-05 10:19:09 +08:00
Matthew Shao 46eae0a0b6 [web] Add tests for js/components/ContentView/DownloadContentButton.jsx 2017-06-05 10:17:24 +08:00
Maximilian Hils 465178323f explain codemirror rendering shortcomins 2017-06-02 13:26:21 +02:00
Matthew Shao 950810accb [web] Update tests for js/components/ContentView/ContentViewOptions.jsx 2017-06-02 09:19:44 +08:00
Matthew Shao ef9ee67c19 [web] Add tests for js/components/ContentView/ContentViewOptions.jsx 2017-06-01 20:37:38 +08:00
Matthew Shao de3042911a [web] Add tests for js/components/ContentView/CodeEditor.jsx 2017-06-01 20:33:22 +08:00
Matthew Shao a53875443e [web] Remove mock-xmlhttprequest dependency. 2017-05-31 19:57:34 +08:00
Matthew Shao b16a3ab083 [web] mock components/ContentView 2017-05-31 18:22:28 +08:00
Matthew Shao e1c5f2a93e [web] Add tests for js/components/FlowView/Messages.jsx 2017-05-31 16:04:28 +08:00
Matthew Shao d6e318b41d [web] Add mock-xmlhttprequest as dependency. 2017-05-31 16:00:12 +08:00
Matthew Shao 366d0d6280 [web] Add tests for js/components/FlowView/ToggleEdit.jsx 2017-05-30 21:47:50 +08:00
Matthew Shao f840d018e5 [web] Add tests for js/components/FlowView/Nav.jsx 2017-05-30 21:46:17 +08:00
Matthew Shao 248dde2604 [web] Add tests for js/components/FlowView/Header.jsx 2017-05-30 21:31:08 +08:00
Matthew Shao f2e8e57e1c [web] Add tests for js/components/FlowView/Details.jsx 2017-05-30 21:30:02 +08:00
Matthew Shao a1ef0b697d [web] Add tests for js/components/EventLog/EventList.jsx 2017-05-29 20:39:10 +08:00
Matthew Shao a0ec6f58e9 [web] Update snapshot. 2017-05-29 09:33:36 +08:00
Matthew Shao a0bb64fdd3 [web] Minor fixes. 2017-05-29 09:15:29 +08:00
Matthew Shao 9c90d13149 [web] Add tests for js/components/Header/MainMenu.js 2017-05-28 19:20:09 +08:00
Matthew Shao fbaa842a46 [web] Add tests for js/components/Header/OptionMenu.jsx 2017-05-27 23:12:37 +08:00
Matthew Shao 134331b997 [web] Add tests for js/components/Header/MenuToogle.jsx 2017-05-27 22:56:10 +08:00
Matthew Shao 62d39200d0 [web] Update js/Component/Header/FlowMenu.jsx 2017-05-27 21:43:06 +08:00
Matthew Shao 6abb04c4f8 [web] Add snapshot files. 2017-05-27 21:24:23 +08:00
Matthew Shao ddc03df4f6 [web] Add tests for js/components/Header/FlowMenu.jsx 2017-05-27 21:22:49 +08:00
Matthew Shao cdb256682e [web] Add TStore in js/__tests__/ducks/tutils.js 2017-05-27 21:19:49 +08:00
Matthew Shao b1d29dcaa1 [web] Remove jest-fetch-mock dependency. 2017-05-27 21:13:21 +08:00
Matthew Shao fbdbb097a3 [web] Add tests for js/components/Header/FilterInput.jsx 2017-05-26 18:08:29 +08:00
Matthew Shao 04e2f7e14c [web] Add tests for js/components/Header/FileMenu.jsx 2017-05-26 17:27:36 +08:00
Matthew Shao 1d7e554487 [web] Add tests for js/components/Header/ConnectionIndicator.jsx 2017-05-26 17:25:51 +08:00
Matthew Shao 05d78a8353 [web] js/components/Header/FilterDocs.jsx coverage ++ 2017-05-26 17:23:57 +08:00
Matthew Shao 653505e734 [web] Add tests for js/components/Header/FilterDocs.js 2017-05-23 19:06:57 +08:00
Matthew Shao 8b5160ce58 [web] Add tests for js/components/FlowTable/FlowTableHead.js 2017-05-22 21:32:08 +08:00
Matthew Shao ab564ea5fd [web] Add tests for js/components/FlowTable/FlowRow.js 2017-05-22 21:26:27 +08:00
Matthew Shao 546bac68d4 [web] Fix 100% coverage for js/components/FlowTable/FlowColumns.js 2017-05-22 10:46:03 +08:00
Matthew Shao 2c38fddea5 [web] TFlow minor improved. 2017-05-21 20:59:19 +08:00
Matthew Shao 55a58c4c6f [web] Add js/__tests__/ducks/_tflow.js 2017-05-19 10:17:06 +08:00
Matthew Shao 5df0ddf358 [web] Updates test to use the new _tflow.js. 2017-05-19 09:50:12 +08:00
Matthew Shao 4e4be8bd68 [web] Update snapshot. 2017-05-18 11:14:26 +08:00
Matthew Shao d902b851c8 [web] Minor fixes for component tests. 2017-05-18 10:42:06 +08:00
Matthew Shao d290be2327 [web] Add tests for js/components/FlowTable/FlowColumnsSpec.js 2017-05-17 22:33:29 +08:00
Matthew Shao 22a1709c8b [web] Add a TFlow class to js/ducks/tutils.js
Many Components requires a flow object when being rendered, so we put a TFlow
class here, currently has the minimize structure, only contains the
attributes we needed in the components to be tested.
2017-05-17 22:27:20 +08:00
Matthew Shao 204dea4a2e [web] Add tests for src/js/components/ValueEditor/ValueEditor.js 2017-05-16 23:03:03 +08:00
Matthew Shao d63e01d48d [web] Add tests for js/components/ValueEditor/ValidateEditor.js 2017-05-16 18:00:14 +08:00
Matthew Shao c327ae853c [web] Add tests for js/components/helpers/AutoScroll.js 2017-05-15 17:55:06 +08:00
Matthew Shao 6757eda23a [web] Add tests for js/components/helpers/VirtualScroll.js 2017-05-15 16:44:02 +08:00
Matthew Shao 801f78f3ed [web] Add tests for js/components/common/Splitter.jsx 2017-05-15 10:08:48 +08:00
Matthew Shao 5c5f308a24 [web] Minor fix for FileChooser.jsx 2017-05-13 21:01:59 +08:00
Matthew Shao ace67b5a87 [web] Add tests for js/components/common/ToggleInputButton.jsx 2017-05-12 09:07:28 +08:00
Matthew Shao 2b5a300284 [web] Add tests for js/components/common/ToggleButton.jsx 2017-05-12 09:05:06 +08:00
Matthew Shao 782d564e76 [web] Add tests for js/components/common/FileChooser.jsx & minor fix. 2017-05-12 08:58:37 +08:00
Matthew Shao 9a7ac14654 [web] Add tests for js/components/common/DocsLink.jsx 2017-05-11 10:25:45 +08:00
Matthew Shao ce15501c54 [web] Add tests for js/components/common/Dropdown.jsx 2017-05-11 08:43:50 +08:00
Matthew Shao f295bfd558 [web] Add 'react-test-renderer' dependency. 2017-05-11 08:27:40 +08:00
Matthew Shao f3e5c35b49 [web] Add tests for js/components/common/Button.jsx 2017-05-11 08:19:10 +08:00
Maximilian Hils 537d5fa229 web: do not collect coverage when invoking "jest"
this is annoying when runnig jest --watch=all.
2017-05-09 19:12:56 +02:00
Maximilian Hils 457bc36d7f web: clear mock store actions after each test 2017-05-09 19:10:48 +02:00
Matthew Shao fd24e15bfb [web] Update tests for js/ducks/ui/keyboard.js 2017-05-09 18:55:24 +08:00
Matthew Shao aca30ad8d8 [web] Add tests for js/ducks/ui/keyboard.js 2017-05-09 16:05:41 +08:00
Matthew Shao f327a52029 [web] Add tests for js/__tests__/ducks/ui/indexSpec.js 2017-05-08 09:26:00 +08:00
Matthew Shao 21cdfe835b [web] Add tests for js/ducks/index.js & js/ducks/ui/index.js 2017-05-08 08:53:44 +08:00
Matthew Shao 23f180ba4f [web] Clear up jest.unmock()
Automocking is no longer enable by default, so we don't need to unmock
modules manually.
2017-05-07 21:32:49 +08:00
Maximilian Hils 63ffd9a3a9 honest js coverage 2017-05-02 11:34:42 +02:00
Maximilian Hils 288448c575 Merge pull request #2285 from MatthewShao/jest-dev
[web] Add coverage for js/urlState.js
2017-04-30 18:26:41 +02:00
Matthew Shao 365677006c [web] Export updateUrlFromStore and updateStoreFromUrl 2017-04-30 22:40:58 +08:00
Matthew Shao a7feced5de [web] Introduce redux-mock-store and minor fix. 2017-04-30 20:00:36 +08:00
Maximilian Hils 97a00728a8 [web] add connection tests 2017-04-29 19:43:59 +02:00
Maximilian Hils 8f1b763082 [web] add connection indicator 2017-04-29 19:34:51 +02:00
Matthew Shao f8b76a62ff [web] Add coverage for js/urlState.js 2017-04-28 22:06:17 +08:00
cle1000 115a31c9ba change import of prop-types 2017-04-27 10:54:21 +02:00
Matthew Shao ec7d90f9be [web] Add coverage for js/utils.js, js/flow/utils.js 2017-04-26 17:06:50 +08:00
Matthew Shao 6962a2c3f2 Fix the tests for flows actions. 2017-04-25 19:29:52 +08:00
Matthew Shao dcac976a47 Merge branch 'jest-dev' of https://github.com/MatthewShao/mitmproxy into jest-dev 2017-04-25 19:27:53 +08:00
Maximilian Hils 161cdff25e simplify selectRelative, add example for action testing 2017-04-24 15:13:45 +02:00
Matthew Shao ae71ec1d30 [web] Coverage++ for ducks/flows.js 2017-04-24 14:18:12 +02:00
Matthew Shao 15c19d2bc6 [web] Coverage++ for ducks/flows.js 2017-03-28 20:44:49 +08:00
Matthew Shao 9a604b5cfe [web] Minor fixes for the test. 2017-03-26 21:58:47 +08:00
Matthew Shao 17ac1ff6cb [web] Exclude src/js/filt/filt.js from coverage report. 2017-03-26 21:38:00 +08:00
Matthew Shao de9ecb7c30 [web] Add JS coverage to codecov. 2017-03-26 09:36:18 +08:00
Matthew Shao 31a45ddaaa [web] Reach 100% coverage for ducks/settings.js 2017-03-26 09:34:45 +08:00
Matthew Shao 82ecc5448d [web] Update configuration of jest to avoid deprecation warning 2017-03-22 18:42:46 +08:00
Matthew Shao 20d3ae98e0 [web] Reach 100% coverage for ducks/eventLog.js 2017-03-22 18:32:28 +08:00
Matthew Shao ab2fcbef8d Fix#2184, mitmweb -n dispalys incorrect message. (#2187)
* Fixes #2184, python code.

* Fixes #2184, JavaScript code.

* [web] Update Footer.jsx (#2184)
2017-03-22 01:26:04 +01:00
Maximilian Hils 92e3358915 Merge pull request #2182 from syahn/fix-#2134
Fix #2134
2017-03-19 14:47:50 +01:00
Frank Ahn 125ae2d8f9 Fix #2134 2017-03-18 09:51:05 +09:00
Matthew Shao 6c338c84a6 [web] Reach 100% coverage for ducks/utils/store.js 2017-03-17 17:17:11 +08:00
Maximilian Hils 7a8b362df6 Merge pull request #2156 from syahn/pretty-popup
[web] Adjust pop-up docs position
2017-03-16 18:36:39 +01:00
Frank Ahn 9f8004ed62 Adjust pop-up docs position
- Shift pop-up docs to the right position according to responsiveness
2017-03-15 17:44:52 +09:00
Matthew Shao 48fe32766c [web] Reach 100% coverage for ducks/ui/flow.js 2017-03-15 08:27:42 +08:00
dequis f351d0a307 Match ~d and ~u filters against pretty_host too
Changed the ~u filter in the console UI to match the behavior of
mitmweb, which only matches against pretty_url, never against url.
2017-03-14 01:57:22 -03:00
Maximilian Hils c853091a85 Merge pull request #2137 from MatthewShao/jest-dev
[web] Add tests for ducks/utils/store.js
2017-03-13 16:55:57 +01:00
Matthew Shao 9ce92b1f43 [web] Improve the code style on tests 2017-03-13 22:47:44 +08:00
Matthew Shao 8a734a2613 [web] Fixes the flaw in #2133 2017-03-13 19:34:25 +08:00
Matthew Shao 6d37812928 [web] Add tests for ducks/utils/store.js 2017-03-13 15:56:14 +08:00
Matthew Shao 523cbb02aa [web] Fixes all existed tests 2017-03-11 18:57:32 +08:00
Matthew Shao c4e0ea27a1 [web] Fixes stopEdit action in ducks/ui/flow.js 2017-03-11 17:43:55 +08:00
Matthew Shao da93525d2e [web] remove the tests for abandoned files. 2017-03-10 08:52:11 +08:00
Sachin Kelkar fa96a1d1ef web: Add websocket filter 2017-03-06 10:20:11 +05:30
Maximilian Hils 22154dee5c Merge pull request #2085 from MatthewShao/dev
[web] Add mouse support for FilterInput popover.
2017-03-05 13:07:54 +01:00
Matthew Shao 6a3497f09c [web] Retain focus on input field after selecting. (#2085) 2017-03-04 22:44:13 +08:00
Matthew Shao 9f348122ec [web] fix scroll bug in flow detail. (#2083) 2017-03-04 21:14:46 +08:00
Sachin Kelkar 40943f5618 web: Fix #1888 2017-03-03 16:14:20 +05:30
Matthew Shao 6479bd4e76 [web] Simplify the code. (#2085) 2017-03-03 09:16:26 +08:00
Matthew Shao c397a21980 [web] Add mouse support for FilterInput popover. 2017-03-02 11:09:13 +08:00
Thomas Kriechbaumer 3e9125a3c1 nuke tcp.Address and add proper IPv6 support 2017-02-24 13:39:02 +01:00
Maximilian Hils 02a563dff1 [web] yarn? yarn. 2017-02-21 16:05:09 +01:00
Maximilian Hils 96256579e6 update mitmweb resources 2017-02-21 15:33:13 +01:00
Alireza Mosajjal f77cf03543 add version info to web footer (#2010)
fixes #1893
2017-02-12 10:06:44 +01:00
Maximilian Hils 74c991d70b Merge pull request #2002 from mitmproxy/content_views_edit
Content views edit
2017-02-09 23:21:44 +01:00
cle1000 fb06c66437 remove contentview selector and view description if edit mode is on 2017-02-08 21:09:03 +01:00
cle1000 b4bed57d4c fix show_lines button visible in edit mode if you change tabs 2017-02-08 21:07:40 +01:00
cle1000 dae0c23ec8 fix response body edit issue 2017-02-08 19:57:57 +01:00
Sachin Kelkar 15482e3242 web: Add body filters 2017-01-24 21:28:07 +05:30
Sachin Kelkar 9813294854 Merge NullaryExpr, UnaryExpr and BooleanLiteral 2017-01-23 18:38:49 +05:30
Sachin Kelkar 2b2292f432 web: Add ~src and ~dst filters 2017-01-21 21:48:49 +05:30
Sachin Kelkar bbda53c8b6 web: Add ~http and ~tcp filters 2017-01-20 22:53:37 +05:30
Sachin Kelkar bc8f5a2d71 web: Add ~marked filter 2017-01-20 09:17:09 +05:30
Thomas Kriechbaumer cc9e70e3cc enable HTTP/2 by default 2016-12-26 21:51:10 +01:00
Maximilian Hils d854e08653 [web] various fixes 2016-12-12 00:08:29 +01:00
Maximilian Hils d1c7b203f0 [web] style flow menu 2016-12-11 19:59:54 +01:00
Maximilian Hils 6540aedaab [web] style start menu 2016-12-11 18:49:28 +01:00
Maximilian Hils 795e76eee2 [web] style options menu
The other menus are WIP.
2016-12-11 17:37:11 +01:00
Maximilian Hils b92980efec [web] show proxy address, add websocket toggle 2016-12-11 15:26:49 +01:00
Maximilian Hils 45332006a3 mitmweb: 100% app test coverage, numerous fixes 2016-11-23 22:35:07 +01:00
Maximilian Hils dc75605e46 minor fixes 2016-11-23 01:27:52 +01:00
Maximilian Hils 72dcf70db2 mitmweb: fix event display 2016-11-23 01:27:51 +01:00
Maximilian Hils 77f05178ad mitmweb: minor fixes 2016-11-09 13:01:25 +01:00
Maximilian Hils c2a130dced web: simplify flow storage 2016-11-08 17:55:22 +01:00
Maximilian Hils 85476d9915 clean up mitmweb 2016-11-08 17:54:27 +01:00
Maximilian Hils 62ca896492 fix mitmweb 2016-11-08 17:43:46 +01:00
Maximilian Hils 53ccbaf4f5 Merge pull request #1489 from mitmproxy/web_refactor
Web refactor
2016-08-22 20:52:03 -07:00
Clemens eddc424379 fix dropdown css, add new selection after delete 2016-08-22 08:57:55 +02:00
Clemens bbe6556bfc added tests 2016-08-19 14:12:32 +02:00
Clemens d0b420f383 fix refactoring bug 2016-08-19 09:58:29 +02:00
Clemens d4b18eae81 refactoring 2016-08-19 09:23:41 +02:00
Clemens 66e9db3713 refactor contentviews, dropdown, filemenu and footer 2016-08-18 18:05:38 +02:00
Clemens a416732665 refactor dropdown menu, view selector 2016-08-18 16:44:49 +02:00
Clemens 0f4eb24a8d fix viewselector bug 2016-08-17 12:19:04 +02:00
Clemens cc838f6c28 refactor codeeditor 2016-08-17 12:12:32 +02:00
Clemens 2236ed4ba5 fix deselection on delete, fix toggleInputButton props 2016-08-17 11:07:56 +02:00
Clemens dbec2e0940 refactor flow menu 2016-08-16 13:17:37 +02:00
Clemens 779e5e84e3 refactor file up and download 2016-08-16 12:37:35 +02:00
Clemens 57fafd3281 refactor header_options 2016-08-16 11:57:12 +02:00
Maximilian Hils f9f0ac848e Merge pull request #1483 from gzzhanghao/history
[web] Use history object instead of react-router
2016-08-15 23:13:57 -07:00
Jason 81b726bab1 [web] bug fix 2016-08-16 00:27:57 +08:00
Jason 900b3d74ba [web] fix testRegex 2016-08-15 23:14:29 +08:00
Jason 1d27334ff7 [web] remove react-router 2016-08-15 23:09:45 +08:00
Clemens 8b43972b95 move content to redux, add lines to view 2016-08-10 10:49:27 +02:00
Clemens 6397c4d02f fix css bug 2016-08-09 20:45:36 +02:00
Clemens b27e456ce2 merge with master 2016-08-09 19:49:36 +02:00
Clemens 78bd99f97c little changes in css 2016-08-09 16:15:45 +02:00
Clemens adfdcc9391 added hints from mhils 2016-08-09 08:40:24 +02:00
Clemens ab322f0be4 add sticky footer contentview 2016-08-06 09:09:45 +02:00
Clemens 9b0b007a5d change some style 2016-08-05 12:47:34 +02:00
Clemens a8aa1f2d1c fix get contentview in mitmweb 2016-08-04 09:34:36 +02:00