Backend
- Added RenewalCronService to handle automatic subscription renewals and reactivations. - Introduced listPausedAutoRenew method in AbonemmentRepository to fetch paused subscriptions eligible for reactivation. - Created test script for renewal cron job to simulate subscription renewal scenarios. - Updated MailService to send renewal confirmation and payment reminder emails. - Enhanced EmailVerificationService to auto-grant 'can_subscribe' permission upon email verification. - Modified createAdminUser script to allow different admin email configurations. - Added node-cron dependency for scheduling tasks. |
||
|---|---|---|
| controller | ||
| database | ||
| debug-pdf | ||
| mailTemplates | ||
| middleware | ||
| models | ||
| repositories | ||
| routes | ||
| scripts | ||
| services | ||
| templates | ||
| utils | ||
| .gitignore | ||
| package-lock.json | ||
| package.json | ||
| server.js | ||