-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Major multi-purpose update. #38
base: master
Are you sure you want to change the base?
Conversation
php weather used a now-dead noaa service. The replacement saratoga-weather uses a service which is guaranteed to work for a long time. Plus it looks better. -- added files and added variables to config.inc.php
lots of non-initialized variable causing warnings -- fixed. All mysql calls fixed.
// 12 Hour with or without leading zeros with upper or lower case AM or PM // First digit of hours in 12 hour format can not be > 1. // First digit of minutes can not be > 5 any time. // 24 Hour with or without leading zeros with upper or lower case AM or PM // First digit of hours in 24 hour format can not be > 2. // First digit of minutes can not be > 5 any time. // No am/pm in 24 hour format. No need for case indifferent /i.
these following errors show up when performing certain tasks |
Create some helper functions to prepare/execute and return result objects so that code can move away from stripslashes/addslashes insanity without too much pain. Converted a handful of scripts so far.
…e matches create_tables.sql
Allow barcode clock-in. This required a few changes: - Add a punchnext field to punchlist table which specifies which punch status should be moved to when we scan our barcode. - Add a barcode UNIQUE field to the employees table. - Modify user search to accept barcodes: additionally, I removed the restriction of searching on only a single search term. Terms are now AND-ed together. - Create new configuration options "$barcode_clockin" and "$manual_clockin" which toggle the display of each login form on the main clock-in screen. Due to the creation of the "punchnext" property, the In/Out punch field no longer needs to be filled in even for normal punches (provided the "punchnext" fields have been populated by an administrator). The barcode entry is configured to not auto-complete and is automatically focused on page load, so any barcode scanner or card reader which emulates keyboard input should work fine.
Barcode clock-in
Yes, I know this is a huge pull request, but the mysql touched almost every file. This now runs in php 5.5 with NO ERRORS ANYWHERE