Commit Graph

56 Commits

Author SHA1 Message Date
e7f8f7110c feat: Improve workflow management by making runMaster asynchronous and adding error handling 2025-11-15 12:47:09 +01:00
cf0611d841 feature: Update the version to 2.60.0 and improve the handling of human gestures, etc. 2025-11-15 12:35:09 +01:00
brentjmadison
767bc3e7af Cluster issue fix 2025-11-14 15:19:08 -06:00
8ecc8f17ef fix: Improve scheduler management by enabling it first to provide immediate information and then run tasks 2025-11-14 21:16:26 +01:00
cbd05d128e fix: Improve error handling and logging across multiple modules; enhance compatibility for legacy formats 2025-11-14 20:56:48 +01:00
67388539b2 fix: Update version to 2.56.15 and improve immediate task execution in scheduling logic 2025-11-13 22:16:05 +01:00
84484817ad fix: Update package version to 2.56.12 and enhance webhook summary with detailed statistics 2025-11-13 21:33:01 +01:00
4bf63835f1 feat: Enhance output formatting for validation results and daily run summary 2025-11-13 20:35:47 +01:00
3b06b4ae83 feat: Implement internal scheduler for automatic daily execution with timezone detection 2025-11-13 15:19:35 +01:00
3f65ac83cd Error correction 2025-11-11 15:01:02 +01:00
82e5e71ffe New structure 2 2025-11-11 13:07:51 +01:00
89bc226d6b New structure 2025-11-11 12:59:42 +01:00
088a3a024f feat: Enhance Microsoft Rewards Bot with recovery email normalization and improved logging
- Added `normalizeRecoveryEmail` utility function for consistent recovery email validation.
- Improved logging functionality in `Logger.ts` with enhanced edge case handling and null checks.
- Centralized browser cleanup logic in `BrowserFactory.ts` to eliminate duplication.
- Refactored error handling and message formatting in `Utils.ts` for better clarity and consistency.
- Updated various log messages for improved readability and consistency across the codebase.
- Implemented periodic cleanup of webhook buffers in `Logger.ts` using centralized constants.
2025-11-11 12:31:27 +01:00
971f063b39 Refactor JobState initialization and update alert message formatting 2025-11-10 23:02:01 +01:00
26d9cab668 feat: Add Docker environment detection and update mode configuration; enhance update process for Docker and host systems 2025-11-09 23:10:13 +01:00
8b1d95a7c7 fix: Revert version in package.json to 2.56.2; improve update logging and process restart handling 2025-11-09 23:02:21 +01:00
9e3aa9a79f feat: Add version check before updates to enhance update process and prevent unnecessary restarts 2025-11-09 22:48:16 +01:00
967801515f feat: Simplify update process by removing deprecated methods and enhancing README; improve type safety in tests 2025-11-09 22:23:46 +01:00
e03761adfc feat: Enhance update mechanism with anti-loop protection and improved logging
- Implemented a restart counter to prevent infinite update loops.
- Added checks for update success using marker files.
- Improved logging for update attempts and failures.
- Created comprehensive documentation for npm commands and setup processes.
- Introduced a new update system using GitHub API for seamless updates.
- Added troubleshooting guidelines for common issues.
2025-11-09 20:13:30 +01:00
123b2f76b8 feat: Refactor compromised mode handling and improve error logging across flows 2025-11-09 18:45:43 +01:00
3df985c7d9 feat: Update examples in DesktopFlow and MobileFlow for clarity and consistency 2025-11-09 18:33:48 +01:00
3a3f416d92 feat: Centralize timeout constants and improve logging validation across modules 2025-11-09 18:15:01 +01:00
56aacd3667 feat: Add automatic error reporting feature with configuration options and documentation 2025-11-09 17:36:07 +01:00
22adf44f63 Refactor: Simplify bot login handling in DesktopFlow and MobileFlow; initialize Login instance in MicrosoftRewardsBot 2025-11-09 00:18:10 +01:00
5e322af2c0 Fix: Enhance error handling and timeout management across various modules; improve validation and documentation 2025-11-08 18:52:31 +01:00
52fbbd79b1 Fix: Enable auto-update for configuration and enhance task execution handling for multi-pass runs 2025-11-08 18:32:58 +01:00
6b687a1018 Remove BuyMode and fix 2025-11-08 18:25:51 +01:00
40dd9b9fd8 Refactor: Remove deprecated sync endpoint and BuyModeHandler module; streamline configuration and loading processes 2025-11-08 18:06:23 +01:00
6e859902d0 feature: Integrate the SummaryReporter module to improve results reporting 2025-11-08 12:24:43 +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
1ff521f505 Refactor imports and improve error handling across multiple files for better maintainability and clarity 2025-11-08 10:55:51 +01:00
c150fa8657 feature: Add scheduling management to the configuration 2025-11-08 10:23:51 +01:00
0d6ab38b48 Improved interactive mode: added an automatic job reset option for scheduled tasks and improved stealth mode to bypass CAPTCHAs. 2025-11-05 22:44:16 +01:00
ee28e92866 Fix auto update github api 2025-11-05 22:12:40 +01:00
dce1fcc193 Improved execution configuration: updated passesPerRun to 3 and added validation of execution parameters 2025-11-05 21:28:03 +01:00
693246c2d5 Features: Improved handling of navigation errors and automatic updates, optimized wait times, and cron job configuration 2025-11-05 21:03:48 +01:00
2255845dbe feat: add job state reset functionality and improve user prompts 2025-11-04 22:37:43 +01:00
c0a868ff1f feat: implement error logging in catch blocks for improved error handling and debugging 2025-11-04 22:04:20 +01:00
57e2bc392d feat: add Buy Mode functionality for manual purchase monitoring and point tracking 2025-11-04 21:08:11 +01:00
8e1be00618 feat: update README and SchedulerManager for improved automatic scheduling configuration 2025-11-04 20:54:10 +01:00
014beda152 feat: add automatic task scheduling configuration for Windows and Linux 2025-11-04 20:51:49 +01:00
c74b131ac6 refactor: remove BanPredictor, ConfigValidator, RiskManager, SecurityDetector, and related utility files
- Deleted BanPredictor.ts, ConfigValidator.ts, RiskManager.ts, SecurityDetector.ts, and their associated interfaces and methods.
- Removed all related logic for ban prediction, configuration validation, risk management, and security detection.
- Added a new utility function to retrieve error messages from unknown error types.
2025-11-04 20:34: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
39b62a4190 feat: Implement account suspension checks and improve error handling
- Added a method to check for account suspension using multiple detection methods in BrowserFunc.
- Refactored existing suspension checks to utilize the new method, reducing code duplication.
- Enhanced error handling in various functions to throw original errors instead of wrapping them.
- Improved environment variable parsing in constants to streamline validation.
- Updated login flow to optimize session restoration and error handling.
- Refined Axios request logic to include retry mechanisms for proxy authentication and network errors.
- Enhanced logging functionality to provide clearer output and error context.
- Improved utility functions with additional validation for input parameters.
2025-11-03 21:21:13 +01:00
f1db62823c Refactor: Enhance error handling and logging in Browser and MicrosoftRewardsBot classes; remove unused luxon declarations 2025-11-03 20:26:16 +01:00
36452e77e2 Refactor: Remove legacy code and improve import statements across multiple files 2025-11-03 20:03:42 +01:00
baf25103f7 Refactor: Clean up unused imports and improve code readability across multiple files 2025-11-03 19:52:27 +01:00
43ed6cd7f8 refactor: remove legacy scheduling and analytics code
- Deleted the scheduler module and its associated functions, transitioning to OS-level scheduling.
- Removed the Analytics module and its related interfaces, retaining only a placeholder for backward compatibility.
- Updated ConfigValidator to warn about legacy schedule and analytics configurations.
- Cleaned up StartupValidator to remove diagnostics and schedule validation logic.
- Adjusted Load.ts to handle legacy flags for diagnostics and analytics.
- Removed unused diagnostics capturing functionality.
2025-11-03 19:18:09 +01:00