sojorn/go-backend/internal/handlers
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
..
analysis_handler.go Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
auth_handler.go feat: notification system refinements and api route fixes 2026-02-04 10:51:01 -06:00
backup_handler.go Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
category_handler.go feat: notification system refinements and api route fixes 2026-02-04 10:51:01 -06:00
chat_handler.go feat: notification system refinements and api route fixes 2026-02-04 10:51:01 -06:00
discover_handler.go feat: notification system refinements and api route fixes 2026-02-04 10:51:01 -06:00
key_handler.go Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
media_handler.go Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
notification_handler.go feat: notification system refinements and api route fixes 2026-02-04 10:51:01 -06:00
post_handler.go feat(notifications): make push messages more specific and include chosen reaction emoji 2026-02-04 13:00:05 -06:00
search_handler.go feat: notification system refinements and api route fixes 2026-02-04 10:51:01 -06:00
settings_handler.go Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
templates.go Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
user_handler.go Implement social graph, circle privacy, and data export system 2026-02-04 16:19:05 -06:00
ws_handler.go Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00