cb8a3fa75a
fix: remove unused get_smtp_config, add missing imports
BotServer CI/CD / build (push) Failing after 5m31s
2026-04-04 22:52:32 -03:00
8fcd57bc78
fix: type annotations in marketing/email.rs
BotServer CI/CD / build (push) Failing after 5m41s
2026-04-04 22:39:08 -03:00
71b39a8cdd
fix: add AppState import and type annotation in marketing/email.rs
BotServer CI/CD / build (push) Failing after 5m43s
2026-04-04 22:27:08 -03:00
f5082acac0
fix: remove leftover code in send_campaign_email
BotServer CI/CD / build (push) Failing after 5m46s
2026-04-04 22:18:49 -03:00
1dc11c9b4e
refactor: unify email sending to use EmailService + Vault, remove Gmail hardcoded defaults
...
BotServer CI/CD / build (push) Failing after 17s
- Replace gmail defaults with Vault-backed get_email_config_for_bot_sync
- send_campaign_email now delegates to EmailService::send_email
- Remove hardcoded smtp.gmail.com, imap.gmail.com, noreply@generalbots.com
- All SMTP config flows through Vault: bot → default bot → system
- Remove unused lettre imports from marketing/email.rs
2026-04-04 22:16:20 -03:00
0de4565e5a
refactor: Generalize WhatsAppAdapter::new to accept &AppState
...
BotServer CI/CD / build (push) Successful in 4m55s
- Simplify constructor from (pool, bot_id, cache) to (&state, bot_id)
- Adapter now extracts conn and cache from AppState internally
- Updates 15 call sites across 6 files
- Removes redundant parameter plumbing at every call site
2026-04-04 15:46:10 -03:00
9fc38b80d3
Fix clippy type complexity warnings
2026-03-17 01:12:05 -03:00
ef426b7a50
LXD proxy and container improvements
BotServer CI / build (push) Failing after 7m5s
2026-03-15 15:50:02 -03:00
7fb73e683f
feat: add campaigns, attendance SLA, and marketing modules
2026-03-14 16:35:42 -03:00