mitmproxy/test
Maximilian Hils 2607487981
Move mitmweb to Vite (#7971)
* Partially Revert "Web: harden `xsrf_token` usage (#7491)"

This reverts commit b761cb46c4.

The reason for this revert is that it's incompatible with Vite's
server (https://github.com/mitmproxy/mitmproxy/issues/7969).

We keep the parts that are compatible, and add an additional
`Sec-Fetch-Site` check for for all requests.

* use type imports for Vite compatibility

* make flow columns work with function name minification

* make modals work with function name minification

* vite: move assets

* web: switch builds to vite

* move to vite

* vite: move css and js

* update CHANGELOG

* [autofix.ci] apply automated fixes

* fix test failures

* fix static viewer

* obtain xsrf cookie lazily

* split js/css bundles into app/vendor

* [autofix.ci] apply automated fixes

* update compiled assets

* fix nits

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-13 18:05:51 +00:00
..
bench
examples introduce new contentview API (#7623) 2025-04-21 14:56:58 +02:00
helper_tools Incorporate existing SNI into allow/ignore decision, fix #5064 (#7002) 2024-07-05 22:19:55 +00:00
mitmproxy Move mitmweb to Vite (#7971) 2025-11-13 18:05:51 +00:00
wg-test-client
__init__.py
conftest.py Run pyupgrade and improve f-strings (#7837) 2025-08-19 20:15:46 +02:00
filename_matching.py
individual_coverage.py Update ruff requirement from <=0.8.6,>=0.5.0 to >=0.5.0,<=0.9.4 (#7528) 2025-02-01 23:21:33 +00:00
run-tests-offline.sh switch to uv (#7662) 2025-04-16 18:38:35 +02:00