sojorn/go-backend/internal/repository
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
..
backup_repository.go Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
category_repository.go Fix UUID casting issues in post, notification, and category repositories 2026-01-31 13:55:59 -06:00
category_repository_test.go Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
chat_repository.go Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
notification_repository.go feat: notification system refinements and api route fixes 2026-02-04 10:51:01 -06:00
post_repository.go feat: notification system refinements and api route fixes 2026-02-04 10:51:01 -06:00
post_repository_test.go Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
tag_repository.go Update terminology, fix search feed, and deploy updates 2026-02-03 21:44:08 -06:00
user_repository.go Implement social graph, circle privacy, and data export system 2026-02-04 16:19:05 -06:00