Notifications d'abonnement (et rien d'autre)

- Cloche sur l'accueil (avec le nombre non lu) : qui s'abonne, demande à s'abonner,
  se désabonne, ou accepte ma demande ; accepter/refuser une demande directement depuis la liste
- Serveur (migration 20261127120000, déjà appliquée) : déclencheur sur follows, une ligne par
  personne et par sens, 200 max par compte ; rien entre comptes bloqués ou suspendus ;
  retirer un abonné, bloquer ou supprimer un compte ne notifie pas
- Fonctions get_notifications / unread_notifications / mark_notifications_read (comptes connectés seulement)
- Textes dans les 18 langues

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
This commit is contained in:
Claude committed 2026-11-27 16:09:55 +00:00
1 parent 62e04bd67a
commit c66f0f62a6
23 files changed
+444 -3

No files matched your search

+9
View File
@@ -688,6 +688,15 @@ const dict: Translations = {
'social.requestsTab_other': 'Requests ({count})',
'social.noFollowing': 'Not following anyone yet.',
'social.noFollowers': 'No followers yet.',
'notif.title': 'Notifications',
'notif.empty': 'When someone follows or unfollows you, you\'ll see it here.',
'notif.error': 'Couldn\'t load notifications.',
'notif.newFollower': '{name} followed you',
'notif.followRequest': '{name} asked to follow you',
'notif.unfollow': '{name} unfollowed you',
'notif.followAccepted': '{name} accepted your request',
'notif.unread_one': '{count} new notification',
'notif.unread_other': '{count} new notifications',
'social.accept': 'Accept',
'social.decline': 'Decline',
'social.removeFollower': 'Remove',