Changeset fe97cc3 in Klonkt for CHANGELOG.nl.md


Ignore:
Timestamp:
07/01/2026 10:13:40 PM (2 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
2abd3d2
Parents:
254939c
Message:

feat(fediverse): notification when mentioned in a non-reply post

An inbound Create whose Mention tag targets one of our actors — but which isn't a
reply to our content — was silently ignored. It's now stored and shown in the
fediverse notifications (@ icon, snippet, link to the original note). Only hrefs on
our own base count (a /ap/users/<slug> path on a remote host is someone else's actor).

  • src/config/database.js — ap_mentions table (per-site, UNIQUE(slug, object_uri)).
  • src/services/ActivityPubService.js — localMentionSlugs(tags, base) detection helper (own-base guard, slug must exist, deduped); the Create branch stores a mention per targeted site; getNotifications includes mentions.
  • src/views/pages/fedi-notifications.ejs — mention item (@ icon, content, view-original link).
  • src/services/i18n.js — notif.mentioned (nl/en/de).
  • test/inbound-mentions.test.js — detection guards + notification surfacing.
  • CHANGELOG(.nl/.de).md — "A mention is now a notification" under Added.

Closes prutfolio-src-xgg.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG.nl.md

    r254939c rfe97cc3  
    77
    88### Toegevoegd
     9- **Een vermelding is nu een melding.** Als iemand op de fediverse je noemt in een post — ook
     10  eentje die geen reactie op jou is — verschijnt dat in je fediverse-meldingen met een link naar
     11  het origineel.
    912- **Cover-art op openbaar gedeelde audio.** Een track die je openbaar op de fediverse deelt draagt
    1013  nu z'n cover-art mee (of de post-cover), zodat audiospelers die artwork ondersteunen die tonen in
Note: See TracChangeset for help on using the changeset viewer.