Commit graph

11 commits

Author SHA1 Message Date
d36b0f4e46 Refactor FaceAI build process and update Docker configurations to include matcher binary 2026-04-19 11:00:50 +02:00
b13c306883 Enhance FaceAI integration with live checks and metadata handling
- Added optional live FaceAI checks in README.md
- Implemented relative storage segment parsing in race-storage.js
- Updated server.js to include relative directory in race storage
- Refactored legacyAssets.js to resolve asset base URL dynamically
- Expanded live race tests to validate FaceAI app launch and metadata
- Introduced portrait image handling for live upload flow
- Updated faceai_handoff.php to process race storage relative directory
2026-04-19 10:38:32 +02:00
1d1bccdae6 Add Playwright tests for live site authentication and race page loading
- Introduced `auth.setup.js` to handle authentication against the live site and store the session state.
- Created `live-race.spec.js` to test loading a live race page with an authenticated session, including cookie validation.
- Added utility functions in `live-site-test-utils.js` for managing authentication, dismissing cookie banners, and checking UI states.
- Included a temporary JSON file for live state inspection.
- Updated deployment manifest to reflect new and modified files.
- Implemented `_inc_faceai_identity.jsp` for managing FaceAI identity cookies and included it in relevant JSP files.
- Added language management JavaScript in `lang.js`.
- Adjusted `fotoCR-en.jsp` and `fotoCR.jsp` to include the FaceAI identity logic.
- Created a tarball for staging deployment.
2026-04-19 10:26:34 +02:00
9f56dfba1d Add legacy URL handling and update environment configurations 2026-04-19 08:48:15 +02:00
19f0d65896 Updated faceai container 2026-04-19 08:05:21 +02:00
45440026e0 Updated sample readme 2026-04-12 20:16:11 +02:00
fed82d1ae8 End to end tests 2026-04-12 19:31:12 +02:00
c71e4b4cd0 Refactor code structure for improved readability and maintainability 2026-04-12 17:26:17 +02:00
7b30f17065 Updated configurations for deployment 2026-04-12 15:21:33 +02:00
81a1ac85af feat: add processor service with Redis-backed job queue
- Introduced a new `processor` service in the Docker Compose setup to handle face matching jobs.
- Configured Redis as a job queue and state management system for processing searches.
- Updated the backend to enqueue jobs and manage user locks using Redis.
- Added environment variables for Redis configuration and runtime paths.
- Created technical design documentation for the processor service outlining architecture, queue model, and search lifecycle.
- Updated package.json and package-lock.json to include dependencies for BullMQ and ioredis in the processor workspace.
- Added sample PKL files for local testing in the `test_pkl` directory.
2026-04-11 17:53:22 +02:00
da362c201f feat: Add FaceAI integration with handoff and return functionality
- Introduced a new workspace for FaceAI in package.json.
- Implemented FaceAI handoff logic in faceai_handoff.php, including identity verification and token signing.
- Created faceai_return.php to handle return requests from FaceAI, validating tokens and forwarding results.
- Developed faceai_simulator.php and faceai_simulator_view.php for simulating the FaceAI interface with demo photos.
- Enhanced rus-ecom-240621.js to support new FaceAI features, including dynamic URL building and button integration.
- Added faceai_config.php for configuration management, including environment variable handling and utility functions.
- Updated HTML structure and styles in simulator view for better user experience.
2026-04-07 19:53:40 +02:00