Commit graph

8 commits

Author SHA1 Message Date
sudipnext
5766e252aa feat: Implement PDF export functionality with session handling
- Added middleware to handle session cookies for the PDF export route.
- Introduced a new API endpoint for exporting presentation data using session cookies.
- Updated the PdfMakerPage component to accept and utilize the export cookie.
- Enhanced the presentation export logic to include session token extraction from cookies.
- Updated routing configuration to include the new PDF maker path.
2026-04-27 21:13:57 +05:45
sudipnext
46d2f02da4 feat: update presentation export version and enhance export functionality with cookie handling
Co-authored-by: Copilot <copilot@github.com>
2026-04-27 12:01:54 +05:45
sauravniraula
11904c6cb0
refactor: cleans old unused export files from both docker and electron and uses package for export 2026-04-24 10:12:23 +05:45
sudipnext
3d06644914 feat: update placeholder image references and improve asset handling
- Replaced all instances of the placeholder image path from "/static/images/placeholder.jpg" to "/static/images/replaceable_template_image.png".
- Added a new Nginx location block for serving app data with a long cache expiration.
- Enhanced the image generation service to return the new template image when generation fails.
- Updated various services and endpoints to ensure consistent handling of asset paths, including resolving backend asset URLs.
- Removed Electron-specific checks from several components to streamline API calls and improve compatibility with web deployments.
- Improved error handling and logging in the PDF export process.
- Adjusted Next.js configuration for API routing to ensure proper asset serving in Docker environments.
2026-04-18 20:56:37 +05:45
sudipnext
5e4ee9e039 Refactor presentation export runtime handling
- Update sync-presentation-export script to read version from package.json instead of export-version.json.
- Change entrypoint from index.js to index.cjs for CommonJS compatibility.
- Implement logic to ensure CommonJS entrypoint is created if missing.
- Modify ExportTaskService to resolve entrypoint path dynamically.
- Remove inline Puppeteer PDF export logic in favor of bundled export package.
- Add runtime availability checks and sync script execution in start.js.
- Introduce helper functions for output path normalization and entrypoint resolution.
2026-04-18 16:49:42 +05:45
sudipnext
a3a6a1acd2 Refactor code structure and remove redundant changes in multiple sections 2026-04-16 13:33:21 +05:45
shiva raj badu
d4813b02a6
refactor (Nextjs): Unused files and function removed 2025-07-19 22:59:02 +05:45
sauravniraula
78e1006f2e
Initial: presenton 2025-05-10 19:57:24 +05:45