A community based topic aggregation platform built on atproto

refactor: add cursorSecret to community feed repository

- Update NewCommunityFeedRepository to accept cursorSecret parameter
- Enables HMAC-signed cursors for security
- Consistent with timeline and discover feed repos
- Prevents cursor tampering and pagination attacks

Changed files
+1 -1
cmd
server
+1 -1
cmd/server/main.go
···
log.Println("✅ Comment service initialized (with author/community hydration)")
// Initialize feed service
-
feedRepo := postgresRepo.NewCommunityFeedRepository(db)
feedService := communityFeeds.NewCommunityFeedService(feedRepo, communityService)
log.Println("✅ Feed service initialized")
···
log.Println("✅ Comment service initialized (with author/community hydration)")
// Initialize feed service
+
feedRepo := postgresRepo.NewCommunityFeedRepository(db, cursorSecret)
feedService := communityFeeds.NewCommunityFeedService(feedRepo, communityService)
log.Println("✅ Feed service initialized")