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@…>