Commit Graph

271 Commits

Author SHA1 Message Date
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
bbb6a8e432 Added a blank line to crontab.template to improve readability 2025-11-10 22:03:09 +01:00
Obsidian
ee33a8680d Update crontab.template 2025-11-10 22:00:21 +01:00
Obsidian
66b37d8623 Rename working directory to microsoft-rewards-bot 2025-11-10 21:58:52 +01:00
Obsidian
ee915de0eb Rename container and update volume paths 2025-11-10 21:57:29 +01:00
Obsidian
8c62b53961 Update flake.nix 2025-11-10 21:55:42 +01:00
8a187f1630 feat: Update version to 2.56.4 in package.json and package-lock.json; add prestart script to ensure build exists before starting 2025-11-10 20:35:15 +01:00
04a1a4c0a4 Clean up 2025-11-10 19:57:43 +01:00
aeaffeb7ca fix: Revert version to 2.56.2 in package.json; enhance fingerprint injection error handling and configuration options 2025-11-10 19:51:34 +01:00
103312e0d2 feat: Improve browser stability with channel option and enhance fingerprint injection error handling 2025-11-10 19:50:25 +01:00
38e841d801 feat: Add cache-busting to package.json request to prevent stale responses 2025-11-09 23:18:14 +01:00
9412c6881d feat: Update version to 2.56.3 in package.json, package-lock.json and README.md 2025-11-09 23:13:18 +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
7e4c519b3b feat: Update version to 2.56.3 in package.json 2025-11-09 22:51:17 +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
842218ca4d feat: Refactor configuration files for clarity and structure; enhance error reporting with obfuscated webhook URL 2025-11-09 19:38:32 +01:00
a9d73f45e2 feat: Update the version to 2.56.2 in package.json and package-lock.json 2025-11-09 19:26:21 +01:00
95073e6fbb Enhance documentation with new sections on notifications and troubleshooting
- Updated index.md to improve structure and navigation, added new guides for getting started and feature explanations.
- Created notifications.md detailing setup for Discord webhooks and NTFY mobile alerts, including examples and troubleshooting tips.
- Added troubleshooting.md covering common issues, installation problems, login issues, account problems, browser issues, configuration problems, performance issues, and diagnostic log retrieval.
2025-11-09 19:24:44 +01:00
5f9aafdd0f feat: Centralize timeout constants and improve navigation error handling in Login flow 2025-11-09 18:58:25 +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
3afab721cf feat: Improve error handling and TOTP secret extraction with fallback selectors 2025-11-09 18:19:23 +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
2a168bd06a fix: Ignore password requirement messages in email error handling 2025-11-09 14:49:51 +01:00
fd6dfb817e refactor: Replace warning logs with console messages for browser interaction instructions 2025-11-09 14:42:55 +01:00
69e8fff51e feat: Enhance CLI with auto-accept options and improve usage documentation 2025-11-09 14:29:37 +01:00
8c94ce5b87 Remove outdated documentation files: dashboard-quickstart.md, diagnostics.md, docker.md, humanization.md, jobstate.md, ntfy.md, proxy.md, schedule.md, security.md, update.md 2025-11-09 13:44:22 +01:00
9e166c0959 Fix doc 2025-11-09 13:42:40 +01:00
a9640128f1 Refactor getting started guide for Microsoft Rewards Bot: improved structure, added prerequisites, clarified setup steps, and enhanced instructions for account creation and configuration. 2025-11-09 13:41:37 +01:00
6b2b4fe966 docs: Update README and getting-started guide for clarity and structure; remove git conflict resolution guide 2025-11-09 13:39:06 +01:00
29f408a852 feat: Simplify account creation commands and enhance recovery email and 2FA handling 2025-11-09 13:19:33 +01:00
d64bbaccf8 feat: Update account creation commands to clarify recovery email and 2FA setup options 2025-11-09 12:54:43 +01:00
cbe9a11f95 feat: Add recovery email and 2FA support to account creation process 2025-11-09 12:43:31 +01:00
e495fa18b2 Refactor: Improve CAPTCHA handling and reduce delays in the account creation process 2025-11-09 12:18:32 +01:00
1239f9de05 refactor: Optimize logging and reduce delays in account creation process 2025-11-09 12:04:22 +01:00
1bf483b76e fix: Enhance email input verification with SMART handling for Microsoft domain separation 2025-11-09 11:26:33 +01:00
fbbdd370ce Fix: Update version number to 2.56.0 in package-lock.json; comment out utility methods in AccountCreator for future use 2025-11-09 11:19:48 +01:00
393379900c Update config.jsonc to adjust delay settings and enable critical stop in risk management
- Changed minimum delay from 3 minutes to 2 minutes
- Changed maximum delay from 5 minutes to 4 minutes
- Enabled stopping on critical issues in risk management
2025-11-09 11:17:31 +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
3bdb94adb5 Fix: Update version number to 2.56.0 in README, package.json, and package-lock.json 2025-11-08 23:58:21 +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
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