Commit Graph

5 Commits (9605c370ae46829e033177137b99a5c4f7731850)

Author SHA1 Message Date
SYED MUSTUFA AHMED NAQVI 9605c370ae feat: resolve sync targets from DB and harden ISAPI connectivity probes
Add TargetDevice helpers to look up sync machines by IP/machine_id without site-scope filtering, and probe multiple ISAPI paths so 404 on one endpoint is not treated as offline. Include repository lookups used by sync targets.
2026-09-11 15:03:55 +05:00
SYED MUSTUFA AHMED NAQVI e5a3689434 Skip existing face templates and persist updated_by on user upsert
Do not rewrite active non-empty face templates already in DB. On machine-user upsert, set is_deleted=0 and write updated_by.
2026-08-05 15:37:58 +05:00
SYED MUSTUFA AHMED NAQVI 962a2470c2 Require updatedBy on attendance_machine_user upsert API
Extend UpsertMachineUser so callers must supply who updated the row, matching MarkDeleted.
2026-08-05 15:37:03 +05:00
SYED MUSTUFA AHMED NAQVI 9ae838888a Fix attendance_log inserts and extend face-template/user deletion DB APIs
Replace REPLACE/empty ac_no inserts with guarded InsertAttendance (avoids generated ac_no_int cast failures); extend face-template upsert metadata and pending-deletion user queries for machine-scoped delete requests.
2026-07-30 13:19:28 +05:00
SYED MUSTUFA AHMED NAQVI 93b2bf9bd7 Add MySQL-backed HRMS repositories and DB integration configuration.
1) Introduces DB connectivity, repository abstractions, and new config flags/env overrides.

2) Keeps architecture clean and isolated.
2026-04-14 17:12:10 +05:00