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/portal
John Mizerek 4e0cc65ba2 Auto-geocode addresses on create/update
Extract geocoding functions into shared api/inc/geocode.cfm and call
geocodeAddressById() via cfthread after every address INSERT or UPDATE.
Uses OpenStreetMap Nominatim (free, no API key). Non-blocking — the
HTTP call runs in a background thread so responses aren't delayed.

Affected endpoints:
- setup/saveWizard.cfm (new business creation)
- businesses/update.cfm (business address update)
- portal/updateSettings.cfm (portal settings save)
- addresses/add.cfm (customer delivery address)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 01:00:07 -08:00
..
addTeamMember.cfm Add staff role system: Staff keeps cash, Manager/Admin collect for restaurant 2026-02-28 11:19:22 -08:00
getSettings.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
myBusinesses.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
reassign_employees.cfm Normalize database column and table names across entire codebase 2026-01-30 15:39:12 -08:00
searchUser.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
stats.cfm Replace queryExecute with queryTimed across all endpoints for perf tracking 2026-02-02 00:28:37 -08:00
team.cfm Add staff role system: Staff keeps cash, Manager/Admin collect for restaurant 2026-02-28 11:19:22 -08:00
updateSettings.cfm Auto-geocode addresses on create/update 2026-03-02 01:00:07 -08:00