forked from admin/zeropost-engine
c40ef90ad1
8. SMTP: emailService.js (nodemailer), templates (welcome/payment/low_credits) /api/admin/email/test — тест отправки app_settings category=smtp (HOST/PORT/USER/PASS/FROM/ENABLED) 9. Maintenance mode: middleware в index.js, MAINTENANCE_MODE в engine settings При true → 503 для всех запросов кроме /uploads и /api/settings 10. Blog topic bank: DB: blog_topics(category,topic,is_used,source,priority) 40 тем мигрированы из хардкода (source=hardcoded) autogen.js: getNextTopic берёт из DB, fallback на TOPIC_BANK admin API: GET/POST /blog-topics, DELETE /:id, POST /generate (AI +10)
31 lines
678 B
JSON
31 lines
678 B
JSON
{
|
|
"name": "zeropost-engine",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.zeroday.su/admin/zeropost-engine.git"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"@a2seven/yoo-checkout": "^1.1.4",
|
|
"axios": "^1.16.1",
|
|
"bull": "^4.16.5",
|
|
"cheerio": "^1.2.0",
|
|
"dotenv": "^17.4.2",
|
|
"express": "^5.2.1",
|
|
"fast-xml-parser": "^4.5.6",
|
|
"ioredis": "^5.11.0",
|
|
"node-cron": "^4.2.1",
|
|
"nodemailer": "^8.0.11",
|
|
"pg": "^8.21.0",
|
|
"sharp": "^0.34.5"
|
|
}
|
|
}
|