PingLin8888
fa0152aa2d
Fix ConcurrentModificationException by modifying resources outside the iteration. ( #1719 )
...
Fix ConcurrentModificationException by collecting XObject names
- Changed to use a list to collect XObject names before removal.
- Avoids ConcurrentModificationException by modifying resources outside the iteration.
Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com>
2024-08-19 19:42:55 +01:00
Ludy
e1d0f2cd3e
Fix: YamlFile - String length limit disable ( #1716 )
...
Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com>
2024-08-19 15:03:05 +01:00
Ludy
81e2a77e57
Fix: Failed authentication #1704 ( #1708 )
...
* Fix: Failed authentication #1704
* Update account.html
2024-08-19 15:02:40 +01:00
Ludy
29fcbf30d7
Admin panel - Enhanced User Management & Fix : #1630 ( #1658 )
...
* Prevents SSO login due to faulty verification
* add translation & fix show error message
* Update settings.yml.template
---------
Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com>
2024-08-16 11:57:37 +01:00
Ludy
d32da95f55
tessdata available to local Windows users ( #1677 )
...
tessdata available to local Windows users
2024-08-15 11:43:56 +02:00
Diallo
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
a3374745f8
formatting
2024-08-08 21:13:59 +01:00
PingLin8888
d0bf385d69
Issue1632 remove images ( #1645 )
...
* Implemented PdfImageRemovalService.java and PdfImageRemovalController.java. Image can be removed testing using Postman, but the file size doesn't change.
* Fix removal logic in service file to decrease file size.
* Implement "Remove Image" feature on the website
Updated the front-end code to integrate the "Remove Image" feature. The new functionality is now fully operational on the website, allowing users to remove images as expected.
* Add comments to PdfImageRemovalController and PdfImageRemovalService.
* Change the google material icon in navbar, homepage and remove-image-pdf.html.
2024-08-08 20:38:36 +01:00
HimaGirija
e50391a44a
Added multithreaded feature for image extraction ( #1641 )
...
Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com>
2024-08-07 22:16:57 +01:00
mylk13
ec537c6fde
Add a checkbox to WatermarkController to convert the pdf to pdf-image ( #1633 )
...
* Add a checkbox to WatermarkController to convert the pdf to pdf-image
* 381: Fix messages_en_GB
---------
Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com>
2024-08-06 08:11:52 +00:00
Manohar Mannam
ea6d4a293e
blank pages returns removed pages for verification #1574 ( #1619 )
...
separated blank and non-blank pages and created unified ZIP archive
Co-authored-by: mannam <101550345+ManoharMannam@users.noreply.github.com>
Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com>
2024-08-03 09:30:53 +00:00
Anthony Stirling
191e79da18
Update test.yml ( #1623 )
...
* Update test.yml
* Update SPdfApplication.java
2024-08-03 10:29:34 +01:00
congyuluo
9ff2cb63d0
Refactored Identifiers ( #1609 )
2024-07-31 21:25:48 +01:00
Ludy
6eb79e65fa
minor changes in the DEV tools and more ( #1578 )
2024-07-22 21:15:10 +01:00
Ludy
85ed0c38d1
Adding declaration as repository component & changing primary key type ( #1559 )
...
* Adding declaration as repository component & changing primary key type
* Update AuthorityRepository.java
* Update PersistentLoginRepository.java
---------
Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com>
2024-07-20 10:13:49 +01:00
Anthony Stirling
929f0bbbe5
version bump, multi file fix and disable survey ( #1550 )
...
* version bump, multi file fix and disable survey
* example test stuff
* logs
* Update docker-compose-latest.yml
---------
Co-authored-by: a <a>
2024-07-20 09:53:58 +01:00
pixeebot[bot]
b7d37deb85
Refactored to use parameterized SQL APIs ( #1545 )
...
Co-authored-by: pixeebot[bot] <104101892+pixeebot[bot]@users.noreply.github.com>
2024-07-09 21:18:32 +01:00
Ludy
be05db22f5
Preparation for Switching to a New Database Version ( #1521 )
...
* preparing to switch to a new database version
* add PreAuthorize
---------
Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com>
2024-07-05 20:48:33 +01:00
Ludy
1c90b65bca
removes empty list entries ( #1523 )
2024-07-04 21:04:21 +00:00
Ludy
3a6969cad0
Fix: synchronizing the browser settings to the database #1481 ( #1510 )
...
Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com>
2024-06-26 20:48:50 +00:00
Ludy
036c10fc27
added: Differentiate login methods and more ( #1471 )
...
- Added Portuguese in the table (README.md)
- ApplicationProperties.class diluted, provider outsourced to its own class
- Added UnsupportedProviderException to indicate a meaningful error
- Closes #1357
- Closes #1238
2024-06-15 13:15:09 +01:00
Ludy
f07ba9192b
Updating build.gradle libraries ( #1465 )
2024-06-15 11:47:16 +01:00
Ludy
fe9c5a7351
Change: method write and read settings.yml #1441 ( #1463 )
...
Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com>
2024-06-15 09:05:31 +01:00
Sebastian Espei
8cbb4367ab
PDF-to-Image different page formats fix ( #1460 )
...
* Improve the PDF rendering process for pages of varying sizes
This commit includes changes to handle the rendering of PDF documents with pages of different sizes. The updated code calculates the dimensions of each page upfront and assembles a final combined image that accommodates for the differing page dimensions. This approach avoids repetitive renderings of the same page sizes.
* Refactor image preparation for Pdf to Image
2024-06-14 23:39:30 +01:00
HHHHHMMMM
f2015cecbd
When converting PDF to word, add parameters to speed up soffice startup ( #1450 )
...
When converting PDF to word, add parameters to speed up soffice startup
2024-06-13 18:13:38 +01:00
Sebastian Espei
f60a8d87d2
Add Odd-Even Merge operation mode ( #1445 )
...
* Add ODD_EVEN_MERGE sort type
* Add process method to merge odd and even PDF pages
* Add test cases for Odd-Even merge method
* Add Odd-Even Merge mode in PDF Organizer webpage
This also add a new translatable text message variable pdfOrganiser.mode.10 with translation for english and german
* Add ODD_EVEN_MERGE documentation to RearrangePagesRequest
* Add english translation for pdfOrganiser.mode.10
---------
Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com>
2024-06-12 22:21:02 +01:00
Ludy
1e72960c5f
Bugfix: missing contextPath ( #1434 )
2024-06-12 20:36:18 +01:00
Ludy
446bc68768
change to Pdf.js-Legacy Version 4.3.136 ( #1444 )
...
* add: PDF.js-Legacy
* change path
2024-06-12 20:33:25 +01:00
Ludy
7543f49ba4
Add: Option to remove the digital signature when merging ( #1424 )
2024-06-09 13:58:05 +01:00
Anthony Stirling
63bdc0d59e
Pipeline fixes for json lists + delete func ( #1425 )
...
* init
* revert
* pipelines fixes for lists
* pipeline fixes to allow json lists
* formatting
* pipeline changes
* langs
---------
Co-authored-by: a <a>
2024-06-09 13:56:55 +01:00
Anthony Stirling
ef59ea6fe4
Images and login context ( #1417 )
...
* init
* revert
2024-06-08 16:07:23 +01:00
pixeebot[bot]
88338b4dbc
(Sonar) Fixed finding: "Utility classes should not have public constructors"
2024-06-07 07:52:26 +00:00
pixeebot[bot]
9147d364bc
(Sonar) Fixed finding: "@Override should be used on overriding and implementing methods"
2024-06-07 04:38:10 +00:00
Anthony Stirling
03150c6462
format
2024-06-06 21:59:13 +01:00
a
a3bf7baf35
Merge branch 'disableConfigUpdater' of git@github.com:Stirling-Tools/Stirling-PDF.git into disableConfigUpdater
2024-06-06 21:57:30 +01:00
Anthony Stirling
6c09bcf23c
resolve #1386
2024-06-06 21:57:18 +01:00
Anthony Stirling
d60107f48b
Merge branch 'main' into disableConfigUpdater
2024-06-06 21:36:04 +01:00
Anthony Stirling
fd4c75279f
init
2024-06-06 21:23:33 +01:00
Anthony Stirling
04b0bcde61
Merge pull request #1388 from Stirling-Tools/disableConfigUpdater
...
remove settings files update for now
2024-06-06 20:23:04 +01:00
Ludy87
37c75971f2
Update ApplicationProperties.java
2024-06-06 21:14:34 +02:00
Ludy87
7d9edfca6d
Enhance OAuth2 Client Registration with Dynamic Provider Details
2024-06-06 21:03:06 +02:00
Anthony Stirling
a40696f16e
remove settings files update for now
2024-06-06 19:49:53 +01:00
Anthony Stirling
a0227a4bdd
Merge pull request #1382 from Stirling-Tools/tweaks
...
tweaks and fix for #1381
2024-06-05 22:35:22 +01:00
Anthony Stirling
87be41117f
tweaks and fix for #1381
2024-06-05 21:16:22 +01:00
Anthony Stirling
948ddb06bc
Merge pull request #1362 from Stirling-Tools/sonar
...
Sonar
2024-06-02 12:12:41 +01:00
Anthony Stirling
efc07522ab
minor
2024-06-02 12:04:29 +01:00
Anthony Stirling
31938b662c
format
2024-06-02 12:02:01 +01:00
Anthony Stirling
eb526a5d0c
logging and try catch
2024-06-02 11:59:43 +01:00
Anthony Stirling
c4a620e3f5
init sonar
2024-06-02 11:42:30 +01:00
Ludy87
5799e61385
new workaround for remove digital signature
2024-06-01 21:30:05 +02:00
Anthony Stirling
995de6abc3
automate fat docker
2024-06-01 13:55:28 +01:00
Ludy87
19c564a6f7
Fix: Initialization Issue and Enhance Configuration Management for ConfigInitializer #1324
2024-05-31 23:51:42 +02:00
Ludy87
aef0d32b5b
add remove digital signature
2024-05-31 11:31:07 +02:00
Anthony Stirling
d221654121
Merge pull request #1331 from pcanham/hotfix/typo-fix-for-google
...
fix: type correction around google OAUTH2 provider
2024-05-30 20:54:08 +01:00
Anthony Stirling
f1476d197f
Merge pull request #1326 from NicolasFR/feat/utf8-mdToPdf
...
feat: Force UTF-8 encoding of input characters
2024-05-30 20:53:58 +01:00
Anthony Stirling
5d6e23d4b7
Merge pull request #1282 from kkdlau/bugfix/1214-grab-zero-byte-pdf
...
#1214 Only take pdf that are good for processing
2024-05-30 20:53:21 +01:00
Paul Canham
76dc90d587
fi: type correction around google OAUTH2 provider
2024-05-30 09:42:23 +01:00
Nicolas
f61bbd312f
feat: Force UTF-8 encoding of input characters
2024-05-29 22:09:09 +02:00
Danny Lau
65b9544942
#1214 Fix unable to create FileMonitor if the root directory does not exist
2024-05-29 23:03:24 +08:00
Ludy87
cd6f3862f6
add invalid Id Token message
2024-05-28 10:27:44 +02:00
Anthony Stirling
32209534a0
gha
2024-05-27 22:30:25 +01:00
Anthony Stirling
65f9438639
deletion changes
2024-05-27 17:53:18 +01:00
Anthony Stirling
6ffa80c386
changes
2024-05-27 16:31:00 +01:00
Anthony Stirling
48bd060d6e
Merge remote-tracking branch 'origin/main' into cucumber
2024-05-26 15:32:34 +01:00
Anthony Stirling
5dee64ab7b
changes
2024-05-26 15:31:34 +01:00
Ludy87
cbb4ccd4b7
add: multi OAuth2 option README.md, small cosmetic repairs
2024-05-25 21:10:12 +02:00
Ludy87
4dcf2f5870
Update CustomOAuth2LogoutSuccessHandler.java
2024-05-25 18:25:13 +02:00
Ludy87
c2179ccd63
add multi OAuth2 Provider
2024-05-25 18:19:03 +02:00
Danny Lau
17ef2e9b5d
Merge branch 'main' into bugfix/1214-grab-zero-byte-pdf
2024-05-25 08:20:57 +08:00
Danny Lau
801dcdb463
#1214 Only take files that are good for processing
2024-05-25 00:22:01 +08:00
Anthony Stirling
2646af19b3
config fix and book icons
2024-05-20 18:18:26 +01:00
Anthony Stirling
45e2623b9b
change configs
2024-05-19 12:00:46 +01:00
a
f9111e556c
Merge remote-tracking branch 'origin/main' into config
2024-05-19 11:54:58 +01:00
Anthony Stirling
fa746a2b51
config stuff
2024-05-19 11:54:45 +01:00
Ludy87
7109dd7905
Fix: Removes username validation check
...
- Removes username validation check
- Ignores API users in user counting
2024-05-19 10:52:11 +02:00
Ludy87
ffec5f7b54
extends the functionality of oauth in Stirling PDF 2.
2024-05-18 23:47:05 +02:00
Anthony Stirling
b904a46bca
Update CustomAuthenticationSuccessHandler.java
2024-05-18 19:39:35 +01:00
Anthony Stirling
26a457f9d0
Update InitialSecuritySetup.java
2024-05-18 19:38:39 +01:00
Anthony Stirling
521dff737f
Merge branch 'main' into add_functions_oauth2
2024-05-18 19:24:02 +01:00
Anthony Stirling
b860146c93
logging for #1024 and jdk bump
2024-05-17 19:18:57 +01:00
Ludy87
dcf13e9ade
Update InitialSecuritySetup.java
2024-05-12 20:17:46 +02:00
Ludy87
811c19e00d
extends the functionality of oauth in Stirling PDF
2024-05-12 19:58:34 +02:00
pixeebot[bot]
503acc9408
Introduced protections against HTTP header injection / smuggling attacks
2024-05-07 03:44:03 +00:00
Anthony Stirling
f4fcede771
Update ProcessExecutor.java
2024-05-05 20:45:52 +01:00
Anthony Stirling
ac5273244c
flatten ( #1167 )
2024-05-05 13:33:17 +01:00
Anthony Stirling
38979dd362
lets try this again (Config fix) ( #1159 )
...
* Introducing a custom settings file
* formats
* chnages
* Update README.md
* fixes
---------
Co-authored-by: a <a>
2024-05-03 22:23:21 +01:00
Anthony Stirling
890163053b
introduces custom settings file ( #1158 )
...
* Introducing a custom settings file
* formats
* chnages
* Update README.md
2024-05-03 20:43:48 +01:00
Sahil Phule
d7afc574a6
Change User Roles ( #1153 )
...
* Modify user service and controller
* Modify Template
* Add messages
* Fix Username output
* Add tooltip
* Change Role Modify logic
* Add Roles from database to existing users
* Add default select Fillers
* Indent JS
* Add Change Role Related Translations
* Remove unnecessary Whitespace and imports
2024-05-02 21:52:50 +01:00
Sahil Phule
d9fa8f7b48
Add OAUTH2 OIDC login support ( #1140 )
...
* Somewhat working
* Change Autocreate logic
* Add OAuth Error Message if Auto create Disabled
* Display OAUTH2 username(email) in Account Settings
* Disable Change user/pass for Oauth2 user
* Hide SSO Button if SSO login Disabled
* Remove some spaces and comments
* Add OAUTH2 Login example docker-compose file
* Add Some Comments
* Hide Printing of Client secret
* Remove OAUTH2 Beans
and replace with applicationProperties
* Add conditional annotation to Bean Creation
* Update settings.yml.template
Add OAUTH2 enabling template.
* Update messages_en_GB.properties
2024-04-29 22:01:22 +01:00
Anthony Stirling
e7e3b34b37
fix for #1035 ( #1137 )
...
* fix for #1035
* Update ConvertImgPDFController.java
2024-04-28 22:37:40 +01:00
Anthony Stirling
8c9d6f7b66
Custom HTML support #355 ( #1129 )
...
* test
* settings
* version
2024-04-27 11:03:57 +01:00
Anthony Stirling
30444fc9bb
commit ( #1128 )
...
* commit
* formatting
2024-04-26 23:27:40 +01:00
Anthony Stirling
34c7ee46a0
lang adds
2024-04-24 19:59:01 +01:00
Anthony Stirling
71e93e3cb5
print (WIP), fake scan (WIP) and text conversion for ultra-lite ( #1098 )
...
* Changes!
* lang
* fake scan init, print init and pdf to text for exe
* Hardening suggestions for Stirling-PDF / changes (#1099 )
* Switch order of literals to prevent NullPointerException
* Introduced protections against predictable RNG abuse
---------
Co-authored-by: pixeebot[bot] <104101892+pixeebot[bot]@users.noreply.github.com>
* Update README.md
* install custom fonts
* Formats etc
* version bump
* disable WIP work
* remove chinese font
---------
Co-authored-by: pixeebot[bot] <104101892+pixeebot[bot]@users.noreply.github.com>
Co-authored-by: systo <systo@host.docker.internal>
2024-04-21 23:06:44 +01:00
Ludy
3189d9dda8
Check DOCKER_ENABLE_SECURITY for UI ( #1103 )
...
When using `DOCKER_ENABLE_SECURITY=false`, the logout button and `Account Settings` are no longer displayed.
2024-04-21 21:16:39 +01:00
Ludy
a5000fbbc5
UI: settings show/hide update display ( #1072 )
...
* UI: settings show/hide update display
This PR replaces the PR #1003
In this PR, the visual for available update is added to the foreground.
There are new settings to generally show/hide the update display, and only administrators receive the update display.
* change to `Bean`
* Update AppUpdateShowService.java
* add update message
* revision service
* change shouldShow
* Update githubVersion.js
* rm folder
* Update AppUpdateService.java
2024-04-21 12:15:18 +01:00
phfuh
b702f5772d
Add selection for PDF/A output format ( #1095 )
...
* Create PdfToPdfARequest.java
* Change class, add output format
* Add input field for output format
* Change output format selection order
2024-04-21 08:44:05 +01:00
Anthony Stirling
06a178cc03
Cache form inputs between runs ( #1066 )
...
* Changes!
* lang
2024-04-20 14:46:49 +01:00
Ludy
ace4e200b1
Fix: Resolve Username Case Sensitivity Issue in Login Flow ( #1070 )
...
* Fix: Username changing
The only situation where the username must be unique is when changing the username.
* Update UserController.java
2024-04-14 22:07:03 +01:00
Ludy
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