- architecture/: overview, technology stack, auth (OIDC + built-in IndieAuth), syndication (POSSE) rewritten; new database.md, deployment.md and indieweb-protocols.md; legacy stack marked historical - decisions/: reconstructed ADR-060 and ADR-063; 31 status corrections (superseded auth ADRs, proposed -> accepted); INDEX rebuilt - design/: reconstructed the v1.6.0 documents the webmention code cites; reports for 18 v2 releases without a design folder; INDEX rebuilt - projectplan/: BACKLOG rewritten (shipped items removed, open issues from the reviews added); RELEASE.md for v2.0.0-v2.10.1; INDEX - standards/: development setup (uv, tests, DEV_MODE), testing (CI test stage), git and release flow, versioning, coding standards, cookies - README, CLAUDE.md, .env.example (every setting the code reads, with defaults) brought up to date - 137 broken links repaired (old absolute paths, moved files); stale ADR references in code comments corrected (comments only) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2.4 KiB
2.4 KiB
v2.5.0: Likes and reposts
Reconstructed on 2026-11-03 from the changelog and git history. Commit
e8c1b03. Design: ADR-068.
Summary
Micropub like-of and repost-of (optional comment as content), shown on
the site, sent a webmention, and crossposted natively where the target is
on that network. Also fixes outgoing webmention source URLs.
Changes
migrations/013_add_likes_reposts.sql:notes.like_of,notes.repost_of.starpunk/models.py:Note.kind,Note.reacts_to(the liked/reposted URL),Note.feed_html(repost line + comment for feeds).starpunk/micropub.py:extract_url_property(); a post with bothlike-ofandrepost-ofis rejected; content optional for these.starpunk/notes.py: stores the new columns; the reacted-to URL is the first outgoing webmention target and gets a reply context; webmention source URLs built withabsolute_url_for()(fixeshttps://site//note/…).starpunk/routes/public.py: likes excluded from the home page; new/likespage (templates/likes.html, linked in the header);attach_contexts()gives each like/repost its cached reply context.templates/partials/reaction.html(new): "🔁 Reposted" / like line with the target's title and author,u-like-of/u-repost-of.starpunk/feeds/atom.py,rss.py,json_feed.py: likes left out, reposts usefeed_html.starpunk/syndication.py:- GoToSocial:
find_status()resolves fediverse URLs via/api/v2/search?resolve=true; native favourite / reblog, stored asfavourite:<id>/reblog:<id>so deletes undo them. - Bluesky:
resolve_post()recognisesbsky.app/profile/<actor>/post/<rkey>;_react()creates like / repost records, a repost with a comment is a quote post (_record(..., embed=...)). - Otherwise
compose_repost_text()posts "🔁 title url" (+ comment), title from_target_title()(reply-context cache); likes of ordinary pages are not crossposted.
- GoToSocial:
Tests
tests/test_likes_reposts.py (13 tests: storage and display, feeds,
webmention to the target with a clean URL, both kinds rejected, native and
link-post behaviour per target).
Notes
- The GoToSocial token needs
read:searchandwrite:favourites. - Editing a like/repost doesn't change a native favourite/boost.
- Bookmarks were declined here and added in v2.9.0.
- The CHANGELOG and ADR-068 date this release 2026-11-01; the commit and tag are dated 2026-10-31.