mirror of
https://github.com/draga79/NotiMail.git
synced 2026-04-26 14:15:54 +03:00
-
v1.0 Stable
released this
2024-07-02 15:49:33 +03:00 | 21 commits to main since this release📅 Originally published on GitHub: Tue, 02 Jul 2024 12:53:20 GMT
🏷️ Git tag created: Tue, 02 Jul 2024 12:49:33 GMTVersion 1.0
New Features:
- Log Rotation: Added support for log rotation. You can now configure log rotation based on size or time. This helps in managing log file sizes and ensures that old log files are archived.
- Thread-Safe Email Processing: Improved the email processing to be thread-safe, ensuring that multiple email accounts can be processed simultaneously without conflicts.
- Enhanced Configuration Validation: Added a
validate_configfunction to ensure required sections are present in theconfig.inifile before proceeding. - Improved Logging: Introduced more robust logging mechanisms with options for size-based or time-based log rotation.
Changes:
- Logging Enhancements:
- Introduced
RotatingFileHandlerandTimedRotatingFileHandlerfor better log management. - Updated the logging configuration to use parameters from
config.inifor log rotation.
- Introduced
- Codebase:
- Refactored the
DatabaseHandlerclass to use context management for better resource handling. - Added a
Lockmechanism in theMultiIMAPHandlerclass to ensure thread-safe email processing. - Improved error handling and logging across the codebase to provide clearer insights and more robust operations.
- Refactored the
- Configuration (
config.ini):- Introduced new configuration keys under
[GENERAL]:LogRotationType,LogRotationSize,LogRotationInterval, andLogBackupCountfor log rotation settings.
- Introduced new configuration keys under
Upgrade Notes:
- To use the new log rotation feature, update the
config.inifile to include the new[GENERAL]configuration keys related to log rotation. - Ensure that the
config.inifile is properly validated using the new validation mechanism.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads