Commit Graph

25 Commits

Author SHA1 Message Date
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 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 e8d9b1fd42 feat: add CoopCredits Solana media rewards ecosystem
Add complete  token system with Plex/Tautulli/Overseer integration:
- Anchor program for SPL token mint/burn/transfer
- Express backend with OAuth, webhooks, Solana integration
- Next.js frontend with dashboard, admin panel, wallet management
- Docker deployment for 172.20.1.0/24 infrastructure
- Production configs with SSL, Nginx, health monitoring

Tautulli webhooks auto-mint  on watch events.
Overseer integration burns  for content requests.
2026-04-14 11:09:50 -04:00