Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 61 additions & 51 deletions FEATURES.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,14 @@
# OpenClockwork Features

OpenClockwork 2.2.1 provides **Solo** personal work tracking and **Team** time and
OpenClockwork 2.3.0 provides **Solo** personal work tracking and **Team** time and
attendance in one responsive, self-hosted application. Both keep deployment,
data, and configuration under the operator's control, with German and English UI.

Version 2.2.1 adds the Team cockpit, effective-dated contract periods, a
working-time target/actual comparison and new booking approval and correction
workflows. HR can also export working-time data as CSV or PDF for one,
selected or all employees, including inactive employees with historical
bookings. See the
[German legal context and export limitations](docs/WORKING_TIME_EXPORTS.de.md).

This page describes implemented capabilities, not a guarantee that every rule,
device, or external browser handoff has been certified. See
[release notes](RELEASE_NOTES.md) for release-specific validation and
[UPGRADING.md](UPGRADING.md) for operational checks. Version 2.0 marks the
deliberate two-mode product generation; it does not imply that existing Team
installations need a reset or an automatic conversion.

Start with [Operating modes](docs/OPERATING_MODES.md), the
[Solo guide](docs/SOLO_MODE.md), or the [Team guide](docs/TEAM_MODE.md).
Invoices, rates, payments, and CAUR coding-agent usage import/accounting are
**not included**; they remain on the [roadmap](ROADMAP.md).
In Team mode, employees can start and end breaks at enabled QR and PIN
terminals. Employees can see the recorded and assessed times. HR and responsible
managers can review flagged punches. HR can also require terminal booking per
employee. See the [release notes](RELEASE_NOTES.md#openclockwork-v230) and
[upgrade guide](UPGRADING.md).

<p align="center">
<img src="assets/screenshots/tablet/kiosk.png" alt="Paired OpenClockwork tablet kiosk with a rotating QR code" width="100%">
Expand All @@ -35,14 +22,14 @@ Invoices, rates, payments, and CAUR coding-agent usage import/accounting are

## At a glance

| Audience | Main capabilities |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| Solo owner | Personal timer, direct corrections, calendar, customers, billable projects/orders, timesheets, optional effective-dated accounts |
| Employees | Clock in/out, use tablet QR or PIN, book daily targets, manage requests and absences, view calendars and time accounts |
| Managers | Review team requests, handle substitute workflows, approve or return corrections, use bulk actions, inspect project data |
| HR administrators | Manage employees, schedules, leave, projects, reports, terminal methods and PINs, authentication audits, devices, and bootstrap |
| Kiosk devices | Pair once, offer configured QR/PIN methods, request explicit IN/OUT, clear personal data, and use least-privilege device credentials |
| Integrations | Consume documented REST endpoints, generated types, realtime events, ERP exports, and health checks |
| Audience | Main capabilities |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| Solo owner | Personal timer, direct corrections, calendar, customers, billable projects/orders, timesheets, optional effective-dated accounts |
| Employees | Clock in/out, record terminal breaks, book permitted daily targets, manage requests and absences, and view time accounts |
| Managers | Review team requests, booking corrections and flagged punches, use bulk actions, and inspect project data |
| HR administrators | Manage employees, booking permissions, schedules, leave, projects, reports, terminal methods, PINs, and authentication audits |
| Kiosk devices | Pair once, offer QR or PIN, confirm clock-in/out and breaks, clear personal data, and use least-privilege device credentials |
| Integrations | Consume documented REST endpoints, generated types, realtime events, ERP exports, and health checks |

Employee, manager, HR, kiosk, and ERP capabilities in the table refer to Team.
Solo exposes only the owner's authorised personal endpoints; old Team routes
Expand Down Expand Up @@ -142,24 +129,31 @@ device never acts as an employee and cannot call normal HR or time-entry APIs.
| Optional GPS | Run without any geofence, or require a fresh position inside a configured radius and maximum accuracy |
| One-time pairing | Short-lived code and kiosk URL; a new pairing revokes the previous active device |
| Kiosk PWA | Dedicated manifest and full-screen view with time, date, location, custom branding, connection state, and automatic challenge refresh |
| Employee scanner | Explicit clock-in or clock-out choice, camera preview, local QR decoding, and GPS only when the terminal requires it |
| Employee scanner | Select clock-in, clock-out, or an available break action before scanning; use GPS when the terminal requires it |
| Device operations | Last-seen monitoring, re-pairing, immediate device revocation, terminal deactivation, and permanent deletion |
| Time-zone handling | IANA selection with the browser timezone suggested, UTC fallback, and server-side validation |
| PIN identification | Personal number plus separate eight-digit PIN; explicit IN/OUT, shared lockout, short-lived device-bound permission |
| PIN identification | Personal number and separate eight-digit PIN, shared lockout, and short-lived device-bound permission |
| HR PIN management | Generate a random PIN shown once, reset, disable, and unlock; no employee password reuse |
| Shared-screen privacy | Minimal confirmation identity, no employee session, and cleanup after completion, cancellation, inactivity, or background changes |
| Booking confirmation | Explicit clock-in/out after identification; an uncertain response can retry the same operation without creating a second booking |
| Booking confirmation | Confirm the selected PIN action after identification; retry an uncertain response without duplicating the booking |
| Authentication audit | HR-filtered events, restricted runtime role, signed chain, and independent-anchor export/verification tooling |
| Durable audit trail | Historical bookings retain terminal/GPS evidence snapshots even when kiosk-only records are removed |

QR/PIN terminals are included in 2.1.0 and available only in Team mode. Existing
terminals remain QR-only after upgrade until HR changes their configuration.
PIN is optional and requires independent secrets and restricted runtime DB rights.
[PIN operations](docs/TERMINAL_AUTH_OPERATIONS.de.md) documents setup, rotation,
retention, and audit limits. Operators configure and administer the independent
archive; the local file adapter does not provide a WORM guarantee. No PINs,
personal numbers, or booking grants are included in authentication audit events.
RFID readers and badge management remain [planned](ROADMAP.md#4-optional-rfid-terminal-extension).
HR chooses QR, PIN, or both for each Team terminal. Saving a terminal closes
its setup editor, including on first activation. PIN requires independent
secrets and restricted runtime database rights. Operators administer the
independent archive and configure any required write-once retention.
Authentication audit events omit PINs, personal numbers, and booking grants.
See the [PIN operations guide](docs/TERMINAL_AUTH_OPERATIONS.de.md) for setup,
rotation, retention, and audit limits.

HR enables **Record breaks at the terminal** on an assigned work schedule. The
schedule can define scheduled starts, fixed break windows, a short break, and
tolerances. The configuration applies from the next shift. During an open shift,
employees select the break action before scanning QR or choose the available
action on the tablet after PIN identification. **Booking** shows the recorded and
assessed times under **Terminal punches**. See the
[terminal break guide](docs/TERMINAL_AUTH_OPERATIONS.de.md#gestempelte-pausen-und-zeitraster).

The local iPad pilot includes a trusted-HTTPS Compose overlay, generated test
CA/server certificates, loopback-only raw service ports, an Nginx TLS gateway,
Expand All @@ -171,10 +165,10 @@ See [the German iPad setup guide](docs/IPAD_TERMINAL_SETUP.de.md).
| Capability | What it provides |
| --------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| Personal dashboard | Leave balance, overtime account, current booking, open requests, and detected core-time violations |
| Clock in and out | PWA booking with optional GPS, project/service-order selection, and recent booking history |
| Clock in and out | PWA booking with optional GPS and project/service-order selection when direct web time booking is enabled |
| QR terminal booking | Scan a short-lived kiosk challenge and let the server validate identity, replay state, and optional geofence |
| PIN terminal booking | Enter the exact personal number and separate PIN at the tablet, then explicitly confirm clock-in or clock-out |
| Direct daily-target block | With per-employee HR permission, book the contractual daily target as one completed and directly approved block |
| PIN terminal booking | Identify with a personal number and separate PIN, then confirm the available attendance or break action |
| Direct daily-target block | Book the contractual daily target as one approved block when HR enables both direct web and daily-block booking |
| Core-time violation details | Date, affected core window, violation type, boundary, and uncovered minutes |
| Project and service-order booking | Book only to assigned active projects; active service orders become the required booking level |
| Activity per booking | Store a customer-facing description of the work performed |
Expand All @@ -191,6 +185,11 @@ See [the German iPad setup guide](docs/IPAD_TERMINAL_SETUP.de.md).
| Absence records | Record sickness, training, and flextime days without mobile layout overflow |
| Theme preference | Light, dark, or operating-system theme |

**Allow direct web time booking** is enabled by default for new and existing
employees. HR can turn it off per employee to require QR or PIN for clock-in and
clock-out and disable direct daily blocks. The dashboard, booking history, and
requests stay available. See the [Team guide](docs/TEAM_MODE.md#employee-workday).

## Approval workflows (Team)

OpenClockwork models approvals as explicit state transitions instead of one
Expand Down Expand Up @@ -218,8 +217,9 @@ Employee submits
- Corrections to specific existing bookings update the same booking on final
approval and retain the prior and new values in its audit history
- File attachments for supported request types
- Daily-target blocks bypass the workflow only when HR enables the employee and
all schedule, holiday, absence, conflict, frame, and break checks pass
- Daily-target blocks are approved directly when the employee has both booking
permissions and all schedule, holiday, absence, conflict, frame, and break
checks pass

## Team cockpit

Expand All @@ -235,14 +235,18 @@ requests, absences and recorded actions for the selected employee and period.
Actions taken on an employee's behalf record the actor, employee, time, values
and reason. Existing approval requirements apply to those actions.

In **Working times**, responsible managers and HR can confirm an assessed start,
credit the original clock-in, or supply a missing break end. They record a
reason for the review, and the original punches remain visible.

## HR and administration (Team)

| Capability | What it provides |
| ----------------------- | ------------------------------------------------------------------------------------------------------ |
| Employee management | Create, edit, deactivate/reactivate, reset passwords, assign managers, and control direct daily blocks |
| Employee management | Manage employee records, assign managers, reset passwords, and set direct web and daily-block controls |
| Roles | Employee, Manager, and HRAdmin access levels with role-aware navigation and endpoint guards |
| Time models | Full-time, part-time, trust-based working time, and flextime |
| Work schedules | Working-day masks, permitted frames, and multiple named core-time windows |
| Work schedules | Working-day masks, permitted frames, core-time windows, and optional terminal time and break rules |
| Schedule assignment | Assign individual schedules or bulk-assign by time model |
| Leave allowances | Base leave, carry-over, adjustments, expiry dates, and adjustment reasons |
| Holiday calendars | Optional regional presets and custom dates used in target hours and vacation calculations |
Expand Down Expand Up @@ -284,8 +288,10 @@ bookings, and customer-facing activity reports in one administrative workflow.
- Opt-in clock-in and clock-out locations in the report table and CSV export,
combining durable terminal labels with available GPS coordinates and accuracy

PDFs exclude locations, project details, and private notes. Break deductions use
the stored policy and do not establish when actual rest breaks were taken.
PDFs exclude locations, project details, and private notes. For terminal breaks,
the PDF shows the assessed deduction and recorded break duration, with labels
for a corrected or missing break end. Where automatic deductions apply, the PDF
labels them and uses the policy stored with the booking.
See [German export requirements and limitations](docs/WORKING_TIME_EXPORTS.de.md).

Exports contain employee names and working-time data and must be handled as
Expand All @@ -300,6 +306,7 @@ Working-time rules are visible in code and covered by focused tests. Operators
remain responsible for validating their organisation's exact policies.

- Configurable break calculation with explicit thresholds and deduction minutes
- Optional terminal rules for assessed starts and stamped breaks
- Target/actual accounting derived from weekly hours and working-day masks
- Opening overtime balances and employee start dates
- Configurable working frames and multiple core-time windows
Expand Down Expand Up @@ -373,11 +380,13 @@ incident response.
The generated and committed OpenAPI specification lives at
[`apps/api/openapi.json`](apps/api/openapi.json).

- Authenticated employee clock-in/out and terminal scanning
- Authenticated employee clock-in/out, QR terminal actions, and terminal punch
review for responsible managers and HR
- HR terminal/device lifecycle endpoints and least-privilege kiosk endpoints
- HR PIN reset/disable/unlock and paginated authentication audit; device-only
challenge, PIN identification, and explicit booking endpoints
- Employee daily-target capability and direct-block creation
- Per-employee direct web booking permission, plus daily-target eligibility and
block creation
- Paginated ERP time-entry exports with project, service-order, and activity
references
- Socket.IO events for realtime client refreshes
Expand All @@ -393,7 +402,8 @@ in this release.

## Self-hosting and operations

- Dockerfiles for API and web applications
- Node.js 24 LTS application builds and API runtime, with unprivileged nginx
1.30.8 for the web runtime
- Host-independent production Docker Compose with versioned API and web images
- Development Compose and a production-shaped build from source
- Trusted-HTTPS iPad overlay with runtime-configuration validation
Expand All @@ -416,7 +426,7 @@ in this release.
- [Choose an operating mode](docs/OPERATING_MODES.md)
- [Use Solo mode](docs/SOLO_MODE.md)
- [Use Team mode](docs/TEAM_MODE.md)
- [Roadmap: delivered PIN, planned RFID, billing, and agent usage](ROADMAP.md)
- [Delivery history and roadmap](ROADMAP.md)
- [Set up and test an iPad terminal](docs/IPAD_TERMINAL_SETUP.de.md)
- [Operate PIN terminals and verify their audit](docs/TERMINAL_AUTH_OPERATIONS.de.md)
- [Upgrade an existing installation](UPGRADING.md)
Expand Down
Loading