Commit Graph

72 Commits

Author SHA1 Message Date
Maximilian Hils 2945ba925b please the coverage gods 2021-08-20 15:10:14 +02:00
Maximilian Hils 3ad4949c0e fix web tests 2021-08-19 19:15:51 +02:00
zokutyou2@gmail.com a689cbe0b0 fix lintings issue and test 2021-07-13 21:43:28 +09: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
Maximilian Hils a034b7c2c1 replace dropdown with popper.js-based implementation 2021-06-16 22:28:29 +02:00
zokutyou2@gmail.com fffd0017d8 add dropdown submenu 2021-06-13 21:11:52 +09:00
Maximilian Hils 0e9206ceb1 switch to esbuild for bundling 2021-06-09 18:02:05 +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
sanlengjingvv 6968c7dd7c Set jest time zone, otherwise the test will fail in other time zones 2021-03-22 14:11:40 +08:00
Maximilian Hils 60b95d12f2 [web] update gulp to fix nodejs compatibility 2019-12-12 16:28:11 +01:00
Matthew Shao 90d06dcf6f [web] Fix unstable sorting by using 'stable' dependency 2018-02-05 08:28:02 +08:00
Maximilian Hils 01f28bbccb [web] update to react 16.0 2017-10-25 13:35:15 +02:00
Matthew Shao 07b3900ac5 [web] Update react,react-dom,react-test-renderer to 16-beta.3 2017-08-08 21:55:57 +08:00
Maximilian Hils c4804b5fe1 [web] update dependencies 2017-06-12 13:02:15 +02:00
Matthew Shao edd363262c [web] Add mock-xmlhttprequest dependency. 2017-06-08 11:06:24 +08:00
Matthew Shao f295bfd558 [web] Add 'react-test-renderer' dependency. 2017-05-11 08:27:40 +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 63ffd9a3a9 honest js coverage 2017-05-02 11:34:42 +02:00
Matthew Shao a7feced5de [web] Introduce redux-mock-store and minor fix. 2017-04-30 20:00:36 +08:00
cle1000 115a31c9ba change import of prop-types 2017-04-27 10:54:21 +02: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 82ecc5448d [web] Update configuration of jest to avoid deprecation warning 2017-03-22 18:42:46 +08:00
Maximilian Hils 02a563dff1 [web] yarn? yarn. 2017-02-21 16:05:09 +01:00
Maximilian Hils 85476d9915 clean up mitmweb 2016-11-08 17:54:27 +01: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
Maximilian Hils 3aad011988 Merge pull request #1406 from gzzhanghao/fix36
[web] Update view with sortedUpdate
2016-07-27 14:55:08 -07:00
Jason 2b9e5dcd1b [web] change test files 2016-07-27 00:39:01 +08:00
Maximilian Hils 70dbd1b32d web: refactor ContentLoader 2016-07-25 17:03:50 -07:00
Clemens 87797d7ac0 added new btn, changed to codemirror 2016-07-15 14:41:30 +02:00
Clemens f84098554a added code editor and file upload 2016-07-13 18:16:31 +02:00
Clemens 544b1e3238 modify flow content 2016-07-11 19:49:58 +02:00
Jason a782571244 [web] build with envify 2016-06-25 10:43:30 +08:00
Clemens 37475217bf added tests for ui 2016-06-20 21:00:27 -07:00
Jason 99b2b8633d [web] settings store 2016-06-17 05:08:05 +08:00
Maximilian Hils 1fc2db85fa web: fix tests 2016-06-16 03:06:08 -07:00
Maximilian Hils efed5ab967 web: update react 2016-06-05 18:20:51 -07:00
Maximilian Hils d6fcd7e06d web: implement redux store fetching 2016-06-03 18:38:25 -07:00
Maximilian Hils e31aa39fc2 Merge branch 'redux-ducks' 2016-06-02 23:45:36 -07:00
Maximilian Hils 7afac747a8 web: reduxify event log store 2016-06-02 23:40:30 -07:00
Maximilian Hils d84610a41d web: use object spread operator
While the spread operator is not part of ES6, React also uses it for JSX.
It makes sense for us to keep it in other parts of the codebase as well.
2016-06-02 10:24:33 -07:00
Maximilian Hils 9e3591e3c2 add basic redux architecture, convert eventlog to redux 2016-06-02 00:04:10 -07:00
Maximilian Hils 9a76e31f2f add redux as dependency 2016-06-01 22:56:51 -07:00
Maximilian Hils b5e5917f7f web: update dependencies 2016-05-02 14:33:43 -07:00
Israel Blancas 9678240783 gulp-minify-css is deprecated. Adding gulp-clean-css 2016-04-11 16:38:30 -07:00
Jason 1c0496e051 [web] VirtualScroll and AutoScroll helper 2016-03-10 21:40:07 +08:00
Jason 70cde8ccaa [web] Fix eslint warnings about tests 2016-03-02 23:04:13 +08:00