306 Commits

Author SHA1 Message Date
6ed77b120f fix: Update package version to 2.56.11 in package.json and package-lock.json 2025-11-13 20:36:08 +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
2c7653e007 fix: Update package version to 2.56.9 in package.json and package-lock.json 2025-11-13 15:39:10 +01:00
8e2e7fae84 fix: Clean up build system and resolve Docker Chromium persistence issue
- Remove redundant prestart hook (no more "Build not found" message)
- Add prebuild hook for automatic Chromium installation
- Fix Docker Chromium persistence (copy @playwright from builder)
- Simplify npm scripts (11 → 9 commands, better naming)
- Add comprehensive build system documentation
- Add Docker deployment guide with troubleshooting

Fixes: Docker "Chromium not installed" error on subsequent runs
Closes: #[issue-number]
2025-11-13 15:34:02 +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
9f56227608 feature: Improved element management and diagnostics during navigation to the homepage 2025-11-12 23:16:29 +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
615122e894 feature: Improve popup and click management in the account creation process 2025-11-11 16:47:46 +01:00
b4bb375226 Feature: Added detection of temporary unavailability of Microsoft servers and improved error handling during account creation 2025-11-11 16:16:02 +01:00
7c8ad1e3d0 feat: Add Microsoft rate-limit detection and improve marketing opt-in unchecking strategies 2025-11-11 16:04:48 +01:00
f92ea9aab6 Everything works, creator account mode. 2025-11-11 15:56:33 +01:00
bcab53319a feat: Reduce wait times for page stability checks in account creation process 2025-11-11 15:30:37 +01:00
6069f2eba0 Fix creator 2025-11-11 15:25:21 +01:00
ffb77d3a28 Fix url 2025-11-11 15:16:21 +01:00
1f3d4159e0 feat: Update command usage to include '--' for argument passing in creator script 2025-11-11 15:10:02 +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
8b3d2224a2 feat: Disable automatic configuration updates in config.jsonc 2025-11-11 13:37:26 +01:00
932dedd8a8 Path Auto Update 2025-11-11 13:32:48 +01:00
759229902f feat: Improve update verification using the GitHub API for always-fresh data and manage rate limits 2025-11-11 13:23:02 +01:00
a359e97125 feat: update version to 2.56.6 in package.json and package-lock.json 2025-11-11 13:16:36 +01:00
fefed7b061 feat: Refactor setup script for improved user guidance and quick launch functionality 3/3 2025-11-11 13:11:30 +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
6b7b07cc1f docs: add comprehensive Copilot instructions for maintainers
- Add .github/copilot-instructions.md (1150+ lines)

- Document all 40+ files analyzed

- Cover architecture, utilities, advanced features

- Exclude .github/ from ZIP downloads (export-ignore)

- Remove .github/ from .gitignore (now tracked)
2025-11-11 12:20:16 +01:00
970c77b1c7 Fix docker 2025-11-11 10:26:12 +01:00
5109c772fe Updates the Microsoft Rewards bot version to 2.56.5 in package.json and package-lock.json 2025-11-10 23:07:52 +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
971f063b39 Refactor JobState initialization and update alert message formatting 2025-11-10 23:02:01 +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
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