Changeset de89079 in Klonkt for test

Timestamp:
07/26/2026 10:56:43 AM (6 weeks ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
c628dcd4
Parents:
42e7616
Message:

C2S: liked/boosted op de inbox-read + followers-only reply-adressering

Voor de Shaer-detailweergave (Like/Boost/Reply): de inbox-read serveert nu per
note shaer:liked/shaer:boosted (uit ap_timeline.liked/boosted), zodat de app de
knop-status toont en kan togglen/undoen. En een reply kan followers-only: als de
client de reply als .friends stuurt, respecteert de outbox dat nu (de auteur in
to + onze volgers in cc, GEEN Public). De standaard-reply blijft quiet-public.

hasGuardians blijft ongewijzigd automatisch gestempeld (keuze Robin).

Changed files:
src/routes/activitypub.js

  • inbox-read: shaer:liked + shaer:boosted per note

src/services/ActivityPubService.js

  • buildNote(isReply): visibility 'friends' -> cc zonder Public (followers-only)
  • deliverReply accepteert visibility en bewaart 'friends' op de ap_outbox-rij
  • ingestOutboxActivity geeft c2sVisibility(object) door aan de reply

New file:
test/c2s-reply-visibility.test.js

  • followers-only reply (auteur+followers, geen Public), quiet-public default, direct-note

remarks: 190 tests groen (was 187).

-robo
Co-Authored-By: Claude Opus 4.8 <noreply@…>

File:
1 added

Note: See TracChangeset for help on using the changeset viewer.