Add a supplementary rate feed for currencies the ECB lacks (e.g. ALL)

The server also fetches ExchangeRate-API's free EUR-based endpoint
(RATES_EXTRA_URL, empty = off), stored apart from ECB rates; ECB always wins
for a currency both publish. /api/rates returns sources for supplementary
rates, expenses record them as xr:<date>, and the editor shows the required
attribution link. Snapshots older than a week before the requested date are
not used.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HA82gVKYyo9BHLHPW4qr4x
This commit is contained in:
agent 2026-11-06 18:13:31 +00:00
parent 6b0c80bb50
commit 62c19192a7
13 changed files with 160 additions and 27 deletions

View file

@ -5,7 +5,8 @@ Settle Up clone that runs in any browser and installs as an app.
- Groups you open via a link; the key travels in the `#fragment` and never reaches the server
- Equal, shares, exact-amount and percent splits; several payers; any member can be left out
- Multiple currencies with ECB daily rates (stored per expense, editable)
- Multiple currencies with daily rates — ECB, plus ExchangeRate-API for the
rest (stored per expense, editable)
- One receipt photo per expense (resized, location data stripped, encrypted)
- Who-pays-whom settle-up suggestions, with "record payment"
- Full history: restore any version, or rewind the whole group (and undo that)