Disconnect streaming sessions when token is revoked
authorTusooa Zhu <tusooa@kazv.moe>
Fri, 19 Aug 2022 17:19:38 +0000 (13:19 -0400)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Sat, 27 Aug 2022 18:07:48 +0000 (19:07 +0100)
commit95e4018c1a17bd96331cdeb19d1c62a599061351
tree062c83ec011aa32b08d46a0a1e92d029457be637
parent772c209914d5cbfd4f763edc266d0f1541f656f8
Disconnect streaming sessions when token is revoked

Use Websockex to replace websocket_client

Test that server will disconnect websocket upon token revocation

Lint

Execute session disconnect in background

Refactor streamer test

allow multi-streams

rebase websocket change
lib/pleroma/application.ex
lib/pleroma/web/mastodon_api/websocket_handler.ex
lib/pleroma/web/o_auth/token/strategy/revoke.ex
lib/pleroma/web/streamer.ex
mix.exs
mix.lock
test/pleroma/integration/mastodon_websocket_test.exs
test/pleroma/web/streamer_test.exs
test/support/websocket_client.ex