Commit Graph
15 Commits
Author SHA1 Message Date
such-gitea 3764ffc4c2 fix(webhooks): refuse internal webhook targets and stop following redirects
Merchant-supplied webhook URLs were posted to without any host check,
redirects were followed, and the raw request error was stored and returned
to the caller. With open registration, anyone could make the service send
requests to the wallet RPC, the database, the daemon or a cloud metadata
address, and read back what the error revealed.

Every delivery path now goes through webhook_targets.post_webhook. It
accepts only http and https URLs without embedded credentials, requires
every resolved address to be public, and never follows redirects (a 3xx is
a failed delivery). WEBHOOK_ALLOWED_PRIVATE_HOSTS names exact hosts that may
resolve privately, for receivers reached over a LAN. Stored delivery errors
carry only the refusal reason or the exception class.
2026-11-18 15:40:51 -05:00
jwinterm 8e48fdbda6 docs: add extra_hosts comment for LAN webhook delivery 2026-04-13 10:27:37 -04:00
jwinterm 2d8fee45b6 merge upstream: system status, health monitoring, connectivity caching
Merges xmrcheckout/xmrcheckout main (7 commits since 655d037):
- Add Monero system status and reconciler heartbeat
- Surface Monero health status in UI (dashboard + invoice pages)
- Harden reconciler status heartbeat startup
- Avoid false Monero outage states in UI
- Cache Monero connectivity in system status
- Next.js security patch (15.5.9 → 15.5.14)
- Bump Monero Docker defaults to 0.18.4.6

Resolved conflicts in reconciler.py (kept our advisory lock + upstream
heartbeat), routes.py (kept both imports), README.md (kept both sections).
2026-03-28 12:20:32 -04:00
xmrcheckout f7e70e3436 Bump Monero Docker defaults to 0.18.4.6 2026-03-26 15:46:38 +00:00
jwinterm 5b747ab923 fix: correct API_BASE_URL default (was double-prefixing /api)
The default was http://nginx/api but all fetch calls already append
/api/... resulting in http://nginx/api/api/... (404). Changed to
http://nginx so the full path is http://nginx/api/admin/auth/verify.
2026-03-15 11:31:17 -04:00
jwinterm 47cd52686a Remove TLS from nginx — NPM handles TLS on LAN 2026-03-10 11:32:16 -04:00
jwinterm 5f1154d363 Add admin panel for merchant management
- POST/GET/DELETE /api/admin/users endpoints
- Admin UI at /admin with login, user list, create/delete
- Auth via ADMIN_API_KEY env var (separate from tenant auth)
- Tenants remain scoped to their own store only
2026-03-10 11:24:38 -04:00
jwinterm 3eabad598d Add OPEN_REGISTRATION gate, signup request form, favicon 2026-03-09 13:02:21 -04:00
jwinterm a69d199fab Switch rate provider from CoinGecko to Kraken
Kraken public API is free and doesn't require an API key.
Supports XMR/USD and XMR/EUR pairs.
2026-03-09 10:27:47 -04:00
xmrcheckout 5753e2171c Bump monero version to 0.18.4.5 2026-01-17 17:57:03 +00:00
xmrcheckout 98d944ce0c Ensure services restart after reboot 2026-01-09 20:02:58 +00:00
xmrcheckout 31eaf2d6a3 compose: only expose nginx by default 2026-01-09 15:23:18 +00:00
xmrcheckout 6290136327 Add optional Postgres backup service 2026-01-09 14:40:31 +00:00
xmrcheckout 81ce66803d Add local monerod docker compose profile 2026-01-09 14:33:10 +00:00
xmrcheckout 5e0ca00af2 Add docker-compose.yml and friends 2026-01-04 17:57:07 +01:00