FlyRates / main.py

Commit History

feat: implement async database session management and CBSL currency exchange rate service with persistent caching
61207aa

Sadeep Sachintha commited on

Update Telegram autocomplete command list registration on startup
93d598b

Sadeep Sachintha commited on

Simplify Telegram Bot to unified daily rate list subscription and drop legacy tables
fec8feb

Sadeep Sachintha commited on

fix: remove delete_webhook from production shutdown to resolve zero-downtime race condition
853c8a4

Sadeep Sachintha commited on

feat: add production webhook safeguard for local development
d24d9cd

Sadeep Sachintha commited on

feat: enhance diagnostic logs and webhook error handling
7f642b4

Sadeep Sachintha commited on

feat: add in-memory diagnostic logs endpoint to track production errors
d65b565

Sadeep Sachintha commited on

feat: implement key-less FX service with native CBSL web scraping and fallback cache logic
f53ddba

Sadeep Sachintha commited on

diagnostics: include safe environment variables details
dc02f8a

Sadeep Sachintha commited on

chore: handle startup db failures gracefully and add long polling fallback
8ae4c35

Sadeep Sachintha commited on

security: Remove hardcoded telegram bot tokens from tracked source files
5b9bc06

Sadeep Sachintha commited on

feat: implement FX service with persistent caching and optimize concurrent rate fetching in main
72fdc64

Sadeep Sachintha commited on

refactor: update Aiogram bot initialization to use AiohttpSession with custom API server
32a47e0

Sadeep Sachintha commited on

feat: add optional custom Telegram Bot API server proxy/mirror configuration
e4759e7

Sadeep Sachintha commited on

fix: update getaddrinfo monkeypatch to return both native Telegram IPv6 and IPv4 records
f370663

Sadeep Sachintha commited on

fix: restore standard connection session for Telegram bot and FX rate fetching to enable NAT64 routing on Hugging Face Spaces
28899dd

Sadeep Sachintha commited on

debug: add socket.getaddrinfo monkeypatch for api.telegram.org and fix name 'aiohttp' in diagnostics
5cceeb9

Sadeep Sachintha commited on

debug: wrap webhook setup in try-except block to prevent startup failure
6b640dc

Sadeep Sachintha commited on

debug: add /api/diagnostics endpoint to expose connection diagnostics publicly
28fd032

Sadeep Sachintha commited on

debug: add network connection and DNS diagnostic to lifespan startup
754db9c

Sadeep Sachintha commited on

fix: correct SQL filter syntax in main.py and document Hugging Face deployment networking and database configurations in README.md
01b965c

Sadeep Sachintha commited on

refactor: implement custom IPv4AiohttpSession to resolve Hugging Face IPv6 connectivity issues
d7f6ce7

Sadeep Sachintha commited on

feat: implement FXService and force IPv4 connectivity for bot and API requests
4b7e1b4

Sadeep Sachintha commited on

feat: implement aiogram command handlers and interactive currency keyboards for Telegram bot
ffdcbc6

Sadeep Sachintha commited on

Implement premium real-time glassmorphic dashboard served directly on root
370fc07

Sadeep Sachintha commited on

first commit
7803d4e

Sadeep Sachintha commited on