Commit Graph

18 Commits

Author SHA1 Message Date
github-actions
017bd9dd8f generated 2025-11-22 04:10:37 +00:00
23e2a82f5c working 2025-11-21 17:15:05 +01:00
github-actions
e3894f9577 generated 2025-11-21 04:11:16 +00:00
github-actions
9e98eb602f generated 2025-11-20 04:10:52 +00:00
github-actions
0af99f0792 generated 2025-11-19 04:12:04 +00:00
github-actions
ef834465c6 generated 2025-11-18 04:12:08 +00:00
github-actions
751bacf731 generated 2025-11-17 04:14:23 +00:00
github-actions
68d8174f62 generated 2025-11-16 04:13:59 +00:00
github-actions
be61fea0c8 generated 2025-11-15 04:10:47 +00:00
github-actions
f3d794af37 generated 2025-11-14 04:12:02 +00:00
github-actions
a11b093a48 generated 2025-11-13 04:13:36 +00:00
github-actions
a56f1b1cf6 generated 2025-11-12 04:11:54 +00:00
github-actions
b5dbb96bab generated 2025-11-11 04:12:40 +00:00
github-actions
5d4f0195c2 generated 2025-11-10 04:15:01 +00:00
Claude
f7e07aa4bd Fix data display issue by aggregating to weekly values
- Reduced historical data from 4,442 daily entries to 636 weekly entries
- This improves chart rendering performance and ensures all data up to current date is displayed
- Updated btcpoll.js to handle weekly data updates (updates same week or adds new week)
- Added aggregate-weekly.js script for future data aggregation needs
- Data now properly displays from 2013-09-15 to 2025-11-09
2025-11-09 16:11:51 +00:00
Claude
4df6f3868a Use actual Kraken BTC/EUR historical data instead of USD conversion
- Restored btceur-kraken-historical.csv from git history to archive folder
- Updated eurrate() function to parse Kraken CSV data directly
- Replaced USD-to-EUR conversion with actual BTC/EUR exchange rates from Kraken
- Historical data now contains 4,442 entries from Sept 2013 to Nov 2025
- More accurate EUR pricing for the graph visualization
2025-11-09 15:31:01 +00:00
Claude
45d890b986 Fix graph data error by populating EUR historical data
- Added eurrate() function to convert_btcticker.js to convert USD historical data to EUR format
- Populated public/historical file with 4,240 entries of EUR exchange rate data
- Each entry now includes sateur_rate and btceur_rate fields required by the graph
- Fixes the MetricsGraphics "No data was supplied" error on the en-eur page
2025-11-09 14:47:43 +00:00
Claude
447f740f59 Remove all HKD/satshkd support, keep only EUR version
- Removed all HKD routes (/en, /zh-cn, /zh-hk) from index.js
- Removed HKD locale files (en.json, zh-cn.json, zh-hk.json)
- Removed HKD calculation files (calculate.js, btcpoll.js, updaterate.js from old version)
- Removed HKD historical data files (hkd_historical, hkd_historical_dedup)
- Renamed EUR-specific files to standard names:
  - calculate-eur.js -> calculate.js
  - btcpoll-eur.js -> btcpoll.js
  - updaterate-eur.js -> updaterate.js
  - eur_historical -> historical
- Updated all locale files to reference 'historical' instead of 'eur_historical'
- Updated default route to redirect to /en-eur instead of /en
- Updated GitHub Actions workflow to only run EUR data updates
- Updated all references in code to use renamed files

This creates a clean EUR-only implementation ready for deployment at eursat.eu
2025-11-09 09:36:33 +00:00