Skip to content

v0.2.0 — Offline punching and kiosk devices

Latest

Choose a tag to compare

@clicktrend clicktrend released this 10 Nov 09:19

Offline mode. When the site cannot be reached, the kiosk keeps accepting PIN and badge punches, stores them on the device and books them once the connection is back. Offline punches carry a device-claimed time, so they go through a review queue (Timeclock Queued Punch) and become regular Employee Checkin records only after verification (PIN/badge, clock matched with the server, plausible time, no near duplicate). Everything else waits in quarantine for HR. A service worker lets /kiosk start even after a reboot during an outage.

Kiosk devices. Every terminal registers itself via a 30-second heartbeat (Timeclock Device): online/offline, kiosk build, outdated flag with automatic reload, punches waiting on the device, last sync. Optional email alert after a configurable silence, plus a recovery notice.

Upgrade: bench migrate (two new DocTypes, one custom field on Employee Checkin, new settings). Reload each kiosk once after the upgrade — the 0.1.x bundle cannot reload itself. Set Alert Recipients in Timeclock Settings to receive offline alerts.