mitmproxy/mitmproxy
Matteo Luppi e87f699f8a
Web: search/highlight by body content (#7704)
* Add 'updateFilter' method to the current websocket connection (#7421)

* specify types

* create backend singleton class and remove window.backend

* add example of sending a message through web socket

* back to previous version

* make sendMessage private and add updateFilter function

* send correct messages

* remove console logs

* update snapshot

* remove unrelated stuff

* [autofix.ci] apply automated fixes

* remove console.log

* move the backend update in the redux duck

* remove circular dependency, use window.backend

* improve typing

* remove cyclic dependency on backend instance

* [autofix.ci] apply automated fixes

* type -> icon naming

* remove partial

* back to prev approach and solve cyclic dependencies

* [autofix.ci] apply automated fixes

* nit

* add comment

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Maximilian Hils <git@maximilianhils.com>

* Fix bug when sending a message while CONNECTING (#7467)

* fix problem while connecting + add more tests

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

* web: add server-side filters (#7506)

* fix logic and conflicts

* fix tests

* client side logic to show/hide filters

* move message information inside payload

* leftover

* update filt.peg and filt.js

* [autofix.ci] apply automated fixes

* update existing tests

* [autofix.ci] apply automated fixes

* websocket broadcaster: add send task

this ensures that messages are sent in order

* websocket broadcaster: nits

* filtersUpdated -> filterUpdate

* wip: fixup flows store

* store: move flows off immer

* move flow backend actions

* bench++

* web flows: object -> map/set

* lint!

* tests++, fixes++

* web: tests++, fix sort

* be explicit about missing search filters

* fix flow deletion

* wip

* [autofix.ci] apply automated fixes

* incorporate review feedback

* add tests for view utils

* fix nits

* fix compatibility with nodejs 18

* update app.js

* nits

* [autofix.ci] apply automated fixes

* update app.js

* changelog++

* cov++

* untangle store and backend

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2025-05-23 20:44:33 +02:00
..
addons Fix raw response export incorrectly zeroing non-zero Content-Length header for HEAD requests. (#7701) 2025-05-12 07:20:04 +00:00
contentviews sort contentviews alphabetically (#7679) 2025-04-29 17:36:44 +00:00
contrib
coretypes 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
io
net fix various deprecation warnings (#7687) 2025-05-03 17:55:57 +00:00
platform Bump the mypy group with 2 updates (#7291) 2024-11-02 11:37:18 +00:00
proxy migrate to new contentview API, make DNS interactive (#7670) 2025-04-25 15:17:12 +00:00
script
test migrate to new contentview API, make DNS interactive (#7670) 2025-04-25 15:17:12 +00:00
tools Web: search/highlight by body content (#7704) 2025-05-23 20:44:33 +02:00
utils introduce new contentview API (#7623) 2025-04-21 14:56:58 +02:00
__init__.py
addonmanager.py
certs.py fix various deprecation warnings (#7687) 2025-05-03 17:55:57 +00:00
command.py
command_lexer.py
connection.py Use Python 3.13 for binaries (#7485) 2025-01-16 21:15:31 +00:00
ctx.py
dns.py migrate to new contentview API, make DNS interactive (#7670) 2025-04-25 15:17:12 +00:00
eventsequence.py
exceptions.py
flow.py
flowfilter.py web: misc improvements (#7706) 2025-05-12 19:31:18 +00:00
hooks.py
http.py Fix raw response export incorrectly zeroing non-zero Content-Length header for HEAD requests. (#7701) 2025-05-12 07:20:04 +00:00
log.py
master.py fix use of asyncio.create_task (#7443) 2025-01-06 11:39:15 +01:00
options.py introduce new contentview API (#7623) 2025-04-21 14:56:58 +02:00
optmanager.py
py.typed
tcp.py
tls.py
types.py
udp.py
version.py reopen main for development 2025-05-06 22:12:23 +00:00
websocket.py