Commit Graph

108 Commits

Author SHA1 Message Date
hobokenchicken 82e1f1b010 fix: handle isbn as array from Listenarr search results 2026-07-01 08:21:48 -04:00
Your Name 36e71ead7b major fixes 2026-05-14 16:58:06 +00:00
Your Name ad84c38641 fix: backend port 3001 -> 3002 to match Caddy upstream config
Caddy routes /api/* and /webhooks/* to 172.20.1.238:3002 but the
docker-compose had PORT=3001 and bound port 3001. Changed:
- PORT env var: 3001 -> 3002
- Port binding: 0.0.0.0:3002:3002
- Health check: localhost:3002/health
- Next.js rewrites: localhost:3001 -> localhost:3002
- Frontend port: 127.0.0.1 -> 0.0.0.0 (Caddy remote access)
2026-04-30 19:55:50 +00:00
hobokenchicken 72614e0844 fix: rewrite /api/* to internal backend (localhost:3001), not public URL
The previous rewrite used NEXT_PUBLIC_API_URL (https://coop.hobokenchicken.com)
as the destination. This created a loop through Caddy: /api/* → Next.js →
rewrite to public URL → Caddy → Next.js → 502.

Now routes /api/* and /webhooks/* directly to the Express backend on
localhost:3001, bypassing Caddy entirely for API calls.
2026-04-30 15:51:25 -04:00
hobokenchicken 4c0a5d32f4 fix: use root build context in docker-compose.prod.yml
Dockerfiles reference monorepo subdirectories (frontend/, backend/)
but the prod compose specified ./frontend and ./backend as build
contexts. The containers were running because they were built from
docker-compose.yml (dev) which already had root context. Rebuilds
with --build were broken.
2026-04-30 15:01:52 -04:00
hobokenchicken 3377b1e751 fix: restore /api prefix in frontend baseURL, strip from API_URL fallback
The previous 'double /api' fix (d5adc2f) was wrong. Production sets
NEXT_PUBLIC_API_URL without /api, so the old `${API_URL}/api` was
load-bearing. The real fix: remove /api from the fallback values
(both browser and dev branches), keep /api only in the baseURL literal.

Before: API_URL fallback included /api → double /api when env var absent
After:  API_URL is origin only → baseURL = `${origin}/api` always correct
2026-04-30 14:57:43 -04:00
hobokenchicken d5adc2f985 fix: 3 HIGH + 4 MEDIUM + 4 LOW bugs, env vars, security hardening
HIGH: garbled env vars in 5 files fixed (auth, admin, webhooks, tautulli)
HIGH: double /api prefix in frontend API client fixed
HIGH: committed Solana keypair removed from repo
MEDIUM: JWT_SECRET hardcoded fallback removed (now fails fast)
MEDIUM: admin settings update now validates numeric inputs
MEDIUM: wallet dead code removed from frontend API client
MEDIUM: backfill no longer blocks login (fire-and-forget)
LOW: vanity-keypair-coop.json added to .gitignore
LOW: SystemSettings.id default fixed (cuid -> 'default')
LOW: overseerClient in admin.ts made lazy-initialized
LOW: .env already in .gitignore (verified)
2026-04-30 14:41:48 -04:00
hobokenchicken 46cbb4e551 feat: add privacy policy with SMS data sharing section 2026-04-23 15:34:19 -04:00
hobokenchicken d72cc63c7a feat: add Plivo SMS admin panel with rate limits 2026-04-23 15:22:00 -04:00
hobokenchicken 3029ce7053 docs: update all documentation to reflect current project state 2026-04-23 14:35:08 -04:00
hobokenchicken 8b31045dcf feat: admin requests tab + 30s disk cache + sync all pending 2026-04-23 13:58:31 -04:00
hobokenchicken 3f37690e50 fix: remove duplicate close button from buy credits modal 2026-04-23 13:47:08 -04:00
hobokenchicken 4eb4212b3f fix: update ko-fi links, drop $20 option 2026-04-23 13:42:58 -04:00
hobokenchicken 70a1925c95 feat: add Ko-fi donations tab to admin dashboard 2026-04-23 13:29:15 -04:00
hobokenchicken ed7f1dd114 fix: update ko-fi link to store item page 2026-04-23 13:14:24 -04:00
hobokenchicken 9f76a3c9dd fix: increase rate limit to 1000/15min, add WatchHistory error handling 2026-04-23 12:56:47 -04:00
hobokenchicken cd15250522 fix: remove duplicate refresh button 2026-04-23 12:50:52 -04:00
hobokenchicken 8b118985e9 fix: add movieAdjusted/tvAdjusted to SearchRequestModal type 2026-04-23 12:46:23 -04:00
hobokenchicken 9ab8172209 feat: market price card shows current + base costs, search modal uses adjusted prices 2026-04-23 12:45:02 -04:00
hobokenchicken 71e8529728 fix: missing closing brace in style prop 2026-04-23 12:38:11 -04:00
hobokenchicken 2d897e45ed feat: dynamic pricing by disk space + episode count, total requests stat, disk bar graph 2026-04-23 12:36:50 -04:00
hobokenchicken ad85beef6b fix: add missing poster src attribute 2026-04-23 12:16:44 -04:00
hobokenchicken 515dba07ac fix: explicitly encode overseer search query 2026-04-23 12:12:52 -04:00
hobokenchicken 3dcece5c67 feat: ko-fi integration for credit purchases 2026-04-23 11:59:05 -04:00
hobokenchicken 4a68cc85f3 fix: tautulli backfill use individual sessions, client-side date filter, actual watch time 2026-04-23 11:42:01 -04:00
hobokenchicken 3b9d709589 fix: use duration field, guard null started/stopped, cap 10h 2026-04-23 11:24:26 -04:00
hobokenchicken 29f3201fc5 fix: tautulli get_history use after=unix_ts not start_date 2026-04-23 11:08:08 -04:00
hobokenchicken 1016fd397e fix: frontend resilience in admin dashboard 2026-04-23 11:00:02 -04:00
hobokenchicken 137bf19a02 fix: manual bigint casting in admin analytics 2026-04-23 10:55:31 -04:00
hobokenchicken 0d0c67e205 fix: restore missing watch history and leaderboard components 2026-04-23 10:51:58 -04:00
hobokenchicken 9c3a3cad9d fix: remove duplicate close button in search modal 2026-04-23 10:48:43 -04:00
hobokenchicken df1fec502e feat: add posters to search results 2026-04-23 10:45:28 -04:00
hobokenchicken 02384022ab feat: add manual backfill button to admin 2026-04-23 10:40:53 -04:00
hobokenchicken 46984adda4 feat: manual backfill for admin 2026-04-23 10:36:34 -04:00
hobokenchicken ddeacb2543 fix: add requests to admin analytics 2026-04-23 10:21:58 -04:00
hobokenchicken 0b9c0e89cc fix: admin user list data mapping 2026-04-23 10:20:04 -04:00
hobokenchicken 9be0b46e2f fix: global bigint serialization 2026-04-23 10:17:46 -04:00
hobokenchicken 1707797df4 feat: admin barn rules and custom rewards 2026-04-23 10:14:04 -04:00
hobokenchicken 81558198d5 style: align admin and landing with jokey barnyard aesthetic 2026-04-23 10:10:15 -04:00
hobokenchicken cf7a311d7f style: fix dashboard tab alignment 2026-04-23 10:08:09 -04:00
hobokenchicken 3b83861dfb style: jokey barnyard dashboard with comic sans 2026-04-23 10:01:53 -04:00
hobokenchicken 1cb5ad205e style: brutalist terminal dashboard 2026-04-23 09:59:17 -04:00
hobokenchicken daf21f67ad style: earthy merged dashboard design 2026-04-23 09:54:33 -04:00
hobokenchicken 5315dca6d7 style: simplify dashboard hero 2026-04-23 09:52:06 -04:00
hobokenchicken 48da1cd571 style: apply earthy site palette 2026-04-23 09:48:59 -04:00
hobokenchicken d37369eca2 feat: remove blockchain landing copy 2026-04-23 09:43:03 -04:00
hobokenchicken 1dafc7d312 feat: rustic dashboard redesign 2026-04-23 09:23:52 -04:00
hobokenchicken bf57169014 fix: sync pending requests from overseer 2026-04-23 09:14:44 -04:00
hobokenchicken e594b450c6 fix: remove dashboard auto-refresh churn 2026-04-22 15:55:17 -04:00
hobokenchicken a8c5ef557d fix: keep refresh only in requests tab 2026-04-22 15:41:20 -04:00