Commit graph

12 commits

Author SHA1 Message Date
Maximilian Hils
2d28a1b039 release ci: do not eat npm output 2025-11-24 19:06:11 +01:00
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
Justin Su
bbb95a7670
Run pyupgrade and improve f-strings (#7837)
* `pyupgrade --py312-plus **/*.py`

* Use `!r` flag in f-strings

* Remove redundant `str()` on `log.LogEntry.msg`

* Remove redundant `str()` in f-strings

* Use self-documenting f-strings

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-19 20:15:46 +02:00
Maximilian Hils
b646b7ee9d
fixup release script 2024-07-05 17:54:55 +02:00
Maximilian Hils
249eb8c735
release script: add one less newline 2024-06-13 11:19:23 +02:00
Maximilian Hils
2c96c96e75
prefix version tags with 'v' (#6810) 2024-04-19 21:28:05 +02:00
Maximilian Hils
b331ac2520 ensure that we trigger the tag workflow 2023-08-04 11:23:44 +02:00
autofix-ci[bot]
8c2428c9d3
[autofix.ci] apply automated fixes 2022-11-29 13:28:41 +00:00
Maximilian Hils
36dcc2ca0e
ci: simplify release script (#5688) 2022-10-28 17:02:12 +02:00
Maximilian Hils
8a79f61790 ci: fixup release permissions 2022-10-28 14:39:57 +02:00
Maximilian Hils
420d7f1cea ci: add option to skip status checks for releases 2022-10-28 14:39:57 +02:00
Maximilian Hils
58863cfb62
add more release automation (#5674) 2022-10-24 17:06:40 +02:00