feat: Mail template management UI and API CRUD

- Added full CRUD endpoints for mail templates (create, update, delete, preview)
- Introduced Joi validators for template create/update/preview
- Updated routes/controller to support ID and type lookups
- Built React Templates page with HTML editor, preview, and clipboard helpers
- Added navigation entry and route for /templates
- Enhanced documentation (README, QUICKSTART, KULLANIM, frontend/backend README)
This commit is contained in:
salvacybersec
2025-11-10 17:27:19 +03:00
parent dc16d0c549
commit 20191eb35d
11 changed files with 661 additions and 13 deletions

View File

@@ -95,6 +95,14 @@ Artık sistemin tüm özellikleri kullanıma hazır:
- ✅ Telegram bildirimleri
- ✅ Detaylı istatistikler
## ✉️ Şablonları Özelleştir
1. **Mail Şablonları** sayfasına git
2. `Yeni Şablon` ile kendi senaryonu oluştur
3. HTML alanında `{{company_name}}`, `{{employee_name}}`, `{{tracking_url}}` değişkenlerini kullan
4. `Önizleme` butonuyla gerçek örnek verilerle testi gör
5. Token oluştururken yeni template type'ı seçmeyi unutma
---
## 📚 Daha Fazla Bilgi