Replies to Mastodon posts showed only the server's domain: the page has no h-entry, so nothing was found and the host stood in for the author. - Context sources in order: Bluesky AppView API, microformats, the origin's Mastodon API or this site's GoToSocial instance, OpenGraph - Migration 024: author_handle, photo, photo_alt, source; rows without a source are fetched again once by the webmention worker - Note page: a card with avatar, name, handle, text, image and date; home/tag/likes: "In reply to <author>" with a short quote - Avatars and images saved locally (CSP allows only this site's images); avatar upkeep now covers reply contexts so their avatars aren't removed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
531 B
SQL
10 lines
531 B
SQL
-- Migration 024: Richer reply contexts (v2.19.0)
|
|
-- Fediverse and Bluesky posts have no microformats, so their context now
|
|
-- comes from the Mastodon or Bluesky API, or the page's OpenGraph tags.
|
|
-- source records which one was used; rows from before have none, and the
|
|
-- webmention worker fetches those again once.
|
|
ALTER TABLE reply_contexts ADD COLUMN author_handle TEXT;
|
|
ALTER TABLE reply_contexts ADD COLUMN photo TEXT;
|
|
ALTER TABLE reply_contexts ADD COLUMN photo_alt TEXT;
|
|
ALTER TABLE reply_contexts ADD COLUMN source TEXT;
|