Commit Graph

88 Commits

Author SHA1 Message Date
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
2c55fff61d feat: Improve error logging and validation across various flows and utilities 2025-11-09 18:05:43 +01:00
9fb5911fa2 feat: Centralize browser instance creation to eliminate duplication in Desktop and Mobile flows
fix: Update error message for HTTP 400 checks to English
refactor: Improve logging for network idle wait timeout in Workers
fix: Initialize lastError in Axios client to prevent undefined errors
chore: Update tsconfig to include path mappings for better module resolution
2025-11-09 17:56:46 +01:00
56aacd3667 feat: Add automatic error reporting feature with configuration options and documentation 2025-11-09 17:36:07 +01:00
773304fc85 Refactor: Simplify recovery email handling and validation; update documentation for clarity 2025-11-08 21:26:06 +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
ca356075fa Refactor: Update README to indicate Account Creator is in BETA; improve error messages for recoveryEmail validation 2025-11-08 18:37:32 +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
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
107c5db52e Improved start validation: replace warnings with informational messages for TOTP users and clarify the intended behavior of passesPerRun. 2025-11-05 22:04:16 +01:00
e19a7a2b11 Refactor QueryDiversityEngine: Enhance logging, improve error handling, and optimize query fetching logic 2025-11-05 21:59:02 +01:00
dce1fcc193 Improved execution configuration: updated passesPerRun to 3 and added validation of execution parameters 2025-11-05 21:28:03 +01:00
b7ee657faf Account configuration update: ProxyAxios is now disabled by default, and validation has been added for the proxy URL. 2025-11-05 21:11:24 +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
4e8bd59ff4 feat: Enhance login state detection with strict checks for portal elements and improved handling of unknown states 2025-11-04 23:09:31 +01:00
4c3a57a508 feat: refactor browser configuration handling and update validation logic 2025-11-04 22:43:09 +01:00
2255845dbe feat: add job state reset functionality and improve user prompts 2025-11-04 22:37:43 +01:00
0fcc8c3307 Fix webook 2025-11-04 22:25:10 +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
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
4e5f0f2a95 feat: Implement LoginStateDetector for improved login flow state management and error handling 2025-11-03 21:58:31 +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
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
6ebf2afce3 Corrige l'indentation et améliore la lisibilité du code dans plusieurs fichiers 2025-11-03 16:34:25 +01:00
66f954ecf7 Update to recovery email management: makes the recoveryEmail field optional and adds the ability to disable recovery email verification per account. Added corresponding documentation and updated configuration examples. 2025-11-03 15:53:27 +01:00
105bbd1f8a Added a system for tracking mobile search attempts and updated associated tests 2025-11-03 15:34:34 +01:00
8ccfdd23c9 Add comprehensive FAQ and README documentation for Microsoft Rewards Script
- Created FAQ.md with detailed answers to common questions regarding the project, installation, configuration, troubleshooting, safety, and features.
- Established README.md to serve as a documentation hub, outlining the structure and providing quick navigation links to various guides and resources.
2025-11-03 14:54:07 +01:00
6d549e6590 Initial commit 2025-11-01 20:44:31 +01:00