Commit Graph
6 Commits
Author SHA1 Message Date
mohmdsdgandCursor 4562d00bd3 fix(automations): log skipped sends with cooldown/max reason
Schedule runs that hit cooldown or max-send limits now write a skipped row to automation_sends so admins can see why no SMS was sent.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 22:31:27 +03:30
mohmdsdgandCursor 9bb0fa3a1d fix(automations): always append app name footer to SMS with fallbacks
Resolve display name from name_fa/name/name_en, skip duplicate lines, and support %نام_اپ placeholder in templates.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 21:57:20 +03:30
mohmdsdgandCursor f5e66bf951 fix(automations): replace %نام_کوچک before generic %نام in SMS templates
The name placeholder regex was matching the prefix of %نام_کوچک first, leaving _کوچک in the rendered message.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 21:51:57 +03:30
mohmdsdgandCursor 995f6984ed feat(automations): add run-now test endpoint and sends log table
Enable immediate automation test runs without waiting for the scheduled hour, expose send history for debugging, and return all SuperAdmin overlay keys on refresh instead of only enable_automation.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 21:46:13 +03:30
mohmdsdg d3997cfc8f added time working 2026-08-23 17:13:30 +03:30
mohmdsdg 657c10d1cc added automation 2026-08-23 14:16:00 +03:30