306 Commits

Author SHA1 Message Date
eb8ad12407 fix: Remove unnecessary function configuration from vercel.json 2026-01-02 19:44:14 +01:00
1c5342a3ad feat: Add the deployment configuration to vercel.json 2026-01-02 19:42:20 +01:00
ab532c9370 fix: Improve account search logic in disableBannedAccount function 3.60.1 2026-01-02 19:35:44 +01:00
d7a66847c7 chore: Bump version to 3.60.1 in package.json and package-lock.json 2026-01-02 19:31:55 +01:00
6ea7a35d43 feat: Implement account suspension handling and disable accounts in configuration 2026-01-02 19:28:04 +01:00
0ad0b46e24 v3.5.5 in the dashboard header 2026-01-02 18:50:17 +01:00
b2f3abfac4 Merge branch 'main' of https://github.com/LightZirconite/Microsoft-Rewards-Bot 2026-01-02 18:43:09 +01:00
8b4e1f8799 3.60.0 2026-01-02 18:41:11 +01:00
e981a69095 Refactor bot startup process to auto-create configuration files, enhance update system, and add historical stats endpoints
- Updated README.md to reflect new bot setup and configuration process.
- Removed outdated installer README and integrated update logic directly into the bot.
- Implemented smart update for example configuration files, ensuring user files are not overwritten.
- Added FileBootstrap class to handle automatic creation of configuration files on first run.
- Enhanced BotController to manage stop requests and ensure graceful shutdown.
- Introduced new stats management features, including historical stats and activity breakdown endpoints.
- Updated API routes to include new statistics retrieval functionalities.
2026-01-02 18:38:56 +01:00
18d88a0071 feat: Refactor configuration management to disable editing via dashboard and implement persistent stats tracking 2026-01-02 18:22:48 +01:00
Obsidian
7068bdaeef Delete src/config.jsonc
Signed-off-by: Obsidian <123307773+LightZirconite@users.noreply.github.com>
2026-01-02 18:15:02 +01:00
7a483fd139 feat: Implement real data fetching for points chart and enhance UI with config editor and history viewer styles 2026-01-02 18:12:19 +01:00
57e98e6f03 feat: Refactor configuration and enhance error reporting functionality 2026-01-02 17:58:08 +01:00
4ee648e5cb refactor: Change default exports to named exports for consistency 2026-01-02 17:05:06 +01:00
fe41b5c0c5 fix: Update Vercel URL to microsoft-rewards-bot project 2026-01-02 16:41:07 +01:00
2044fa5ee9 Vercel Setup 2026-01-02 16:30:38 +01:00
73c9643416 fix: Remove unnecessary whitespace in sanitizeDiscordText function 2026-01-02 16:20:47 +01:00
56d8e431bd security: Add Discord mention sanitization to prevent abuse 2026-01-02 16:18:16 +01:00
c56cd0b6b0 fix: Update error reporting URL to new Vercel project 2026-01-02 16:13:15 +01:00
d01441d8f5 feat: Add health check endpoint 2026-01-02 15:57:44 +01:00
1bc6cd0fe7 chore: Force Vercel redeployment 2026-01-02 15:51:22 +01:00
498e17b15c fix: Simplify code style in report-error.js by removing unnecessary semicolons 2026-01-02 15:49:37 +01:00
7ea9d25aca fix: Convert serverless function to JavaScript for Vercel 2026-01-02 15:48:09 +01:00
0f7f9e88d9 fix: Rename api function to match endpoint URL 2026-01-02 15:44:54 +01:00
1182a858a9 fix: Add Vercel serverless function for error reporting 2026-01-02 15:41:57 +01:00
84a6de8eef fix: Move error reporting from Vercel Serverless to Express 2026-01-02 15:40:04 +01:00
6f5f539c91 fix: Update vercel.json to use functions syntax 2026-01-02 15:35:48 +01:00
c2a3ba2a31 feat: Add Vercel serverless error reporting system 2026-01-02 15:21:08 +01:00
117297e478 Setup Vercel 2026-01-02 15:08:31 +01:00
Luis Antonio
1d1b3c50f1 3.5.6 2025-12-30 20:16:26 +01:00
Luis Antonio
eafbe7c458 fix broken reporting webhook (#23) 2025-12-30 20:16:26 +01:00
Jarod
5ba63bcf72 proxy should be false by default 2025-12-30 20:15:28 +01:00
Obsidian
1a3cf2b27e Fix backup repository link in README
Signed-off-by: Obsidian <123307773+LightZirconite@users.noreply.github.com>
2025-12-29 21:41:20 +01:00
Obsidian
6eea76d7cf Add backup repository details to README
Added a section for backup repository information.

Signed-off-by: Obsidian <123307773+LightZirconite@users.noreply.github.com>
2025-12-29 21:38:19 +01:00
Obsidian
1fe398f644 Enable automatic daily execution and jitter
Signed-off-by: Obsidian <123307773+LightZirconite@users.noreply.github.com>
2025-12-29 21:28:53 +01:00
Luis Antonio
946d0b140a 3.5.5 2025-12-29 21:23:04 +01:00
Obsidian
506c4c1f54 Fix multiple cluster bug and webhook disable (#23) 2025-12-27 17:12:42 +01:00
Luis Antonio
638a996a85 Update ErrorReportingWebhook.ts
Signed-off-by: Luis Antonio <hi@zaorinu.is-a.dev>
2025-12-27 13:04:02 -03:00
Luis Antonio
d3d516d445 fix: multi cluster bug
(reported on discord)

Case 1
https://ptb.discord.com/channels/1418201715009912866/1452266368723456154

Case 2
https://ptb.discord.com/channels/1418201715009912866/1454274029534969910

Signed-off-by: Luis Antonio <hi@zaorinu.is-a.dev>
2025-12-27 12:55:37 -03:00
d97af2e253 Back 2025-12-22 23:30:36 +01:00
5f7a821465 Fix 2025-12-22 22:30:06 +01:00
0e3e3068f8 Added an automatic escape manager to close native system dialogs upon login 2025-12-22 22:23:24 +01:00
a80321274f Added dialog handlers to prevent native pop-ups when using the browser and removed the old dialog handling code in the login process. 2025-12-22 22:19:48 +01:00
94272ac7f3 Added dialog handlers to automate the closing of native browser dialogs and updated the Discord payload build function to return null in case of filtered error. 2025-12-22 22:15:11 +01:00
7f761b539c Updated package version from 3.5.3 to 3.5.4 and improved email masking to enhance security 2025-12-22 22:03:22 +01:00
db7ee15cad Improved error handling for Chart.js and updated email masking feature for enhanced security 2025-12-22 22:02:09 +01:00
00f539ae04 Added single-account execution functionality and historical data loading for charts 2025-12-22 21:55:30 +01:00
5b27d11c0d Added account history tracking and statistics to the dashboard, improved logs, and increased wait times for OAuth. 2025-12-22 21:48:36 +01:00
Obsidian
b7d1494607 Update package version from 3.5.2 to 3.5.3
Signed-off-by: Obsidian <123307773+LightZirconite@users.noreply.github.com>
2025-12-22 21:16:38 +01:00
Obsidian
60cfbc015f Bump version from 3.5.2 to 3.5.3
Signed-off-by: Obsidian <123307773+LightZirconite@users.noreply.github.com>
2025-12-22 21:16:16 +01:00