Commit Graph

8 Commits

Author SHA1 Message Date
Dana Medical Developer
33b0b89271 merge: integrate outbound push/pull 1c sync with web updates
Some checks failed
Deploy Dana Medical Site / deploy (push) Failing after 1s
2026-10-21 06:39:24 +00:00
Dana Medical Developer
050dc30d92 fix(security): BSL injection escaping, bridge auth, secrets to env, egress isolation to 1C 2026-10-20 08:36:30 +00:00
Abdulkadyr Karagishiev
a02c4faad7 feat(onec): support outbound push/pull sync and async appointment queue
Some checks failed
Deploy Dana Medical Site / deploy (push) Failing after 2s
2026-10-19 18:30:23 +03:00
Abdulkadyr Karagishiev
121f286016 feat(crm): integrate website leads and online booking with new CRM and 1C
- Add internal/crm client with CanonicalJSON and HMAC-SHA256 signing for POST /api/public/leads
- Add database migration 0026_crm_deals.sql with crm_deal_id and partial indexes
- Add async lead intake dispatch to new CRM in handlers_leads.go
- Support dual-mode booking confirmation (CRM_MODE=both/crm_only/bitrix_only) in booking_confirm.go
- Add LinkCRM endpoint to bridge_1c.py and onec.Client
- Update config and env examples with CRM_API_URL, CRM_LEAD_INTAKE_SECRET, CRM_MODE
2026-10-16 18:01:49 +03:00
Dana Medical Developer
6597464ac3 feat(booking): automatically link 1C appointment to Bitrix24 lead ID and implement do_DELETE 2026-10-15 10:35:12 +00:00
Dana Medical Developer
ff95ff9138 fix(slots): fix today date detection, hide past slots, format 1C timezone as +03:00 2026-10-14 15:06:46 +00:00
Dana Medical Developer
3bb44c4e80 fix(onec): increase client timeout to 60s for 1C large catalog responses 2026-10-14 14:06:48 +00:00
Dana Medical Developer
4058a1636d chore: initial commit of dana-medical production state 2026-10-14 13:33:13 +00:00