Commit Graph

14 Commits

Author SHA1 Message Date
zaorinu
732bf4ae65 auto: add error ids for error reporting 2026-01-09 10:44:04 +01:00
84a6de8eef fix: Move error reporting from Vercel Serverless to Express 2026-01-02 15:40:04 +01:00
5b27d11c0d Added account history tracking and statistics to the dashboard, improved logs, and increased wait times for OAuth. 2025-12-22 21:48:36 +01:00
38d9f1e48d fix: update types for heartbeat interval and constructor logger in DashboardServer and QueryDiversityEngine 2025-12-06 14:42:30 +01:00
a74a009c10 feat: implement WebSocket heartbeat mechanism and apply API rate limiter 2025-12-06 13:41:10 +01:00
01b0a90acc fix: reorder import statements for clarity 2025-11-29 17:22:58 +01:00
9ccac0dcec fix: update logger module path for dashboard logging 2025-11-29 17:21:39 +01:00
Obsidian
acd0a0fcf6 Potential fix for code scanning alert no. 21: Missing rate limiting
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Obsidian <123307773+LightZirconite@users.noreply.github.com>
2025-11-15 14:48:43 +01:00
89bc226d6b New structure 2025-11-11 12:59:42 +01:00
4c5d5ef9a8 feat: Implement main application logic and UI styling
- Added app.js to manage global state, WebSocket connections, and API interactions.
- Implemented functions for theme toggling, toast notifications, and updating UI elements.
- Created functions to fetch and display account metrics, logs, and status updates.
- Added event handlers for starting, stopping, and restarting the bot.
- Introduced WebSocket handling for real-time updates.
- Added style.css for consistent theming and responsive design across the application.
- Included styles for various UI components such as buttons, cards, logs, and empty states.
- Implemented light theme support with appropriate styles.
2025-11-08 23:56:21 +01:00
8eefd15b80 feat: Refactor and modularize flow handling for improved maintainability
- Extracted BuyModeHandler, DesktopFlow, MobileFlow, and SummaryReporter into separate modules for better organization and testability.
- Enhanced type safety and added interfaces for various return types in Load, Logger, UserAgent, and flow modules.
- Implemented comprehensive error handling and logging throughout the new modules.
- Added unit tests for DesktopFlow, MobileFlow, and SummaryReporter to ensure functionality and correctness.
- Updated existing utility functions to support new flow structures and improve code clarity.
2025-11-08 12:19:34 +01:00
c256f5265e refactor: simplify bot control logic and improve error handling in routes 2025-11-04 19:44:20 +01:00
ae4e34cd66 Add initial HTML structure and styles for Microsoft Rewards Bot dashboard
- Created index.html with a complete layout for the dashboard
- Added favicon.ico placeholder
- Implemented responsive design and styling using CSS variables
- Integrated React for dynamic data handling and real-time updates
- Set up WebSocket connection for live log updates
- Included functionality for starting/stopping the bot and managing accounts
2025-11-03 23:07:10 +01:00
6cd512e1b8 feat: add standalone dashboard for bot monitoring and control
- Introduced a new dashboard feature with endpoints for bot status, account management, logs, and configuration.
- Added support for starting the dashboard server via command line and configuration options.
- Implemented WebSocket support for real-time log streaming to the dashboard.
- Enhanced configuration management to include dashboard settings.
- Updated package.json to include new dependencies and scripts for dashboard functionality.
- Added tests for dashboard state management and functionality.
2025-11-03 22:27:26 +01:00