Changeset 8ef8c3e in Klonkt for src/middleware


Ignore:
Timestamp:
06/26/2026 09:20:12 AM (2 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
429d3b0
Parents:
46f3dd6
Message:

feat(cirkel): remove the old Cirkels pull-protocol; Cirkels is now AP-only

Phase 4 of the Cirkels-on-AP rework. Removes the legacy custom-Ed25519 pull
protocol and everything around it: /.klonkt/* (federation.js), CircleService +
CircleFederation, the 15-min sync loop, the /admin/circle UI, the remote_posts
union in /cirkel and the /cirkel/:id local-reading page. Tenancy is retired
(getTenancy always 'solo'); the Solo|Circle mode picker is gone. /cirkel is now
purely the auto-boosted (featured) feed. The circle_links/remote_* tables are
kept as dead data. A scripts/migrate-circles.mjs converts existing circle_links
to AP follows with auto-boost (run per instance).

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/middleware/render.js

    r46f3dd6 r8ef8c3e  
    125125    // Cirkel = the artists you feature (auto-boost). Shown when AP is on and you
    126126    // auto-boost ≥1 account, or (legacy) on a circle-tenancy site.
    127     hasCirkel: !!(_site && ((apEnabled() && ActivityPubService.autoBoostCount(_site.slug) > 0) || (res.locals.tenancy || 'solo') === 'circle')),
     127    hasCirkel: !!(_site && apEnabled() && ActivityPubService.autoBoostCount(_site.slug) > 0),
    128128    isViewer: _isViewer,
    129129    canMutate: !_isViewer,
Note: See TracChangeset for help on using the changeset viewer.