punimtag/.gitignore
Tanya dd8dd0808e
All checks were successful
CI / skip-ci-check (pull_request) Successful in 1m49s
CI / lint-and-type-check (pull_request) Successful in 2m28s
CI / python-lint (pull_request) Successful in 2m14s
CI / test-backend (pull_request) Successful in 4m7s
CI / build (pull_request) Successful in 4m58s
CI / secret-scanning (pull_request) Successful in 2m0s
CI / dependency-scan (pull_request) Successful in 1m54s
CI / sast-scan (pull_request) Successful in 3m6s
CI / workflow-summary (pull_request) Successful in 1m47s
feat: Add photo management API endpoints for fetching, favoriting, reporting, and tagging photos
- Implemented GET endpoint to retrieve photo details by ID, including associated faces and tags.
- Added GET endpoint for fetching adjacent photos based on date taken.
- Created POST endpoint to toggle favorites for photos, including user authentication checks.
- Developed POST and GET endpoints for reporting photos, with caching for report statuses.
- Introduced POST endpoint for bulk toggling of favorites.
- Implemented batch processing for checking report statuses.
- Added endpoint for managing tag linkages, including validation and error handling.
- Created upload endpoint for handling photo uploads with size and type validation.

These changes enhance the photo management capabilities of the application, allowing users to interact with photos more effectively.
2026-01-21 14:33:59 -05:00

86 lines
910 B
Plaintext

# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
# Python lib directories (but not viewer-frontend/lib/)
lib/
!viewer-frontend/lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
# Virtual environments
venv/
env/
ENV/
``````````
# Database files (keep structure, ignore content)
*.db
*.sqlite
*.db-journal
data/*.db
data/*.sqlite
# Temporary files
*.tmp
*.temp
temp_face_crop_*.jpg
# IDE``````````
.vscode/
.idea/
*.swp
*.swo
# OS
.DS_Store
Thumbs.db
# Logs
*.log
# Environment variables
.env
.history/
# Photo files and large directories
*.jpg
*.jpeg
*.png
*.gif
*.bmp
*.tiff
*.webp
dlib/
*.dat
*.model
# Node.js
node_modules/
frontend/node_modules/
frontend/.parcel-cache/
# Archive and demo files
archive/
demo_photos/
data/uploads/
data/thumbnails/
# PM2 ecosystem config (server-specific paths)
ecosystem.config.js