Maximilian Hils
30ecc2dfbc
Update Web Dependencies ( #7011 )
...
* update gulp
* update web dependencies
* update typescript
* update testing-library
* update esbuild
* update react
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-13 01:20:15 +02:00
Maximilian Hils
f211ca91be
Adopt ESLint ( #7008 )
...
* adopt eslint
* `eslint --fix`
* optimize imports
* make eslint happy, upgrade some legacy react code
* more eslint fixes
* const indentation
* enforce typescript only
* [autofix.ci] apply automated fixes
* remove no-case-declarations
* better exhaustiveness checking
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-09 11:06:05 +02:00
Maximilian Hils
87d5abd2b0
web: Upgrade Redux ( #6926 )
...
* update redux and fix resulting test and type failures
* update prettier
2024-06-14 00:27:33 +02:00
Maximilian Hils
832e735b0a
Fix clipboard handling in safari ( #6917 )
...
* fix clipboard handling in safari
closes #6911 , #6909
Co-authored-by: Can Yesilyurt <36952967+canyesilyurt@users.noreply.github.com>
* [autofix.ci] apply automated fixes
* update dependencies
---------
Co-authored-by: Can Yesilyurt <36952967+canyesilyurt@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-06-12 14:59:40 +02:00
Maximilian Hils
40ae9ff05b
Update package-lock.json, bump esbuild ( #6915 )
...
update node version, bump esbuild
2024-06-12 11:44:25 +00:00
Alexander Prinzhorn
8e7564e995
Add a prettier npm script ( #5986 )
...
* Add a prettier npm script
* Linting -> Formatting
2023-03-13 12:26:30 +01:00
Alex Gershberg
8f13293771
Add prettier to mitmweb ( #5985 )
...
Co-authored-by: Maximilian Hils <git@maximilianhils.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-03-12 17:50:15 +01:00
Maximilian Hils
3212c3f9ec
WireGuard: Show QR Code ( #5591 )
...
* fixup wireguard config
* mitmweb: add WireGuard QR code
2022-09-19 17:08:07 +02:00
Maximilian Hils
1f6015d72a
web: update dependencies
2021-08-20 18:47:34 +02:00
Maximilian Hils
46cd40f493
web: test coverage++, adjust commandbar
2021-08-20 18:38:22 +02:00
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