Commit Graph

14 Commits

Author SHA1 Message Date
Usman Baig
501932849b fix: ESM import for next-pwa, changelog updates (F-5)
- Convert require() to ESM import in next.config.ts
- Remove skipWaiting (defaults to true in Workbox)
2026-03-01 21:09:10 +01:00
Usman Baig
fba1fd99c2 fix: add favicon domains to connect-src for service worker compatibility
The PWA service worker (workbox) fetches images via the Fetch API, which
is governed by connect-src, not img-src. Add www.google.com, *.gstatic.com,
and ciphera.net to connect-src so favicon and app icon fetches succeed.
2026-03-01 15:44:10 +01:00
Usman Baig
c9123832a5 fix: fix broken images from CSP, remove dead code, upgrade React types
- Add ciphera.net and *.gstatic.com to CSP img-src (fixes app switcher
  icons and site favicons blocked by Content Security Policy)
- Delete 6 unused component/utility files and orphaned test
- Upgrade @types/react and @types/react-dom to v19 (matches React 19 runtime)
- Fix logger test to use vi.stubEnv for React 19 type compatibility
2026-03-01 15:33:37 +01:00
Usman Baig
67f6690258 fix: enhance security with stricter Content Security Policy and input validation 2026-03-01 15:02:22 +01:00
Usman Baig
19be64c43a feat: optimize icon imports for smaller page downloads by enabling tree-shaking in the build process 2026-02-22 21:04:05 +01:00
Usman Baig
5d234b30d6 feat: implement security headers for enhanced protection against clickjacking, MIME-sniffing, and other vulnerabilities 2026-02-22 19:55:52 +01:00
Usman Baig
94fb7c60e0 feat: optimize favicon loading across the application using Next.js image component for better performance and caching 2026-02-22 19:21:28 +01:00
Usman Baig
32d8b90284 feat: add rewrites for documentation URLs to improve navigation and accessibility 2026-02-16 21:53:58 +01:00
Usman Baig
787eac2151 feat: integrate PWA support using next-pwa; update configuration in next.config.ts, add service worker files to .gitignore, and include manifest in layout.tsx 2026-02-04 10:45:00 +01:00
Usman Baig
f8bf5d2645 chore: update deployment notes and hosting information in README and next.config.ts 2026-01-28 15:01:10 +01:00
Usman Baig
4e9cf59828 Fix: Use OAuth authorize flow, show login prompt instead of auto-redirect 2026-01-16 13:56:37 +01:00
Usman Baig
481a35b383 Fix: Add dashboard redirect, copy icon, create placeholder pages, update auth API URL 2026-01-16 13:52:45 +01:00
Usman Baig
58d349c20b Add standalone output for Railway deployment 2026-01-16 13:36:07 +01:00
Usman Baig
8e10a05eb1 Initial commit: Analytics frontend implementation 2026-01-16 13:14:19 +01:00