Commit Graph
73 Commits
Author SHA1 Message Date
Alam 02113e2579 Merge pull request #894 from nipunrajk/fix/markdown-task-list-links
fix(markdown): prevent task lists with links from corrupting DOM
2026-10-21 12:00:48 +05:30
alam00000 0d430027df feat: replace compression with Hyper Compress, fix PDF to Word color pass and stale engine URLs 2026-10-20 22:06:30 +05:30
alam00000 edd959f345 fix(security): harden sanitize, flatten, redaction, signature validation, CSP, proxies and CI 2026-10-19 14:45:00 +05:30
alam00000 70dc47d25c feat: update GitHub Actions workflow for PDF engine and viewer 2026-10-19 13:17:07 +05:30
nipunrajk 15c0435dde fix(markdown): prevent task lists with links from corrupting DOM
Disables label wrapping in markdown-it-task-lists plugin configuration.
When enabled, markdown-it-task-lists wraps task list content in <label>
tags, which malforms HTML structure when items contain links on the
same line and swallows subsequent DOM elements.

Fixes #715
2026-09-26 16:10:32 +05:30
alam00000 5a7927572f feat: add fallback font loading and handling for various languages 2026-09-17 13:56:16 +05:30
alam00000 9e980cdea2 seo fixes 2026-09-04 16:26:08 +05:30
alam00000 c449a85745 fix: load the pdf.js worker with the Map upsert polyfill 2026-08-22 16:02:34 +05:30
Alam 8e606b652c Merge pull request #795 from mvanhorn/fix/662-map-upsert-polyfill
fix: polyfill Map.prototype.getOrInsertComputed to stop PDF.js render crash
2026-08-22 15:58:31 +05:30
alam00000 7f6bebf21f feat: PDF text editor internationalization 2026-08-22 14:00:07 +05:30
alam00000 356128c60d feat: burn FreeText annotations into the page content stream
Exported annotations stayed as live FreeText objects, so viewers that
ignore appearance streams showed nothing and the text was not part of
the page. Flattening draws them into the content stream with an
embedded subset of the font, falling back to the old embed path for
anything the flattener cannot place.
2026-08-21 12:49:25 +05:30
alam00000 78cb827ec7 feat: update BentoPDF viewer to version 2.9.1 and add font embedding support 2026-08-17 13:42:56 +05:30
alam00000 9635c398d6 Add tiled watermark layout support with adjustable gaps and UI controls 2026-08-16 12:40:55 +05:30
alam00000 5bf54f1dad Implement decompression for GZIP files in LibreOfficeConverter initialization 2026-08-14 19:45:29 +05:30
alam00000 706e74f084 Implement safe storage utility and update i18n handling to use it 2026-08-14 15:13:42 +05:30
Matt Van Horn 115bc70ad1 fix: polyfill Map.prototype.getOrInsertComputed to stop PDF.js render crash
Fixes #662
2026-07-21 00:42:50 -07:00
alam00000 8dcd936873 fix(email): validate and escape unwrapped SafeLinks URLs before rendering 2026-07-13 10:07:58 +05:30
alam00000 d2dc459ba9 fix(split): extract pages with qpdf and decouple ZIP from output mode 2026-06-26 00:32:27 +05:30
Mondeep Chetry e1843e17b3 fix(md to pdf): restore mermaid flowchart node labels. Fixes #738 2026-06-04 17:18:51 +05:30
alam00000 1d9b7c2a07 feat(multi-pdf): enhance PDF multi-tool functionality to allow drag n drop of PDF and images
fix(ocr): pin font CDN to rawcdn.githack.com with commit SHAs
2026-05-29 20:05:50 +05:30
alam00000 1534ce4d85 fix(ocr): change text layer color to black and set opacity to zero 2026-05-26 18:46:41 +05:30
alam00000 0ce043c18e fix(ocr): Arabic+Latin font fix and added tests 2026-05-19 15:05:17 +05:30
alam00000 7a6cd61286 feat(rotation): implement rotation utilities and enhance angle input handling 2026-05-09 14:21:07 +05:30
alam00000 3362b63350 fix(ui): adjust max-width for signature editor 2026-05-09 13:04:10 +05:30
alam00000 8b6da83ba7 fix(workflow): fix heic images not being accepted in image to pdf 2026-05-08 21:56:51 +05:30
alam00000 7e9e8f4afd fix(merge): page labels, retain-labels option, and workflow alignment with cpdf 2026-05-03 13:28:25 +05:30
alam00000 ef3dab5aeb feat(workflow): add altenate merge tool and translate workflow node and engine errors across locales 2026-04-30 13:16:48 +05:30
alam00000 0040317e48 feat(seo): canonicalize URLs, clean structured data, add audit gate
- Canonicals/hreflang/og point to www.bentopdf.com everywhere
- Drop fake aggregateRating; add Organization + breadcrumb JSON-LD
- Sitemap: filter 404/wasm-settings, mtime-based lastmod
- Rename locale ua → uk (correct ISO 639-1)
- Self-hoster: SITE_URL build arg, ROBOTS_NOINDEX runtime env
- Simple Mode indexable by default
- nginx: collapse .html and /index.html via 301
- SEO audit script + PR gate; runtime config noise fixed
- a11y contrast fix; language switcher gets search + scroll
- robots.txt: drop Crawl-delay
2026-04-29 12:04:34 +05:30
alam00000 7527187812 feat(Security): fixes 2026-04-18 16:58:55 +05:30
alam00000 b4779bb49b feat: enhance sanitization 2026-04-17 23:40:39 +05:30
Alam 23602bc8db Merge pull request #617 from Skillkiller/fix-version-inline
Embed static app version in HTML via Vite at build time
2026-04-04 13:24:07 +05:30
alam00000 38c42fd197 fix: auto orientation in Fix Page Size now matches source page layout and add tests 2026-04-04 13:16:27 +05:30
alam00000 4efab56e48 fix: handle multi-channel TIFF formats and add compression options
Add PDF quality selector (high/medium/low) with JPEG compression.
2026-04-04 13:09:22 +05:30
alam00000 12677f1647 refactor: copy original pages in OCR instead of embedding rasterized PNGs 2026-04-04 12:51:55 +05:30
Sebastian Espei 1cbb8e487b Merge branch 'main' into fix-version-inline 2026-03-31 20:51:18 +02:00
alam00000 9d0b68e18c Refactor and enhance type safety across various modules
- Updated function parameters and return types in `page-preview.ts`, `pdf-decrypt.ts`, and `pymupdf-loader.ts` for improved type safety.
- Introduced type definitions for `CpdfInstance`, `PyMuPDFInstance`, and other related types to ensure better type checking.
- Enhanced error handling in `sanitize.ts` by creating a utility function for error messages.
- Removed unnecessary type assertions and improved type inference in `editor.ts`, `serialization.ts`, and `tools.test.ts`.
- Added type definitions for markdown-it plugins to improve compatibility and type safety.
- Enforced stricter TypeScript settings by enabling `noImplicitAny` in `tsconfig.json`.
- Cleaned up test files by refining type assertions and ensuring consistency in type usage.
2026-03-31 17:59:49 +05:30
Sebastian Espei 7e7409de08 fix: remove unused APP_VERSION import from simple-mode-footer 2026-03-30 01:47:29 +02:00
Sebastian Espei 2bdacb7507 refactor: remove version update script and related version handling code 2026-03-30 01:34:54 +02:00
alam00000 a617279c2d feat: add support for disabling specific features in the PDF Editor 2026-03-29 23:02:58 +05:30
alam00000 9a7cf1636b feat: add support for disabling specific tools in self-hosting
- Introduced build-time and runtime options to disable tools for compliance or security.
- Updated documentation to include instructions for disabling tools in Docker and Kubernetes setups.
- Added translations for disabled tool messages in multiple languages.
- Implemented logic to filter out disabled tools from the toolbox and shortcuts in the application.
- Created utility functions to manage disabled tools configuration.
2026-03-28 23:45:17 +05:30
alam00000 bd44108296 feat: add PDF password prompt and centralized pdf-lib loader with auto-repair 2026-03-26 14:42:48 +05:30
alam00000 9278774b8a - Refactor PDF loading across workflow nodes to use loadPdfDocument utility
- Replaced direct calls to PDFDocument.load with loadPdfDocument in multiple nodes to standardize PDF loading process.
2026-03-26 13:40:21 +05:30
alam00000 9d362b1cf8 feat: enable loading of encrypted PDFs by adding ignoreEncryption option 2026-03-26 12:55:50 +05:30
alam00000 1dbf907eeb Add password prompt functionality and tests while uploading encrypted PDF 2026-03-26 12:11:12 +05:30
alam00000 f88f872162 feat: implement filename deduplication utility and integrate across multiple file conversion modules 2026-03-24 20:36:56 +05:30
alam00000 e3216dddc5 feat: add PDF to CBZ conversion tool with metadata support
- Updated main.ts to include 'PDF to CBZ' in the tools list.
- Added new types for CBZ options and comic metadata in pdf-to-cbz-type.ts.
- Implemented comic-info utility functions for generating ComicInfo.xml and metadata OPF files.
- Created pdf-to-cbz.html page with UI for PDF to CBZ conversion, including options for image format, quality, and metadata.
- Updated vite.config.ts to route to the new PDF to CBZ page.
2026-03-24 14:55:51 +05:30
alam00000 37b5956bd5 feat: add option to opt out of embedding full fonts in OCR settings 2026-03-21 16:39:51 +05:30
alam00000 8bf52b9ef1 feat: implement annotation flattening functionality and add tests 2026-03-17 22:46:13 +05:30
alam00000 477839f106 feat: add "Add Page Labels" tool to the application
- Introduced a new tool for adding page labels to PDF documents, allowing users to apply Roman numerals, prefixes, and custom numbering ranges.
- Created a new HTML page for the tool with a user-friendly interface for file upload and label rule configuration.
- Implemented logic for handling file uploads, processing PDF files, and applying page labels based on user-defined rules.
- Added necessary types and utility functions for managing page label styles and normalization of start values.
- Updated main application configuration to include the new tool in the navigation.
- Added tests for page label utilities to ensure correct functionality.
2026-03-16 14:34:27 +05:30
alam00000 47c1be6df1 refactor pdf decrypt 2026-03-15 14:29:30 +05:30