Commit Graph
796 Commits
Author SHA1 Message Date
Lukas 252ebf962d feat: add page up/down hotkeys for quick bookmark input 2026-03-22 13:05:48 +01:00
alam00000 013cc175a6 fix: regenerate package-lock.json 2026-03-22 00:06:20 +05:30
alam00000 5119fd08f9 fix: hash 2026-03-21 23:53:49 +05:30
alam00000 db3ffd3030 Update embedpdf-snippet to version 2.9.1
- Updated the embedpdf-snippet dependency in package.json from version 2.3.0 to 2.9.1.
- Updated the upstream version file to reflect the new version.
- Removed the old embedpdf-snippet-2.3.0.tgz file.
- Added the new embedpdf-snippet-2.9.1.tgz file.
2026-03-21 23:28:22 +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 b4a2c98497 Add documentation for all PDF tools 2026-03-20 21:48:48 +05:30
alam00000 1d986aedb1 feat: add permissions for contents and pull-requests in workflow 2026-03-20 20:43:38 +05:30
Stephan Paternotte 3d82955b81 Minor Dutch language corrections 2026-03-20 15:29:39 +01:00
alam00000 57b143cb9c Release v2.6.0 v2.6.0 2026-03-18 13:39:45 +05:30
alam00000 59d07a1444 feat: add security context and volume mounts to deployment configuration 2026-03-17 23:15:12 +05:30
Alam 56801bd26e Merge pull request #586 from alam00000/dependabot/npm_and_yarn/jspdf-4.2.1
build(deps): bump jspdf from 4.2.0 to 4.2.1
2026-03-17 23:07:32 +05:30
dependabot[bot] 5e5975791f build(deps): bump jspdf from 4.2.0 to 4.2.1
Bumps [jspdf](https://github.com/parallax/jsPDF) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/parallax/jsPDF/releases)
- [Changelog](https://github.com/parallax/jsPDF/blob/master/RELEASE.md)
- [Commits](https://github.com/parallax/jsPDF/compare/v4.2.0...v4.2.1)

---
updated-dependencies:
- dependency-name: jspdf
  dependency-version: 4.2.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-17 17:30:24 +00:00
alam00000 01dc3005d7 fix: update Trivy action to latest version and improve SARIF upload step 2026-03-17 22:57:00 +05:30
alam00000 23b072ea10 feat: add Trivy security scan workflow and update Dockerfiles for vulnerability scanning 2026-03-17 22:54:00 +05:30
alam00000 8bf52b9ef1 feat: implement annotation flattening functionality and add tests 2026-03-17 22:46:13 +05:30
alam00000 6c0e9c7232 feat: enhance PDF comparison with overlay options and filters 2026-03-16 21:47:35 +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
InstalZDLL 0a718dac8f fix: address CodeRabbit review feedback on tests
- digital-sign-pdf.test.ts: stub VITE_CORS_PROXY_URL and
  VITE_CORS_PROXY_SECRET env vars for test isolation
- timestamp-node.test.ts: replace regex-only test with actual data()
  method tests covering timestampPdf call, output filename suffix,
  and error wrapping with TSA context
2026-03-15 15:58:43 +01:00
InstalZDLL 969b74dfb5 test: add timestampPdf signature tests with sample.pdf
Test the timestampPdf() function using the real sample.pdf (SHA256 verified).
PdfSigner is mocked to avoid network calls while validating:
- Correct signdate/TSA URL passed to PdfSigner
- PDF bytes forwarded to signer.sign()
- Uint8Array returned from signed result
- Error propagation from TSA failures
- Multiple TSA URL support
- Original PDF bytes not mutated
2026-03-15 15:44:55 +01:00
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 dae6f1b15f Merge pull request #575 from luna-cant-code/translation-de
Started translating to German
2026-03-15 19:39:24 +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
Alam 11368314dd Merge pull request #570 from alam00000/dependabot/npm_and_yarn/devalue-5.6.4
build(deps): bump devalue from 5.6.3 to 5.6.4
2026-03-15 13:04:18 +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
luna-cant-codeandcoderabbitai[bot] f39b54a8ca Update public/locales/de/common.json
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-03-14 17:29:05 +01:00
luna-cant-code 16bc667daf fixed typos 2026-03-14 17:12:17 +01:00
luna-cant-codeandcoderabbitai[bot] 3a9fc44355 Update public/locales/de/common.json
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-03-14 17:04:03 +01:00
luna-cant-codeandcoderabbitai[bot] db38061ad9 Update public/locales/de/common.json
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-03-14 17:03:50 +01:00
luna-cant-codeandcoderabbitai[bot] a95ce74b58 Update public/locales/de/common.json
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-03-14 17:03:12 +01:00
Alam 2de36b6605 Merge pull request #574 from alam00000/dependabot/npm_and_yarn/undici-7.24.1
build(deps-dev): bump undici from 7.22.0 to 7.24.1
2026-03-14 20:18:44 +05:30
luna-cant-codeandcoderabbitai[bot] 3b45de70a6 Update public/locales/de/common.json
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-03-14 15:01:30 +01:00
luna-cant-codeandcoderabbitai[bot] da9e7a8b11 Update public/locales/de/common.json
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-03-14 15:01:18 +01:00
luna-cant-codeandcoderabbitai[bot] 6cb614fadb Update public/locales/de/common.json
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-03-14 15:01:01 +01:00
luna-cant-codeandcoderabbitai[bot] e4b6ae32ed Update public/locales/de/common.json
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-03-14 15:00:45 +01:00
luna-cant-codeandcoderabbitai[bot] 2403e13d26 Update public/locales/de/common.json
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-03-14 15:00:32 +01:00
luna-cant-codeandcoderabbitai[bot] 3ecdcb13e8 Update public/locales/de/common.json
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-03-14 15:00:03 +01:00
luna-cant-codeandcoderabbitai[bot] 88eac45452 Update public/locales/de/common.json
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-03-14 14:59:41 +01:00
luna-cant-code 3db95665e5 Merge branch 'main' into translation-de 2026-03-14 14:48:03 +01:00
github-actions[bot] 767028a654 @luna-cant-code has signed the CLA in alam00000/bentopdf#575 2026-03-14 13:47:29 +00:00
xtotdam cb4db2d762 fix rabbitai bot suggestions 2026-03-14 14:48:49 +03:00
xtotdam 03ecaf8603 add ru to nginx.conf and sw.js 2026-03-14 14:26:22 +03:00
alam00000 f2aabab68a fix: adjust formatting in documentation for clarity on self-hosting requirements 2026-03-14 16:06:29 +05:30
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
dependabot[bot] 000ef5bef9 build(deps-dev): bump undici from 7.22.0 to 7.24.1
Bumps [undici](https://github.com/nodejs/undici) from 7.22.0 to 7.24.1.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v7.22.0...v7.24.1)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 7.24.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-13 23:35:01 +00:00
alam00000 58c78b09d2 docs: update self-hosting documentation with secure context requirements for Office file conversion 2026-03-13 23:32:52 +05:30
alam00000 d7e06ce361 feat(i18n): enhance language detection from browser preferences and add tests 2026-03-13 19:20:37 +05:30
dependabot[bot] 9f09a01c08 build(deps): bump devalue from 5.6.3 to 5.6.4
Bumps [devalue](https://github.com/sveltejs/devalue) from 5.6.3 to 5.6.4.
- [Release notes](https://github.com/sveltejs/devalue/releases)
- [Changelog](https://github.com/sveltejs/devalue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/devalue/compare/v5.6.3...v5.6.4)

---
updated-dependencies:
- dependency-name: devalue
  dependency-version: 5.6.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-12 15:30:17 +00:00