Commit History

  1. feat(ta-01): backend-proxy photo URLs so they stop expiring⁠

    Greg +1: Claude Opus 4.7 (1M context)
    8ca1e92
  2. fix(ta-01): re-protect /photos/_debug with admin RBAC

    Greg
    3263790
  3. diag(ta-01): make /photos/_debug public so it's accessible without login

    Greg
    232390f
  4. diag(ta-01): log resolved photo backend + admin /photos/_debug endpoint

    Greg
    ccc4fb4
  5. fix(ta-01): treat blank PHOTO_STORAGE_BACKEND as unset (default to local)

    Greg
    a1c2d97
  6. refactor(ta-01): swap supabase-py for boto3 S3 adapter⁠

    Greg +1: Claude Opus 4.7 (1M context)
    959bccd
  7. feat(ta-01): implement SupabaseStorage adapter with signed URLs⁠

    Greg +1: Claude Opus 4.7 (1M context)
    ea91fea

  1. revert(ta-01): role stays immutable on edit (per user request)

    Greg
    6360fcb
  2. feat(ta-01): allow editing sex and role in user create/edit modal⁠

    Greg +1: Claude Opus 4.7 (1M context)
    bee4db8
  3. feat(ta-01): photo upload + camera capture in user create/edit modal⁠

    Greg +1: Claude Opus 4.7 (1M context)
    9b72922
  4. fix(ta-01): unify all dashboard chart counts as gate+class (deduped)⁠

    Greg +1: Claude Opus 4.7 (1M context)
    1abf246
  5. fix(ta-01): dashboard sex-by-section counts class marks without gate log⁠

    Greg +1: Claude Opus 4.7 (1M context)
    a62864b
  6. feat(ta-01): show sex breakdown (M/F) in admin attendance counter⁠

    Greg +1: Claude Opus 4.7 (1M context)
    4aadf35
  7. fix(ta-01): post-review hardening — traversal guard, dead code, kiosco doc⁠

    Greg +1: Claude Opus 4.7 (1M context)
    0e087c3
  8. feat(ta-01): admin attendance endpoints (sections, roster, swipe, batch-toggle)⁠

    Greg +1: Claude Sonnet 4.6
    138c1eb
  9. feat(ta-01): decouple classroom attendance from gate entrance log⁠

    Greg +1: Claude Sonnet 4.6
    71c3a32
  10. refactor(ta-01): route teacher attendance + roster through services/attendance⁠

    Greg +1: Claude Sonnet 4.6
    6a6810e
  11. feat(ta-01): add attendance service (record_attendance + list_section_roster)⁠

    Greg +1: Claude Sonnet 4.6
    238a12d
  12. feat(ta-01): map face_encodings.photo path to URL in user responses⁠

    Greg +1: Claude Sonnet 4.6
    adcd19e
  13. feat(ta-01): GET /photos endpoint for local storage backend⁠

    Greg +1: Claude Sonnet 4.6
    ccb2eb5
  14. feat(ta-01): POST /users/{id}/photo endpoint with storage + best-effort face encoding⁠

    Greg +1: Claude Sonnet 4.6
    d116d3f
  15. feat(ta-01): add photo_pipeline with WebP compression and validation⁠

    Greg +1: Claude Opus 4.7 (1M context)
    34ae3e8
  16. feat(ta-01): add PhotoStorage abstraction with Local/InMemory/Supabase adapters⁠

    Greg +1: Claude Sonnet 4.6
    9e5f651
  17. feat(ta-01): update FaceEncoding and Attendance models for new columns⁠

    Greg +1: Claude Opus 4.7 (1M context)
    f2358b4

  1. fix(dashboard): 400 on malformed section_ids; harden test cleanup⁠

    Greg +1: Claude Opus 4.7 (1M context)
    fad8e8a
  2. feat(dashboard): add GET /sex-by-section endpoint⁠

    Greg +1: Claude Opus 4.7 (1M context)
    0eebffb
  3. feat(teacher): include present_today in swipe and batch-toggle responses⁠

    Greg +1: Claude Opus 4.7 (1M context)
    43b8be0
  4. fix(teacher): restore return statement in submit_swipe lost during edit⁠

    Greg +1: Claude Opus 4.7 (1M context)
    e3b7903
  5. feat(teacher): add GET /sections/{id}/present-summary for M/F chip⁠

    Greg +1: Claude Opus 4.7 (1M context)
    100eb7b
  6. feat(attendances): report-export CSV ends with M/F totals block⁠

    Greg +1: Claude Opus 4.7 (1M context)
    4d635e1
  7. feat(attendances): today-export CSV ends with M/F totals block⁠

    Greg +1: Claude Opus 4.7 (1M context)
    6720653
  8. feat(reports): late-arrivals CSV ends with M/F totals block⁠

    Greg +1: Claude Opus 4.7 (1M context)
    81106b5
  9. refactor(sex): cleaner import, drop sex= on system users, harden empty input⁠

    Greg +1: Claude Opus 4.7 (1M context)
    5b2025a
  10. feat(seed): assign sex to all seeded users via sex_for helper⁠

    Greg +1: Claude Opus 4.7 (1M context)
    0f56cb1
  11. feat(utils): add count_by_sex helper for M/F/null aggregations⁠

    Greg +1: Claude Opus 4.7 (1M context)
    5fc7b3b

  1. feat(swipe): report students skipped due to missing entrance log⁠

    Greg +1: Claude Opus 4.7 (1M context)
    4205050
  2. feat(holidays): expose GET /holidays/dates endpoint⁠

    Greg +1: Claude Sonnet 4.6
    a2e4db7
  3. feat(teacher-attendance): allow marking outside schedule, structured audit⁠

    Greg +1: Claude Sonnet 4.6
    ca484ca
  4. fix(purge): return 400 instead of 401 on wrong password⁠

    Greg +1: Claude Opus 4.7 (1M context)
    a3df693
  5. feat(purge): backend marks purged account and exposes ack endpoint⁠

    Greg +1: Claude Sonnet 4.6
    a5f2d1b
  6. feat(developer): backend endpoint to purge and re-seed demo account⁠

    Greg +1: Claude Sonnet 4.6
    ddae258
  7. feat(schedule): fit PDF in single page + use plantel name as title⁠

    Greg +1: Claude Opus 4.7 (1M context)
    413032b
  8. fix(timezone): use UTC-aware datetime for DB storage⁠

    Greg +1: Claude Opus 4.7 (1M context)
    4a12934
  9. feat(schedule): spinner, filtered subjects, and teacher name in modal⁠

    Greg +1: Claude Opus 4.7 (1M context)
    fc9e304
  10. fix(dashboard): use string comparison for User.is_active (was boolean)⁠

    Greg +1: Claude Opus 4.7 (1M context)
    d7c5321
  11. perf(section-subjects): eliminate N+1 in GET and PUT /section-subjects⁠

    Greg +1: Claude Opus 4.7 (1M context)
    db14bae
  12. perf(teacher-subjects): eliminate N+1 in GET and PUT /teacher-subjects⁠

    Greg +1: Claude Opus 4.7 (1M context)
    7d5d51b
  13. perf(teacher-sections): eliminate N+1 in GET /teacher-sections⁠

    Greg +1: Claude Opus 4.7 (1M context)
    8c218e0
  14. perf(teacher): eliminate N+1 in /subjects, /sections, /schedule⁠

    Greg +1: Claude Opus 4.7 (1M context)
    bc019a7

  1. perf(representative): eliminate 1+6N in /children with full batch preload⁠

    Greg +1: Claude Opus 4.7 (1M context)
    dcc7429