pixeebot[bot]
1e0121b4d6
Hardening suggestions for Stirling-PDF / filePath ( #2606 )
...
I've reviewed the recently opened PR ([2605 - File paths dynamic
](https://github.com/Stirling-Tools/Stirling-PDF/pull/2605 )) and have
identified some area(s) that could benefit from additional hardening
measures.
These changes should help prevent potential security vulnerabilities and
improve overall code quality.
Thank you for your consideration!
🧚 🤖 Powered by Pixeebot
[Feedback](https://ask.pixee.ai/feedback ) |
[Community](https://pixee-community.slack.com/signup#/domain-signup ) |
[Docs](https://docs.pixee.ai/ )
![](https://d1zaessa2hpsmj.cloudfront.net/pixel/v1/track?writeKey=2PI43jNm7atYvAuK7rJUz3Kcd6A&event=PR_HARDENING%7CStirling-Tools%2FStirling-PDF%7C73ac17942fc6504dd1d4e9a8c779e26aba813ac9 )
Co-authored-by: pixeebot[bot] <104101892+pixeebot[bot]@users.noreply.github.com>
2025-01-04 00:38:41 +00:00
Anthony Stirling
d7a3708a13
Merge branch 'main' into filePath
2025-01-04 00:20:25 +00:00
Anthony Stirling
73ac17942f
finals
2025-01-04 00:19:56 +00:00
Anthony Stirling
54e599a18b
Test
2025-01-04 00:09:00 +00:00
reecebrowne
38633d4db1
Green buttons ( #2597 )
...
# Description
Making buttons green
Closes #()
![image](https://github.com/user-attachments/assets/29417e03-664d-4a77-a3ca-80d0a8b76f07 )
## Checklist
- [X ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ X] I have performed a self-review of my own code
- [X ] I have attached images of the change if it is UI based
- [ X] I have commented my code, particularly in hard-to-understand
areas
- [ X] If my code has heavily changed functionality I have updated
relevant docs on [Stirling-PDFs doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
- [ X] My changes generate no new warnings
- [ 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)
Co-authored-by: Reece Browne <reece@stirling.pdf>
2025-01-03 11:23:26 +00:00
albanobattistella
50575bc80b
Update messages_it_IT.properties ( #2591 )
...
# Description
Please provide a summary of the changes, including relevant motivation
and context.
Closes #(issue_number)
## Checklist
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have performed a self-review of my own code
- [ ] I have attached images of the change if it is UI based
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] If my code has heavily changed functionality I have updated
relevant docs on [Stirling-PDFs doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
- [ ] My changes generate no new warnings
- [ ] 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)
2025-01-02 20:22:35 +00:00
swanemar
ef174a1e8a
additional Swedish translations ( #2585 )
...
# Description
Please provide a summary of the changes, including relevant motivation
and context.
Closes #(issue_number)
## Checklist
- [X] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [X] I have performed a self-review of my own code
- [ ] I have attached images of the change if it is UI based
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] If my code has heavily changed functionality I have updated
relevant docs on [Stirling-PDFs doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
- [ ] My changes generate no new warnings
- [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)
2025-01-02 18:21:39 +00:00
Ludy
56ab9c3eee
Update messages_de_DE.properties ( #2583 )
...
# Description
Please provide a summary of the changes, including relevant motivation
and context.
Closes #(issue_number)
## Checklist
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have performed a self-review of my own code
- [ ] I have attached images of the change if it is UI based
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] If my code has heavily changed functionality I have updated
relevant docs on [Stirling-PDFs doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
- [ ] My changes generate no new warnings
- [ ] 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)
2025-01-02 17:38:23 +00:00
github-actions[bot]
807639308a
Update translation files ( #2582 )
...
Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
Signed-off-by: GitHub Action <action@github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-02 15:54:07 +00:00
reecebrowne
49fb634690
Feature/improved signature element ( #2489 )
...
# Description
Please provide a summary of the changes, including relevant motivation
and context.
Closes #(issue_number)
## Checklist
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have performed a self-review of my own code
- [ ] I have attached images of the change if it is UI based
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] If my code has heavily changed functionality I have updated
relevant docs on [Stirling-PDFs doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
- [ ] My changes generate no new warnings
- [ ] 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)
---------
Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com>
Co-authored-by: Reece Browne <reece@stirling.pdf>
2025-01-02 15:49:29 +00:00
github-actions[bot]
715efca25d
Update translation files ( #2579 )
...
Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
Signed-off-by: GitHub Action <action@github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-02 15:01:30 +00:00
Ludy
f45de05c99
Fixes SSO login rejection ( #2566 )
...
# Description
## Checklist
- [x] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [x] I have performed a self-review of my own code
- [ ] I have attached images of the change if it is UI based
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] If my code has heavily changed functionality I have updated
relevant docs on [Stirling-PDFs doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
- [x] My changes generate no new warnings
- [ ] 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)
2025-01-02 14:52:07 +00:00
Omar Ahmed Hassan
d5faddbc85
Enhancement: Enhance NFunction evaluation and support advanced NFunctions ( #2577 )
...
# Description
Enhance NFunction sanitization and support advanced functions:
- Start page counting from 1 rather than 0 as PDFs are one based from
the user's perspective, thus functions results would be affected by
starting with "0" rather than "1".
- Ignore out of bound results rather than stopping iterations to work
with functions such as (n - 4) when page count is 10 as we would get
positive values when n > 4.
- Remove spaces to support expressions such as 2n + 1 rather just 2n+1.
- Support advanced functions as follows:
- Support expressions such as follows 5(n-1), n(n-1), expressions
followed by opening rounded without '*' operator.
- Support expressions such as follows (n-1)5, (n-1)n, expressions
preceded closing rounded without '*' operator.
- Support consecutive "n" expressions, examples: nnn, 2nn, nn*3, nnnn.
Closes #(issue_number)
## Checklist
- [x] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [x] I have performed a self-review of my own code
- [ ] I have attached images of the change if it is UI based
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] If my code has heavily changed functionality I have updated
relevant docs on [Stirling-PDFs doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
- [x] My changes generate no new warnings
- [ ] 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)
2025-01-02 14:48:20 +00:00
reecebrowne
574c474804
Fix file drag and drop ( #2575 )
...
# Description
Drag and drop only loading first page.
Closes #(2560)
## Checklist
- [ X] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ X] I have performed a self-review of my own code
- [ X] I have attached images of the change if it is UI based
- [ X] I have commented my code, particularly in hard-to-understand
areas
- [ X] If my code has heavily changed functionality I have updated
relevant docs on [Stirling-PDFs doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
- [ X] My changes generate no new warnings
- [ 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)
2024-12-31 10:44:49 +00:00
Anthony Stirling
7be8db7832
Move docs to website ( #2571 )
...
# Description
Please provide a summary of the changes, including relevant motivation
and context.
Closes #(issue_number)
## Checklist
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have performed a self-review of my own code
- [ ] I have attached images of the change if it is UI based
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] If my code has heavily changed functionality I have updated
relevant docs on [Stirling-PDFs doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
- [ ] My changes generate no new warnings
- [ ] 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)
2024-12-30 15:49:28 +00:00
Belhassen
7d81ca799f
Adding the missing translations in French ( #2563 )
...
# Description
I have added the missing tags for the French translation
Closes #2315
## Checklist
- [x] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [x] I have performed a self-review of my own code
- [ ] I have attached images of the change if it is UI based
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] If my code has heavily changed functionality I have updated
relevant docs on [Stirling-PDFs doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
- [ ] My changes generate no new warnings
- [ ] 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)
2024-12-27 16:22:50 +00:00
Anthony Stirling
9884c65b10
formattingand autowired constructors ( #2557 )
...
# Description
This pull request includes several changes aimed at improving the code
structure and removing redundant code. The most significant changes
involve reordering methods, removing unnecessary annotations, and
refactoring constructors to use dependency injection.
Autowired now comes via constructor (which also doesn't need autowired
annotation as its done by default for configuration)
## Checklist
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have performed a self-review of my own code
- [ ] I have attached images of the change if it is UI based
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] If my code has heavily changed functionality I have updated
relevant docs on [Stirling-PDFs doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
- [ ] My changes generate no new warnings
- [ ] 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)
2024-12-24 09:52:53 +00:00
Anthony Stirling
91aece2284
Merge remote-tracking branch 'origin/main' into docker-rename
2024-12-22 11:20:19 +00:00
Anthony Stirling
2a1dad80f0
rename
2024-12-22 11:17:22 +00:00
GitHub Action
b6c66c47cd
Update 3rd Party Licenses
...
Signed-off-by: GitHub Action <action@github.com>
2024-12-21 13:53:33 +00:00
Ludy87
a9e250547a
standardize the submit button
2024-12-20 11:08:57 +01:00
Peter Dave Hello
26340626df
Update and improve zh_TW Traditional Chinese locale
2024-12-20 03:55:31 +08:00
Anthony Stirling
8dca4a588d
Merge pull request #2505 from reecebrowne/toolbar-tweaks2
...
Toolbar tweaks2
2024-12-19 13:22:41 +00:00
Reece Browne
63386baa0d
Conditional logic for stacking columns
2024-12-19 12:58:57 +00:00
Reece Browne
2a93910da3
Remove padding
2024-12-19 12:04:08 +00:00
Reece Browne
fca6dc1fd8
Stack convert section, don't remove. Move remove into own js
2024-12-19 11:59:58 +00:00
Omar Ahmed Hassan
167c792bf0
Draw image with the original PDF page dimensions
2024-12-19 13:34:13 +02:00
Ludy87
164381e940
some tools lack PDFLib
2024-12-18 21:03:08 +01:00
Anthony Stirling
6ce761aff2
Merge remote-tracking branch 'origin/main' into configCheck
2024-12-18 18:05:16 +00:00
Anthony Stirling
8a5d9f9a95
mounted_config_dir
2024-12-18 18:04:10 +00:00
albanobattistella
b9ae90274f
Update messages_it_IT.properties
2024-12-18 15:34:39 +01:00
Ludy87
a531f53893
Exclude Sensitive and Error-Prone Fields from toString() in SAML2 Configuration
2024-12-18 13:40:24 +01:00
Reece Browne
bf95ca43dc
Remove append entirely
2024-12-18 11:47:23 +00:00
Reece Browne
678ef85da1
Don't remove files from file input, just append
2024-12-18 11:09:52 +00:00
reecebrowne
a72615cc86
Merge branch 'main' into bug/2490/2488/image-to-pdf
2024-12-18 10:40:54 +00:00
Anthony Stirling
b0daac2566
Merge pull request #2492 from omar-ahmed42/fix-no-formdata-sent-in-multi
...
Fix: form data not being sent in multi
2024-12-18 10:37:31 +00:00
Reece Browne
9eed761346
Correct default fit
2024-12-18 00:36:04 +00:00
Reece Browne
12d86049f6
Add default to convert image to pdf api
2024-12-18 00:30:06 +00:00
Reece Browne
e9f80d03ea
Fix missing info in form data
2024-12-18 00:16:01 +00:00
Omar Ahmed Hassan
42c238d87d
Pass form to submitMultiPdfForm
...
- Pass form to submitMultiPdfForm to use in FormData creation.
2024-12-18 01:28:04 +02:00
Ludy87
051cd2d0d5
Adds manual backup creation
2024-12-17 23:23:16 +01:00
Anthony Stirling
db3a8a8483
Merge branch 'main' into bug/fix-multitool-drag
2024-12-17 13:51:51 +00:00
Reece Browne
2bdda9acba
Fix drop on self bug
...
Fix highlight fadeout bug
UI tweaks
2024-12-17 13:47:44 +00:00
Anthony Stirling
bd20d3ad93
Merge branch 'main' into fix-2478-draggableElement-null
2024-12-17 11:14:59 +00:00
Ludy
3a0d89bd7c
Merge branch 'main' into german__17_12
2024-12-17 11:47:44 +01:00
Omar Ahmed Hassan
5d4769df56
Remove unused draggable.js file
...
- Remove draggable.js as the draggability feature already works without and it wasn't used anywhere except in sign.html (which throw an exception already as draggableElement was null, and yet the functionality was working as expected, thus we don't need it)
2024-12-17 12:47:13 +02:00
Ludy87
80b9d2691a
Update messages_de_DE.properties
2024-12-17 11:46:50 +01:00
Anthony Stirling
99c598096e
Merge pull request #2482 from Stirling-Tools/update-3rd-party-licenses
...
Update 3rd Party Licenses
2024-12-17 10:46:06 +00:00
Anthony Stirling
c2e96c5f1d
Merge branch 'main' into fix-img-to-pdf-2456
2024-12-17 10:35:22 +00:00
GitHub Action
cffdbc5e7b
Update 3rd Party Licenses
...
Signed-off-by: GitHub Action <action@github.com>
2024-12-17 10:28:26 +00:00