Commit Graph

22 Commits

Author SHA1 Message Date
3a3f416d92 feat: Centralize timeout constants and improve logging validation across modules 2025-11-09 18:15:01 +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
5e322af2c0 Fix: Enhance error handling and timeout management across various modules; improve validation and documentation 2025-11-08 18:52:31 +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
555efa1db0 Improve handling of navigation errors in the connection flow: implement recovery attempts for navigation errors and proxy connection failures. 2025-11-06 22:34:06 +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
d89816c817 feat: Add recovery handling for navigation errors and conditional HTTP 400 checks in login flow 2025-11-04 23:04:59 +01:00
0afd1e990c feat: Add error handling for navigation interruptions and HTTP 400 responses in login flow 2025-11-04 23:00:05 +01:00
9733c5698b feat: Improve error handling for HTTP 400 and network issues in browser navigation 2025-11-04 22:55:58 +01:00
f32c1bc039 Patch 2 2025-11-04 22:50:02 +01:00
9fbdd2be8a feat: Fix DNS 404 2025-11-04 22:45:56 +01:00
411b435555 feat: update sign-in URL to redirect to the rewards dashboard 2025-11-04 22:23:58 +01:00
c0a868ff1f feat: implement error logging in catch blocks for improved error handling and debugging 2025-11-04 22:04:20 +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
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
579c8a4dcd Refactor page reload and dashboard extraction logic; consolidate dismissal methods in BrowserUtil; enhance Login TOTP handling; streamline environment variable parsing in scheduler 2025-11-03 16:29:38 +01:00
2cc9df5278 Refactor project structure and update references from Light60-1 to Obsidian-wtf
- Changed working directory in Dockerfile from /usr/src/microsoft-rewards-script to /app
- Updated Docker container name and service name from microsoft-rewards-script to microsoft-rewards-bot
- Modified LICENSE, NOTICE, README.md, and other documentation files to reflect new project ownership
- Updated package.json and package-lock.json to change project name and repository links
- Adjusted entrypoint script and Docker Compose configurations for new paths
- Updated security and login handling in source code to reflect new documentation URLs
- Changed logo asset to reflect new branding
2025-11-03 15:17:06 +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