This repository has been archived on 2026-03-21. You can view files and clone it, but cannot push or open issues or pull requests.
payfrit-biz/api
John Mizerek 3a9f952d8b Fix Toast __OO_STATE__ extraction: remove tag stripping and var keywords
Tag stripping via reReplace on 1.7M HTML was likely causing the silent
failure on biz server. Brace-counting doesn't need tag stripping since
HTML tags don't contain { or } and attribute quotes come in balanced
pairs. Also removed var keywords from page-level cfscript (may not be
supported in Lucee at template level) and added detailed error output
to the cfcatch for debugging.

Also auto-detect dev/prod environment from hostname instead of
hardcoded flag.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 20:28:02 -08:00
..
addresses Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
admin Add TaskTypeID to fixOrder task insert 2026-02-15 16:34:55 -08:00
app Update about screen content 2026-02-16 18:36:15 -08:00
assignments Add sharding support to beacon list and assignments APIs 2026-02-08 12:34:49 -08:00
auth Fix cancel task to not cancel order, standardize OTP messages 2026-02-17 11:11:37 -08:00
beacon-sharding Add get_beacon_config endpoint — single call for all beacon config 2026-03-01 11:20:16 -08:00
beacons Migrate beacon APIs to shard-only system 2026-02-14 19:33:49 -08:00
businesses Add HasChildren flag and filter child businesses from list 2026-02-25 23:10:51 -08:00
chat Add toISO8601() helper for UTC date formatting 2026-02-20 11:56:31 -08:00
config Fix Toast __OO_STATE__ extraction: remove tag stripping and var keywords 2026-03-01 20:28:02 -08:00
debug Add all biz debug 2026-02-09 14:33:25 -08:00
dev Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
grants Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
import Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
menu Add subcategory support (2 levels deep) 2026-02-28 21:29:40 -08:00
orders Fix mismatched cfif/cftry tags in updateStatus.cfm 2026-03-01 13:01:49 -08:00
portal Add staff role system: Staff keeps cash, Manager/Admin collect for restaurant 2026-02-28 11:19:22 -08:00
presence Add Open Tabs feature: tab APIs, presence tracking, shared tabs, cron, portal settings 2026-02-24 20:56:07 -08:00
ratings Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
servicepoints Fix beacon sharding to support Major/Minor starting from 0 2026-02-09 13:43:32 -08:00
setup Fix Toast __OO_STATE__ extraction: remove tag stripping and var keywords 2026-03-01 20:28:02 -08:00
stations Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
stripe Add Open Tabs feature: tab APIs, presence tracking, shared tabs, cron, portal settings 2026-02-24 20:56:07 -08:00
tabs Add per-tab ApprovalMode override for member order approval 2026-02-25 11:44:06 -08:00
tasks Fix cash debit: attribute to business owner for admin/manager roles 2026-02-28 12:10:59 -08:00
users Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
workers Add staff role system: Staff keeps cash, Manager/Admin collect for restaurant 2026-02-28 11:19:22 -08:00
Application.cfm Remove timezone conversion hacks — MySQL now runs in UTC 2026-03-01 12:37:30 -08:00