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.
62 lines
1.7 KiB
Plaintext
62 lines
1.7 KiB
Plaintext
/api/v1/filter/filter-page-size
|
|
/api/v1/filter/filter-page-rotation
|
|
/api/v1/filter/filter-page-count
|
|
/api/v1/filter/filter-file-size
|
|
/api/v1/filter/filter-contains-text
|
|
/api/v1/filter/filter-contains-image
|
|
/api/v1/security/validate-signature
|
|
/api/v1/security/sanitize-pdf
|
|
/api/v1/security/remove-password
|
|
/api/v1/security/remove-cert-sign
|
|
/api/v1/security/redact
|
|
/api/v1/security/get-info-on-pdf
|
|
/api/v1/security/cert-sign
|
|
/api/v1/security/auto-redact
|
|
/api/v1/security/add-watermark
|
|
/api/v1/security/add-password
|
|
/api/v1/misc/update-metadata
|
|
/api/v1/misc/show-javascript
|
|
/api/v1/misc/replace-invert-pdf
|
|
/api/v1/misc/repair
|
|
/api/v1/misc/remove-blanks
|
|
/api/v1/misc/ocr-pdf
|
|
/api/v1/misc/flatten
|
|
/api/v1/misc/extract-images
|
|
/api/v1/misc/extract-image-scans
|
|
/api/v1/misc/decompress-pdf
|
|
/api/v1/misc/compress-pdf
|
|
/api/v1/misc/auto-split-pdf
|
|
/api/v1/misc/auto-rename
|
|
/api/v1/misc/add-stamp
|
|
/api/v1/misc/add-page-numbers
|
|
/api/v1/misc/add-image
|
|
/api/v1/misc/add-attachments
|
|
/api/v1/convert/url/pdf
|
|
/api/v1/convert/pdf/xml
|
|
/api/v1/convert/pdf/word
|
|
/api/v1/convert/pdf/text
|
|
/api/v1/convert/pdf/presentation
|
|
/api/v1/convert/pdf/pdfa
|
|
/api/v1/convert/pdf/markdown
|
|
/api/v1/convert/pdf/img
|
|
/api/v1/convert/pdf/html
|
|
/api/v1/convert/pdf/csv
|
|
/api/v1/convert/markdown/pdf
|
|
/api/v1/convert/img/pdf
|
|
/api/v1/convert/html/pdf
|
|
/api/v1/convert/file/pdf
|
|
/api/v1/general/split-pdf-by-sections
|
|
/api/v1/general/split-pdf-by-chapters
|
|
/api/v1/general/split-pages
|
|
/api/v1/general/split-by-size-or-count
|
|
/api/v1/general/scale-pages
|
|
/api/v1/general/rotate-pdf
|
|
/api/v1/general/remove-pages
|
|
/api/v1/general/remove-image-pdf
|
|
/api/v1/general/rearrange-pages
|
|
/api/v1/general/pdf-to-single-page
|
|
/api/v1/general/overlay-pdfs
|
|
/api/v1/general/multi-page-layout
|
|
/api/v1/general/merge-pdfs
|
|
/api/v1/general/crop
|