feat: infinite scroll, HEIC support, likes fix, security & backup #1

Merged
HeagBoKaT merged 1 commits from claude/sleepy-shirley-adfe57 into main 2026-06-26 00:19:56 +03:00
Owner
  • Fix liked hearts not showing after page reload (sync useEffect in CatCard)
  • Replace pagination with infinite scroll (useInfiniteQuery + IntersectionObserver)
  • Add HEIC/HEIF/AVIF image support with sharp conversion to JPEG on upload
  • Validate MIME type alongside file extension to prevent spoofing
  • Limit caption to 500 chars; increase upload size limit to 20MB
  • Delete physical file from uploads/ when post is removed (cats + admin routes)
  • Add WAL journal mode and graceful shutdown (SIGTERM/SIGINT) to db
  • Add rate limiter for upload endpoint (10 req / 15 min)
  • Add pre-deploy backup of data.db and uploads/ to deploy.sh (keeps last 10)
  • Add plan_modernization.md with ideas for future improvements

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

- Fix liked hearts not showing after page reload (sync useEffect in CatCard) - Replace pagination with infinite scroll (useInfiniteQuery + IntersectionObserver) - Add HEIC/HEIF/AVIF image support with sharp conversion to JPEG on upload - Validate MIME type alongside file extension to prevent spoofing - Limit caption to 500 chars; increase upload size limit to 20MB - Delete physical file from uploads/ when post is removed (cats + admin routes) - Add WAL journal mode and graceful shutdown (SIGTERM/SIGINT) to db - Add rate limiter for upload endpoint (10 req / 15 min) - Add pre-deploy backup of data.db and uploads/ to deploy.sh (keeps last 10) - Add plan_modernization.md with ideas for future improvements Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
HeagBoKaT added 1 commit 2026-06-26 00:19:48 +03:00
- Fix liked hearts not showing after page reload (sync useEffect in CatCard)
- Replace pagination with infinite scroll (useInfiniteQuery + IntersectionObserver)
- Add HEIC/HEIF/AVIF image support with sharp conversion to JPEG on upload
- Validate MIME type alongside file extension to prevent spoofing
- Limit caption to 500 chars; increase upload size limit to 20MB
- Delete physical file from uploads/ when post is removed (cats + admin routes)
- Add WAL journal mode and graceful shutdown (SIGTERM/SIGINT) to db
- Add rate limiter for upload endpoint (10 req / 15 min)
- Add pre-deploy backup of data.db and uploads/ to deploy.sh (keeps last 10)
- Add plan_modernization.md with ideas for future improvements

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
HeagBoKaT merged commit 7141d40826 into main 2026-06-26 00:19:56 +03:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: HeagBoKaT/cats#1