Commit Graph

316 Commits

Author SHA1 Message Date
InstalZDLL
1569b66d5c test: add unit tests for timestamp PDF feature
Add 31 tests across 3 test files covering:
- TSA preset configuration (uniqueness, valid URLs, known providers)
- Timestamp PDF page logic (file validation, output naming, UI state, drop zone)
- TimestampNode workflow node (category, icon, description, presets)
2026-03-15 15:34:14 +01:00
alam00000
31f43b557f feat: add transparent background option for form fields 2026-03-15 19:52:48 +05:30
Alam
b107acb00c Merge pull request #555 from xtotdam/russian_translation
add Russian translation
2026-03-15 19:36:04 +05:30
alam00000
47c1be6df1 refactor pdf decrypt 2026-03-15 14:29:30 +05:30
InstalZDLL
70f0834fc0 fix: address CodeRabbit review feedback
- Handle Headers instance in TSA request detection (not just plain objects)
- Wrap timestampPdf with createCorsAwareFetch for OCSP/cert chain requests
- Pass 'success' type to showAlert on successful timestamp
- Add TSA URL context to timestamp error messages with cause
- Remove redundant Uint8Array wrapping in TimestampNode
2026-03-15 00:46:47 +01:00
InstalZDLL
dfd0ebcfc5 feat: add Timestamp PDF tool with RFC 3161 support
Add document timestamping to the Secure PDF section using RFC 3161
protocol. Users can select from preset TSA servers (DigiCert, Sectigo,
SSL.com, Entrust, FreeTSA) or enter a custom TSA URL. No personal
certificate is required — only a cryptographic hash is sent to the server.

Key changes:
- Timestamp PDF page with TSA server selector, FAQ and SEO structured data
- timestampPdf() function with CORS proxy URL resolution
- TimestampNode for the workflow engine
- Tool entry in Secure PDF category + homepage i18n
- Built-in CORS proxy middleware for dev/preview
- Translations for all 16 languages

Tested with DigiCert, Sectigo and Entrust TSA servers. Timestamps are
verifiable in Adobe Acrobat (ETSI.RFC3161 SubFilter).
2026-03-15 00:30:53 +01:00
xtotdam
cb4db2d762 fix rabbitai bot suggestions 2026-03-14 14:48:49 +03:00
alam00000
77da6d7a7d feat: integrate Tesseract.js with improved language availability and font handling
- Refactored OCR page recognition to utilize a configured Tesseract worker.
- Added functions to manage font URLs and asset filenames based on language.
- Implemented language availability checks and error handling for unsupported languages.
- Enhanced PDF workflow to display available OCR languages and handle user selections.
- Introduced utility functions for resolving Tesseract asset configurations.
- Added tests for OCR functionality, font loading, and Tesseract runtime behavior.
- Updated global types to include environment variables for Tesseract and font configurations.
2026-03-14 15:50:30 +05:30
alam00000
d7e06ce361 feat(i18n): enhance language detection from browser preferences and add tests 2026-03-13 19:20:37 +05:30
alam00000
e117ab93bd fix: form creator bug and added tests 2026-03-12 18:37:35 +05:30
YuF-9468
6b7eeea51a fix(form-creator): improve checkbox/radio resize constraints and cursors 2026-03-12 11:56:35 +08:00
alam00000
272a8cd038 fix: remove false highlights 2026-03-11 15:54:01 +05:30
Sebastian Espei
2ede256de2 Add localization for loading page count in various PDF processing pages 2026-03-10 20:13:13 +01:00
Sebastian Espei
571ce07af6 Add localization for PDF to BMP and PDF to TIFF conversion alerts and loader messages 2026-03-10 19:55:21 +01:00
Sebastian Espei
8d26378611 Add localization for PDF to WebP conversion alerts and loader messages 2026-03-10 19:52:38 +01:00
Sebastian Espei
37d95e249d Add localization for PDF to PNG conversion alerts and loader messages 2026-03-10 19:18:39 +01:00
Sebastian Espei
01c4d3bd7c Add localization for PDF to JPG conversion alerts and loader messages 2026-03-10 19:17:17 +01:00
Sebastian Espei
d5244649a3 Update imports according to the translation guidelines 2026-03-10 18:40:47 +01:00
Sebastian Espei
4f86960265 Add localization for image scale 2026-03-10 18:38:09 +01:00
Sebastian Espei
67e3887165 Add localization for image quality 2026-03-10 18:35:17 +01:00
Sebastian Espei
f1b03d076c Add localization for image quality 2026-03-10 18:31:27 +01:00
Sebastian Espei
667385ee1c Add localization to fileDisplayArea 2026-03-10 18:24:31 +01:00
Sebastian Espei
b479abf6cf Add localization to "download" button 2026-03-10 17:49:03 +01:00
alam00000
5232102ac0 feat: enhance PDF comparison with new change types and zoom functionality
- Added support for 'moved' and 'style-changed' change types in PDF comparison.
- Implemented category filters for changes, allowing users to filter by text, images, headers, annotations, formatting, and background.
- Introduced zoom functionality with buttons for zooming in, out, and resetting to default.
- Updated UI to reflect new change types and categories, including visual indicators for moved and style-changed items.
- Enhanced summary display to include counts for moved and style-changed changes.
- Refactored rendering logic to accommodate zoom levels and improve performance.
- Added tests for new change detection features and category assignments.
2026-03-10 13:51:23 +05:30
alam00000
d2a1450bc0 refactor: remove HTML report export and implement PDF export options in PDF comparison tool
- Deleted the exportCompareHtmlReport function and its related imports.
- Introduced a dropdown menu for exporting comparison results as PDFs with multiple modes (split, alternating, left, right).
- Updated the comparison logic to utilize caching for page models and comparison results.
- Refactored rendering functions to improve code organization and maintainability.
- Enhanced UI elements for better user experience during PDF export.
2026-03-09 23:27:40 +05:30
Sebastian Espei
92d5e40ac3 Add direct image download to pdf-to-bmp 2026-03-09 17:04:28 +01:00
Sebastian Espei
7c09768109 Add direct image download to pdf-to-tiff 2026-03-09 17:04:28 +01:00
Sebastian Espei
3748463d38 Add direct image download to pdf-to-webp 2026-03-09 17:04:28 +01:00
Sebastian Espei
65f99f0646 Add direct image download to pdf-to-png 2026-03-09 17:04:27 +01:00
Sebastian Espei
22ff7f435c Add direct image download to pdf-to-jpg 2026-03-09 17:04:27 +01:00
Sebastian Espei
1625ba0f45 Fix es-lint not not used error 2026-03-09 17:04:27 +01:00
Sebastian Espei
e474d11730 Reset branch to main 2026-03-09 17:02:30 +01:00
xtotdam
73795dbe13 add Russian translation 2026-03-08 15:51:11 +03:00
Alam
255d8402c2 Merge pull request #553 from iegl3/fix/docs-and-footer-consistency
fix correct locale path in translation guide, add missing link attributes in footer, fix wasm version in readme
2026-03-08 14:15:12 +05:30
iegl3
0cf546ab51 fix: correct locale path in translation guide, add missing link attributes in footer, fix wasm version in readme
- TRANSLATION.md: Spanish example incorrectly referenced fr/ locale path instead of es/

- footer.html: Instagram and LinkedIn links were missing target=_blank and rel=noopener noreferrer, unlike the other social links

- README.md: air-gapped manual steps referenced pymupdf-wasm@0.11.14 but the current default is 0.11.16
2026-03-08 07:16:47 +07:00
the0807
1401b9ee15 add Korean (ko) translation 2026-03-08 00:35:28 +09:00
alam00000
d32251014e feat: integrate fix page size functionality into the workflow by extracting core logic to a utility and adding a new workflow node. 2026-03-07 14:33:33 +05:30
alam00000
c2147a2f20 Refactor page titles and subtitles for consistency and clarity across various PDF conversion tools 2026-03-04 13:46:16 +05:30
alam00000
90998edb25 Add tests for image effects, PDF operations, rotation state, and XML to PDF utilities 2026-03-04 13:33:00 +05:30
alam00000
84848ab902 feat: add Quick Look page preview and unify thumbnail styles across all tools 2026-03-04 00:38:07 +05:30
alam00000
2aaea50031 feat: fix bug for remove blank pages tool. added i18n translations 2026-03-03 23:35:15 +05:30
alam00000
e8563a1392 feat: add barcode field support in form creator and support to edit existing form fields 2026-03-01 19:48:34 +05:30
alam00000
d66287a55b feat: support multiple PDF in PDF encryption tool 2026-03-01 18:43:38 +05:30
Max Bengtzén
5b7f1fc85f Add swedish translation 2026-02-27 13:43:20 +01:00
alam00000
2c6d36037a refactor: move PageWatermarkConfig interface to dedicated types file
feat(i18n): add missing translations for 5 languages
- be: common.close, upload.clearFiles
- zh: addStamps username fields
- zh-TW, tr, pt: compressPdf compression settings
2026-02-27 15:00:51 +05:30
Alam
9220507f63 Merge pull request #519 from hagibr/update-tool-translation-keys
Adding 'PDF Workflow Builder' and 'Bates Numbering' to toolTranslationKeys
2026-02-26 20:34:25 +05:30
alam00000
85d90c3382 feat: node creation and serialization logic in workflow editor 2026-02-26 20:28:16 +05:30
alam00000
88260c26ab Refactor color input fields and enhance watermark functionality
- Updated color input fields in various HTML pages to remove unnecessary classes for improved styling consistency.
- Modified the watermark node to include options for positioning and flattening watermarks.
- Enhanced the addTextWatermark function to support customizable positioning and page selection for watermarks.
- Added new controls for text and image watermarks in the UI, allowing users to specify text, font size, color, opacity, angle, and image scaling.
- Updated the WASM provider to use the latest version of pymupdf-wasm.
2026-02-26 19:40:22 +05:30
Alexandre Hagihara
582e5bf9cb Adding 'PDF Workflow Builder' and 'Bates Numbering' to toolTranslationKeys 2026-02-26 09:38:01 -03:00
alam00000
64153e698b fix: improve error handling, race condition and optimize page rendering logic in pdf multi tool 2026-02-25 13:17:30 +05:30