Added getSmartLabelInfo data helper to standardize smart domains, paths and keys
Updated migration to use this helper
Updated comment in migration
Updated getSmartLabelInfo to remove trailing slashes from path
Update labels controller to make use of this new helper
Removed some shiz
Removed formatPath, alphbetized data helper functions
Updated smartLabelInfo function to remove www. when creating md5 key
Updated install controller to check if admin in constructor
Updated clean method to use CI db->escape so connection type does not matter
Updated isCommandLine to use CI version
Updated escape to escap_str
Updated marks controller for adding a mark to apply default smart label if a match is found
Removed recreating the smart key and slug from labels.create
Changed formatResults from protected to private
Added a few more methods to plain controller
isAJAX, isSameHost, isInteralAJAX
Updated sessionStart so if internal ajax call it starts the session
Update get method under marks to check in internal ajax call to return json w/o using api route
Added new validation of timestamp to isValid helper
Update users_to_marks model to standardize start/finish times for getTotals
Updated arguments in marks controller to standardize start and finish times for getting marks and totals
many updates
Updated marks.index to NOT get stats on internal ajax calls and api calls to index
Update plain controller so if internalAjax that figureView returns JSON
Removed timestamp validator from validation helper, was wack
Added marks to totals in getTotal method for users to marks model
Fixed issue where users to marks model wasn't getting the actual marks
Added embed to readComplete'
More updates
Added getSystemLabels to label model to easily get system type labels
Update plain controller to add isWebView for easy detection
Update marks controller to add getLabels method
Updated routes for get and totals routes under marks
Fixed route, removed hard coded user if of 5
Fixed some shiz
Added user token detection to know if it iss an API call
Added comment