Commit Graph

59 Commits

Author SHA1 Message Date
4c71e603ca fix: Improve error handling and retry logic for OAuth token exchange; update session file paths to use process.cwd() 2025-11-14 08:04:46 +01:00
be826f4d12 fix: Update version to 2.60.0 and enhance documentation with new commands and troubleshooting tips 2025-11-13 23:34:20 +01:00
4bf63835f1 feat: Enhance output formatting for validation results and daily run summary 2025-11-13 20:35:47 +01:00
5651f62088 Fix error 2025-11-13 20:23:57 +01:00
e098bdec64 Fix error 2025-11-13 17:25:37 +01:00
3b06b4ae83 feat: Implement internal scheduler for automatic daily execution with timezone detection 2025-11-13 15:19:35 +01:00
2959fc8c73 Feature: Improved handling of wait times for page checks and reloads, using a 10s timeout for slower networks 2025-11-13 14:37:17 +01:00
8aa2e8bb6d feat: Enhance error reporting with additional expected error handling and improved logging for failures 2025-11-11 20:59:25 +01:00
3f65ac83cd Error correction 2025-11-11 15:01:02 +01:00
108c9bf215 feature: Improve wait times with adaptive detection for better element responsiveness 2025-11-11 14:48:57 +01:00
53fe16b1cc feat: Implement smart waiting utilities for improved page readiness and element detection
- Added `waitForPageReady` and `waitForElementSmart` functions to replace fixed timeouts with intelligent checks.
- Updated various parts of the codebase to utilize the new smart wait functions, enhancing performance and reliability.
- Improved logging for page readiness and element detection.
- Refactored login and browser functions to reduce unnecessary waits and enhance user experience.
- Fixed selector for MORE_ACTIVITIES to avoid strict mode violations.
- Added unit tests for smart wait utilities to ensure functionality and performance.
2025-11-11 14:20:37 +01:00
4d9ad85682 feat: Add warning for unconfigured risk management policies in StartupValidator 2025-11-11 13:44:46 +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
a6fbe9c72e Corrige la logique de jitter pour garantir une augmentation du délai dans le mécanisme de retry 2025-11-10 23:05:03 +01:00
84a4461a2f Improved error handling and added protection against race conditions in the bot controller. Extracted Microsoft domain verification for better maintainability. Added support for custom activity managers and improved documentation. 2025-11-10 22:20:34 +01:00
e9a1e2dbcf Clean up and fix 2025-11-10 22:11:52 +01:00
04a1a4c0a4 Clean up 2025-11-10 19:57:43 +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
842218ca4d feat: Refactor configuration files for clarity and structure; enhance error reporting with obfuscated webhook URL 2025-11-09 19:38:32 +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
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