as part of this:
- wire up spoilter_text in the backend so that frontend can use it
- add spoiler_text to dummy data (+ related refactoring)
- show spoilter text in the ui (+ related refactoring)
- add/update e2e tests to check spoiler text
by:
- adding MediaGallery
- adding missing controls to video element
- renaming ImageGallery to Image
- fixing video attachments not being correctly recognized
- standardizing mastodon media_attachmen types in mock db init
as part of this change, refactor the ui tests so that they
use lower level backend apis instead of simulating http requests
(this allows us to mock replies as well)
Co-authored-by: Sven Sauleau <sven@cloudflare.com>
Co-authored-by: Dario Piotrowicz <dario@cloudflare.com>
Co-authored-by: André Cruz <acruz@cloudflare.com>
Co-authored-by: James Culveyhouse <jculveyhouse@cloudflare.com>
Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>