Commit Graph
15 Commits
Author SHA1 Message Date
silvertakana fcef4d46fa rename: wwv-plugin-military wwv-plugin-military-aviation 2026-03-18 11:51:16 +13:00
silvertakana 975c4b1d38 fix: security hardening - SSRF protection, auth gates, manifest validation, domain fixes 2026-03-17 16:17:04 +13:00
silvertakana e6dc172871 feat: multi-account auth system (Auth.js v5 + Prisma)
- User model with bcrypt-hashed passwords and admin/user roles
- Auth.js v5 with Credentials provider + JWT sessions
- First-run /setup page creates admin account
- /login page with email+password
- proxy.ts middleware: redirects to /setup or /login for unauthenticated users
- API routes exempt (bridge uses token auth)
- AUTH_SECRET added to env
2026-03-15 16:52:14 +13:00
silvertakana 0d795bf5e8 feat: add Prisma ORM with SQLite for local database
- Add Prisma 7 with better-sqlite3 adapter
- Define schema: AviationHistory, InstalledPlugin, Setting
- Create data access layer (repository pattern)
- Migrate aviation history queries from Supabase to Prisma
- Auto-migrate on npm run dev via predev script
- Database auto-creates at data/wwv.db on first run
2026-03-13 21:04:14 +13:00
silvertakana c4f32ece18 feat: Introduce GlobeView component with Google 3D Tiles and integrate various camera data sources including GDOT, Caltrans, and TFL. 2026-03-12 19:04:47 +13:00
Vercel 97188a9c64 Set up Vercel Web Analytics for Next.js
Implemented Vercel Web Analytics for Next.js App Router Project

Changes Made:
=============

1. Installed @vercel/analytics package
   - Added @vercel/analytics ^1.6.1 to dependencies in package.json
   - Updated package-lock.json with new dependency tree

2. Modified src/app/layout.tsx
   - Added import statement: `import { Analytics } from "@vercel/analytics/next";`
   - Added <Analytics /> component inside the <body> tag, after {children}
   - Preserved all existing code structure, including suppressHydrationWarning and CesiumJS styles

Implementation Details:
======================

This is an App Router Next.js project (using the app directory structure), so the Analytics component was added to the root layout file (src/app/layout.tsx) as per Vercel's official documentation.

The Analytics component was placed after {children} in the body tag to ensure:
- It doesn't interfere with page content rendering
- Analytics scripts load after the main content
- Follows Vercel's recommended placement pattern

Verification:
============

✓ Build completed successfully (npm run build)
✓ All tests passed (npm test) - 30 tests across 5 test suites
✓ TypeScript compilation successful
✓ No linting errors introduced

The implementation follows Next.js 16.1.6 best practices and preserves all existing functionality while adding comprehensive web analytics tracking.

Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
2026-03-09 04:56:30 +00:00
silvertakana 62daafc4a0 chore: production disk sustainability - standalone output, remove fs cache 2026-03-08 19:29:54 +13:00
silvertakana 488bebafce feat(camera): implement insecam mult-page parsing for bulk camera retrieval 2026-03-07 14:33:27 +13:00
silvertakana 91155f3b70 feat(camera): add insecam-api source integration 2026-03-07 14:27:35 +13:00
silvertakana a8e52d42aa feat: Implement camera plugin, core application shell, globe view, floating windows, and state management. 2026-03-07 12:36:16 +13:00
silvertakana f672efd1d2 feat: integrate CesiumJS for 3D globe visualization, adding core components, assets, and documentation. 2026-03-06 13:33:24 +13:00
silvertakana 7cf44d2d5c feat: add real-time FPS indicator to HUD 2026-03-06 09:59:15 +13:00
silvertakana ee823ec266 style: make panel toggle arrows stealthy pull tabs 2026-03-05 17:28:07 +13:00
silvertakana 5f5767b67e feat: Implement initial application structure with Cesium globe, core UI components, and a plugin framework. 2026-03-04 19:53:07 +13:00
silvertakana 37530ebd35 Initial commit 2026-03-04 17:43:11 +13:00