5 Commits

Author SHA1 Message Date
unknown 50d2df9c98 fix: bind to 0.0.0.0 for LAN mode instead of specific IP
view_settings.py:
- _write_server_config now always writes address = 0.0.0.0 for LAN mode
- Specific detected IP is display-only, not written to config.toml
- Fixes WinError 10049 when config.toml is shared across machines
  with different LAN IPs via git pull
2026-04-20 09:11:07 +10:00
unknown f0b30e2097 feat: network settings, update banner and changelog in settings page
view_settings.py:
- Network Access section: LAN vs localhost toggle, port input
- _get_lan_ip: detects first 192.168.x.x address, ignores PPPoE/WAN
- _write_server_config: writes [server] block to config.toml
- _write_config: now preserves existing [server] block when saving theme
- Custom hostname input with step-by-step hosts file instructions
  for Windows (C:\Windows\System32\drivers\etc\hosts) and macOS (/etc/hosts)
- iOS/Android note directing to IP address or static DHCP reservation
- _get_local_sha: reads .git/HEAD directly, no git CLI required
- _get_remote_info: fetches latest commit SHA from GitHub API, 1hr cache
- _get_recent_commits: fetches last 10 commits for changelog, 1hr cache
- check_for_update_banner: call from app.py to show top-of-page info
  banner when local SHA differs from latest GitHub commit
- Version and Changelog section in Settings: local vs remote SHA,
  update warning with git pull instructions, Check again button,
  last 10 commits as collapsible expanders with you-are-here marker
2026-04-20 08:56:37 +10:00
unknown 7e2015cb11 Fixed logic of portfolio builder and parsing of htm reports
- incorrectly managed in/out trades skipping trades when multiple open entries on the same strategy.
- fixed card color backgrounds in light theme
- fixed strategy filters in portfolio builder
2026-04-17 08:40:42 +10:00
unknown a784d26875 feat: trade analysis equity overlays, theme settings, chart fixes
Trade Analysis:
- Add toggleable equity curve overlays: Account total, By Strategy,
  By Symbol, By Day of Week — checkboxes above each chart
- Fix all chart backgrounds to transparent (inherit page theme)
- Fix grid and font colours to work on both dark and light backgrounds

Settings page:
- Full theme control: Dark / Light / Custom radio with Apply button
- Custom mode: colour pickers for accent, page bg, sidebar bg, text,
  font selector and base dark/light toggle
- Preview swatches before applying
- Discard / Reset to Dark button
- Text size: Normal / Large (+2px) / Extra Large (+4px) via CSS injection
- inject_theme_css() helper for app.py to apply font size on all pages
- Theme written to .streamlit/config.toml on apply
2026-04-15 08:23:56 +10:00
unknown 6b677b8259 Initial commit - MT5 Tools dashboard 2026-04-12 18:25:46 +10:00