owncast/models
gingervitis 8a74af202d
Update chat message visibility for moderation (#524)
* update message viz in db

* create admin endpoint to update message visibility

* convert UpdateMessageVisibility api to take in an array of IDs to change visibility on instead

* Support requesting filtered or unfiltered chat messages

* Handle UPDATE chat events on front and backend for toggling messages

* Return entire message with UPDATE events

* Remove the UPDATE message type

* Revert "Remove the UPDATE message type"

This reverts commit 3a83df3d492f7ecf2bab65e845aa2b0365d3a7f6.

* update -> visibility update

* completely remove messages when they turn hidden on VISIBILITY-UPDATEs, and insert them if they turn visible

* Explicitly set visibility

* Fix multi-id sql updates

* increate scroll buffer a bit so chat scrolls when new large messages come in

* Add automated test around chat moderation

* Add new chat admin APIs to api spec

* Commit updated API documentation

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: Owncast <owncast@owncast.online>
2020-12-29 13:35:33 -08:00
..
baseAPIResponse.go Disconnect stream Admin API + HTTP Basic Auth (#204) 2020-10-01 18:16:58 -07:00
broadcaster.go Support video-only streams if there is no audio in the inbound stream. (#401) 2020-12-02 00:19:55 -08:00
chatListener.go Update chat message visibility for moderation (#524) 2020-12-29 13:35:33 -08:00
chatMessage.go Update chat message visibility for moderation (#524) 2020-12-29 13:35:33 -08:00
client.go Connected clients admin API (#217) 2020-10-06 23:14:33 -07:00
emoji.go Fix godoc style comments (#356) 2020-11-12 15:14:59 -08:00
nameChangeEvent.go Fix godoc style comments (#356) 2020-11-12 15:14:59 -08:00
pingMessage.go Fix godoc style comments (#356) 2020-11-12 15:14:59 -08:00
playlist.go Fix godoc style comments (#356) 2020-11-12 15:14:59 -08:00
stats.go Fix godoc style comments (#356) 2020-11-12 15:14:59 -08:00
status.go Fix godoc style comments (#356) 2020-11-12 15:14:59 -08:00
storageProvider.go Fix godoc style comments (#356) 2020-11-12 15:14:59 -08:00