agessaman
d80d808f02
fixes: add DNS timeout, removed duplicate import, added OS-aware path validation, used centralized validation function for pubkey, made sanitize input length limit configurable, used explicit base directory, added a few type hints.
2025-12-09 19:58:42 -08:00
eddieoz
5a5c29992b
feat: Add security utilities for path validation, SQL injection prevention, and input sanitization.
2025-12-08 23:37:41 +02:00
agessaman
71d157a974
Enhance command execution and analytics features. Update CommandManager to allow DM-only commands in public channels to silently ignore errors if the channel is not configured. Refactor BaseCommand to improve execution checks based on channel permissions. In the web viewer, add time window parameters for analytics in the database stats API, and implement Chart.js for visualizing activity trends over the last 30 days. Update dashboard templates to include time window selectors for top users, commands, paths, and channels, improving user experience and data accessibility.
2025-11-30 20:04:20 -08:00
agessaman
5c2af1a014
added generic per-command channel configuration, allows commands to be mapped to different channels or dms only
2025-11-25 21:19:48 -08:00
agessaman
412883ac67
Enhance weather command functionality by adding support for multi-day and tomorrow forecasts. Updated parsing logic to handle forecast type options and improved response formatting. Integrated new weather data retrieval methods for both local and global commands, ensuring consistent user experience across different locales. Added localization support for new forecast messages in multiple languages.
2025-11-18 18:51:10 -08:00
agessaman
7e2c478662
Implement localization support across various commands and configuration. Added language settings in config.ini.example, integrated translation functionality in command responses, and enhanced error handling with localized messages. Improved fallback mechanisms for missing translations and updated help text for better user guidance.
2025-11-16 20:17:58 -08:00
agessaman
a93ce069a7
Added backwards compatability helper function and migrated some config headers to be more consistent.
2025-11-14 19:01:28 -08:00
agessaman
46f04fbbe5
switched from using the bot's local time instead of the message sent time for keyword replacement
2025-11-11 09:36:29 -08:00
agessaman
237ca5a176
fixed recursion when response format is not configured
2025-11-11 08:57:30 -08:00
agessaman
7bb51f219b
Web Viewer Integration
...
- Add Flask + Flask-SocketIO web viewer with dashboard (modules/web_viewer/app.py and related)
- Add web viewer templates: index, realtime, tracking (contacts), cache, purging, stats (modules/web_viewer/templates/)
- Add integration hooks and utility functions for web viewer (modules/web_viewer/integration.py, modules/utils.py)
- Add command to launch web viewer from bot CLI (modules/commands/webviewer_command.py)
- Update .gitignore: ignore db/log files, test scripts, and web viewer artifacts
- Add restart_viewer.sh helper script for standalone web viewer restart/troubleshooting
- Add guidance and documentation for modern viewer in WEB_VIEWER.md and docs/
- Various code structure and import improvements to core bot and command modules to support integration
- Add ACL support for sensitive commands
- Example config updates
Benefits:
- Decouples monitoring/UI from bot core process
- Enables real-time browser dashboard and unified contact/repeater tracking
- Easier integration, dev, and troubleshooting
2025-10-21 21:57:00 -07:00
agessaman
aff563f312
fixed stats trigger to only respond to first word
2025-10-09 21:38:44 -07:00
agessaman
40326409b6
Improve ping keyword matching with precise word boundaries
2025-09-06 18:52:21 -07:00
agessaman
2206265e10
Update modules with latest development changes
...
- Enhanced command processing with exclamation mark handling
- Improved message handling and RF data correlation
- Updated repeater management functionality
- Enhanced command implementations across all modules
- Updated database manager and core functionality
- All changes maintain backward compatibility
2025-09-06 11:22:58 -07:00
agessaman
04b3542411
Enhance configuration and command structure for MeshCore Bot. Added RF data correlation settings in config.ini, implemented a BotTxRateLimiter for transmission control, and refactored command handling to support plugins. Removed obsolete scripts and improved command metadata for better usability.
2025-09-04 18:48:59 -07:00
agessaman
9fa8b02be6
Initial commit: MeshCore Bot project
2025-09-04 15:33:51 -07:00