20 Commits

Author SHA1 Message Date
a8b1c68d97 feat: fix double punch, XSS, add log filtering and Easter egg
- Fix duplicate clock-in: server-side BEGIN IMMEDIATE transaction + client-side punchInFlight guard
- Fix accumulating event listeners: switch persistent containers to onclick property assignment
- Remove insecure JWT_SECRET fallback; server refuses to start without it set
- Add escapeHtml and apply it throughout all innerHTML template literals (XSS prevention)
- Fix calendar iframe URL injection by assigning iframe.src directly
- Add status validation on time-off status update endpoint
- Add date range filtering to admin logs tab and employee time log
- Replace Konami code Easter egg with 7-tap logo trigger (works on all devices)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-28 16:42:34 -04:00
b5cf8f4346 feat: improve calendar layout 2026-02-12 12:45:45 -05:00
0421d840e3 feat: employee calendar tab 2026-02-11 20:52:41 -05:00
61401d8dc7 feat: admin calendar settings preview 2026-02-11 20:15:43 -05:00
eca6f4ece8 feat: Allow individual log archiving
Adds the ability for admins to archive individual time log entries.

- Adds an 'Archive' button to the detailed logs table in the admin UI.
- Adds a new API endpoint  to handle the
  archiving of a single log entry.
- Updates the frontend to call the new endpoint when the 'Archive'
  button is clicked.
2025-11-20 12:50:25 -05:00
9445e9e624 changed wording 2025-08-10 10:25:56 -04:00
a7f8d3b8e0 update mobile buttons again 2025-08-10 10:25:07 -04:00
992f9337ba changed wording 2025-08-10 10:20:57 -04:00
ed41c4d598 update mobile buttons 2025-08-10 10:19:56 -04:00
1cb7942580 update mobile buttons 2025-08-10 10:16:23 -04:00
2492ecf93c add admin time off edit fuctionaliy 2025-08-10 10:12:34 -04:00
772f034914 add admin time off edit fuctionaliy 2025-08-10 10:00:01 -04:00
2a7f0b5762 edit time off requests 2025-08-10 09:51:16 -04:00
4fd18e5ea3 remember tab added 2025-08-10 09:37:46 -04:00
688712e6da remember tab added 2025-08-10 09:36:10 -04:00
2072aa30ef fix dupe fuction in ui.js 2025-08-10 09:23:00 -04:00
cab217cf24 forgot to export function 2025-08-10 09:01:16 -04:00
d41170ab61 fix tab switch after action 2025-08-10 08:58:53 -04:00
c7379f5af3 test tabbed interface 2025-08-09 20:37:52 -04:00
8e1622fad0 off load js and css 2025-08-08 20:36:21 -04:00