exifcleaner-web/public
forgejo_admin 1c642f5b37
Some checks failed
CI / Lint, Typecheck & Unit Tests (push) Successful in 36s
CI / Smoke build (VITE_ENABLE_FFMPEG_FALLBACK=false) (push) Successful in 1m2s
CI / E2E (Standalone single-file) (push) Successful in 1m55s
CI / E2E (Web) (push) Has been cancelled
security: remove style-src 'unsafe-inline' from all CSP policies (#197)
Closes #193

Migrate three inline-style React props to CSS classes / CSSOM:
- ErrorExpansion: cursor:copy and copy-hint color moved to BEM classes
- SegmentedControl: dynamic transform now driven by --ec-segment-offset CSS var, set via useLayoutEffect + ref.style.setProperty

Remove 'unsafe-inline' from style-src in all three enforcement layers:
- vite.config.web.ts (prod only; dev keeps it for HMR)
- nginx.conf (both CSP directives)
- public/_headers (Cloudflare Pages)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 00:06:28 +04:00
..
_headers security: remove style-src 'unsafe-inline' from all CSP policies (#197) 2026-05-23 00:06:28 +04:00
icon-192.png B: Deployable webapp — Vite build, web adapters, JPEG/PDF strategies, PWA, Docker, CI 2026-05-07 17:56:50 +04:00
icon-512.png B: Deployable webapp — Vite build, web adapters, JPEG/PDF strategies, PWA, Docker, CI 2026-05-07 17:56:50 +04:00
manifest.webmanifest Rebrand to MetaScrub + upstream attribution (#95) 2026-05-14 10:39:19 +04:00