Preparing for v0.11

This commit is contained in:
Stefano Marinelli 2023-10-23 12:33:57 +02:00
parent d3bab7ea2c
commit d0dd5d82de
2 changed files with 9 additions and 5 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
""" """
NotiMail NotiMail
Version: 0.11 - Alpha Version: 0.11
Author: Stefano Marinelli <stefano@dragas.it> Author: Stefano Marinelli <stefano@dragas.it>
License: BSD 3-Clause License License: BSD 3-Clause License

View file

@ -1,6 +1,6 @@
# NotiMail 📧 # NotiMail 📧
**Version 0.10 is here, featuring support for ntfy auth tokens!** **Version 0.11 is here, read the changelog for more information!**
**Development is ongoing, and the project is in the early alpha stage - things may break!** **Development is ongoing, and the project is in the early alpha stage - things may break!**
@ -136,12 +136,13 @@ With that, you should have NotiMail up and running on your system! Enjoy a more
## Changelog ## Changelog
### Version 0.11 Alpha (Not Yet Released) ### Version 0.11
#### New Features: #### New Features:
- Configurable Paths: You can now customize the location of the log file and the SQLite database from the configuration file. - Command-Line Flexibility: Now you can customize your config file path using -c or --config flags. The default remains 'config.ini'.
- Flexible Configuration: Added support for specifying a custom configuration file when running the script. - Man Page: Introduced a man page for NotiMail, making it easier for users to understand usage and options.
- Dynamic Database Location: Configure your database path in the settings, allowing for more flexible deployments.
#### Changes: #### Changes:
@ -150,6 +151,9 @@ With that, you should have NotiMail up and running on your system! Enjoy a more
- Moved the configuration reading to the top of the script to make it globally accessible. - Moved the configuration reading to the top of the script to make it globally accessible.
- Updated the logging setup to use the log file location from the config file (`LogFileLocation`). If not set, it defaults to `notimail.log`. - Updated the logging setup to use the log file location from the config file (`LogFileLocation`). If not set, it defaults to `notimail.log`.
- Modified the `DatabaseHandler` class to use the database location from the config file (`DataBaseLocation`). If not set, it defaults to `processed_emails.db`. - Modified the `DatabaseHandler` class to use the database location from the config file (`DataBaseLocation`). If not set, it defaults to `processed_emails.db`.
- Improved Logging: Logs now include thread names, providing clearer insights into operations.
- Stability Upgrades: Enhanced handling of 'BYE' responses from servers. Plus, in case of connection loss, the tool will now auto-retry to maintain smooth operations.
- Socket Timeout: Adjusted the default socket timeout setting to further optimize responsiveness.
- **Configuration (`config.ini`):** - **Configuration (`config.ini`):**
- Introduced a new `[GENERAL]` section. You can specify `LogFileLocation` and `DataBaseLocation` within this section to set the desired paths for the log file and database, respectively. - Introduced a new `[GENERAL]` section. You can specify `LogFileLocation` and `DataBaseLocation` within this section to set the desired paths for the log file and database, respectively.