Commit Graph
38 Commits
Author SHA1 Message Date
Anthony StirlingandGitHub 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
Ludy87 af100d4190 Remove Direct Logger and Use Lombok @Slf4j 2024-12-17 10:26:18 +01:00
Anthony StirlingandGitHub c6980e9693 Merge pull request #2434 from Ludy87/security_fix_1
Security fix: Server-Side Request Forgery
2024-12-12 11:28:56 +00:00
Ludy87 c3f88f716c Update GeneralUtils.java 2024-12-11 21:10:18 +01:00
Ludy87 67f983f00d Security fix: Server-Side Request Forgery
https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-4v4c-9hpr-93vx
2024-12-11 21:06:07 +01:00
Anthony Stirling 58c7d7b9a8 X-API-key to X-API-KEY 2024-12-10 20:39:24 +00:00
Anthony Stirling c1c3eba398 ensure csrf is enabled 2024-12-10 11:17:50 +00:00
Anthony StirlingandGitHub c85463bc18 Frooodle/license (#1994) 2024-10-14 22:34:41 +01:00
c650a766a9 Added functionality to set font size and font type in both frontend and backend. (#1783)
* Added variables

* Added functionality to add font size and font type in both frontend and backend

* new changes suggested has been added

---------

Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com>
2024-09-05 17:54:38 +01:00
47314a0f38 Extract images enhancements (#1757)
* fix

* extarct images

* langs

* logging

* cuke fix

---------

Co-authored-by: a <a>
2024-08-27 10:46:18 +01:00
c7e5987342 Cleanup logs (#1739)
* fix

* cleanups!

---------

Co-authored-by: a <a>
2024-08-23 11:52:45 +01:00
382edc01f8 Multiple flag fix (#1742)
* fix

* multiple file logic cleanup

* fix

---------

Co-authored-by: a <a>
2024-08-23 09:17:50 +01:00
DialloandGitHub 148feda83f Bug fix UI crash when url is unrechable (#1642)
* feat: Add URL  reachability check in ConvertWebsiteToPDF

* Add tests for URL reachability in ConvertWebsiteToPdfTest

* test: Update URL in ConvertWebsiteToPdfTest for testing
2024-08-08 20:35:15 +00:00
Anthony Stirling eb526a5d0c logging and try catch 2024-06-02 11:59:43 +01:00
Anthony Stirling 6ffa80c386 changes 2024-05-27 16:31:00 +01:00
LudyandGitHub 35a4462a86 replace comma to dot (#1057)
In several countries the comma is used as a decimal, the PR will replace the comma with a dot.
2024-04-09 17:47:53 +01:00
pixeebot[bot]GitHubpixeebot[bot] <104101892+pixeebot[bot]@users.noreply.github.com>
5564f378e5 (Sonar) Fix "String#replace should be preferred to String#replaceAll" (#1056)
Co-authored-by: pixeebot[bot] <104101892+pixeebot[bot]@users.noreply.github.com>
2024-04-09 06:52:52 +01:00
Anthony StirlingandGitHub ae73595335 Number of fixes and making pipline LIVE ! (#907)
Closes #889 and #332
#710
#901
#885
2024-03-13 19:15:10 +00:00
Anthony StirlingGitHubpixeebot[bot] <104101892+pixeebot[bot]@users.noreply.github.com>
1e4134c7d1 Number fxes (#898)
* init

* user and pass to just pass lang update

* session management fixes and avoid demo user locking

* fix for UMASK and extract cleanups

* fixes for user #889 and #332

* increase session count for demo site

* fix

* gcc

* formatting

* number fixes init

* || true test

* version bump

* Hardening suggestions for Stirling-PDF / numberFxes (#899)

Switch order of literals to prevent NullPointerException

Co-authored-by: pixeebot[bot] <104101892+pixeebot[bot]@users.noreply.github.com>

---------

Co-authored-by: pixeebot[bot] <104101892+pixeebot[bot]@users.noreply.github.com>
2024-03-10 14:00:00 +00:00
Anthony Stirling 26af6b5636 cleanups formatting 2024-02-10 14:52:59 +00:00
Anthony Stirling 0fabfea56d page adjusts for stamp 2024-02-10 14:52:27 +00:00
Anthony Stirling 734d76a3b5 test 2024-02-06 00:00:49 +00:00
pixeebot[bot] 95471a2fba Switch order of literals to prevent NullPointerException 2024-02-02 00:29:18 +00:00
pixeebot[bot] 734fff5618 Modernize and secure temp file creation 2024-02-02 00:15:46 +00:00
pixeebot[bot] 8e0c02a151 Sandboxed URL creation to prevent SSRF attacks 2024-02-01 23:35:05 +00:00
Anthony Stirling 5281d7a49a pdfbox3 upgrade and fix 2024-01-12 23:15:27 +00:00
Anthony Stirling 6fe268adcb eol 2024-01-03 17:59:04 +00:00
Anthony Stirling 5f771b7851 formatting 2023-12-30 19:11:27 +00:00
Anthony Stirling 79dcf99cce Clean imports and lang updates 2023-12-16 19:30:47 +00:00
Anthony Stirling 1d3e018a56 init overlay and auto split 2023-12-11 23:20:31 +00:00
Anthony Stirling 2c0fb33548 slow rework testing, still on multipage 2023-09-12 00:42:22 +01:00
Anthony Stirling b1fd798a5c init 2023-09-09 00:25:27 +01:00
Anthony Stirling a7cd6bfd2e itext changes 2023-09-02 00:05:50 +01:00
Anthony Stirling 4367ae7934 html and url to pdf init 2023-07-22 16:57:40 +01:00
Anthony Stirling 29aabdfba8 filter 2023-07-16 00:36:58 +01:00
Anthony Stirling f92482d89e page numbers and custom images 2023-07-04 21:45:35 +01:00
Anthony Stirling c526e18992 Split pages support n function and other stuff 2023-06-03 22:56:15 +01:00
Anthony Stirling 1499e78795 GeneralUtils 2023-05-31 20:37:13 +01:00