Sprint merge from lucastargett fork into upstream main#118
Merged
Conversation
…back-orion into Player-Tracking
…file and add init file
…thresholds with recommendations matching SCHEMA.md
Crowd Allocation Risk Zone
…SP1-new implement baseline crowd behaviour analysis
feat: implement video processing and update gitignore and add config and merged with corwd-monitoring branch
crowd detection implementation
update ignore file to allow shared config and add vidoe processing co…
…argett/redback-orion into CM/density-zoning-SP1-new
Cm/density zoning sp1 new
YOLO Model file
Sprint 1: Implement initial heatmap generation
Backend API Gateway - Sprint 1 Complete (Weeks 1-4)
Front-end
Add initial modelling files (Sri)
Player tracking
Crowd monitoring
🔒 Security Scan Results✅ No critical security issues detected. The code has passed all critical security checks. |
Implemented async PostgreSQL setup and user/job models
feat: add safest zone card to crowd monitor
🔒 Security Scan Results✅ No critical security issues detected. The code has passed all critical security checks. |
🔒 Security Scan Results✅ No critical security issues detected. The code has passed all critical security checks. |
- Add RefreshToken model (refresh_tokens table) to track issued tokens per user - Update auth/jwt.py with create_refresh_token and decode_refresh_token functions - Update auth/schemas with RefreshRequest, LogoutRequest, refresh_token in AuthResponse - Add POST /auth/refresh — issues new token pair, revokes old refresh token - Add POST /auth/logout — revokes refresh token in DB - Update login and register to issue both access + refresh tokens - Add REFRESH_TOKEN_EXPIRE_DAYS config (default 7 days) - Update API_CONTRACT.md to v1.1.0 with full refresh token documentation - Add presentation scripts (create_ppt.py, create_individual_ppt.py)
Updated work from last sprint
🔒 Security Scan Results✅ No critical security issues detected. The code has passed all critical security checks. |
Crowd team's merged changes replaced create_engine with create_async_engine which requires asyncpg driver and breaks all backend routes. Restored correct sync setup — all routes use synchronous SQLAlchemy sessions.
- Switch OAuth2PasswordBearer to HTTPBearer in dependencies.py
so Swagger shows a simple Bearer token input instead of
the broken OAuth2 username/password form
- Fix job_id UUID to string serialization in schemas/jobs.py
using field_serializer to prevent 500 error on GET /jobs
and GET /jobs/{job_id}
Backend API Gateway — JWT refresh token, bug fixes and API contract
…zone feat: add avg time spent per zone card to crowd monitor
🔒 Security Scan Results✅ No critical security issues detected. The code has passed all critical security checks. |
🔒 Security Scan Results✅ No critical security issues detected. The code has passed all critical security checks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR includes the latest sprint work from the lucastargett fork:
This merge represents the end of the current bi-weekly sprint and is ready for integration into the upstream repository.