sojorn/go-backend
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
..
cmd Implement social graph, circle privacy, and data export system 2026-02-04 16:19:05 -06:00
internal Implement social graph, circle privacy, and data export system 2026-02-04 16:19:05 -06:00
pkg/utils Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
scripts Update GeoIP setup to create placeholder database with manual installation instructions 2026-02-01 12:36:42 -06:00
.env.example Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
chain_button_fix.patch Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
directus-docker-compose.yml feat: notification system refinements and api route fixes 2026-02-04 10:51:01 -06:00
Dockerfile Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
firebase-service-account.json Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
go.mod fix: removed deprecated fcm dependency and updated firebase sdk 2026-02-04 12:09:49 -06:00
go.sum fix: removed deprecated fcm dependency and updated firebase sdk 2026-02-04 12:09:49 -06:00
login_response.json Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
Makefile Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
nginx_sojorn.conf feat: notification system refinements and api route fixes 2026-02-04 10:51:01 -06:00
seed_suggested.sql Update terminology, fix search feed, and deploy updates 2026-02-03 21:44:08 -06:00