Commit graph

4 commits

Author SHA1 Message Date
google-labs-jules[bot]
0f6191a780 Refactor status command to use non-blocking asyncio subprocess and escape HTML output. 2026-02-25 11:48:12 +00:00
google-labs-jules[bot]
9b6778cba0 Fix CRITICAL authorization bypass in Telegram Bot
- Changed `check_authorized` in `scripts/telegram_deploy_bot.py` to fail closed (deny all) if `TELEGRAM_ALLOWED_USER_IDS` is unset or empty.
- Updated `scripts/TELEGRAM_BOT_SETUP.md` and `QUICK_DEPLOY.md` to document that `TELEGRAM_ALLOWED_USER_IDS` is now mandatory for bot access.
- Added Sentinel Journal entry in `.jules/sentinel.md` documenting the vulnerability and learning.
- Verified fix with reproduction script.
2026-02-07 11:33:43 +00:00
google-labs-jules[bot]
be4268a251 Optimize telegram_deploy_bot to use asyncio subprocesses
Replaced blocking `subprocess.run` calls with `asyncio.create_subprocess_exec` to ensure the Telegram bot event loop remains responsive during long-running deployment tasks.

Key changes:
- Switched to `asyncio.create_subprocess_exec` for command execution.
- implemented `asyncio.wait_for` to handle the 300s timeout.
- Added explicit process cleanup (kill/wait) on timeout.
- Manually decoded stdout/stderr since async subprocesses return bytes.

Verified with a reproduction script showing the event loop gap dropped from ~2.0s (blocking) to ~0.1s (non-blocking).

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-01-27 00:57:34 +00:00
NUNA
de4e3c9c38 Add Telegram deployment bot, web dashboard, and deployment automation
- Add Telegram bot (@GenX_FX_bot) for cloud deployment automation
- Add web dashboard with deployment status and quick links
- Add Exness terminal deployment script
- Add dashboard deployment script (Fly.io, Render, GitHub Pages)
- Add personal vault for secure credential storage
- Update deploy_cloud.py with Fly.io deployment automation
- Add GitHub Pages workflow for dashboard auto-deployment
- Add bot setup documentation and deployment guides
2026-01-19 06:08:25 +07:00