Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
404 commits
Select commit Hold shift + click to select a range
4ae7c83
tests
Frooodle Dec 13, 2024
de3f59c
destination = "${projectDir}/build/jpackage"
Frooodle Dec 13, 2024
40b5904
test
Frooodle Dec 13, 2024
9870e6a
fix
Frooodle Dec 13, 2024
378aca4
Update messages_ja_JP.properties
tkymmm Dec 13, 2024
fe19845
fix main class
Frooodle Dec 13, 2024
c723696
Merge pull request #2443 from albanobattistella/patch-61
Frooodle Dec 13, 2024
859c994
Merge pull request #2444 from tkymmm/main
Frooodle Dec 13, 2024
2297c5d
Merge pull request #2442 from lhui/main
Frooodle Dec 13, 2024
1ccdc16
dif main class
Frooodle Dec 13, 2024
43c4ec1
fixes!
Frooodle Dec 13, 2024
ebd0ddc
test
Frooodle Dec 13, 2024
13572a7
remove non windows for now
Frooodle Dec 13, 2024
509a305
logs and cleanup
Frooodle Dec 13, 2024
24717dd
finish
Frooodle Dec 13, 2024
30ee330
Merge branch 'main' into testStuff
Frooodle Dec 13, 2024
dd2aae6
Update Dockerfile-fat
Frooodle Dec 13, 2024
bae83a2
Update Dockerfile
Frooodle Dec 13, 2024
5ac2260
Merge pull request #2451 from Stirling-Tools/testStuff Full local web…
Frooodle Dec 13, 2024
1f39481
Merge branch 'main' into bug/csrf-decryption-API
Frooodle Dec 13, 2024
73e5246
:memo: Sync README
github-actions[bot] Dec 13, 2024
f7afe73
Update 3rd Party Licenses
actions-user Dec 13, 2024
41a3d28
Merge pull request #2439 from Stirling-Tools/update-3rd-party-licenses
Frooodle Dec 13, 2024
3b87239
Merge branch 'main' into bug/csrf-decryption-API
Frooodle Dec 13, 2024
5607f70
Merge pull request #2441 from reecebrowne/bug/csrf-decryption-API
Frooodle Dec 13, 2024
f1c5384
Merge pull request #2445 from Stirling-Tools/sync_readme
Frooodle Dec 13, 2024
1f1c414
csrf fixes
Frooodle Dec 14, 2024
faf3454
Merge remote-tracking branch 'origin/main' into csrf2
Dec 14, 2024
818bed3
Update build.gradle
Frooodle Dec 14, 2024
92cabf1
Merge pull request #2453 from Stirling-Tools/csrf2
Frooodle Dec 14, 2024
0e4c3d5
Update releaseArtifacts.yml
Frooodle Dec 14, 2024
c71ca21
Update multiOSReleases.yml
Frooodle Dec 14, 2024
2931e34
Add missing pdflib
reecebrowne Dec 16, 2024
0a6b645
Update build number
reecebrowne Dec 16, 2024
63eb94c
Merge pull request #2463 from reecebrowne/bug/fix_merge
Frooodle Dec 16, 2024
9b6dcdc
Fix drag and drop bugs and clean up UI
reecebrowne Dec 16, 2024
88079dd
Reduce opacity of dragged page on multidrag not just single
reecebrowne Dec 16, 2024
60ced19
Update build.yml
Frooodle Dec 16, 2024
6c172af
Merge pull request #2467 from Stirling-Tools/Frooodle-patch-2
Frooodle Dec 16, 2024
ca3002f
Merge branch 'main' into bug/fix-multitool-drag
Frooodle Dec 16, 2024
42541a7
Rename LANGS variable in init.sh to avoid overriding font LANGS
omar-ahmed42 Dec 16, 2024
e273b9a
Merge pull request #2468 from omar-ahmed42/fix-langs-env-override
Frooodle Dec 16, 2024
64ee26f
Use file-input-change event to disable/enable conversionType
omar-ahmed42 Dec 16, 2024
4998ad0
Fix form data files being replaced by the last decrypted file
omar-ahmed42 Dec 16, 2024
af100d4
Remove Direct Logger and Use Lombok `@Slf4j`
Ludy87 Dec 17, 2024
343e38a
Bump googleJavaFormat from 1.22.0 to 1.25.2
Ludy87 Dec 17, 2024
7f045db
Merge pull request #2480 from Ludy87/logger
Frooodle Dec 17, 2024
64f8348
Merge branch 'main' into bump_googleJavaFormat_1_25_2
Frooodle Dec 17, 2024
317d985
Merge pull request #2481 from Ludy87/bump_googleJavaFormat_1_25_2
Frooodle Dec 17, 2024
be3cbcc
Bump io.github.pixee:java-security-toolkit from 1.2.0 to 1.2.1
dependabot[bot] Dec 17, 2024
fa57ee4
Merge pull request #2471 from Stirling-Tools/dependabot/gradle/io.git…
Frooodle Dec 17, 2024
d74c521
Bump org.springframework.security:spring-security-saml2-service-provider
dependabot[bot] Dec 17, 2024
e9431ba
Merge pull request #2474 from Stirling-Tools/dependabot/gradle/org.sp…
Frooodle Dec 17, 2024
bbedf22
Bump io.micrometer:micrometer-core from 1.14.1 to 1.14.2
dependabot[bot] Dec 17, 2024
2c0a9ae
Merge pull request #2469 from Stirling-Tools/dependabot/gradle/io.mic…
Frooodle Dec 17, 2024
d672ad2
Bump org.springframework:spring-webmvc from 6.2.0 to 6.2.1
dependabot[bot] Dec 17, 2024
e8d7b4a
Merge pull request #2472 from Stirling-Tools/dependabot/gradle/org.sp…
Frooodle Dec 17, 2024
cffdbc5
Update 3rd Party Licenses
actions-user Dec 17, 2024
c2e96c5
Merge branch 'main' into fix-img-to-pdf-2456
Frooodle Dec 17, 2024
b3dfdba
Merge pull request #2476 from omar-ahmed42/fix-img-to-pdf-2456
Frooodle Dec 17, 2024
99c5980
Merge pull request #2482 from Stirling-Tools/update-3rd-party-licenses
Frooodle Dec 17, 2024
80b9d26
Update messages_de_DE.properties
Ludy87 Dec 17, 2024
5d4769d
Remove unused draggable.js file
omar-ahmed42 Dec 17, 2024
3a0d89b
Merge branch 'main' into german__17_12
Ludy87 Dec 17, 2024
ac9f4a4
Merge pull request #2483 from Ludy87/german__17_12
Frooodle Dec 17, 2024
25b66a0
:memo: Sync README
github-actions[bot] Dec 17, 2024
c6700b3
Merge pull request #2484 from Stirling-Tools/sync_readme
Frooodle Dec 17, 2024
bd20d3a
Merge branch 'main' into fix-2478-draggableElement-null
Frooodle Dec 17, 2024
8053035
Merge pull request #2485 from omar-ahmed42/fix-2478-draggableElement-…
Frooodle Dec 17, 2024
2bdda9a
Fix drop on self bug
reecebrowne Dec 17, 2024
db3a8a8
Merge branch 'main' into bug/fix-multitool-drag
Frooodle Dec 17, 2024
720705e
Merge pull request #2466 from reecebrowne/bug/fix-multitool-drag
Frooodle Dec 17, 2024
eb13014
Update build.gradle
Frooodle Dec 17, 2024
051cd2d
Adds manual backup creation
Ludy87 Dec 17, 2024
42c238d
Pass form to submitMultiPdfForm
omar-ahmed42 Dec 17, 2024
e9f80d0
Fix missing info in form data
reecebrowne Dec 18, 2024
12d8604
Add default to convert image to pdf api
reecebrowne Dec 18, 2024
9eed761
Correct default fit
reecebrowne Dec 18, 2024
a79318b
Merge pull request #2491 from Ludy87/database_create_m
Frooodle Dec 18, 2024
2335ecf
:memo: Sync README
github-actions[bot] Dec 18, 2024
b0daac2
Merge pull request #2492 from omar-ahmed42/fix-no-formdata-sent-in-multi
Frooodle Dec 18, 2024
a72615c
Merge branch 'main' into bug/2490/2488/image-to-pdf
reecebrowne Dec 18, 2024
9a6afdd
Merge pull request #2493 from reecebrowne/bug/2490/2488/image-to-pdf
Frooodle Dec 18, 2024
678ef85
Don't remove files from file input, just append
reecebrowne Dec 18, 2024
bf95ca4
Remove append entirely
reecebrowne Dec 18, 2024
1862ab1
Merge pull request #2497 from reecebrowne/File-input-append
Frooodle Dec 18, 2024
74d6d96
Merge pull request #2495 from Stirling-Tools/sync_readme
Frooodle Dec 18, 2024
a531f53
Exclude Sensitive and Error-Prone Fields from toString() in SAML2 Con…
Ludy87 Dec 18, 2024
764b8f4
Merge pull request #2498 from Ludy87/code_refactoring
Frooodle Dec 18, 2024
b9ae902
Update messages_it_IT.properties
albanobattistella Dec 18, 2024
c0ef624
Merge pull request #2499 from albanobattistella/patch-62
Frooodle Dec 18, 2024
8a5d9f9
mounted_config_dir
Frooodle Dec 18, 2024
6ce761a
Merge remote-tracking branch 'origin/main' into configCheck
Frooodle Dec 18, 2024
0436f45
Merge pull request #2500 from Stirling-Tools/configCheck
Frooodle Dec 18, 2024
164381e
some tools lack PDFLib
Ludy87 Dec 18, 2024
4e715a8
Merge pull request #2501 from Ludy87/missing_pdflib
Frooodle Dec 18, 2024
4d63680
Update build.gradle
Frooodle Dec 18, 2024
95a9e10
Update releaseArtifacts.yml
Frooodle Dec 19, 2024
167c792
Draw image with the original PDF page dimensions
omar-ahmed42 Dec 19, 2024
2d82c5f
Merge pull request #2503 from omar-ahmed42/fix-page-resize-in-redact-…
Frooodle Dec 19, 2024
fca6dc1
Stack convert section, don't remove. Move remove into own js
reecebrowne Dec 19, 2024
2a93910
Remove padding
reecebrowne Dec 19, 2024
63386ba
Conditional logic for stacking columns
reecebrowne Dec 19, 2024
8dca4a5
Merge pull request #2505 from reecebrowne/toolbar-tweaks2
Frooodle Dec 19, 2024
2634062
Update and improve zh_TW Traditional Chinese locale
PeterDaveHello Dec 19, 2024
61603ae
remove redundant entries
Ludy87 Dec 20, 2024
30bcdbd
Merge pull request #2507 from Ludy87/remove_redundant_entries
Frooodle Dec 20, 2024
a9e2505
standardize the submit button
Ludy87 Dec 20, 2024
a71cb7f
Merge pull request #2509 from Ludy87/btn_standardize
Frooodle Dec 20, 2024
e3d2bd3
Merge pull request #2513 from PeterDaveHelloKitchen/zh_TW
Frooodle Dec 20, 2024
bba3d65
Create SECURITY.md
Frooodle Dec 21, 2024
dc5b214
[StepSecurity] Apply security best practices
step-security-bot Dec 21, 2024
3870f73
Update dependabot.yml
Frooodle Dec 21, 2024
ca9abf7
Update .pre-commit-config.yaml
Frooodle Dec 21, 2024
9dcb300
Merge pull request #2516 from step-security-bot/stepsecurity_remediat…
Frooodle Dec 21, 2024
1795d57
Bump gradle from 8.11-jdk17 to 8.12-jdk17
dependabot[bot] Dec 21, 2024
daae6bf
Bump springBootVersion from 3.4.0 to 3.4.1
dependabot[bot] Dec 21, 2024
1006aa1
Bump io.spring.dependency-management from 1.1.6 to 1.1.7
dependabot[bot] Dec 21, 2024
b8466c2
Bump org.springframework.boot from 3.4.0 to 3.4.1
dependabot[bot] Dec 21, 2024
801a2a7
Update codeql.yml
Frooodle Dec 21, 2024
e5d6204
Merge branch 'main' into dependabot/gradle/org.springframework.boot-3…
Frooodle Dec 21, 2024
b3230f1
Merge branch 'main' into dependabot/gradle/springBootVersion-3.4.1
Frooodle Dec 21, 2024
adb715f
Update codeql.yml
Frooodle Dec 21, 2024
7b78c5c
Update .pre-commit-config.yaml
Ludy87 Dec 21, 2024
1bfa534
Update gradle-wrapper.properties
Frooodle Dec 21, 2024
6456a28
Merge branch 'main' into dependabot/gradle/springBootVersion-3.4.1
Frooodle Dec 21, 2024
dd03875
Merge branch 'main' into dependabot/gradle/io.spring.dependency-manag…
Frooodle Dec 21, 2024
125bebf
Merge branch 'main' into dependabot/gradle/org.springframework.boot-3…
Frooodle Dec 21, 2024
8f5c521
Merge pull request #2525 from Ludy87/fix_pre_commit_config
Frooodle Dec 21, 2024
ff99c46
Rename codeql.yml to codeql.yml-disabled
Frooodle Dec 21, 2024
c877f12
Bump crazy-max/ghaction-github-labeler from 5.0.0 to 5.1.0
dependabot[bot] Dec 21, 2024
e7f2576
Bump softprops/action-gh-release from 2.0.9 to 2.2.0
dependabot[bot] Dec 21, 2024
b65ac40
Merge pull request #2519 from Stirling-Tools/dependabot/github_action…
Frooodle Dec 21, 2024
9aec9d3
Merge pull request #2521 from Stirling-Tools/dependabot/github_action…
Frooodle Dec 21, 2024
889b612
Merge pull request #2522 from Stirling-Tools/dependabot/gradle/spring…
Frooodle Dec 21, 2024
f13945b
Merge pull request #2523 from Stirling-Tools/dependabot/gradle/io.spr…
Frooodle Dec 21, 2024
226cbe1
Bump ossf/scorecard-action from 2.3.3 to 2.4.0
dependabot[bot] Dec 21, 2024
5c0a606
Merge pull request #2517 from Stirling-Tools/dependabot/docker/gradle…
Frooodle Dec 21, 2024
d3e0c0b
Merge branch 'main' into dependabot/gradle/org.springframework.boot-3…
Frooodle Dec 21, 2024
5df445e
Merge pull request #2524 from Stirling-Tools/dependabot/gradle/org.sp…
Frooodle Dec 21, 2024
2dd580c
Merge pull request #2520 from Stirling-Tools/dependabot/github_action…
Frooodle Dec 21, 2024
de6bfa2
:memo: Sync README
github-actions[bot] Dec 21, 2024
b6c66c4
Update 3rd Party Licenses
actions-user Dec 21, 2024
0366bc6
Merge pull request #2526 from Stirling-Tools/update-3rd-party-licenses
Frooodle Dec 21, 2024
51577a0
Merge pull request #2514 from Stirling-Tools/sync_readme
Frooodle Dec 21, 2024
1defa44
Update scorecards.yml
Frooodle Dec 21, 2024
c08329e
Update .pre-commit-config.yaml no. 2
Ludy87 Dec 21, 2024
238db1a
Update scorecards.yml
Frooodle Dec 21, 2024
6a60971
Merge branch 'main' into fix_pre_commit_config_2
Ludy87 Dec 21, 2024
a909592
Update CODEOWNERS
Frooodle Dec 21, 2024
d136f9b
Update README.md
Frooodle Dec 21, 2024
67a08a7
Update check_properties.yml
Ludy87 Dec 21, 2024
4ee756f
Merge pull request #2528 from Ludy87/fix_dangerous_workflow
Frooodle Dec 21, 2024
70cc03f
Removing duplicate permissions
Ludy87 Dec 21, 2024
e0d37d2
Merge branch 'main' into remove_duplicate_permission
Ludy87 Dec 21, 2024
f09e702
Update check_properties.yml
Ludy87 Dec 21, 2024
c087305
Merge pull request #2530 from Ludy87/fix_dangerous_workflow_2
Frooodle Dec 21, 2024
a7f900b
Merge pull request #2529 from Ludy87/remove_duplicate_permission
Frooodle Dec 21, 2024
ae44c4c
Update check_properties.yml
Ludy87 Dec 21, 2024
58bcb9f
Merge pull request #2531 from Ludy87/fix_dangerous_workflow_3
Frooodle Dec 21, 2024
d2e3c2a
Merge branch 'main' into fix_pre_commit_config_2
Ludy87 Dec 21, 2024
46261c5
Merge pull request #2527 from Ludy87/fix_pre_commit_config_2
Frooodle Dec 21, 2024
12e8ace
[Security] Dangerous-Workflow
Ludy87 Dec 21, 2024
76924cc
Merge pull request #2532 from Ludy87/fix_Dangerous_Workflow_4
Frooodle Dec 21, 2024
0d2b5f6
Permission Position moved to top level
Ludy87 Dec 21, 2024
822ccba
Update build.yml
Ludy87 Dec 21, 2024
e920eb0
Update check_properties.yml
Ludy87 Dec 21, 2024
7ccb9db
Update update-translations.yml
Ludy87 Dec 21, 2024
b86eac2
Merge pull request #2533 from Ludy87/token_permissions
Frooodle Dec 21, 2024
f29d4db
[Security] Token permissions no. 2
Ludy87 Dec 21, 2024
fb61fea
Merge pull request #2534 from Ludy87/token_permissions_2
Frooodle Dec 21, 2024
15abef1
Update push-docker.yml
Frooodle Dec 21, 2024
74c6ea7
Merge branch 'main' into cosign
Frooodle Dec 21, 2024
4e45bae
Update Dockerfile
Frooodle Dec 22, 2024
974b947
Update Dockerfile-fat
Frooodle Dec 22, 2024
fb6cefa
Update Dockerfile-ultra-lite
Frooodle Dec 22, 2024
9820a32
Update Dockerfile
Frooodle Dec 22, 2024
6697ccc
Bump peter-evans/create-pull-request from 6.1.0 to 7.0.5
Ludy87 Dec 22, 2024
80f53e9
Improve Markdown documentation a bit
PeterDaveHello Dec 21, 2024
988a877
Merge pull request #2538 from PeterDaveHelloKitchen/ImproveDocs
Frooodle Dec 22, 2024
b0881cd
Standardize Alpine base image format and version across all Dockerfiles
PeterDaveHello Dec 22, 2024
50fb665
Merge pull request #2537 from Ludy87/bump_create_pull_request_7_0_5
Frooodle Dec 22, 2024
b2628d4
Merge pull request #2536 from Stirling-Tools/docker-labels
Frooodle Dec 22, 2024
2fd8d88
Merge pull request #2535 from Stirling-Tools/cosign
Frooodle Dec 22, 2024
f1bf425
Merge pull request #2540 from PeterDaveHelloKitchen/Dockerfile
Frooodle Dec 22, 2024
2a1dad8
rename
Frooodle Dec 22, 2024
91aece2
Merge remote-tracking branch 'origin/main' into docker-rename
Frooodle Dec 22, 2024
f4ae4ac
reremove
Frooodle Dec 22, 2024
34ddc29
test
Frooodle Dec 22, 2024
341a234
quick fix
Frooodle Dec 22, 2024
5c1abdd
fix
Frooodle Dec 22, 2024
74cab98
Rollback action-gh-release version from v2.2.0 to v2.1.0
Ludy87 Dec 22, 2024
e833d68
Update multiOSReleases.yml
Ludy87 Dec 22, 2024
7223b37
Introduces pre-commit github-action
Ludy87 Dec 22, 2024
a0f3d7b
Update push-docker.yml
Frooodle Dec 22, 2024
73ee965
3.21.0 py3-opencv requires python 4.10 which means broken
Frooodle Dec 22, 2024
04f72f1
Merge branch 'docker-rename' of git@github.com:Stirling-Tools/Stirlin…
Dec 22, 2024
f9b9069
Merge pull request #2542 from Ludy87/fix_upload_artifact
Frooodle Dec 22, 2024
3ae7323
Merge pull request #2541 from Stirling-Tools/docker-rename
Frooodle Dec 22, 2024
d6937b1
Merge pull request #2543 from Ludy87/add_pre_commit
Frooodle Dec 22, 2024
4dfdf2d
Update pre_commit.yml (#2546)
Ludy87 Dec 22, 2024
0f1b943
add label Security to changed files (#2547)
Ludy87 Dec 22, 2024
d4f25db
used pre-commit/action (#2548)
Ludy87 Dec 22, 2024
cbdec6e
rollback check_properties.yml (#2551)
Ludy87 Dec 22, 2024
2abfe59
Fix: duplicated mapping key (#2550)
Ludy87 Dec 22, 2024
9884c65
formattingand autowired constructors (#2557)
Frooodle Dec 24, 2024
db1fa28
Update build.yml (#2559)
Frooodle Dec 26, 2024
0f24fa1
Update push-docker only sigh fat and normal
Frooodle Dec 26, 2024
7d81ca7
Adding the missing translations in French (#2563)
crownbackend Dec 27, 2024
8c2a468
:memo: Update README: Translation Progress Table (#2565)
github-actions[bot] Dec 27, 2024
0e82400
add permissions for `check_properties.yml` (#2564)
Ludy87 Dec 27, 2024
702433d
removed `actions/checkout` for PR branch, use `gh` (#2567)
Ludy87 Dec 29, 2024
7be8db7
Move docs to website (#2571)
Frooodle Dec 30, 2024
2e23149
extends the .gitignore for cert and ssh (#2572)
Ludy87 Dec 30, 2024
574c474
Fix file drag and drop (#2575)
reecebrowne Dec 31, 2024
5e173b9
Bump peter-evans/create-pull-request from 7.0.5 to 7.0.6 (#2574)
dependabot[bot] Jan 2, 2025
d5faddb
Enhancement: Enhance NFunction evaluation and support advanced NFunct…
omar-ahmed42 Jan 2, 2025
f45de05
Fixes SSO login rejection (#2566)
Ludy87 Jan 2, 2025
a4c988c
Bump gradle from 8.11-jdk17 to 8.12-jdk17 (#2556)
dependabot[bot] Jan 2, 2025
715efca
Update translation files (#2579)
github-actions[bot] Jan 2, 2025
49fb634
Feature/improved signature element (#2489)
reecebrowne Jan 2, 2025
8076393
Update translation files (#2582)
github-actions[bot] Jan 2, 2025
4544fb7
Fix: Translation Verification (#2581)
Ludy87 Jan 2, 2025
36c4d85
:memo: Update README: Translation Progress Table (#2580)
github-actions[bot] Jan 2, 2025
7b768db
Fix: Translation Verification hard-coded repo properties (#2584)
Ludy87 Jan 2, 2025
56ab9c3
Update messages_de_DE.properties (#2583)
Ludy87 Jan 2, 2025
958c214
Update build.gradle
Frooodle Jan 2, 2025
ef174a1
additional Swedish translations (#2585)
swanemar Jan 2, 2025
875f5a8
Token-Permissions & Pinned-Dependencies (#2586)
Ludy87 Jan 2, 2025
e3c7b6f
Update README.md
Frooodle Jan 2, 2025
01288da
:memo: Update README: Translation Progress Table (#2587)
github-actions[bot] Jan 2, 2025
e80eaaa
changes the permission to write issues (#2590)
Ludy87 Jan 2, 2025
6f04f01
changes the permission deploy-pr (#2592)
Ludy87 Jan 2, 2025
50575bc
Update messages_it_IT.properties (#2591)
albanobattistella Jan 2, 2025
bc282c6
Update PR-Demo-Comment.yml (#2594)
Ludy87 Jan 2, 2025
0ff45c6
:memo: Update README: Translation Progress Table (#2593)
github-actions[bot] Jan 2, 2025
38633d4
Green buttons (#2597)
reecebrowne Jan 3, 2025
41c269f
Bump gradle-version from 8.7 to 8.12 (#2596)
Ludy87 Jan 3, 2025
2d76927
fixes: untrusted code (#2598)
Ludy87 Jan 3, 2025
116dfcc
removes unused implementation `com.unboundid.product.scim2` (#2599)
Ludy87 Jan 4, 2025
5ba98e4
Revert "removes unused implementation `com.unboundid.product.scim2`" …
Frooodle Jan 4, 2025
b8303e3
Pdf to image custom page selection (#2576)
saikumarjetti Jan 4, 2025
beaa86c
Update translation files (#2609)
github-actions[bot] Jan 4, 2025
77bb15b
Update 3rd Party Licenses (#2604)
github-actions[bot] Jan 4, 2025
709a79c
Update labeler-config.yml (#2601)
Ludy87 Jan 4, 2025
3227da5
Bump docker-compose from v2.29.1 to v2.32.1 (#2600)
Ludy87 Jan 4, 2025
e754e60
:memo: Update README: Translation Progress Table (#2608)
github-actions[bot] Jan 4, 2025
79f6598
Update messages_it_IT.properties (#2610)
albanobattistella Jan 4, 2025
22af79a
Feature: Support manual redaction (#2433)
omar-ahmed42 Jan 6, 2025
ca919ae
Update translation files
github-actions[bot] Jan 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# All PRs to V1 must be approved by Frooodle
* @Frooodle
* @Frooodle @reecebrowne @Ludy87 @DarioGii
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: 💬 Discord Server
url: https://discord.gg/Cn8pWhQRxZ
url: https://discord.gg/HYmhKj45pU
about: You can join our Discord server for real time discussion and support
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@ updates:
interval: "weekly"
open-pull-requests-limit: 10
rebase-strategy: "auto"

- package-ecosystem: "docker"
directory: "/" # Location of Dockerfile
schedule:
interval: "weekly"

- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
13 changes: 12 additions & 1 deletion .github/labeler-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,16 @@ Security:
- any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/model/provider/**/*'
- any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/model/AuthenticationType.java'
- any-glob-to-any-file: 'scripts/download-security-jar.sh'
- any-glob-to-any-file: '.github/workflows/dependency-review.yml'
- any-glob-to-any-file: '.github/workflows/scorecards.yml'

API:
- changed-files:
- any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/controller/web/MetricsController.java'
- any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/controller/api/**/*'
- any-glob-to-any-file: 'scripts/png_to_webp.py'
- any-glob-to-any-file: 'split_photos.py'
- any-glob-to-any-file: '.github/workflows/swagger.yml'

Documentation:
- changed-files:
Expand All @@ -46,17 +49,25 @@ Documentation:

Docker:
- changed-files:
- any-glob-to-any-file: '.github/workflows/build.yml'
- any-glob-to-any-file: '.github/workflows/push-docker.yml'
- any-glob-to-any-file: 'Dockerfile'
- any-glob-to-any-file: 'Dockerfile-*'
- any-glob-to-any-file: 'Dockerfile.*'
- any-glob-to-any-file: 'exampleYmlFiles/*.yml'
- any-glob-to-any-file: 'scripts/download-security-jar.sh'
- any-glob-to-any-file: 'scripts/init.sh'
- any-glob-to-any-file: 'scripts/init-without-ocr.sh'
- any-glob-to-any-file: 'scripts/installFonts.sh'
- any-glob-to-any-file: 'test.sh'
- any-glob-to-any-file: 'test2.sh'

Test:
- changed-files:
- any-glob-to-any-file: 'cucumber/**/*'
- any-glob-to-any-file: 'src/test**/*'
- any-glob-to-any-file: '.pre-commit-config'
- any-glob-to-any-file: '.github/workflows/pre_commit.yml'
- any-glob-to-any-file: '.github/workflows/scorecards.yml'

Github:
- changed-files:
Expand Down
4 changes: 2 additions & 2 deletions .github/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ changelog:
- title: Bug Fixes
labels:
- Bug

- title: Enhancements
labels:
- enhancement
Expand All @@ -26,7 +26,7 @@ changelog:
- title: Translation Changes
labels:
- Translation

- title: Other Changes
labels:
- "*"
90 changes: 67 additions & 23 deletions .github/scripts/check_language_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
adjusting the format.

Usage:
python script_name.py --reference-file <path_to_reference_file> --branch <branch_name> [--files <list_of_changed_files>]
python check_language_properties.py --reference-file <path_to_reference_file> --branch <branch_name> [--actor <actor_name>] [--files <list_of_changed_files>]
"""

import copy
Expand All @@ -19,6 +19,10 @@
import re


# Maximum size for properties files (e.g., 200 KB)
MAX_FILE_SIZE = 200 * 1024


def parse_properties_file(file_path):
"""Parses a .properties file and returns a list of objects (including comments, empty lines, and line numbers)."""
properties_list = []
Expand Down Expand Up @@ -96,15 +100,15 @@ def write_json_file(file_path, updated_properties):
def update_missing_keys(reference_file, file_list, branch=""):
reference_properties = parse_properties_file(reference_file)
for file_path in file_list:
basename_current_file = os.path.basename(branch + file_path)
basename_current_file = os.path.basename(os.path.join(branch, file_path))
if (
basename_current_file == os.path.basename(reference_file)
or not file_path.endswith(".properties")
or not basename_current_file.startswith("messages_")
):
continue

current_properties = parse_properties_file(branch + file_path)
current_properties = parse_properties_file(os.path.join(branch, file_path))
updated_properties = []
for ref_entry in reference_properties:
ref_entry_copy = copy.deepcopy(ref_entry)
Expand All @@ -115,59 +119,79 @@ def update_missing_keys(reference_file, file_list, branch=""):
if ref_entry_copy["key"] == current_entry["key"]:
ref_entry_copy["value"] = current_entry["value"]
updated_properties.append(ref_entry_copy)
write_json_file(branch + file_path, updated_properties)
write_json_file(os.path.join(branch, file_path), updated_properties)


def check_for_missing_keys(reference_file, file_list, branch):
update_missing_keys(reference_file, file_list, branch + "/")
update_missing_keys(reference_file, file_list, branch)


def read_properties(file_path):
with open(file_path, "r", encoding="utf-8") as file:
return file.read().splitlines()
if os.path.isfile(file_path) and os.path.exists(file_path):
with open(file_path, "r", encoding="utf-8") as file:
return file.read().splitlines()
return [""]


def check_for_differences(reference_file, file_list, branch, actor):
reference_branch = reference_file.split("/")[0]
basename_reference_file = os.path.basename(reference_file)

report = []
report.append(
f"### 📋 Checking with the file `{basename_reference_file}` from the `{reference_branch}` - Checking the `{branch}`"
)
report.append(f"#### 🔄 Reference Branch: `{reference_branch}`")
reference_lines = read_properties(reference_file)
has_differences = False

only_reference_file = True

for file_path in file_list:
basename_current_file = os.path.basename(branch + "/" + file_path)
file_arr = file_list

if len(file_list) == 1:
file_arr = file_list[0].split()
base_dir = os.path.abspath(os.path.join(os.getcwd(), "src", "main", "resources"))

for file_path in file_arr:
absolute_path = os.path.abspath(file_path)
# Verify that file is within the expected directory
if not absolute_path.startswith(base_dir):
raise ValueError(f"Unsafe file found: {file_path}")
# Verify file size before processing
if os.path.getsize(os.path.join(branch, file_path)) > MAX_FILE_SIZE:
raise ValueError(
f"The file {file_path} is too large and could pose a security risk."
)

basename_current_file = os.path.basename(os.path.join(branch, file_path))
if (
basename_current_file == basename_reference_file
or not file_path.startswith(
os.path.join("src", "main", "resources", "messages_")
)
or not file_path.endswith(".properties")
or not basename_current_file.startswith("messages_")
):
continue
only_reference_file = False
report.append(f"#### 🗂️ **Checking File:** `{basename_current_file}`...")
current_lines = read_properties(branch + "/" + file_path)
report.append(f"#### 📃 **File Check:** `{basename_current_file}`")
current_lines = read_properties(os.path.join(branch, file_path))
reference_line_count = len(reference_lines)
current_line_count = len(current_lines)

if reference_line_count != current_line_count:
report.append("")
report.append("- **Test 1 Status:** ❌ Failed")
report.append("1. **Test Status:** ❌ **_Failed_**")
report.append(" - **Issue:**")
has_differences = True
if reference_line_count > current_line_count:
report.append(
f" - **Issue:** Missing lines! Comments, empty lines, or translation strings are missing. Details: {reference_line_count} (reference) vs {current_line_count} (current)."
f" - **_Mismatched line count_**: {reference_line_count} (reference) vs {current_line_count} (current). Comments, empty lines, or translation strings are missing."
)
elif reference_line_count < current_line_count:
report.append(
f" - **Issue:** Too many lines! Check your translation files! Details: {reference_line_count} (reference) vs {current_line_count} (current)."
f" - **_Too many lines_**: {reference_line_count} (reference) vs {current_line_count} (current). Please verify if there is an additional line that needs to be removed."
)
else:
report.append("- **Test 1 Status:** ✅ Passed")
report.append("1. **Test Status:** ✅ **_Passed_**")

# Check for missing or extra keys
current_keys = []
Expand All @@ -192,17 +216,27 @@ def check_for_differences(reference_file, file_list, branch, actor):
has_differences = True
missing_keys_str = "`, `".join(missing_keys_list)
extra_keys_str = "`, `".join(extra_keys_list)
report.append("- **Test 2 Status:** ❌ Failed")
report.append("2. **Test Status:** ❌ **_Failed_**")
report.append(" - **Issue:**")
if missing_keys_list:
spaces_keys_list = []
for key in missing_keys_list:
if " " in key:
spaces_keys_list.append(key)
if spaces_keys_list:
spaces_keys_str = "`, `".join(spaces_keys_list)
report.append(
f" - **_Keys containing unnecessary spaces_**: `{spaces_keys_str}`!"
)
report.append(
f" - **Issue:** There are keys in ***{basename_current_file}*** `{missing_keys_str}` that are not present in ***{basename_reference_file}***!"
f" - **_Extra keys in `{basename_current_file}`_**: `{missing_keys_str}` that are not present in **_`{basename_reference_file}`_**."
)
if extra_keys_list:
report.append(
f" - **Issue:** There are keys in ***{basename_reference_file}*** `{extra_keys_str}` that are not present in ***{basename_current_file}***!"
f" - **_Missing keys in `{basename_reference_file}`_**: `{extra_keys_str}` that are not present in **_`{basename_current_file}`_**."
)
else:
report.append("- **Test 2 Status:** ✅ Passed")
report.append("2. **Test Status:** ✅ **_Passed_**")
report.append("")
report.append("---")
report.append("")
Expand Down Expand Up @@ -249,10 +283,20 @@ def check_for_differences(reference_file, file_list, branch, actor):
)
args = parser.parse_args()

# Sanitize --actor input to avoid injection attacks
if args.actor:
args.actor = re.sub(r"[^a-zA-Z0-9_\\-]", "", args.actor)

# Sanitize --branch input to avoid injection attacks
if args.branch:
args.branch = re.sub(r"[^a-zA-Z0-9\\-]", "", args.branch)

file_list = args.files
if file_list is None:
file_list = glob.glob(
os.getcwd() + "/src/**/messages_*.properties", recursive=True
os.path.join(
os.getcwd(), "src", "main", "resources", "messages_*.properties"
)
)
update_missing_keys(args.reference_file, file_list)
else:
Expand Down
Loading