Commit Graph
592 Commits
Author SHA1 Message Date
silvertakana 50228a43c8 chore: update Dockerfiles to use pnpm for installation 2026-03-29 22:33:00 +13:00
silvertakana 326c69e92f fix(globe): default all entities to depth-tested (disableDepthTestDistance: 0) 2026-03-28 18:49:29 +13:00
silvertakana e3225d4dab fix(globe): enable depthTestAgainstTerrain and use disableDepthTestDistance: 0 for aviation 2026-03-28 18:37:23 +13:00
silvertakana 23d1538ea2 fix(globe): enable depth testing for airplanes to prevent rendering through globe 2026-03-28 18:27:52 +13:00
silvertakana 5f89715ee6 fix(plugins): enable click-to-filter for aviation and wildfire bands 2026-03-26 23:13:35 +13:00
silvertakana 22f22ead37 feat(plugins): implement getLegend in maritime, military-aviation, and wildfire plugins 2026-03-26 22:56:12 +13:00
silvertakana 5eff117972 feat(ui): implement legend API and interactive layer filtering via Intel Tab 2026-03-26 22:50:47 +13:00
silvertakana b92e5b3683 feat: add satellite tracking plugin 2026-03-26 22:24:04 +13:00
silvertakana b79f0f025d docs: update all setup instructions to use npm run setup 2026-03-26 17:45:42 +13:00
silvertakana f40615ee21 feat: add npm run setup to auto-generate .env.local for local hosting
- scripts/setup.mjs: generates .env.local from .env.example with a
  randomly generated AUTH_SECRET; skips if .env.local already exists
- package.json: adds 'setup' script as the first command new users run
- .gitignore: un-ignores scripts/setup.mjs while keeping rest of /scripts/ private
2026-03-26 17:41:59 +13:00
silvertakana 222ae0950e fix: make env_file optional for Coolify Docker Compose deployments 2026-03-26 17:30:33 +13:00
silvertakana afe89f8c0e fix: add VOLUME declaration for /app/data for Coolify/Dockerfile deployments 2026-03-26 17:29:02 +13:00
silvertakana 867e495353 fix: pass AUTH_SECRET to Docker and always run migrations on startup
- docker-compose.yml: inject AUTH_SECRET (fail-fast), WWV_DEMO_ADMIN_SECRET,
  and WWV_BRIDGE_TOKEN from host environment so JWT sessions survive restarts
- docker-entrypoint.sh: always run prisma migrate deploy (idempotent) instead
  of skipping when the DB file already exists; removes dead DB_PATH variable
- .env: document AUTH_SECRET as required for Docker deployments
- .env.example: add AUTH_SECRET field with generation instructions
2026-03-26 17:20:10 +13:00
silvertakana 6263f7766b fix(favicon): use Next.js native app/icon.svg to fix Docker cache 2026-03-26 17:00:25 +13:00
silvertakana d65600786f fix(docker): future-proof Prisma + Next.js standalone setup
- Add prisma package to serverExternalPackages in next.config.ts
- Replace manual node_modules cherry-picking with full production install
- Copy pre-built node_modules from deps stage and prune dev dependencies
- Ensures all Prisma CLI runtime dependencies are always available
2026-03-26 16:42:03 +13:00
silvertakana a3a04d84c0 fix: Resolve React update depth sequence errors 2026-03-26 15:36:31 +13:00
silvertakana f295609ea2 feat: Update header styling to match new design requirements 2026-03-26 15:36:31 +13:00
silvertakana 80064996e9 chore: Install favicon and update logos 2026-03-26 15:36:31 +13:00
silvertakana 973bef6386 UI: add hover delay to Tooltip component 2026-03-26 15:27:17 +13:00
silvertakana 4e2287aa5f UI: use React Portal Tooltip component for unverified plugin icon to fix clipping 2026-03-26 15:25:56 +13:00
silvertakana 17b8c7bb62 UI: add fast custom CSS tooltip to unverified plugin warning icon 2026-03-26 15:22:30 +13:00
silvertakana d10c68004a feat(docker): add persistent volume for sqlite db to retain installed plugins across restarts 2026-03-26 14:14:10 +13:00
silvertakana 10830efca5 UI: clean up plugin badges by showing simple warning icon for unverified plugins and removing category badge 2026-03-26 14:11:52 +13:00
silvertakana c3d9b2b536 feat: Introduce camera stream playback with mixed-content proxying and add a new volcanoes plugin. 2026-03-24 11:21:15 +13:00
silvertakana 3a04c64e79 perf(cesium): enable requestRenderMode, camera.changed sync, scratch allocs, GPU label fading
P0: Enable requestRenderMode for idle GPU savings (~50-90%)
P0: Switch camera sync from postRender to camera.changed w/ percentageChanged
P1: Stabilize sceneSettings with useMemo to prevent React re-renders
P1: Scratch HPR/Matrix4 in ModelManager and useModelRendering
P1: Add translucencyByDistance to labels for GPU-side fading
P2: Scratch Cartesian2 in searchPinAnimation
2026-03-22 14:38:33 +13:00
silvertakana eea424a826 fix: use dynamic lucide icon resolution for all 1700+ icons 2026-03-19 18:14:43 +13:00
silvertakana 4edcce2468 feat: add 5 static OSM plugins (volcanoes, airports, seaports, lighthouses, spaceports) 2026-03-19 16:00:22 +13:00
silvertakana d54d9a480c feat: skip auth on demo edition for marketplace/load so all visitors see installed plugins 2026-03-19 15:53:47 +13:00
silvertakana b7d76b5e58 fix: run prisma migrations at build time, remove runtime entrypoint 2026-03-19 15:36:59 +13:00
silvertakana e83e45e8b9 fix: use forwarded host headers for login redirect behind reverse proxy 2026-03-19 15:32:34 +13:00
silvertakana 86b7550c38 fix: skip database query on demo edition in setup-status 2026-03-19 15:15:29 +13:00
silvertakana 09b4b44c3e fix: pass --url flag to prisma migrate deploy to bypass TS config loading 2026-03-19 15:01:29 +13:00
silvertakana c6b26d20bc fix: add DATABASE_URL env and prisma deps to Docker runner stage 2026-03-19 14:40:52 +13:00
silvertakana 36ee84857b feat: DOD Phase 1 rendering optimizations
- Add color cache (getCachedColor) to eliminate per-entity Color.fromCssColorString allocations
- Add scratch Cartesian3 position to avoid heap alloc per entity in renderSingleEntity
- Add stable array cache (getStableAnimatables) to eliminate Array.from per render cycle
- Add renderEntity memoization (renderOptionsCache) for static entity options
- Refactor animation loop into dynamic/static batching for branchless iteration
- Extract modules: renderCaches.ts, animationHelpers.ts, primitiveOps.ts, renderOptionsCache.ts
- All files under 150 lines per project guidelines
2026-03-19 14:37:21 +13:00
silvertakana 25b19ec635 fix: update CSP headers to allow camera stream feeds from arbitrary origins
- Added http: https: to img-src for MJPEG camera streams and preview images
- Added http: https: to connect-src for HLS stream fetches
- Added media-src directive for video element sources
- Added frame-src directive for YouTube, Twitch, Vimeo, and other embed providers
- Fixes CSP violations that blocked camera plugin after npm plugin migration
2026-03-19 14:30:01 +13:00
silvertakana 614d3af796 fix: add error handling to setup-status and fix Dockerfile for Prisma 2026-03-19 14:28:12 +13:00
silvertakana bc05d93ce8 fix: add error handling to setup-status and fix Dockerfile for Prisma 2026-03-19 14:21:06 +13:00
silvertakana c0789f831c fix: externalize native modules and add prisma generate to Docker build 2026-03-18 23:11:16 +13:00
silvertakana 3be23a3ebc fix: resolve TypeScript build errors (NextRequest type, return type, Suspense boundary) 2026-03-18 23:05:53 +13:00
silvertakana abd40ede1b Merge branch 'main' of https://github.com/silvertakana/worldwideview 2026-03-18 22:54:07 +13:00
silvertakana c7d980390d feat: Add NEXT_PUBLIC_WWV_EDITION environment variable to configure the application edition. 2026-03-18 22:53:29 +13:00
Silvertakana aab5e39aa3 Merge feature/marketplace-integration into main
Merge feature/marketplace-integration into main - includes marketplace plugins, bug fixes, core globe rendering, and entity management
2026-03-18 22:50:53 +13:00
silvertakana 05bc8856f6 fix: report pluginManagementEnabled flag instead of spoofing edition 2026-03-18 22:43:27 +13:00
silvertakana 562a53e853 fix: report edition as local when demo admin is configured so marketplace allows connection 2026-03-18 22:26:37 +13:00
silvertakana 419744e64b fix: universal plugin management flag enable when demo admin secret is configured 2026-03-18 22:20:27 +13:00
silvertakana b008537694 fix: allow NextAuth to populate session on demo so auth() returns admin session 2026-03-18 22:16:11 +13:00
silvertakana 11919731d2 fix: skip unverified plugin dialog on demo admin already approved by installing 2026-03-18 22:13:20 +13:00
silvertakana 2a285312b0 feat: show ADMIN badge in header when demo admin is logged in, text input on demo login 2026-03-18 22:11:06 +13:00
silvertakana 027672d885 fix: use text input on demo login so admin username works without email validation 2026-03-18 22:08:50 +13:00
silvertakana e016342dea feat: session-based demo admin login via /login with admin credentials 2026-03-18 22:07:30 +13:00