1.3 KiB
v2.14.2: Quote counts; dead files removed
The two remaining items from the v2.14.0 documentation review.
Quote counts
Backfeed stored anonymous quote counts (syndications.quotes_count: all
Threads quotes, and quotes by people who opted out elsewhere) that nothing
displayed. The counts line (partials/responses.html reactions) now has a
quote count after replies: named quotes plus those counts. Its card shows
only the anonymous part ("2 on Threads"); named quotes stay listed under
Responses. Quotes have no web action (there is no standard verb).
webmention_queries.response_counts adds quotes, so lists of notes show
them too.
Removed
static/js/preview.js(empty since the first commit) and the jsDelivrmarkedscript the editor pages loaded with it.templates/feed.xml(empty, never rendered) andstatic/indielogin-test.html(a v1 IndieLogin test page).syndication.get_targets()readTHREADS_APIfrom the config, whichconfig.pynever loads; the client now always uses theTHREADS_APIconstant.
Verification
tests/test_backfeed.py::test_quote_counts_include_anonymous_ones; backfeed,
syndication, admin, template, public-route, microformats, notification,
webmention and feed tests pass. Rendered the counts line with the quote card
open in headless Chromium.