pcosson 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
2023-09-05 16:33:48 +02:00
2024-07-05 11:32:12 +02:00
2024-07-05 12:01:34 +02:00
2024-07-05 11:14:18 +02:00

comi-apps-to-update-on-wapt-server

You want to be notified that some new packages are available for your wapt repository

  • Deploy the package on a computer

  • connect to the computer and edit "C:\Program Files (x86)\wapt\private\wapt_api.ini" with your url and credentials

  • if you want to send an alert by email edit "C:\Program Files (x86)\wapt\private\smtp.ini"

  • by default the package send by email , but you can send using rocket chat or any other applicaiton using a webhook following the rocketchat model

Description
No description provided
Readme 100 KiB
Languages
Python 100%