CentralBackend/middleware
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
..
adminOnly.js feat: implement admin-only middleware and enhance permission checks with logging 2026-01-18 20:50:31 +01:00
authMiddleware.js feat: add language normalization and user settings updates 2026-06-07 21:13:41 +02:00
guestRestriction.js feat: implement auto-renewal cron service for subscriptions 2026-03-15 14:16:46 +01:00
logger.js Initial Commit 2025-09-07 12:44:01 +02:00
rateLimiter.js Initial Commit Fix 2025-09-08 16:05:37 +02:00