mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-07-23 13:45:21 +00:00

# Description of Changes Added a new feature to add attachments to a PDF document. ### Added: - `AttachmentController`: Endpoint for adding attachments at `/add-attachments` with parameters `fileInput` for the PDF and `attachments` as a list of files to attach - `AttachmentServiceInterface` - `AttachmentService`: Handles the logic of adding attachments to the PDF - `AttachmentUtils`: to handle setting the catalog viewer preferences in the viewer - Add Attachments page - Tests for new feature ### Changes: - `EmlToPdf`: Moved setting of viewer preferences to `AttachmentUtils` - `EndpointConfiguration: Included '/add-attachments' - Updated language files with attachments copy - General clean up Closes #1259 --- ## Checklist ### General - [x] I have read the [Contribution Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md) - [x] I have read the [Stirling-PDF Developer Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md) (if applicable) - [x] I have read the [How to add new languages to Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md) (if applicable) - [x] I have performed a self-review of my own code - [x] My changes generate no new warnings ### Documentation - [x] 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) - [x] I have read the section [Add New Translation Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md#add-new-translation-tags) (for new translation tags only) ### UI Changes (if applicable)     - [x] Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR) ### Testing (if applicable) - [x] I have tested my changes locally. Refer to the [Testing Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md#6-testing) for more details.
55 lines
770 B
Plaintext
55 lines
770 B
Plaintext
|
|
/
|
|
/multi-tool
|
|
/merge-pdfs
|
|
/split-pdfs
|
|
/rotate-pdf
|
|
/remove-pages
|
|
/pdf-organizer
|
|
/multi-page-layout
|
|
/scale-pages
|
|
/crop
|
|
/extract-page
|
|
/pdf-to-single-page
|
|
/img-to-pdf
|
|
/pdf-to-img
|
|
/pdf-to-text
|
|
/pdf-to-csv
|
|
/sign
|
|
/add-password
|
|
/remove-password
|
|
/change-permissions
|
|
/add-watermark
|
|
/cert-sign
|
|
/validate-signature
|
|
/remove-cert-sign
|
|
/sanitize-pdf
|
|
/auto-redact
|
|
/redact
|
|
/stamp
|
|
/view-pdf
|
|
/add-page-numbers
|
|
/add-image
|
|
/extract-images
|
|
/flatten
|
|
/remove-annotations
|
|
/remove-blanks
|
|
/compare
|
|
/change-metadata
|
|
/get-info-on-pdf
|
|
/remove-image-pdf
|
|
/replace-and-invert-color-pdf
|
|
/pipeline
|
|
/auto-rename
|
|
/adjust-contrast
|
|
/overlay-pdf
|
|
/auto-split-pdf
|
|
/split-pdf-by-sections
|
|
/split-pdf-by-chapters
|
|
/split-by-size-or-count
|
|
/show-javascript
|
|
/swagger-ui/index.html
|
|
/licenses
|
|
/releases
|
|
/add-attachments
|