Skip to content

Develop#44

Open
wailbentafat wants to merge 48 commits into
mainfrom
develop
Open

Develop#44
wailbentafat wants to merge 48 commits into
mainfrom
develop

Conversation

@wailbentafat
Copy link
Copy Markdown
Collaborator

No description provided.

Tyjfre-j and others added 30 commits March 25, 2026 16:31
* feat : add compute_event_embedding to FaceEmbeddingService

* chore: add .venv to gitignore

---------

Co-authored-by: bentafat wail <150479778+wailbentafat@users.noreply.github.com>
* feat: return all detected faces with embeddings

* feat: add batch face embedding service

* feat: add batch face embeddings endpoint

* chore: register batch face embeddings router

* feat: wire batch face embedding service in container

* feat: add photo_faces upsert query

* chore: add generated photo_faces querier

* feat: add batch face embeddings request schema

* feat: add batch face embeddings response schema

* fix: match photo_faces upsert signature

* fix: commit/rollback per face and serialize bbox floats

* feat: wire batch queue service into container

* chore: add face-embedding stream settings

* feat: add batch embeddings subject and ensure stream

* feat: switch batch endpoint to enqueue jobs (202)

* feat: add batch face embedding request DTO

* feat: add batch face embedding enqueue response

* feat: add batch face embedding job DTO

* feat: enqueue batch face embedding jobs to JetStream

* feat: add JetStream worker for batch face embeddings

* chore: migrate photo_faces embedding to 512 dims

* chore: merge alembic heads

* chore: add sql up/down for photo_faces embedding dim change

* chore: centralize shared content-type and url constants

* chore: use default content type constant in MinIO

* chore: use default content type constant in enrollment

* chore: use constants for content type and source parsing

* fix: refactor batch face embedding flow for clarity

* chore: update generated db queriers

* Add token blacklist and blocked checks in auth

* Add admin user CRUD and block/unblock endpoints

* Use settings and consistent DB error handling in user service

* chore: remove token blacklist helpers

* chore: remove legacy batch face worker

* feat: add single-face match worker

* refactor: move single-face worker into folder

* refactor: move single-face worker into folder

* feat: harden single-face match processing

* chore: improve worker shutdown behavior

* refactor: move constants into core

* refactor: move settings into config

* refactor: use core constants for MinIO buckets

* refactor: use core constants for Google URLs

* refactor: load face model settings from config

* refactor: use config for MinIO retries

* WIP: save work before rebase

* Bon.
* add staged upload review workflow

* clean up generated files and alembic metadata

* improve google drive callback flow

* Add grouped Google Drive folder import for staff uploads

* Fix mypy issues
* feat : add group photo processor worker

* feat : add photo group process event schema

* feat: add photo_approvals db querier

* feat: add list_users_with_embedding db query

* feat: add list_users_with_embedding querier method

* feat: add photo group process nats subject

* feat: implement PhotoGroupProcessWorker main logic

* feat: group photo processor worker + tests

* fix: lint/code style cleanup

* feat : add ListUsersWithEmbedding sql query

* feat : create photoapproval sql query

* fix : remove db/generated/photo_approvals.py

* fix : remove db/generated/user.py

* fix : edit db/queries/photo_approvals.sql

* fix : edit db/queries/user.sql

* fix : fix what the worker sends

* fix : chore: add photo_approvals sql query and regenerate db/generated

* fix : update main.py

* fix : resolve lint and type check issues

* fix: remove useless face_embedding test

* fix: missing user_id in photoface

* fix: remove bbox=none creation

* fix: fixed errors

* fix: extend photo_faces.sql

* fix: created photo_approval insert

* fix: moved logic to DB

* refactor: simplify service layer after moving logic to DB

* fix: use enum for photo approval decision in service layer

* fix: fix syntax errors

* fix: update main.py

* fix: clarify threshold value

* refactor: move face matching logic to db level using insert_photo_face_with_approval

* fix: inject notification service, fix logic order
wailbentafat and others added 18 commits April 1, 2026 00:32
…in upload request services, and remove unused sqlc binary
…lement dynamic push token resolution for notifications
…omated image cleanup in photo worker, while removing redundant venv script.
…dit logging for mobile authentication events
* Fix local app startup issues

* Process Drive folder uploads asynchronously in a worker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants