11 Commits

Author SHA1 Message Date
0xcathiefish d40498e5b6 Migrate Binance futures WS to /market/stream endpoint
Binance permanently decommissioned wss://fstream.binance.com/stream on
2026-04-23. Connections to the legacy URL still complete the handshake
but receive no kline data — the server silently withholds frames and
read.next() blocks forever, so realtime updates stop while historical
REST sync still works. This caused frontend charts to freeze and
watchlist prices to remain at 0.00.

Per Binance's WebSocket Change Notice, kline streams now belong to the
/market routing class. Updating the combined-stream URL to
wss://fstream.binance.com/market/stream?streams=... restores realtime
delivery without any other code change (combined-stream syntax is
unchanged).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
v1.1
2026-05-03 04:22:52 +00:00
0xcathiefish 7962415d56 Fixed email restriction. 2026-04-06 08:16:23 +00:00
0xcathiefish 59c65446f9 Remove hardcode of email restriction. 2026-04-06 08:14:49 +00:00
0xcathiefish 619391f87a Add build.sh for Cloudflare Pages env-based config injection
- Add build.sh that generates auth-config.js from environment variables
  (API_BASE_URL, GOOGLE_CLIENT_ID, ALLOWED_EMAILS) at build time
- Move email whitelist from hardcoded login.html to window.ALLOWED_EMAILS
  in auth-config.js, so it can be configured via env vars
- Reset auth-config.js to placeholder defaults in repo
- Update README.md and README_CN.md deployment docs for both options

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
v1.0.0
2026-02-14 15:47:52 +00:00
0xcathiefish 9bc9222be5 Set local branch auth-config.js with real credentials
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 15:47:23 +00:00
0xcathiefish 83551d9b4d Add build.sh for Cloudflare Pages env-based config injection
- Add build.sh that generates auth-config.js from environment variables
  (API_BASE_URL, GOOGLE_CLIENT_ID, ALLOWED_EMAILS) at build time
- Move email whitelist from hardcoded login.html to window.ALLOWED_EMAILS
  in auth-config.js, so it can be configured via env vars
- Reset auth-config.js to placeholder defaults in repo
- Update README.md and README_CN.md deployment docs for both options

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 15:45:33 +00:00
0xcathiefish 748e8bc6d2 Add personal email to auth whitelist for local branch
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 15:26:48 +00:00
0xcathiefish 9812bc7635 Replace custom canvas save/load with built-in save_load_adapter
- Remove custom canvas selector UI (HTML popup, CSS styles, toolbar button)
- Remove all custom canvas JS functions (toggleCanvasSelector, loadCanvas,
  saveCanvas, autoSaveCanvas, startAutoSave, newCanvas, deleteCanvas, etc.)
- Add createSaveLoadAdapter() implementing TradingView's save_load_adapter:
  - Chart layouts: localStorage index + backend API storage (no backend changes)
  - Study/Drawing/Chart templates: pure localStorage
- Enable load_last_chart and auto_save_delay in widget config
- Add DEV_MODE auth bypass for localhost development
- Update auth-config.js with production API URL and OAuth client ID
- Update README.md and README_CN.md feature descriptions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 15:19:27 +00:00
0xcathiefish 2c3eec4742 Update README.md with a new line 2026-02-12 08:12:36 +00:00
0xcathiefish b33ef907d4 Upload files. 2026-02-12 08:11:37 +00:00
0xcathiefish 47fa783913 Upload files. 2026-02-12 08:10:28 +00:00