Repository navigation
v1.2.0 — Full Repo Sync, Android App & Admin 2FA Fix
FoleyTimePro v1.2.0
Full synchronization of the production server to the repository. Every file now in the repo matches what is running live.
Bug Fix
- Admin 2FA (
admin/enable_2fa.php) — Same QR code crash as user 2FA:FoleyTimePro.pngdoesn't exist sorealpath()returnedfalse, passingnullto astring-typed parameter. Fixed with conditional builder pattern using the correctFoleyTimePro-logo.png.
New Files Added to Repo
android-app/— Native Android companion app (Kotlin/Gradle). Includes login, home/dashboard, setup screens, API client, and push notification support.api/— Full REST API v1: authentication (JWT), clock actions, user profile, shifts, time-off, branding, and push notifications.admin/branding.php— Company branding management UI (colors, logo, favicon, background).admin/manage_shifts.php/add_shift.php— Shift management pages.admin/custom_reports.php— Custom report builder.admin/geofences.php— Geofence location management.admin/quickbooks.php— QuickBooks integration.admin/includes/— Shared admin header/footer/nav template files.css/admin-layout.css— Master admin layout stylesheet (used by all admin pages).css/home.css— Kiosk/home styles.functions/get_branding.php— Branding DB helper used across the app.functions/leave_balance.php— Leave balance calculation utilities.functions/geofence.php— Geofence validation helper.manifest.php— Dynamic PWA manifest generator.offline.html— PWA offline fallback page.user/time_off.php— Employee time-off request form.Install/— Full Docker deployment configs, nginx config, and DB migration scripts..gitignore— Now excludes.env,cache/,uploads/,logs/.
Updated Files
All previously tracked files updated to match production: admin pages, user portal, CSS, JS, auth, docs, kiosk.