Commit Graph

16 Commits

Author SHA1 Message Date
Vladimir Bryzgalov 22239321d0 fix(activator): register cron_schedules filter during activation
Dispatcher::register_hooks() runs on plugins_loaded, which is AFTER
register_activation_hook fires. The custom recurrence 'cf7stg_every_minute'
was therefore unknown to wp_schedule_event during activation, and the
'cf7stg_dispatch' event silently failed to schedule — queue items never
got dispatched.

Pilot caught this on washanyanya.ru (23 items queued, 0 sent, 0 failed —
no cron hook firing at all).

Adding the filter directly inside Activator::schedule_events() makes the
custom schedule available in the same request as the wp_schedule_event
call, regardless of bootstrap order.

After updating the plugin, deactivate + reactivate is required to
re-trigger Activator::activate() so events get (re)scheduled.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 23:26:06 +05:00
Vladimir Bryzgalov 0c1be5b4cd feat: plugin bootstrap, autoloader, activation/deactivation hooks 2026-04-17 23:02:20 +05:00
Vladimir Bryzgalov fef22c1ff8 feat(activator): create queue table, schedule cron, guard PHP/WP versions 2026-04-17 22:49:25 +05:00
Vladimir Bryzgalov aa66d15eb5 feat(retro-importer): queue last-N Flamingo spam posts with dedup 2026-04-17 22:48:21 +05:00
Vladimir Bryzgalov eb199c6d40 feat(cf7-source): capture spam submissions via wpcf7_spam and submission status 2026-04-17 22:47:13 +05:00
Vladimir Bryzgalov 4ce2fac42d feat(dispatcher): WP-Cron tick with backoff and retention cleanup 2026-04-17 22:45:38 +05:00
Vladimir Bryzgalov 786a306f29 feat(telegram-client): sendMessage wrapper classifying permanent/transient errors 2026-04-17 22:44:41 +05:00
Vladimir Bryzgalov 1f85d009c4 feat(settings): options wrapper with wp-config constant override 2026-04-17 22:43:36 +05:00
Vladimir Bryzgalov f24cadc799 feat(flamingo-helper): locate flamingo_inbound posts and extract fields/reason 2026-04-17 22:42:38 +05:00
Vladimir Bryzgalov 09f2638066 feat(queue): CRUD, dedup, retention, status counters 2026-04-17 22:41:30 +05:00
Vladimir Bryzgalov cc37aa2647 feat(crypto): AES-256-CBC token encryption via AUTH_KEY 2026-04-17 22:40:08 +05:00
Vladimir Bryzgalov 6961bb1b72 feat(telegram): exception carrying permanent/retry_after flags 2026-04-17 22:39:04 +05:00
Vladimir Bryzgalov d3bd360357 feat(message-formatter): build Telegram HTML payload with inline tel button 2026-04-17 22:37:10 +05:00
Vladimir Bryzgalov 90940dd928 feat(classifier): weighted heuristic for client/unclear/spam scoring 2026-04-17 22:21:10 +05:00
Vladimir Bryzgalov 3dd0f41446 feat(phone-parser): normalize RU phones and extract first candidate 2026-04-17 22:08:57 +05:00
Vladimir Bryzgalov 6068a6a54f feat(domain-formatter): decode punycode hosts to Cyrillic with fallbacks 2026-04-17 22:03:33 +05:00