Commit Graph

51 Commits

Author SHA1 Message Date
hobokenchicken 3dcece5c67 feat: ko-fi integration for credit purchases 2026-04-23 11:59:05 -04:00
hobokenchicken 1016fd397e fix: frontend resilience in admin dashboard 2026-04-23 11:00:02 -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 0b9c0e89cc fix: admin user list data mapping 2026-04-23 10:20:04 -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
hobokenchicken 65ae7a6924 feat: add dashboard refresh buttons 2026-04-22 15:37:47 -04:00
hobokenchicken 50ca3c2900 fix: reduce dashboard request churn 2026-04-22 14:28:07 -04:00
hobokenchicken 2a7b4f46b3 fix: poll request status updates 2026-04-22 14:06:41 -04:00
hobokenchicken f108971559 feat: add logout button 2026-04-22 14:04:34 -04:00
hobokenchicken 57b09b1f99 fix: socket reconnect and polling fallback 2026-04-22 14:02:40 -04:00
hobokenchicken 4b8a41d928 fix: persist auth across refresh 2026-04-22 14:00:19 -04:00
hobokenchicken f0b3338f08 fix: live update request status 2026-04-22 13:53:37 -04:00
hobokenchicken de275976ed feat: add dashboard request panels 2026-04-22 13:50:41 -04:00
hobokenchicken 7b07c7d04a feat: restore request flow in dashboard 2026-04-22 13:47:34 -04:00
hobokenchicken b7da2f2298 fix: wallet api auth after solana purge 2026-04-22 13:44:24 -04:00
hobokenchicken f944b1f9b4 chore: final solana purge 2026-04-22 13:37:22 -04:00
hobokenchicken 4bfcbb6b7e chore: remove solana wallet stack 2026-04-22 13:32:14 -04:00
hobokenchicken 8ec91acc25 refactor: db-only credits and admin controls
Remove blockchain dependence from credit flow:
- watch credits now DB-only
- webhook earnings now DB-only
- wallet balance now DB-only
- admin bonus/adjustment routes operate on DB totals

Add admin adjustment API for account control.
Keep Solana service file unused for now; safe to delete later.
2026-04-22 13:05:48 -04:00
hobokenchicken 5db61212dc feat(theme): barnyard redesign with rustic crypto aesthetic
- New color palette: barn red primary, cream backgrounds, hay gold
- Added Abril Fatface display font for headlines
- Wood grain texture backgrounds via CSS gradients
- Barnyard personality in copy: 'Join the Flock', 'Enter the Coop'
- Replaced hardcoded slate colors with theme variables
- Updated landing, login, dashboard, onboarding, leaderboard
2026-04-21 14:14:48 -04:00
hobokenchicken 185018a42e fix(auth): prevent duplicate plex callback requests
React re-renders caused useEffect to fire twice. First
request succeeded, second consumed already-used PIN → 500.
Added useRef guard to dedupe.
2026-04-21 13:58:11 -04:00
hobokenchicken 18e9f58c1a fix(docker): fix standalone output path in frontend Dockerfile
Next.js 16 standalone output preserves monorepo subdirectory
structure, placing server.js at frontend/server.js instead of
server.js. Updated COPY paths and CMD to match.
2026-04-21 11:58:10 -04:00
hobokenchicken 3e531580bd fix(auth): remove unused useSearchParams causing build fail
Next.js 16 prerender error on /auth/callback from
useSearchParams without Suspense. Removed unused import
to fix Docker build.
2026-04-21 11:45:33 -04:00
hobokenchicken 5751e08eb1 fix(auth): use Plex PIN flow instead of OAuth2 code exchange
Plex auth uses PIN-based flow, not standard OAuth2 authorization_code.

- backend/auth: POST /api/v2/pins to create PIN, GET /api/v2/pins/{id} to get authToken
- frontend/login: store pinId in sessionStorage before redirect
- frontend/callback: send pinId to backend instead of query code
- backend/index: fix dotenv path resolution for tsx (__dirname returns '.')
2026-04-21 09:27:00 -04:00
Your Name 7e68f57d69 Fix: support coop FQDN for dashboard access 2026-04-18 02:10:06 +00:00
Your Name 4fba61f83b UI: Re-theme app with coop-inspired colors 2026-04-18 02:07:03 +00:00
Your Name dabd1d5b18 UI: Update login page branding to CoopCoins 2026-04-18 01:34:11 +00:00
Your Name 2c89bf3e18 Feat: Rebrand project to CoopCoins with friendly messaging 2026-04-18 01:20:38 +00:00
Your Name 61bbca2e5d Refactor: Improve error handling in authentication flow 2026-04-17 19:55:35 +00:00
hobokenchicken 7c5da339cb fix: Add root page.tsx to fix 404 on /
- Create app/page.tsx that redirects to /login
- Fixes 404 error when accessing root URL
2026-04-15 14:46:48 -04:00
hobokenchicken 2388873e7a fix: Docker build and runtime fixes
- Fix duplicate 'signature' variable in webhooks.ts
- Add Prisma binary target for Alpine Linux
- Fix tsconfig path alias (@/* -> ./src/*)
- Add missing next-themes dependency
- Add build args for NEXT_PUBLIC_* env vars
- Fix SSR issues with zustand and providers
- Add providers-wrapper with dynamic ssr:false import
- Add SSL certs and public dir for nginx
- Update Dockerfiles for proper Prisma engine handling
2026-04-15 14:16:27 -04:00
hobokenchicken 84dd370673 fix: add build tools and copy node_modules from builder
- Install python3, make, g++ in builder for native module compilation
- Copy node_modules from builder stage to avoid rebuild in production
- Fixes usb package compilation error in node:20-alpine
2026-04-14 15:52:22 -04:00
hobokenchicken d2e20ad82a fix: docker build - use root context for monorepo workspaces
- Change build context from ./frontend|backend to root (.)
- Update Dockerfiles to copy from correct paths
- Use npm install instead of npm ci (workspaces share root lockfile)
- Remove obsolete version attribute from docker-compose.yml

Fixes npm ci errors when package-lock.json is at workspace root.
2026-04-14 15:45:27 -04:00
hobokenchicken 2e8260bc8c security: upgrade dependencies to fix critical and high vulnerabilities
- next: 14.2.15 → 15.2.5 (fixes critical DoS, SSRF, cache poisoning)
- react/react-dom: 18.2.0 → 19.1.0
- @solana/spl-token: 0.3.9 → 0.4.14 (bigint-buffer overflow fix)
- vitest: 1.1.0 → 3.0.0 (esbuild dev server exposure fix)
- mocha: 9.0.3 → 11.7.5 (serialize-javascript RCE fix)
- @solana/wallet-adapter-*: latest versions
- Add npm overrides for elliptic, lodash, esbuild, nanoid

Vulnerabilities: 44 (1 critical) → 23 (3 high, 20 low)

Refs: npm audit fixes for GHSA-7m27-7ghc-44w9, GHSA-3gc7-fjrx-p6mg
2026-04-14 14:15:48 -04:00
hobokenchicken d602d667ea fix(frontend): update Next.js to 14.2.15
Fix security vulnerability in Next.js 14.0.4.
See: https://nextjs.org/blog/security-update-2025-12-11

Other npm deprecation warnings are from transitive dependencies
(@solana/wallet-adapter packages) and don't affect functionality.
2026-04-14 13:41:57 -04:00
hobokenchicken 2e41156046 chore: add .env.example template files
Add environment variable templates for:
- Root .env.example (all services)
- backend/.env.example (API configuration)
- frontend/.env.local.example (client config)

Copy to .env and fill in your secrets before running.
2026-04-14 11:14:37 -04:00