Stirling-PDF/src/main/resources
Omar Ahmed Hassan 654bc94d44
Fix: input file overwrite in merge (#2335)
* Fix input files being overwritten by newly uploaded files

- Fix a bug that caused existing selected/uploaded files to be overwritten when a new input file is uploaded through input element.
- Add source property to change event to differentiate between uploaded files using input element and drag/drop uploads to avoid processing drag/drop files more than once, thus avoiding file duplication (file duplication resulting from copying drop/drop files to input files on each 'change' event).

* Dispatch and use file-input-change instead of change event for merging

- Dispatch "file-input-change" event after each "change" event in file upload, to notify other functions/components relying on the files provided by the \<input\> element.
- Use "file-input-change" instead of "change" event to display the latest version of uploaded files.

# FAQ:
- Why use "file-input-change" instead of "change" in merge.js?
= "change" event is automatically triggered when a file is uploaded through \<input\> element which would replace all the existing selected/uploaded files including the drag/drop files.

## Example:
Let's say that the user wants to upload/select the x.pdf, y.pdf and z.pdf all together:

- user selects "x.pdf" -> file selected successfully.
= selected files: x.pdf

- user drags and drops "y.pdf" -> file dropped successfully
= selected files: x.pdf, y.pdf

- user selects again using \<input\> "z.pdf" -> file selected succesfully overwriting selected files.
= selected files: z.pdf
2024-11-26 20:41:08 +00:00
..
static Fix: input file overwrite in merge (#2335) 2024-11-26 20:41:08 +00:00
templates navbar fix multi tool and compress location (#2331) 2024-11-25 21:42:49 +00:00
application.properties Bump com.h2database:h2 from 2.1.214 to 2.3.232 (#2314) 2024-11-24 14:36:53 +00:00
banner.txt refactor: normalize files 2024-02-11 11:47:00 -05:00
logback.xml fix for #531 plus seperated out some things 2023-12-18 14:52:18 +00:00
messages_ar_AR.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_az_AZ.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_bg_BG.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_ca_CA.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_cs_CZ.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_da_DK.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_de_DE.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_el_GR.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_en_GB.properties Additional sign tooltips (#2328) 2024-11-25 20:43:05 +00:00
messages_en_US.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_es_ES.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_eu_ES.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_fr_FR.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_ga_IE.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_hi_IN.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_hr_HR.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_hu_HU.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_id_ID.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_it_IT.properties Update messages_it_IT.properties (#2334) 2024-11-26 08:17:09 +00:00
messages_ja_JP.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_ko_KR.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_nl_NL.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_no_NB.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_pl_PL.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_pt_BR.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_pt_PT.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_ro_RO.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_ru_RU.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_sk_SK.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_sr_LATN_RS.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_sv_SE.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_th_TH.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_tr_TR.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_uk_UA.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_vi_VN.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_zh_CN.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages_zh_TW.properties Update translation files (#2329) 2024-11-25 20:55:56 +00:00
messages.properties Number of fixes and making pipline LIVE ! (#907) 2024-03-13 19:15:10 +00:00
settings.yml.template [Feature] Set Executor Instances limits dynamically from properties (#2193) 2024-11-07 00:43:57 +00:00