mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2026-02-17 13:52:14 +01:00
8164c56d3347b74aec5958c9877b045d8dfd9a5d
# Description of Changes This pull request adds support for invalidating digital signatures during the OCR process, allowing users to process signed PDFs with OCR at the cost of breaking their digital signatures. The feature is integrated across the backend, frontend, and user interface, including appropriate warnings to inform users of the consequences. **Backend support for digital signature invalidation:** - Added a new `invalidateDigitalSignatures` boolean field to the `ProcessPdfWithOcrRequest` model, and updated the `OCRController` to accept, pass, and handle this parameter. If enabled, the backend adds the `--invalidate-digital-signatures` flag to the OCR command, invalidating any digital signatures present in the PDF. **Frontend and UI integration:** - Added an "Invalidate digital signatures" option to the advanced OCR settings in the UI, including a warning tooltip to inform users that enabling this option will make the document's digital signatures invalid. - Updated the OCR form data builder to include the `invalidateDigitalSignatures` parameter when submitting OCR requests. **Localization and tooltips:** - Added new translation strings and warning messages for the "Invalidate digital signatures" option and its tooltip, ensuring users are clearly informed about the consequences of enabling this feature. <img width="649" height="994" alt="image" src="https://github.com/user-attachments/assets/8d7f42cb-fc9e-4864-ad09-09ccb56347a1" /> Closes: #5142 <!-- Please provide a summary of the changes, including: - What was changed - Why the change was made - Any challenges encountered Closes #(issue_number) --> --- ## Checklist ### General - [ ] I have read the [Contribution Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md) - [ ] I have read the [Stirling-PDF Developer Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md) (if applicable) - [ ] I have read the [How to add new languages to Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md) (if applicable) - [ ] I have performed a self-review of my own code - [ ] My changes generate no new warnings ### Documentation - [ ] I have updated relevant docs on [Stirling-PDF's doc repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/) (if functionality has heavily changed) - [ ] I have read the section [Add New Translation Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags) (for new translation tags only) ### UI Changes (if applicable) - [ ] Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR) ### Testing (if applicable) - [ ] I have tested my changes locally. Refer to the [Testing Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing) for more details. --------- Signed-off-by: Balázs Szücs <bszucs1209@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
build(local): simplify writeVersion task with WriteProperties plugin and enable build caching (#4139)
ci: enhance GitHub Actions workflows with Gradle setup, caching improvements, and Docker image testing (#3956)
Stirling PDF - The Open-Source PDF Platform
Stirling PDF is a powerful, open-source PDF editing platform. Run it as a personal desktop app, in the browser, or deploy it on your own servers with a private API. Edit, sign, redact, convert, and automate PDFs without sending documents to external services.
Key Capabilities
- Everywhere you work - Desktop client, browser UI, and self-hosted server with a private API.
- 50+ PDF tools - Edit, merge, split, sign, redact, convert, OCR, compress, and more.
- Automation & workflows - No-code pipelines direct in UI with APIs to process millions of PDFs.
- Enterprise‑grade - SSO, auditing, and flexible on‑prem deployments.
- Developer platform - REST APIs available for nearly all tools to integrate into your existing systems.
- Global UI - Interface available in 40+ languages.
For a full feature list, see the docs: https://docs.stirlingpdf.com
Quick Start
docker run -p 8080:8080 docker.stirlingpdf.com/stirlingtools/stirling-pdf
Then open: http://localhost:8080
For full installation options (including desktop and Kubernetes), see our Documentation Guide.
Resources
Support
- Community Discord
- Bug Reports: Github issues
Contributing
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
For development setup, see the Developer Guide.
For adding translations, see the Translation Guide.
License
Stirling PDF is open-core. See LICENSE for details.
Description
locally hosted web application that allows you to perform various operations on PDF files
Readme
596 MiB
Languages
TypeScript
45.2%
Java
42.4%
JavaScript
4.7%
CSS
2.8%
Python
2.1%
Other
2.7%

