Changeset 0091cb7 in Klonkt for src/config/database.js


Ignore:
Timestamp:
06/16/2026 12:59:24 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
efdde37
Parents:
25d4041
Message:

Circles v1 — steps 4+5: Admin UI + /cirkel feed

  • Mode 'Circles' in Admin > Settings (radio + section).
  • Admin > Circle (admin-circle): add sources/list/status, per source Refresh (syncOne) + Delete (cleans up orphaned cache), and a visibility toggle (sites.allow_circle, opt-out for surfacing).
  • /cirkel feed: cached remote_posts as static cards (source/avatar, title, summary, cover, link to source). Only when tenancy=circle.
  • allow_circle column (ensureColumn) + CircleFederation respects it.
  • Output escaped everywhere + URL-scheme guards (http/https) against XSS import.

v1 functionally complete (publish + pull + UI + feed). Remaining: hardening/review.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/config/database.js

    r25d4041 r0091cb7  
    4747  // Per-site Prutter toggle: when off, DM endpoints/UI are hidden for that site.
    4848  ensureColumn('sites', 'enable_prutter', 'INTEGER DEFAULT 1');
     49  // Cirkels: mag deze site in cirkels van anderen verschijnen (surfacing opt-out).
     50  ensureColumn('sites', 'allow_circle', 'INTEGER DEFAULT 1');
    4951
    5052  // v9 audit additions —————————————————————————————————————————
Note: See TracChangeset for help on using the changeset viewer.