Changeset 8ef8c3e in Klonkt for src/services/SettingsService.js


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/services/SettingsService.js

    r46f3dd6 r8ef8c3e  
    4040
    4141export function getTenancy() {
    42   const v = getSetting('tenancy', 'solo');
    43   // 'hub' is removed → coerce legacy values to 'solo'.
    44   return v === 'circle' ? 'circle' : 'solo';
     42  // Tenancy is retired: 'hub' and 'circle' were both removed. Every site is
     43  // 'solo'. Cirkels are now an ActivityPub feature (auto-boost), not a mode.
     44  return 'solo';
    4545}
    4646
    47 export function setTenancy(mode) {
    48   const m = mode === 'circle' ? 'circle' : 'solo';
    49   setSetting('tenancy', m);
     47export function setTenancy() {
     48  setSetting('tenancy', 'solo');
    5049}
    5150
Note: See TracChangeset for help on using the changeset viewer.