276 Commits

Author SHA1 Message Date
41bed0b680 Merge pull request 'feat: Implement directory browsing functionality' (#14) from feature/server-side-folder-browser into dev
All checks were successful
CI / skip-ci-check (pull_request) Successful in 9s
CI / lint-and-type-check (pull_request) Successful in 1m12s
CI / python-lint (pull_request) Successful in 36s
CI / test-backend (pull_request) Successful in 2m33s
CI / build (pull_request) Successful in 3m50s
CI / secret-scanning (pull_request) Successful in 18s
CI / dependency-scan (pull_request) Successful in 18s
CI / sast-scan (pull_request) Successful in 1m30s
CI / workflow-summary (pull_request) Successful in 8s
Reviewed-on: #14
2026-01-30 11:10:45 -05:00
tanyar09
f4bdb5d9b3 feat: Implement directory browsing functionality
Some checks failed
CI / skip-ci-check (pull_request) Successful in 10s
CI / python-lint (pull_request) Has been cancelled
CI / test-backend (pull_request) Has been cancelled
CI / build (pull_request) Has been cancelled
CI / secret-scanning (pull_request) Has been cancelled
CI / dependency-scan (pull_request) Has been cancelled
CI / sast-scan (pull_request) Has been cancelled
CI / workflow-summary (pull_request) Has been cancelled
CI / lint-and-type-check (pull_request) Has been cancelled
- Add `browseDirectory` API endpoint to list directory contents.
- Create `FolderBrowser` component for user interface to navigate directories.
- Update `Scan` page to integrate folder browsing feature.
- Define `DirectoryItem` and `BrowseDirectoryResponse` schemas for API responses.
2026-01-30 16:09:24 +00:00
920fe97c09 Merge pull request 'feature/postgresql-remote-connection-docs' (#13) from feature/postgresql-remote-connection-docs into dev
All checks were successful
CI / skip-ci-check (pull_request) Successful in 8s
CI / lint-and-type-check (pull_request) Successful in 1m10s
CI / python-lint (pull_request) Successful in 36s
CI / test-backend (pull_request) Successful in 2m35s
CI / build (pull_request) Successful in 3m48s
CI / secret-scanning (pull_request) Successful in 16s
CI / dependency-scan (pull_request) Successful in 14s
CI / sast-scan (pull_request) Successful in 1m33s
CI / workflow-summary (pull_request) Successful in 7s
Reviewed-on: #13
2026-01-29 14:54:26 -05:00
tanyar09
6688a654d3 chore: Clean up documentation and update various files
Some checks failed
CI / skip-ci-check (pull_request) Successful in 8s
CI / python-lint (pull_request) Has been cancelled
CI / test-backend (pull_request) Has been cancelled
CI / build (pull_request) Has been cancelled
CI / secret-scanning (pull_request) Has been cancelled
CI / dependency-scan (pull_request) Has been cancelled
CI / sast-scan (pull_request) Has been cancelled
CI / workflow-summary (pull_request) Has been cancelled
CI / lint-and-type-check (pull_request) Has been cancelled
- Remove obsolete documentation files
- Update .env_example
- Update ManageUsers components
- Update pending_photos API
- Add verify-all-users script
2026-01-29 19:52:48 +00:00
tanyar09
6cf5b0dae1 docs: Add PostgreSQL remote connection configuration steps
- Add PostgreSQL remote connection setup section to DEPLOY_FROM_SCRATCH.md
- Update deploy_from_scratch.sh to display PostgreSQL remote connection instructions
- Remove blocking pause from deployment script (informational only)
- Update admin-frontend API client to handle empty VITE_API_URL for proxy setups
2026-01-29 19:51:45 +00:00
tanyar09
31d2415b86 docs: remove issue/symptom/cause sections, keep only configuration steps
Simplify reverse proxy documentation to focus on configuration
instructions only, removing explanatory issue/symptom/cause sections.
2026-01-29 19:33:17 +00:00
tanyar09
e0712ea520 docs: add reverse proxy setup instructions for HTTPS deployment
- Add Step 11 with Caddy and nginx configuration examples
- Update Step 2.2 to explain VITE_API_URL setup for proxy vs direct access
- Add common fix for API requests returning HTML instead of JSON
- Document the critical requirement to route /api/* before static files

This documents the fixes for HTTPS proxy deployment where API requests
were being served as HTML instead of being forwarded to the backend.
2026-01-29 19:30:22 +00:00
fe9dbc77e5 Merge pull request 'docs: add from-scratch deploy script and env templates' (#12) from chore/deploy-script-from-scratch into dev
All checks were successful
CI / skip-ci-check (pull_request) Successful in 7s
CI / lint-and-type-check (pull_request) Successful in 51s
CI / python-lint (pull_request) Successful in 31s
CI / test-backend (pull_request) Successful in 2m30s
CI / build (pull_request) Successful in 3m18s
CI / secret-scanning (pull_request) Successful in 15s
CI / dependency-scan (pull_request) Successful in 13s
CI / sast-scan (pull_request) Successful in 1m24s
CI / workflow-summary (pull_request) Successful in 6s
Reviewed-on: #12
2026-01-28 14:40:07 -05:00
tanyar09
f224a160e3 docs: add from-scratch deploy script and env templates
Some checks failed
CI / skip-ci-check (pull_request) Successful in 7s
CI / python-lint (pull_request) Has been cancelled
CI / test-backend (pull_request) Has been cancelled
CI / build (pull_request) Has been cancelled
CI / secret-scanning (pull_request) Has been cancelled
CI / dependency-scan (pull_request) Has been cancelled
CI / sast-scan (pull_request) Has been cancelled
CI / workflow-summary (pull_request) Has been cancelled
CI / lint-and-type-check (pull_request) Has been cancelled
2026-01-28 19:20:35 +00:00
bfc07fcde5 Merge pull request 'fix: cast date filters in viewer search' (#11) from fix/viewer-search-date-filter into dev
Some checks failed
CI / skip-ci-check (pull_request) Successful in 7s
CI / python-lint (pull_request) Has been cancelled
CI / test-backend (pull_request) Has been cancelled
CI / build (pull_request) Has been cancelled
CI / secret-scanning (pull_request) Has been cancelled
CI / dependency-scan (pull_request) Has been cancelled
CI / sast-scan (pull_request) Has been cancelled
CI / workflow-summary (pull_request) Has been cancelled
CI / lint-and-type-check (pull_request) Has been cancelled
Reviewed-on: #11
2026-01-28 13:17:39 -05:00
tanyar09
1d35f4ab5a fix: cast date filters in viewer search
Some checks failed
CI / skip-ci-check (pull_request) Successful in 7s
CI / python-lint (pull_request) Has been cancelled
CI / test-backend (pull_request) Has been cancelled
CI / build (pull_request) Has been cancelled
CI / secret-scanning (pull_request) Has been cancelled
CI / dependency-scan (pull_request) Has been cancelled
CI / sast-scan (pull_request) Has been cancelled
CI / workflow-summary (pull_request) Has been cancelled
CI / lint-and-type-check (pull_request) Has been cancelled
2026-01-28 18:15:51 +00:00
1eeecbf275 Merge pull request 'feat: Update video thumbnail handling in viewer frontend' (#10) from fix/viewer-video-thumbnails into dev
All checks were successful
CI / skip-ci-check (pull_request) Successful in 7s
CI / lint-and-type-check (pull_request) Successful in 51s
CI / python-lint (pull_request) Successful in 31s
CI / test-backend (pull_request) Successful in 2m27s
CI / build (pull_request) Successful in 3m22s
CI / secret-scanning (pull_request) Successful in 15s
CI / dependency-scan (pull_request) Successful in 12s
CI / sast-scan (pull_request) Successful in 1m27s
CI / workflow-summary (pull_request) Successful in 6s
Reviewed-on: #10
2026-01-28 12:56:59 -05:00
tanyar09
830c7bcaa6 feat: Update video thumbnail handling in viewer frontend
Some checks failed
CI / skip-ci-check (pull_request) Successful in 6s
CI / python-lint (pull_request) Has been cancelled
CI / test-backend (pull_request) Has been cancelled
CI / build (pull_request) Has been cancelled
CI / secret-scanning (pull_request) Has been cancelled
CI / dependency-scan (pull_request) Has been cancelled
CI / sast-scan (pull_request) Has been cancelled
CI / workflow-summary (pull_request) Has been cancelled
CI / lint-and-type-check (pull_request) Has been cancelled
- Refactored video thumbnail generation logic to fetch thumbnails from the backend instead of generating them locally.
- Removed unused placeholder generation code for remote video URLs.
- Improved error handling for backend thumbnail fetch failures, returning appropriate responses.
- Enhanced caching strategy for fetched thumbnails to optimize performance.

These changes streamline the video thumbnail process and improve the overall user experience in the viewer interface.
2026-01-28 17:55:58 +00:00
2f640b7b8d Merge pull request 'feat: Enhance photo and video handling in admin frontend' (#9) from fix/video-range-streaming into dev
All checks were successful
CI / skip-ci-check (pull_request) Successful in 6s
CI / lint-and-type-check (pull_request) Successful in 51s
CI / python-lint (pull_request) Successful in 33s
CI / test-backend (pull_request) Successful in 2m30s
CI / build (pull_request) Successful in 3m22s
CI / secret-scanning (pull_request) Successful in 15s
CI / dependency-scan (pull_request) Successful in 12s
CI / sast-scan (pull_request) Successful in 1m24s
CI / workflow-summary (pull_request) Successful in 6s
Reviewed-on: #9
2026-01-28 12:47:25 -05:00
tanyar09
70923e0ecf feat: Enhance photo and video handling in admin frontend
Some checks failed
CI / skip-ci-check (pull_request) Successful in 7s
CI / python-lint (pull_request) Has been cancelled
CI / test-backend (pull_request) Has been cancelled
CI / build (pull_request) Has been cancelled
CI / secret-scanning (pull_request) Has been cancelled
CI / dependency-scan (pull_request) Has been cancelled
CI / sast-scan (pull_request) Has been cancelled
CI / workflow-summary (pull_request) Has been cancelled
CI / lint-and-type-check (pull_request) Has been cancelled
- Added media_type to PhotoSearchResult interface to distinguish between images and videos.
- Updated PhotoViewer component to support video playback, including URL handling and preloading logic.
- Modified openPhoto function in Search page to open videos correctly.
- Enhanced backend API to serve video files with range request support for better streaming experience.

These changes improve the user experience by allowing seamless viewing of both images and videos in the application.
2026-01-28 17:45:45 +00:00
5b8e22d9d1 Merge pull request 'fix: support HTTPS proxy by using relative API paths' (#8) from fix/https-proxy-api-routing into dev
All checks were successful
CI / skip-ci-check (pull_request) Successful in 1m52s
CI / lint-and-type-check (pull_request) Successful in 2m31s
CI / python-lint (pull_request) Successful in 2m19s
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 2m0s
CI / sast-scan (pull_request) Successful in 3m6s
CI / workflow-summary (pull_request) Successful in 1m50s
Reviewed-on: #8
2026-01-23 14:04:32 -05:00
tanyar09
70cfd63ca1 fix: support HTTPS proxy by using relative API paths
All checks were successful
CI / skip-ci-check (pull_request) Successful in 1m51s
CI / lint-and-type-check (pull_request) Successful in 2m32s
CI / python-lint (pull_request) Successful in 2m16s
CI / test-backend (pull_request) Successful in 4m11s
CI / build (pull_request) Successful in 4m59s
CI / secret-scanning (pull_request) Successful in 1m59s
CI / dependency-scan (pull_request) Successful in 1m58s
CI / sast-scan (pull_request) Successful in 3m7s
CI / workflow-summary (pull_request) Successful in 1m50s
- Update API client to use relative paths when VITE_API_URL is empty
- Fix EventSource URLs to use window.location.origin for proxy compatibility
- Update image/video URL construction to use relative paths
- Add debug logging for API response troubleshooting
- All API calls now work correctly when served through HTTPS proxy

This fixes mixed content errors and allows the admin frontend to work
when accessed via HTTPS domain with reverse proxy (Caddy/nginx).
2026-01-23 18:59:46 +00:00
49ae9728f3 Merge pull request 'chore: Improve CI workflow with retry logic for package installation' (#6) from fix/ci-apt-retry-logic into dev
All checks were successful
CI / skip-ci-check (pull_request) Successful in 1m50s
CI / lint-and-type-check (pull_request) Successful in 2m30s
CI / python-lint (pull_request) Successful in 2m15s
CI / test-backend (pull_request) Successful in 5m6s
CI / build (pull_request) Successful in 4m56s
CI / secret-scanning (pull_request) Successful in 1m57s
CI / dependency-scan (pull_request) Successful in 1m56s
CI / sast-scan (pull_request) Successful in 3m7s
CI / workflow-summary (pull_request) Successful in 1m49s
Reviewed-on: #6
2026-01-22 13:50:49 -05:00
6dc5407e84 Merge pull request 'feat: Enhance photo handling in admin frontend' (#7) from fix/image-urls-and-tag-display into dev
Some checks failed
CI / skip-ci-check (pull_request) Has been cancelled
CI / lint-and-type-check (pull_request) Has been cancelled
CI / python-lint (pull_request) Has been cancelled
CI / test-backend (pull_request) Has been cancelled
CI / build (pull_request) Has been cancelled
CI / secret-scanning (pull_request) Has been cancelled
CI / dependency-scan (pull_request) Has been cancelled
CI / sast-scan (pull_request) Has been cancelled
CI / workflow-summary (pull_request) Has been cancelled
Reviewed-on: #7

     ## Changes

     ### Admin Frontend
     - Fixed image URLs in multiple pages to use absolute backend URLs (port 8000)
     - Added SPA routing support with --single flag in serve.sh
     - Fixed photo links in Tags page to open in new window

     ### Viewer Frontend
     - Fixed tag display in TagSelectionDialog to handle serialized tag names
     - Fixed Prisma field names in tag-linkages route
     - Created upload directory structure for pending photos
2026-01-22 13:44:23 -05:00
tanyar09
afaacf7403 feat: Enhance photo handling in admin frontend
All checks were successful
CI / skip-ci-check (pull_request) Successful in 1m51s
CI / lint-and-type-check (pull_request) Successful in 2m29s
CI / python-lint (pull_request) Successful in 2m15s
CI / test-backend (pull_request) Successful in 4m10s
CI / build (pull_request) Successful in 4m56s
CI / secret-scanning (pull_request) Successful in 1m58s
CI / dependency-scan (pull_request) Successful in 1m57s
CI / sast-scan (pull_request) Successful in 3m3s
CI / workflow-summary (pull_request) Successful in 1m49s
- Added a new API method to fetch photo images as blobs, enabling direct image retrieval.
- Updated image source paths in multiple components to use the base URL from the API client for consistency.
- Implemented cleanup for blob URLs in the ReportedPhotos component to prevent memory leaks.
- Improved user experience by displaying loading states for images in the ReportedPhotos component.

These changes improve the efficiency and reliability of photo handling in the admin interface.
2026-01-22 18:33:44 +00:00
ac05c00bd6 chore: Improve CI workflow with retry logic for package installation
All checks were successful
CI / skip-ci-check (pull_request) Successful in 1m50s
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 4m8s
CI / build (pull_request) Successful in 4m55s
CI / secret-scanning (pull_request) Successful in 1m58s
CI / dependency-scan (pull_request) Successful in 1m55s
CI / sast-scan (pull_request) Successful in 3m2s
CI / workflow-summary (pull_request) Successful in 1m49s
This commit enhances the CI workflow by adding retry logic for package installation in the Debian environment. It addresses transient issues with Debian mirror sync by allowing up to three attempts to install necessary packages, improving the reliability of the CI process. Additionally, it cleans the apt cache before retrying to ensure a fresh attempt.

Also, it removes unused local patterns configuration from the Next.js setup and adds an unoptimized prop to the PhotoGrid component for better image handling based on the URL state.
2026-01-22 11:40:16 -05:00
tanyar09
845273cfd3 Merge branch 'dev' of https://git.levkin.ca/ilia/punimtag into dev
Some checks failed
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 2m15s
CI / test-backend (pull_request) Successful in 4m7s
CI / build (pull_request) Failing after 2m48s
CI / secret-scanning (pull_request) Successful in 1m57s
CI / dependency-scan (pull_request) Successful in 1m54s
CI / sast-scan (pull_request) Successful in 3m3s
CI / workflow-summary (pull_request) Failing after 1m47s
2026-01-21 19:59:27 +00:00
6adc1f4a5c Merge pull request 'feat: Add photo management API endpoints for fetching, favoriting, reporting, and tagging photos' (#5) from fix/photos-paths into dev
All checks were successful
CI / skip-ci-check (pull_request) Successful in 1m49s
CI / lint-and-type-check (pull_request) Successful in 2m29s
CI / python-lint (pull_request) Successful in 2m13s
CI / test-backend (pull_request) Successful in 4m5s
CI / build (pull_request) Successful in 4m56s
CI / secret-scanning (pull_request) Successful in 1m56s
CI / dependency-scan (pull_request) Successful in 1m57s
CI / sast-scan (pull_request) Successful in 3m1s
CI / workflow-summary (pull_request) Successful in 1m47s
Reviewed-on: #5
2026-01-21 14:49:48 -05:00
dd8dd0808e feat: Add photo management API endpoints for fetching, favoriting, reporting, and tagging photos
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
- 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
f879e660a4 Merge pull request 'fix: prevent server crashes during photo processing' (#4) from fix/database-connection-crash-prevention into dev
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 2m17s
CI / test-backend (pull_request) Successful in 4m9s
CI / build (pull_request) Successful in 5m9s
CI / secret-scanning (pull_request) Successful in 1m56s
CI / dependency-scan (pull_request) Successful in 1m55s
CI / sast-scan (pull_request) Successful in 3m0s
CI / workflow-summary (pull_request) Successful in 1m47s
Reviewed-on: #4
2026-01-21 12:58:07 -05:00
f9fafcbb1a fix: prevent server crashes during photo processing
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 2m12s
CI / test-backend (pull_request) Successful in 4m5s
CI / build (pull_request) Successful in 4m53s
CI / secret-scanning (pull_request) Successful in 1m56s
CI / dependency-scan (pull_request) Successful in 1m54s
CI / sast-scan (pull_request) Successful in 3m2s
CI / workflow-summary (pull_request) Successful in 1m48s
- Add database connection health checks every 10 photos
- Add session refresh logic to recover from connection errors
- Improve error handling for database disconnections/timeouts
- Add explicit image cleanup to prevent memory leaks
- Add connection error detection throughout processing pipeline
- Gracefully handle database connection failures instead of crashing

Fixes issue where server would crash during long-running photo processing
tasks when database connections were lost or timed out.
2026-01-21 12:47:37 -05:00
tanyar09
ddc50efd7c Merge branch 'dev' of https://git.levkin.ca/ilia/punimtag into dev 2026-01-19 20:43:09 +00:00
tanyar09
42fbf8d496 chore: Add PM2 ecosystem config to .gitignore
This commit updates the .gitignore file to include the PM2 ecosystem configuration file, ensuring that server-specific paths are ignored during version control. This change helps maintain a cleaner repository by excluding environment-specific configurations.
2026-01-19 20:38:31 +00:00
7d2cd78a9a Merge pull request 'update linting rules to ignore non-critical style issues' (#3) from ci/ignore-linting-errors into dev
All checks were successful
CI / skip-ci-check (pull_request) Successful in 1m46s
CI / lint-and-type-check (pull_request) Successful in 2m25s
CI / python-lint (pull_request) Successful in 2m11s
CI / test-backend (pull_request) Successful in 4m3s
CI / build (pull_request) Successful in 4m54s
CI / secret-scanning (pull_request) Successful in 1m53s
CI / dependency-scan (pull_request) Successful in 1m50s
CI / sast-scan (pull_request) Successful in 2m58s
CI / workflow-summary (pull_request) Successful in 1m45s
Reviewed-on: #3
2026-01-19 15:30:04 -05:00
51081c1b5d chore: Add deployment checklist and PM2 configuration examples
Some checks failed
CI / test-backend (pull_request) Successful in 5m30s
CI / build (pull_request) Has been skipped
CI / secret-scanning (pull_request) Has been skipped
CI / dependency-scan (pull_request) Has been skipped
CI / sast-scan (pull_request) Has been skipped
CI / lint-and-type-check (pull_request) Has been cancelled
CI / python-lint (pull_request) Has been cancelled
CI / workflow-summary (pull_request) Has been cancelled
CI / skip-ci-check (pull_request) Has been cancelled
This commit introduces a new `DEPLOYMENT_CHECKLIST.md` file that outlines the necessary steps for configuring server-specific settings after pulling from Git. It includes instructions for environment files, PM2 configuration, firewall rules, database setup, and building frontends. Additionally, it adds an example `ecosystem.config.js.example` file for PM2 configuration, providing a template for users to customize for their deployment environment. The `.gitignore` file is updated to include the new PM2 ecosystem config file.
2026-01-19 15:20:39 -05:00
5073c22f03 chore: Refine CI workflow output handling for linting and type-checking
All checks were successful
CI / skip-ci-check (pull_request) Successful in 1m42s
CI / lint-and-type-check (pull_request) Successful in 2m21s
CI / python-lint (pull_request) Successful in 2m7s
CI / test-backend (pull_request) Successful in 5m12s
CI / build (pull_request) Successful in 4m45s
CI / secret-scanning (pull_request) Successful in 1m48s
CI / dependency-scan (pull_request) Successful in 1m47s
CI / sast-scan (pull_request) Successful in 2m54s
CI / workflow-summary (pull_request) Successful in 1m39s
This commit improves the CI workflow by modifying the output handling for linting and type-checking processes. It ensures that the results are captured correctly and displayed only if there are errors or warnings, enhancing clarity in the CI logs. Additionally, it updates the flake8 output section to provide a summary when no issues are found, further improving the visibility of code quality checks.
2026-01-16 15:39:32 -05:00
edfefb3f00 chore: Enhance CI workflow with detailed linting and type-checking outputs
Some checks failed
CI / skip-ci-check (pull_request) Successful in 1m42s
CI / lint-and-type-check (pull_request) Successful in 2m21s
CI / python-lint (pull_request) Successful in 2m5s
CI / test-backend (pull_request) Successful in 3m56s
CI / secret-scanning (pull_request) Has been cancelled
CI / dependency-scan (pull_request) Has been cancelled
CI / sast-scan (pull_request) Has been cancelled
CI / workflow-summary (pull_request) Has been cancelled
CI / build (pull_request) Has been cancelled
This commit updates the CI workflow to provide more comprehensive output for linting and type-checking processes. It modifies the commands to capture and display results, including error and warning counts, improving visibility into code quality issues. Additionally, it adds new flake8 error codes to ignore in the Python linting command, ensuring a more robust linting process.
2026-01-16 15:30:54 -05:00
b287d1f0e1 chore: Enhance Python linting rules in CI and package configurations
Some checks failed
CI / skip-ci-check (pull_request) Successful in 1m41s
CI / lint-and-type-check (pull_request) Successful in 2m20s
CI / python-lint (pull_request) Failing after 2m5s
CI / test-backend (pull_request) Successful in 3m55s
CI / build (pull_request) Successful in 4m53s
CI / secret-scanning (pull_request) Successful in 1m49s
CI / dependency-scan (pull_request) Successful in 1m46s
CI / sast-scan (pull_request) Successful in 3m0s
CI / workflow-summary (pull_request) Failing after 1m39s
This commit updates the Python linting rules by adding additional flake8 error codes to ignore in both the CI workflow and the Python linting command in package.json. It also modifies the ESLint configuration for the admin frontend to streamline the linting process by removing the max-warnings restriction.
2026-01-16 15:23:54 -05:00
c8b6245625 chore: Update linting rules for Python and frontend configurations
Some checks failed
CI / skip-ci-check (pull_request) Successful in 1m41s
CI / lint-and-type-check (pull_request) Failing after 2m26s
CI / python-lint (pull_request) Failing after 2m8s
CI / test-backend (pull_request) Successful in 3m55s
CI / build (pull_request) Successful in 4m48s
CI / secret-scanning (pull_request) Successful in 1m49s
CI / dependency-scan (pull_request) Successful in 1m46s
CI / sast-scan (pull_request) Successful in 2m58s
CI / workflow-summary (pull_request) Failing after 1m40s
This commit enhances the linting configurations by adding additional flake8 error codes to ignore in both the CI workflow and the Python linting command in package.json. It also modifies the ESLint configuration for the admin frontend to remove the report for unused disable directives, streamlining the linting process and reducing false positives.
2026-01-16 15:16:39 -05:00
ebde652fb0 update linting rules to ignore non-critical style issues
Some checks failed
CI / skip-ci-check (pull_request) Successful in 1m41s
CI / lint-and-type-check (pull_request) Failing after 2m24s
CI / python-lint (pull_request) Failing after 2m7s
CI / test-backend (pull_request) Successful in 3m58s
CI / build (pull_request) Successful in 4m52s
CI / secret-scanning (pull_request) Successful in 1m49s
CI / dependency-scan (pull_request) Successful in 1m46s
CI / sast-scan (pull_request) Successful in 2m57s
CI / workflow-summary (pull_request) Failing after 1m40s
- Ignore max-len line length errors in ESLint
- Change unused vars/imports to warnings instead of errors
- Ignore flake8 errors: E501, W503, W293, E305, F401, F811, W291
- Prevents CI failures on style-only issues"
2026-01-16 15:02:04 -05:00
9ddd7c04eb chore: Update CI workflow with timeout and enhanced checkout options
Some checks failed
CI / skip-ci-check (pull_request) Successful in 1m36s
CI / lint-and-type-check (pull_request) Failing after 2m14s
CI / python-lint (pull_request) Failing after 1m58s
CI / test-backend (pull_request) Successful in 3m40s
CI / build (pull_request) Successful in 4m34s
CI / secret-scanning (pull_request) Successful in 1m43s
CI / dependency-scan (pull_request) Successful in 1m42s
CI / sast-scan (pull_request) Successful in 2m45s
CI / workflow-summary (pull_request) Failing after 1m35s
This commit modifies the CI workflow to include a timeout of 5 minutes for the skip-ci-check job. Additionally, it updates the checkout step to disable submodules, persist credentials, and clean the workspace, improving the efficiency and reliability of the CI process.
2026-01-12 15:22:40 -05:00
3d410a94a8 test
Some checks failed
CI / skip-ci-check (pull_request) Failing after 8m52s
CI / lint-and-type-check (pull_request) Has been skipped
CI / python-lint (pull_request) Has been skipped
CI / test-backend (pull_request) Has been skipped
CI / build (pull_request) Has been skipped
CI / secret-scanning (pull_request) Has been skipped
CI / dependency-scan (pull_request) Has been skipped
CI / sast-scan (pull_request) Has been skipped
CI / workflow-summary (pull_request) Successful in 1m33s
2026-01-12 14:15:20 -05:00
0400a4575d chore: Add Semgrep ignore file and enhance CI workflow with detailed checks
Some checks failed
CI / skip-ci-check (pull_request) Has been cancelled
CI / lint-and-type-check (pull_request) Has been cancelled
CI / python-lint (pull_request) Has been cancelled
CI / test-backend (pull_request) Has been cancelled
CI / build (pull_request) Has been cancelled
CI / secret-scanning (pull_request) Has been cancelled
CI / dependency-scan (pull_request) Has been cancelled
CI / sast-scan (pull_request) Has been cancelled
CI / workflow-summary (pull_request) Has been cancelled
This commit introduces a Semgrep ignore file to suppress false positives and low-risk findings in the codebase. It also updates the CI workflow to include additional checks for linting and type validation, ensuring a more robust and secure development process. The changes improve the overall clarity and usability of the CI workflow while maintaining code quality standards.
2026-01-12 14:00:01 -05:00
60b6d1df91 chore: Add blank lines to improve readability in multiple files
Some checks failed
CI / skip-ci-check (pull_request) Successful in 1m35s
CI / lint-and-type-check (pull_request) Failing after 2m14s
CI / python-lint (pull_request) Failing after 1m57s
CI / test-backend (pull_request) Successful in 3m42s
CI / build (pull_request) Successful in 4m42s
CI / secret-scanning (pull_request) Successful in 1m42s
CI / dependency-scan (pull_request) Successful in 1m42s
CI / sast-scan (pull_request) Successful in 2m45s
CI / workflow-summary (pull_request) Failing after 1m33s
This commit adds blank lines to the end of several files, including configuration files and scripts, enhancing the overall readability and maintainability of the codebase. Consistent formatting practices contribute to a cleaner and more organized project structure.
2026-01-12 13:26:43 -05:00
c490235ad1 chore: Enhance CI workflow with comprehensive checks for linting, type checking, and testing
Some checks failed
CI / skip-ci-check (pull_request) Successful in 1m34s
CI / lint-and-type-check (pull_request) Failing after 2m13s
CI / python-lint (pull_request) Failing after 2m1s
CI / test-backend (pull_request) Successful in 3m45s
CI / build (pull_request) Successful in 4m43s
CI / secret-scanning (pull_request) Successful in 1m43s
CI / dependency-scan (pull_request) Successful in 1m41s
CI / sast-scan (pull_request) Successful in 2m50s
CI / workflow-summary (pull_request) Successful in 1m34s
This commit updates the CI workflow to include additional checks for ESLint, type checking, and backend tests. It introduces steps to validate the outcomes of these checks, ensuring that any failures will cause the job to fail. This enhancement improves the overall quality control in the CI pipeline, requiring developers to address issues before proceeding with the build process.
2026-01-12 13:08:21 -05:00
29c8a27e01 chore: Remove non-blocking behavior from linting and type checking in CI workflow
All checks were successful
CI / skip-ci-check (pull_request) Successful in 1m35s
CI / lint-and-type-check (pull_request) Successful in 2m11s
CI / python-lint (pull_request) Successful in 2m0s
CI / test-backend (pull_request) Successful in 3m42s
CI / build (pull_request) Successful in 4m43s
CI / secret-scanning (pull_request) Successful in 1m44s
CI / dependency-scan (pull_request) Successful in 1m41s
CI / sast-scan (pull_request) Successful in 2m46s
CI / workflow-summary (pull_request) Successful in 1m34s
This commit updates the CI workflow to remove the `|| true` command from the linting and type checking steps, ensuring that these checks will fail the build process if issues are encountered. This change enforces stricter quality control in the CI pipeline, requiring developers to address linting and type checking errors before proceeding with the build.
2026-01-12 13:00:01 -05:00
0e673bc6d9 chore: Update CI workflow to allow non-blocking linting and type checking
All checks were successful
CI / skip-ci-check (pull_request) Successful in 1m35s
CI / lint-and-type-check (pull_request) Successful in 2m11s
CI / python-lint (pull_request) Successful in 2m0s
CI / test-backend (pull_request) Successful in 3m43s
CI / build (pull_request) Successful in 4m38s
CI / secret-scanning (pull_request) Successful in 1m43s
CI / dependency-scan (pull_request) Successful in 1m40s
CI / sast-scan (pull_request) Successful in 2m48s
CI / workflow-summary (pull_request) Successful in 1m33s
This commit modifies the CI workflow to ensure that linting and type checking steps do not fail the build process. The `|| true` command is added to the respective npm commands, allowing the CI to continue even if these checks encounter issues. This change enhances the flexibility of the CI process, enabling developers to address linting and type checking errors without blocking the overall workflow.
2026-01-12 12:46:16 -05:00
a1e4544a42 refactor: Simplify JUnit XML parsing in CI workflow
Some checks failed
CI / skip-ci-check (pull_request) Successful in 1m34s
CI / lint-and-type-check (pull_request) Failing after 1m44s
CI / python-lint (pull_request) Failing after 1m58s
CI / test-backend (pull_request) Failing after 3m41s
CI / build (pull_request) Successful in 4m38s
CI / secret-scanning (pull_request) Successful in 1m42s
CI / dependency-scan (pull_request) Successful in 1m42s
CI / sast-scan (pull_request) Successful in 2m51s
CI / workflow-summary (pull_request) Successful in 1m33s
This commit refactors the CI workflow to simplify the parsing of JUnit XML test results. The previous multi-line Python script has been replaced with a concise one-liner, reducing complexity and avoiding YAML parsing issues. This change enhances the readability and maintainability of the CI configuration while ensuring accurate test statistics are reported.
2026-01-12 12:32:20 -05:00
4b0a495bb0 chore: Add Semgrep ignore file and CI job status documentation
This commit introduces a Semgrep ignore file to suppress false positives and low-risk findings, particularly for controlled inputs in database scripts and development configurations. Additionally, a new CI Job Status Configuration document is added to clarify which CI jobs should fail on errors and which are informational, enhancing the overall CI/CD process documentation.
2026-01-12 12:25:19 -05:00
bcc902fce2 fix: Update tests to align with API response structure and improve assertions
All checks were successful
CI / skip-ci-check (pull_request) Successful in 1m35s
CI / lint-and-type-check (pull_request) Successful in 2m11s
CI / python-lint (pull_request) Successful in 2m0s
CI / test-backend (pull_request) Successful in 3m42s
CI / build (pull_request) Successful in 4m41s
CI / secret-scanning (pull_request) Successful in 1m42s
CI / dependency-scan (pull_request) Successful in 1m41s
CI / sast-scan (pull_request) Successful in 2m51s
CI / workflow-summary (pull_request) Successful in 1m33s
This commit modifies several test cases to reflect changes in the API response structure, including:
- Updating assertions to check for `tag_name` instead of `tag` in tag-related tests.
- Adjusting the response data checks for bulk add/remove favorites to use `added_count` and `removed_count`.
- Ensuring the photo search test verifies the linked face and checks for the presence of the photo in the results.

These changes enhance the accuracy and reliability of the tests in relation to the current API behavior.
2026-01-12 11:59:24 -05:00
67c1227b55 chore: Add blank lines to improve readability in various files
All checks were successful
CI / skip-ci-check (pull_request) Successful in 1m35s
CI / lint-and-type-check (pull_request) Successful in 2m11s
CI / python-lint (pull_request) Successful in 1m58s
CI / test-backend (pull_request) Successful in 3m57s
CI / build (pull_request) Successful in 4m41s
CI / secret-scanning (pull_request) Successful in 1m42s
CI / dependency-scan (pull_request) Successful in 1m41s
CI / sast-scan (pull_request) Successful in 2m46s
CI / workflow-summary (pull_request) Successful in 1m33s
This commit adds blank lines to the end of several files, including pytest.ini, README.md, and various scripts in the viewer-frontend. These changes enhance the readability and maintainability of the codebase by ensuring consistent formatting.
2026-01-12 11:36:29 -05:00
ca7266ea34 fix: Update photo deletion test to assert deleted_count instead of deleted
The test for photo deletion now checks for "deleted_count" in the response data, ensuring that the count of deleted photos is non-negative. This change aligns the test with the actual API response structure.
2026-01-09 13:00:35 -05:00
79d20ecce8 fix: Update favorite endpoint path from /favorite to /toggle-favorite
The actual API endpoint is /toggle-favorite, not /favorite. Update all
test cases to use the correct endpoint path.
2026-01-09 12:52:51 -05:00
4f21998915 fix: Update tests to match actual API behavior and model structure
- Fix DELETE endpoint test to accept 204 (No Content) status code
- Fix PhotoTag import to PhotoTagLinkage (correct model name)
- Fix Tag model instantiation to use tag_name instead of tag
- Update photo search test to use partial name matching (John instead of John Doe)
2026-01-09 12:51:48 -05:00
6a194d9f62 chore: Update CI workflow to include email-validator for Pydantic email validation
All checks were successful
CI / sast-scan (pull_request) Successful in 2m58s
CI / skip-ci-check (pull_request) Successful in 1m32s
CI / lint-and-type-check (pull_request) Successful in 2m17s
CI / python-lint (pull_request) Successful in 1m57s
CI / test-backend (pull_request) Successful in 3m57s
CI / build (pull_request) Successful in 5m7s
CI / secret-scanning (pull_request) Successful in 1m40s
CI / dependency-scan (pull_request) Successful in 1m38s
CI / workflow-summary (pull_request) Successful in 1m30s
This commit modifies the CI workflow to install the email-validator package as part of the Pydantic dependencies. This addition enhances email validation capabilities within the application, ensuring that email addresses are properly validated during processing.
2026-01-09 12:49:42 -05:00