talos-access / backend

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. test(ta-01): regression test for gate ↔ classroom decouple⁠

    Greg +1: Claude Sonnet 4.6
    5bea392
  11. refactor(ta-01): route teacher attendance + roster through services/attendance⁠

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

    Greg +1: Claude Sonnet 4.6
    238a12d
  13. chore(ta-01): wire photo storage env vars and local volume⁠

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

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

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

    Greg +1: Claude Sonnet 4.6
    d116d3f
  17. chore(ta-01): pin pytest in requirements so tests run after rebuild

    Greg
    0a530b0
  18. fix(ta-01): use libmagic1 apt + python-magic for Linux container⁠

    Greg +1: Claude Opus 4.7 (1M context)
    a965311
  19. feat(ta-01): add photo_pipeline with WebP compression and validation⁠

    Greg +1: Claude Opus 4.7 (1M context)
    34ae3e8
  20. chore(ta-01): add Pillow and python-magic-bin deps for photo pipeline⁠

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

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

    Greg +1: Claude Opus 4.7 (1M context)
    f2358b4
  23. docs(ta-01): warn about photo data loss; tighten FK ondelete

    Greg
    fa350fe
  24. feat(ta-01): migration for photo URL column + attendance attribution

    Greg
    9f37e9c

  1. feat(accounts): add U.E.C Maria Antonia Valero demo account migration⁠

    Greg +1: Claude Opus 4.7 (1M context)
    c4b0d0f
  2. fix(dashboard): 400 on malformed section_ids; harden test cleanup⁠

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

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

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

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

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

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

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

    Greg +1: Claude Opus 4.7 (1M context)
    81106b5
  10. feat(scripts): backfill users.sex for is_demo accounts⁠

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

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

    Greg +1: Claude Opus 4.7 (1M context)
    0f56cb1
  13. test(utils): cover empty-string sex and harden cross-account teardown⁠

    Greg +1: Claude Opus 4.7 (1M context)
    c5d1f72
  14. 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. fix(seed): resolve admin user before referencing in audit samples⁠

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