Commit Graph

6 Commits

Author SHA1 Message Date
abdullahalam123
4cec0e2be4 chore: update sitemap with signature tools and clean unused imports 2026-01-07 16:55:12 +05:30
abdullahalam123
1e557d5b2a feat(security,build): add COOP/COEP headers and improve PDF viewer initialization
- Add Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy headers to nginx.conf for enhanced security
- Create serve.json configuration file with security headers for local development
- Update npm scripts to use vite preview instead of serve package for consistency
- Fix PDF viewer file parameter handling to prevent fallback to default URL
- Enable annotation editor mode by default in PDF viewers (annotationEditorMode: 1)
- Improve PDF preference management by clearing conflicting annotation editor settings before loading
- Update iframe URL construction to use URL API for proper origin handling
- Refactor annotation viewer setup to use eventBus for stamp button activation instead of direct DOM manipulation
- Add localStorage preference configuration for signature editor and permissions in sign tool
- Enhance security posture by implementing COOP/COEP headers required for SharedArrayBuffer and cross-origin isolation
2025-11-18 11:13:03 +05:30
abdullahalam123
ad481f4c1c add: Allura and Kalam font to signatures 2025-11-17 12:07:02 +05:30
abdullahalam123
9ee8225114 fix(pdfjs-annotation-viewer): initialize konvaClientRect dimensions and add HASH_PARAMS implementation
Updated the pdfjs-annotation-extension-testdata.json to set default dimensions for konvaClientRect to zero. Added a HASH_PARAMS implementation in viewer.html to handle hash parsing, ensuring compatibility with the pdfjs-annotation-extension bundle and preventing runtime errors.
2025-11-15 20:25:30 +05:30
abdullahalam123
95bfda0e99 fix(pdfjs-annotation-extension): update module export structure for compatibility
Refactored the module export structure in pdfjs-annotation-extension.js to ensure compatibility with various module systems, enhancing the integration of the PdfjsAnnotationExtension across different environments.
2025-11-15 19:37:20 +05:30
abdullahalam123
ba669a8952 build(pdfjs-annotation-viewer): add binary font and cmap files for PDF rendering
feat(pdfjs-annotation-viewer): add various SVG icons for UI components
2025-11-14 13:05:22 +05:30