Commit Graph

9 Commits

Author SHA1 Message Date
seaznCode
427c12be3c feat: add language normalization and user settings updates
- Introduced language normalization utility functions to standardize language codes across the application.
- Updated ContractUploadController to resolve requested language from contract data and user settings.
- Enhanced authMiddleware to set preferred language in user object based on user settings.
- Added preferred_language column to user_settings table in the database.
- Implemented UserSettingsRepository to manage user settings, including preferred language updates.
- Updated DocumentTemplateService and AboContractService to support language-specific templates.
- Enhanced InvoiceService to select invoice templates based on normalized language codes.
- Added new script to compare versions of ABO contract documents.
- Refactored various services and repositories to utilize the new language normalization logic.
2026-06-07 21:13:41 +02:00
c2bbb1df15 feat: implement auto-renewal cron service for subscriptions
- 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.
2026-03-15 14:16:46 +01:00
61043e6dc8 feat: update guest user handling to require email verification and adjust status flags 2026-03-15 01:10:35 +01:00
seaznCode
f85d01af8d feat: implement guest user registration and company settings management 2026-03-09 22:07:12 +01:00
seaznCode
ec5bdad867 feat: implement user status check to block suspended accounts in authMiddleware and LoginService 2026-01-30 15:33:37 +01:00
seaznCode
2a69b83d84 feat: implement admin-only middleware and enhance permission checks with logging 2026-01-18 20:50:31 +01:00
DeathKaioken
20f69c272c feat: profile backend link | NOT DONE 2025-11-18 01:21:09 +01:00
DeathKaioken
095cbd6187 Initial Commit Fix 2025-09-08 16:05:37 +02:00
DeathKaioken
e2e0204c12 Initial Commit 2025-09-07 12:44:01 +02:00