MQL5-Google-Onedrive/scripts
google-labs-jules[bot] 86f9d7a45f feat(security): sanitize error responses and add secure logging in web dashboard
Replaces raw exception leakage in `scripts/web_dashboard.py` with generic "Internal Server Error" responses to prevent information disclosure. Implements `logging` module to capture full stack traces internally for debugging, ensuring no loss of diagnostic capability for admins.

Fixes potential vulnerability where internal paths or logic errors could be exposed to end users.
2026-02-22 23:05:40 +00:00
..
analyze_pr_optimizations.py Parallelize PR analysis in analyze_pr_optimizations.py 2026-01-18 19:07:52 +00:00
check_ea_status.ps1 Merge feature branch, cleanup dependencies, and sanitize credentials 2026-01-28 10:24:13 +00:00
ci_validate_repo.py Security: remove leaked tokens and add secret scan 2026-02-10 04:38:19 +00:00
cleanup.ps1 Merge feature branch, cleanup dependencies, and sanitize credentials 2026-01-28 10:24:13 +00:00
cleanup_accounts.ps1 docs: update VPS and terminal configuration metadata 2026-02-09 01:03:32 +00:00
cleanup_guide.md Merge feature branch, cleanup dependencies, and sanitize credentials 2026-01-28 10:24:13 +00:00
cleanup_mql5_folder.ps1 Merge feature branch, cleanup dependencies, and sanitize credentials 2026-01-28 10:24:13 +00:00
cleanup_mt5_terminal.ps1 Merge feature branch, cleanup dependencies, and sanitize credentials 2026-01-28 10:24:13 +00:00
container_entrypoint.sh feat: implement unified MQL5 EA containerized deployment and CI/CD 2026-02-09 16:19:26 +00:00
deploy_cloud.py Add GCP deployment config and update Gemini model 2026-01-20 10:49:31 +00:00
deploy_cloud_simple.ps1 Merge feature branch, cleanup dependencies, and sanitize credentials 2026-01-28 10:24:13 +00:00
deploy_dashboard.ps1 Add Telegram deployment bot, web dashboard, and deployment automation 2026-01-19 06:08:25 +07:00
deploy_docker_hub.sh feat: Secure bridge integration, refactor EAs, and add profile maintenance script 2026-01-22 01:08:24 +00:00
deploy_exness.ps1 Add Telegram deployment bot, web dashboard, and deployment automation 2026-01-19 06:08:25 +07:00
deploy_exness_live.ps1 Merge feature branch, cleanup dependencies, and sanitize credentials 2026-01-28 10:24:13 +00:00
deploy_gcp.sh Add GCP deployment configuration and scripts 2026-01-24 19:21:00 +00:00
deploy_mt5.sh Add executable permissions to scripts and create verification document 2026-01-06 20:41:06 +00:00
echo_hello.py Add echo and hello window functionality 2026-02-09 05:08:59 +00:00
echo_hello.sh Add echo and hello window functionality 2026-02-09 05:08:59 +00:00
example_custom_script.py Add comprehensive automation startup scripts for Windows, Linux, and WSL 2026-01-06 04:21:36 +00:00
fix_profiles.py feat: Secure bridge integration, refactor EAs, and add profile maintenance script 2026-01-22 01:08:24 +00:00
jules_deploy.ps1 Merge feature branch, cleanup dependencies, and sanitize credentials 2026-01-28 10:24:13 +00:00
jules_execute.py fix: Improve Jules execution script error handling 2026-01-10 05:06:32 +07:00
knowledge_base_helper.py Add knowledge base helper script for easy resource access 2026-02-18 05:56:17 +00:00
load_vault.ps1 Add Telegram deployment bot, web dashboard, and deployment automation 2026-01-19 06:08:25 +07:00
load_vault.py Security fix: Replace real credentials with placeholders in docs and examples 2026-02-08 04:15:17 +00:00
manage_cloudflare.py Optimize performance: Fix MQL5 double-loop, add early-exit, improve Python efficiency 2026-02-11 08:35:24 +00:00
market_research.py Optimize performance: Fix MQL5 double-loop, add early-exit, improve Python efficiency 2026-02-11 08:35:24 +00:00
merge_best_prs.py feat(scripts): parallelize PR closing in merge_best_prs.py 2026-01-21 16:23:19 +00:00
package_mt5.sh Add executable permissions to scripts and create verification document 2026-01-06 20:41:06 +00:00
pin_prs_issue.md docs: Add PR tracking issue template 2026-01-10 05:27:51 +07:00
prepare_release.sh Add release management infrastructure and automation (#255) 2026-02-05 02:53:31 +07:00
README.md Add knowledge base helper script for easy resource access 2026-02-18 05:56:17 +00:00
README_KNOWLEDGE_BASE_HELPER.md Add knowledge base helper script for easy resource access 2026-02-18 05:56:17 +00:00
requirements_bot.txt Add Telegram deployment bot, web dashboard, and deployment automation 2026-01-19 06:08:25 +07:00
research_scalping.py feat: Add scalping strategy support for M5, M15, M30 2026-01-28 18:14:03 +00:00
reset_environment.ps1 Update Magic Number to 81001 and enhance reset scripts for MT5 cleanup 2026-01-22 05:58:45 +00:00
review_pull_requests.py Optimize branch analysis in PR review script 2026-02-09 05:06:55 +00:00
review_working_trees.py feat: Add working tree review script and report - Created review_working_trees.py for comprehensive branch/stash/worktree analysis - Added Working Tree Review Report documentation - Analyzed 81 remote branches (25 merged, 55 unmerged) - Fixed Unicode encoding issues in git command execution 2026-01-10 05:13:04 +07:00
schedule_research.py Setup schedule for Gemini and Jules research with NotebookLM context 2026-01-28 20:07:51 +00:00
set_github_secrets.sh feat: add Cloudflare configuration and secret management tools 2026-01-21 15:17:38 +00:00
setup_cloudflare_tunnel.sh Add Cloudflare management scripts and tunnel setup 2026-01-25 02:59:06 +00:00
setup_forge_runner.sh bolt: setup forge runner and optimize mql5 performance 2026-01-28 16:31:18 +00:00
setup_github_secrets.ps1 Merge feature branch, cleanup dependencies, and sanitize credentials 2026-01-28 10:24:13 +00:00
setup_jules_task.sh Add Jules CLI integration setup and documentation 2026-02-18 09:17:49 +00:00
setup_research.sh feat: Setup automated market research and upgrades with Gemini and Jules 2026-01-23 19:50:48 +00:00
setup_schedule.sh Setup schedule and integrate NotebookLM context for research/upgrades 2026-01-25 19:44:13 +00:00
setup_ubuntu.sh feat: install Gemini CLI and integrate into setup scripts 2026-02-13 03:50:20 +00:00
start_bot.ps1 Security: remove leaked tokens and add secret scan 2026-02-10 04:38:19 +00:00
start_dev_container.ps1 Merge feature branch, cleanup dependencies, and sanitize credentials 2026-01-28 10:24:13 +00:00
startup.bat Improve batch file Python detection logic and standardize errorlevel checks 2026-02-13 09:29:47 +00:00
startup.ps1 Clarify Python version requirements and improve error handling 2026-02-13 09:30:52 +00:00
startup.sh feat: Add monitoring support to startup script 2026-01-22 08:20:09 +00:00
startup_orchestrator.py Address code review: optimize ArraySize() calls and document cache behavior 2026-02-11 08:36:56 +00:00
sync_github_pages.py feat: Add Mouy-leng request processing system - Improved custom issue template with request types - Created GitHub Pages sync workflow for automated syncing - Added sync_github_pages.py script for manual syncing - Created Mouy-leng Request Processing Guide documentation 2026-01-10 04:41:34 +07:00
TELEGRAM_BOT_SETUP.md Security fix: Replace real credentials with placeholders in docs and examples 2026-02-08 04:15:17 +00:00
telegram_deploy_bot.py Fix CRITICAL authorization bypass in Telegram Bot 2026-02-07 11:33:43 +00:00
test_automation.py Merge branch 'copilot/install-juless-cli' into copilot/improve-variable-function-names 2026-02-10 13:14:45 +07:00
test_echo_hello.py Add echo and hello window functionality 2026-02-09 05:08:59 +00:00
test_web_dashboard.py Add security headers to web dashboard (CSP, HSTS, X-Frame-Options) 2026-02-09 11:27:48 +00:00
update_vps.sh feat: Secure bridge integration, refactor EAs, and add profile maintenance script 2026-01-22 01:08:24 +00:00
upgrade_repo.py Optimize performance: Fix MQL5 double-loop, add early-exit, improve Python efficiency 2026-02-11 08:35:24 +00:00
validate_pwa.py Add PWA documentation and validation script 2026-02-01 19:20:28 +00:00
web_dashboard.py feat(security): sanitize error responses and add secure logging in web dashboard 2026-02-22 23:05:40 +00:00

Scripts Directory

This directory contains automation scripts for the MQL5 trading system.

Automation Scripts

Startup Scripts (Choose one based on your platform)

  • startup.bat - Windows batch script for simple automation
  • startup.ps1 - PowerShell script with advanced features (recommended for Windows)
  • startup.sh - Bash script for Linux/WSL
  • startup_orchestrator.py - Python orchestrator (cross-platform)

Helper Scripts

  • example_custom_script.py - Template for creating your own custom scripts
  • test_automation.py - Integration tests for all automation scripts
  • knowledge_base_helper.py - Access NotebookLM and OneDrive Blueprint resources (see README_KNOWLEDGE_BASE_HELPER.md)

Deployment Scripts

  • ci_validate_repo.py - Repository validation (used by CI)
  • deploy_mt5.sh - Deploy MQL5 files to MT5 data folder
  • package_mt5.sh - Create distribution package

Quick Start

Windows Users

# Run once
.\startup.ps1

# Setup auto-start on boot
.\startup.ps1 -CreateScheduledTask

# Test without executing
.\startup.ps1 -DryRun

Linux/WSL Users

# Run once
./startup.sh

# Setup auto-start on boot (systemd)
./startup.sh --setup-systemd

# Setup auto-start on boot (cron)
./startup.sh --setup-cron

Python Orchestrator (All Platforms)

# Create default configuration
python startup_orchestrator.py --create-config

# Run with default config
python startup_orchestrator.py

# Run with monitoring
python startup_orchestrator.py --monitor 3600

# Dry run
python startup_orchestrator.py --dry-run

Testing

Run the integration tests:

python test_automation.py

Configuration

Edit ../config/startup_config.json to customize:

  • What programs to start
  • Startup order and delays
  • Platform-specific settings
  • MT5 terminal path

Documentation

Full documentation available in ../docs/:

  • Startup_Automation_Guide.md - Complete guide
  • Quick_Start_Automation.md - Quick reference
  • Windows_Task_Scheduler_Setup.md - Windows setup details

Support