Changeset 0091cb7 in Klonkt for src/services


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

    r25d4041 r0091cb7  
    7474// aan is_public (aparte expliciete flag volgt in de Beheer-UX-stap).
    7575function allowsCircle(site) {
    76   return !!site && site.is_public !== 0;
     76  return !!site && site.is_public !== 0 && site.allow_circle !== 0;
    7777}
    7878
Note: See TracChangeset for help on using the changeset viewer.