Commit Graph
31 Commits
Author SHA1 Message Date
Krystie e58130756e [grade=B] Complete customer billing confirmation flow 2026-08-22 19:03:09 -07:00
Hermes Agent e2b4ce4447 pricing: wire checkout to license server (one-time + subscription)
Replace hardcoded Stripe Payment Links with client-side fetch to
https://licenses.dashcaddy.net/api/checkout/{one-time,subscription}.
Add email capture input and two-button checkout (Buy once vs.
Subscribe & auto-renew). Plan codes: premium_30d/90d/180d/365d.
Update hero copy and FAQ to reflect both payment modes.
2026-08-19 13:56:44 -07:00
Hermes 414c962d3c docs(catalog): audit and fix 10 hallucinations in install guides
Round-1 docs claimed things the code does not do. This commit rewrites
all 77 per-template pages + the catalog index to match reality:

CORRECTED:
- REST API payload shape: was {template, subdomain, port, environment}
  Real Joi schema (src/utilities/validate.js appDeploy) is
  {appId, config: {subdomain, port, mediaPath?, plexClaimToken?, ...}}
  All optional fields now documented per-schema.

- Auth methods: was just "Authorization: Bearer" — real middleware
  accepts three (TOTP session cookie, Authorization: Bearer JWT,
  X-API-Key header). All three now shown.

- Deploy is synchronous: was "poll GET /api/v1/apps/{id}/status" — there
  is no status endpoint. Response shape documented as
  {success, containerId, url, message, setupInstructions}.

- AI Intent Router: was "starts the deployment" — it returns a
  structured intent; the caller must POST /api/v1/apps/deploy to
  actually provision. Documented accurately.

- MCP dashcaddy_deploy_app: was treated as full deploy — it only writes
  the Caddy route + services.json entry, NOT the container. Documented
  as such with manual docker pull as next step.

- Watchtower: was claimed to auto-update every 24h — DashCaddy does NOT
  poll for new digests. Watchtower is a separate template with default
  schedule 0 0 4 * * * (cron 04:00). Documented.

- Update button: was "Apps → {Name} → Update" — no such endpoint exists.
  Manual docker pull + restart now documented.

- Restore-on-install: was "prompt to restore from snapshot during install"
  — no such prompt. POST /api/v1/apps/{appId}/restore documented.

- Backups: was "default daily snapshot" — backup schedule is
  configurable via backup-config.json, not "nightly" by default.
  Volumes ARE included; documented.

- Dashboard menu: was "Apps → Catalog" — actual entry is the
  "App Selector" button on the dashboard home. Documented.

- Dashboard URL: status.sami confirmed correct (configurable via
  dashboardHost).

Also fixes default port resolution: was using portList[0].split(":")[0]
which leaks "{{PORT}}" literal when the template uses the placeholder.
Now uses t.defaultPort (Joi-validated) first, falling back to portList.

Build: 78 routes prerender as static, TypeScript clean.
2026-08-15 03:28:15 -07:00
Hermes dcb8eeda4e chore: add regenerate-catalog-docs.sh for future template additions
Whenever app-templates.js gains or changes a template, run this script
to keep /docs/catalog in sync. It generates all 78 static pages and
verifies the Next.js build still passes.
2026-08-15 02:46:11 -07:00
Hermes 81493a9076 docs(catalog): add full install guides for all 77 app templates
Generate one dedicated install page per template in /docs/catalog/<id>/.
Each page covers:
- Prerequisites (with claim-token reminders where applicable)
- Three install paths: dashboard UI, REST API (with curl), AI Intent Router
- Post-install first-run checklist (from the template metadata)
- Volume mounts and persistent data
- Environment variables
- Watchtower auto-update behavior
- Backup inclusion
- Common troubleshooting
- Related services (category-aware cross-links)

Also add /docs/catalog index page grouping all 77 templates by 17
categories, with difficulty badges and popularity-sorted entries.

Sidebar updated to show the new App Catalog entry.

Generated by /tmp/generate-template-docs.js (run from /opt/dashcaddy
in a follow-up to keep content in sync with app-templates.js).
2026-08-15 02:45:47 -07:00
Krystie fbb6db24d2 [grade=pending] fix: add 17 missing app templates to showcase, update count 76→93 2026-08-13 17:23:06 -07:00
Krystie e51419a302 fix: remove 16 non-existent apps from showcase, correct count 93→76
Removed apps that have no deploy template in code:
- Subsonic, Vikunja, OpenProject, Plane, HedgeDoc
- Yacht, Authelia, Keycloak, OpenVPN, Bitwarden
- Forgejo, GitLab, Prometheus, Netdata, Kibana, OpenHAB

Also fixed name: 'Vintage Radio' → 'Vintage Stereo' (matches actual template)
Corrected all '93+' references to '76' across all pages.
Deployed to live dashcaddy.net via cPanel API.
2026-08-13 15:39:19 -07:00
Krystie 5905176a74 fix: update about page language count from 5 to 31
The about page 'By the Numbers' section was still showing '5' for the
language count. Updated to '31' to match the i18n system's 31-language
support.

Note: live server may need Apache cache flush to serve the updated page.
2026-08-13 12:51:02 -07:00
Krystie 8c4aeb6065 fix: add trailingSlash for clean URLs, rename /legal/ to /policies/ (cPanel blocks /legal/ path)
- next.config.ts: enable trailingSlash:true so Next.js generates /page/index.html
  instead of /page.html, enabling Apache DirectoryIndex to serve clean URLs
- Rename src/app/legal/ to src/app/policies/ because cPanel/Apache blocks
  the /legal/ URL path (returns 403 regardless of file permissions)
- Update Footer.tsx and terms page links from /legal/ to /policies/
- .htaccess: add DirectoryIndex directive for subdirectory index.html serving
- All 15 pages verified live on dashcaddy.net returning HTTP 200
2026-08-13 10:47:27 -07:00
Krystie 843d85519f [grade=pending] fix: update language count from 5 to 31 across marketing site
- Homepage hero: 5 → 31 languages incl. Arabic (RTL)
- Homepage integrations section: 5 → 31 languages, RTL
- Features page: 5 → 31 languages in description and feature list
- Docs/premium: Internationalization (5 → 31 languages)
- Pricing: i18n — 5 → 31 languages

The DC-077 i18n system expanded from 5 to 31 languages.
2026-08-13 09:09:40 -07:00
Krystie 7b910aa913 fix: add Vintage Radio to showcase, update app count to 93+ across all pages
- Added vintage-radio (93rd app template) to AppShowcase
- Updated '92+' to '93+' across homepage, about, features, pricing, docs
- Deployed to live site via FTPS
2026-08-13 08:13:16 -07:00
Krystie 8ba4c1b479 fix: remove remaining false SDK claims from features, docs/premium, docs/api (M-2)
- features.tsx: 'JavaScript SDK & REST API' → 'REST API (260+ endpoints)'
- docs/premium: 'the JS SDK' → 'the REST API'
- docs/api: 'and the SDK' → 'and integrations'

The SDK package doesn't exist; the REST API is the correct integration surface.
Deployed to live dashcaddy.net via cPanel API with cache-busting rewrite.
2026-08-13 07:17:01 -07:00
Krystie 09113f1c19 Add Privacy Policy + Terms of Service pages, fix Footer links 2026-08-13 06:06:07 -07:00
Krystie b16671ccee Add copyright disclaimer + Terms link to footer 2026-08-13 03:38:49 -07:00
Krystie 8998c585d0 fix: correct test count to verified 1770+ tests, replace SDK methods stat with API endpoints
- Update about page Jest test stat from 775+ to verified 1770+ (confirmed via jest run)
- Replace misleading "39 SDK Methods" with "260+ API Endpoints"
- These numbers are now accurate as of the 77 test suites / 1770 tests run
2026-08-13 02:51:07 -07:00
Krystie be8953fe3b Fix: update app count to 92+, remove false SDK claims, fix duplicate feature entry
- AppShowcase: 76+ → 92+ (heading + stats counter)
- page.tsx: JavaScript SDK (39 methods) → REST API (Full JSON API)
- features/page.tsx: SDK → REST API, removed duplicate REST API entry
- premium docs: SDK (39 methods) → REST API & MCP Server
- pricing: SDK → REST API & MCP Server for AI assistants
- favicon updates from branding assets
Deployed live to dashcaddy.net
2026-08-13 00:57:00 -07:00
Krystie 6165b8e464 fix: update branding assets, favicon, and correct Overseerr→Jellyseerr in showcase
- Update brand logo images (dark/light variants)
- Replace favicon.ico with optimized version, remove redundant icon.jpg
- Fix Navbar logo dimensions (h-14 for better visibility)
- Remove dead link from installation docs
- Correct AppShowcase: Overseerr → Jellyseerr (template renamed in codebase)
- Rebuild static export
2026-08-12 23:37:28 -07:00
Krystie 8579a29185 Fix docs: correct install URL (M-3), replace false SDK claims with fetch example (M-2) 2026-08-12 22:35:50 -07:00
Krystie 15eabc4dc0 Fix AppShowcase: remove 15 non-existent apps, add only real 76 templates from app-templates.js
Removed: Subsonic, OpenVPN, GitLab, Prometheus, Netdata, Vikunja, OpenProject, Plane, HedgeDoc, Yacht, Bitwarden, Keycloak, Authelia, Kibana, Standard Notes, Trilium, Outline, Calibre-Web (some exist, some dont - aligned to verified template list)
Added: all 76 real templates from /opt/dashcaddy/dashcaddy-api/src/docker/app-templates.js
Deployed to live dashcaddy.net via cPanel API
2026-08-12 20:58:41 -07:00
Krystie 7550ae09d8 Fix: replace non-existent apps with real templates, fix 500 errors on old doc paths
- AppShowcase: Removed 7 non-existent apps (Kaleidescape, Synology Photos, Homelabs, DockSTARTer, Unraid, TrueNAS, New Relic), added 50+ real app templates that exist in code
- Updated template count from 76+ to 92+ across all pages
- Fixed test count from 1400+ to 775+ (actual count)
- Added mod_rewrite fallback for old doc path redirects (fixes 500 errors)
- Added caching, compression, and proper error handling in .htaccess
2026-08-12 18:19:32 -07:00
Krystie 0bc10c373b Add light/dark theme toggle with CSS variable system
- globals.css: surface colors flip via CSS custom properties (.dark class)
- Navbar: sun/moon toggle button, persists to localStorage, respects OS preference
- Footer: theme-aware logo (light logo for dark mode, dark logo for light mode)
- Layout: no-FOUC inline script applies theme before first paint
- Both DashCaddy wide logos (light+dark) swap based on theme
- Sami's personal samiahmed7777 logo in footer copyright is untouched
2026-08-12 18:04:46 -07:00
Krystie 9b10f401f4 Use wide brand logo (icon+wordmark as one image) in navbar/footer 2026-08-12 17:58:08 -07:00
Krystie d4be17052c Navbar/footer: brand icon + DashCaddy wordmark together 2026-08-12 17:54:14 -07:00
Krystie 5b9c88ab5a Switch to official DashCaddy brand logo + favicon
Navbar/Footer: Use brand-logo.png (transparent bg) instead of logo-dark.jpg
Favicon: Updated to brand icon
Added brand-wide-dark.png and brand-wide-light.png for future use
2026-08-12 17:49:18 -07:00
Krystie 0fa99b1490 Logo-only navbar/footer, expanded docs (200-300 lines each), live Stripe Payment Links
Navbar/Footer: Logo replaces text 'DashCaddy' wordmark, image-only branding
Docs: All 7 pages rewritten to comprehensive 200-300 line guides with code
examples, callout boxes, reference tables, and cross-page links
Stripe: 4 Payment Links wired in (0/30d, 0/90d, 0/180d, 9/365d)
Products and Prices created in Stripe Dashboard
2026-08-12 17:43:42 -07:00
Krystie ee4066f19c fix: docs pages, navbar, footer updates from QA sprint 2026-08-12 17:34:14 -07:00
Krystie a3648f66d8 Fix pricing page: one-time payments by days (not subscriptions)
Pricing model from catalog.js: 0/30d, 0/90d, 0/180d, 9/365d
All one-time payments, not recurring subscriptions.
Updated plan selector, FAQ, and button labels accordingly.
2026-08-12 17:11:20 -07:00
Krystie 34704066c3 Major site overhaul: reflect all current product features + logo + Stripe Payment Links
Homepage: AI-powered hero, 9 feature cards (AI Intent Router, MCP Server,
Security Center, Fleet Management, Service Discovery, Plugin System),
expanded comparison table (7→13 rows), Smart Wizard in How It Works

Features page: Complete rewrite — 8 feature sections led by AI-Powered
Self-Hosting, Free vs Premium comparison grid

Pricing page: Fixed broken Stripe checkout (was 503 stub). Subscribe
button now uses Stripe Payment Links. Core tier lists all 18 features.

All 7 docs pages: Updated to reflect current architecture (AI, MCP,
Security Center, SDK, Caddyfile-as-Code, Service Discovery, etc.)

About page: AI-Native value prop, updated tech stack, by-the-numbers

Navbar: Fixed broken #anchor links → proper routes, added DashCaddy logo

AppShowcase: 50+ → 76+ templates

Logo: Dark + light versions deployed, wired into navbar/footer/favicon
2026-08-12 16:53:58 -07:00
Krystie 3b2023e97a WIP: pending changes — docs, webhook, nav/footer (committed per Sami request, not yet reviewed) 2026-06-13 21:29:36 -07:00
Krystie 69c2179a43 Add .env.example and next-env.d.ts 2026-04-15 20:56:17 -07:00
Krystie c5d7d99852 DashCaddy.net all files 2026-04-15 20:55:30 -07:00