Stirling-PDF/app/core/src/main/resources
Ludy 1274dc9279
fix(pipeline): correct paths for pipeline & support default WebUI pipeline config extraction (#4051)
# Description of Changes

- **What was changed:**  
- Updated `.github/labeler-config-srvaroa.yml` to include
`app/core/src/main/resources/static/pipeline/defaultWebUIConfigs/**`
under the labeler paths.
- Removed `COPY pipeline /pipeline` from all three Dockerfiles to slim
down images.
- Added a new `PIPELINE_PATH` constant and `getPipelinePath()` method in
`InstallationPathConfig.java`.
- Implemented `GeneralUtils.extractPipeline()` to copy default pipeline
JSON configs (`OCR images.json`, `Prepare-pdfs-for-email.json`,
`split-rotate-auto-rename.json`) from classpath into the installation
directory.
- Invoked `GeneralUtils.extractPipeline()` during initial setup in
`InitialSetup.java`.
  - Updated `.gitignore` to treat `./pipeline/` as ignored.  

- **Why the change was made:**  
Ensures that default WebUI pipeline configurations are automatically
extracted at runtime rather than baked into the image, improving
flexibility and reducing image size.

---

## 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/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)
- [x] I have performed a self-review of my own code
- [x] 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.

---------

Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-30 22:40:21 +01:00
..
icc refactor: move modules under app/ directory and update file paths (#3938) 2025-07-14 20:53:11 +01:00
static fix(pipeline): correct paths for pipeline & support default WebUI pipeline config extraction (#4051) 2025-07-30 22:40:21 +01:00
templates Fix search scroll bar issue on navbar (#3998) 2025-07-21 13:06:21 +01:00
application.properties refactor: move modules under app/ directory and update file paths (#3938) 2025-07-14 20:53:11 +01:00
banner.txt refactor: move modules under app/ directory and update file paths (#3938) 2025-07-14 20:53:11 +01:00
certdata.txt refactor: move modules under app/ directory and update file paths (#3938) 2025-07-14 20:53:11 +01:00
logback.xml Fix for #3951 invalid auth.log (#3952) 2025-07-15 14:01:11 +01:00
messages_ar_AR.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_az_AZ.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_bg_BG.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_bo_CN.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_ca_CA.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_cs_CZ.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_da_DK.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_de_DE.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_el_GR.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_en_GB.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_en_US.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_es_ES.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_eu_ES.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_fa_IR.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_fr_FR.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_ga_IE.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_hi_IN.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_hr_HR.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_hu_HU.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_id_ID.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_it_IT.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_ja_JP.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_ko_KR.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_ml_IN.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_nl_NL.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_no_NB.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_pl_PL.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_pt_BR.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_pt_PT.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_ro_RO.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_ru_RU.properties 🌐 Sync Translations + Update README Progress Table (#3994) 2025-07-20 22:00:51 +01:00
messages_sk_SK.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_sl_SI.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_sr_LATN_RS.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_sv_SE.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_th_TH.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_tr_TR.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_uk_UA.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_vi_VN.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_zh_CN.properties fake scan to scanner effect (#3954) 2025-07-16 14:33:04 +01:00
messages_zh_TW.properties Update and improve zh_TW Traditional Chinese translation (#4038) 2025-07-28 10:14:30 +01:00
messages.properties refactor: move modules under app/ directory and update file paths (#3938) 2025-07-14 20:53:11 +01:00
settings.yml.template legal: termsAndConditions has moved (#4035) 2025-07-28 10:14:20 +01:00