Commit Graph

271 Commits

Author SHA1 Message Date
8e6e4f716f feature: activate the dashboard for automatic startup with the bot 2025-11-03 22:29:16 +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
3eb861ef8a feat: Add semantic deduplication and threshold configuration for improved query filtering 2025-11-03 21:43:21 +01:00
a1163976a6 search: add semantic deduplication to reduce query redundancy
- Implement Jaccard word-level similarity in Search.ts
- Add 15 unit tests for query quality metrics and deduplication
- Introduce optional searchSettings.semanticDedup config flag
- Backward-compatible, default enabled (threshold 0.65)
- Tests: 17/17 pass, typecheck clean, risk: low
2025-11-03 21:36:05 +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
baf25103f7 Refactor: Clean up unused imports and improve code readability across multiple files 2025-11-03 19:52:27 +01:00
a932f48425 docs: update scheduling instructions in Docker and setup documentation 2025-11-03 19:28:43 +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
67006d7e93 Updates Discord links in several files to reflect the new community link. 2025-11-03 17:15:49 +01:00
6ebf2afce3 Corrige l'indentation et améliore la lisibilité du code dans plusieurs fichiers 2025-11-03 16:34:25 +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
1531cff4a3 Supprimer les tests pour le suivi des tentatives de recherche mobile 2025-11-03 16:18:15 +01:00
7270204c67 Update pfp 2025-11-03 15:56:16 +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
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