|
|
1f4338a85d
|
## Major Refactoring and Error Handling Improvements
### Key Changes:
- **Code Structure**: Complete refactoring removing 392→180 lines of duplicated code
- **Error Handling**: Added comprehensive error handling with detailed tracebacks
- **Configuration**: Added configurable notification methods (email/rocket/both)
- **Security**: Fixed function naming inconsistency (send_mail→send_email)
- **Validation**: Added input validation and graceful error fallbacks
### Bug Fixes:
- Fixed version conflict in WAPT/control (removed duplicate version entry)
- Fixed syntax error in French string (unescaped apostrophe)
- Fixed missing function calls and import issues
### New Features:
- Configurable notification channels via wapt_api.ini [notifications] section
- Default configuration fallbacks when config files missing
- Network timeout handling (30s for external requests)
- SSL certificate validation with proper error messages
### Technical Improvements:
- Modular function design for better testability
- Proper exception handling for all network operations
- Better error messages with tracebacks for debugging
- Cleaner separation of concerns
|
2025-12-30 15:48:34 +01:00 |
|
|
|
84c736c703
|
Refactor: Remove unnecessary else after return in audit function
|
2025-12-29 13:02:18 +01:00 |
|
|
|
9e5b9b6677
|
Refactor: Rename CONFWAPT to conf_wapt
|
2025-12-29 13:01:56 +01:00 |
|
|
|
1c71174111
|
Style: Reorder imports to follow PEP 8 guidelines
|
2025-12-29 13:00:20 +01:00 |
|
|
|
25972156eb
|
Docs: Add module docstring
|
2025-12-29 12:49:12 +01:00 |
|
|
|
2f436f8384
|
Actualiser setup.py
|
2025-12-29 10:03:53 +00:00 |
|
|
|
b08a4f931d
|
swap to email by default
|
2024-07-05 12:07:17 +02:00 |
|
|
|
8708e06155
|
add rocket.ini
|
2024-07-05 12:01:34 +02:00 |
|
|
|
44bc85b730
|
reorganisation
|
2024-07-05 11:14:18 +02:00 |
|