sojorn/go-backend/internal
Patrick Britton 61165000a9 Implement social graph, circle privacy, and data export system
Backend Infrastructure:
- Add circle_members table and is_in_circle() SQL function
- Implement GetFollowers/GetFollowing with pagination and trust scores
- Add complete circle management (add/remove/list members)
- Create comprehensive data export for GDPR compliance

API Endpoints:
- GET /users/:id/followers - List user's followers
- GET /users/:id/following - List users they follow
- POST /users/circle/:id - Add to close friends circle
- DELETE /users/circle/:id - Remove from circle
- GET /users/circle/members - List circle members
- GET /users/me/export - Export all user data as JSON

Note: Circle visibility enforcement in feed queries needs manual completion in post_repository.go GetFeed(), GetPostsByAuthor(), and GetPostByID() methods.
2026-02-04 16:19:05 -06:00
..
config feat: notification system refinements and api route fixes 2026-02-04 10:51:01 -06:00
database Implement social graph, circle privacy, and data export system 2026-02-04 16:19:05 -06:00
handlers Implement social graph, circle privacy, and data export system 2026-02-04 16:19:05 -06:00
middleware Update saved posts route and handler 2026-02-03 16:52:40 -06:00
models feat(notifications): add actor_handle and navigation targets for deep linking 2026-02-04 12:52:16 -06:00
realtime Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
repository Implement social graph, circle privacy, and data export system 2026-02-04 16:19:05 -06:00
services feat(notifications): make push messages more specific and include chosen reaction emoji 2026-02-04 13:00:05 -06:00