Skip to content

Commit 4075b8d

Browse files
Merge branch 'Stirling-Tools:main' into main
2 parents 8408465 + 15848e3 commit 4075b8d

File tree

144 files changed

+9191
-5654
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+9191
-5654
lines changed

.github/labeler-config.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,27 @@ Java:
1616

1717
Back End:
1818
- changed-files:
19-
- any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/config/security/**/*'
20-
- any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/config/model/provider/**/*'
19+
- any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/config/**/*'
20+
- any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/controller/**/*'
2121
- any-glob-to-any-file: 'src/main/resources/settings.yml.template'
22+
- any-glob-to-any-file: 'src/main/resources/application.properties'
2223
- any-glob-to-any-file: 'src/main/resources/banner.txt'
24+
- any-glob-to-any-file: 'scripts/png_to_webp.py'
25+
- any-glob-to-any-file: 'split_photos.py'
2326

2427
Security:
2528
- changed-files:
2629
- any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/config/security/**/*'
27-
- any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/config/model/provider/**/*'
28-
- any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/config/model/AuthenticationType.java'
30+
- any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/model/provider/**/*'
31+
- any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/model/AuthenticationType.java'
32+
- any-glob-to-any-file: 'scripts/download-security-jar.sh'
2933

3034
API:
3135
- changed-files:
3236
- any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/controller/web/MetricsController.java'
3337
- any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/controller/api/**/*'
38+
- any-glob-to-any-file: 'scripts/png_to_webp.py'
39+
- any-glob-to-any-file: 'split_photos.py'
3440

3541
Documentation:
3642
- changed-files:
@@ -43,6 +49,9 @@ Docker:
4349
- any-glob-to-any-file: 'Dockerfile'
4450
- any-glob-to-any-file: 'Dockerfile-*'
4551
- any-glob-to-any-file: 'exampleYmlFiles/*.yml'
52+
- any-glob-to-any-file: 'scripts/init.sh'
53+
- any-glob-to-any-file: 'scripts/init-without-ocr.sh'
54+
- any-glob-to-any-file: 'scripts/installFonts.sh'
4655

4756
Test:
4857
- changed-files:

.github/labels.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
#
44
# The repository labels will be automatically configured using this file and
55
# the GitHub Action https://github.com/marketplace/actions/github-labeler.
6+
- name: "Licenses"
7+
color: "EDEDED"
8+
from_name: "licenses"
69
- name: "Back End"
710
color: "20CE6C"
8-
description: "Issues related to back-end development"
11+
description: "Issues or pull requests related to back-end development"
912
from_name: "Back end"
1013
- name: "Bug"
1114
description: "Something isn't working"
@@ -24,6 +27,7 @@
2427
from_name: "documentation"
2528
- name: "Done for next release"
2629
color: "0CDBD1"
30+
description: "Items that are completed and will be included in the next release"
2731
- name: "Done"
2832
color: "60F13B"
2933
- name: "duplicate"
@@ -37,7 +41,7 @@
3741
description: "Fix needs to be confirmed"
3842
- name: "Front End"
3943
color: "BBD2F1"
40-
description: "Issues related to front-end development"
44+
description: "Issues or pull requests related to front-end development"
4145
- name: "github-actions"
4246
description: "Pull requests that update GitHub Actions code"
4347
color: "999999"
@@ -91,3 +95,16 @@
9195
description: "Testing-related issues or pull requests"
9296
- name: "Stale"
9397
color: "000000"
98+
description: "Issues or pull requests that have become inactive"
99+
- name: "Priority: Critical"
100+
color: "000000"
101+
description: "Issues or pull requests with the highest priority"
102+
- name: "Priority: High"
103+
color: "FF0000"
104+
description: "Issues or pull requests with high priority"
105+
- name: "Priority: Medium"
106+
color: "FFFF00"
107+
description: "Issues or pull requests with medium priority"
108+
- name: "Priority: Low"
109+
color: "00FF00"
110+
description: "Issues or pull requests with low priority"

.github/pull_request_template.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Closes #(issue_number)
88

99
- [ ] I have read the [Contribution Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md)
1010
- [ ] I have performed a self-review of my own code
11+
- [ ] I have attached images of the change if it is UI based
1112
- [ ] I have commented my code, particularly in hard-to-understand areas
13+
- [ ] 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/)
1214
- [ ] My changes generate no new warnings
1315
- [ ] 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)

.github/scripts/gradle_to_chart.py

Lines changed: 0 additions & 67 deletions
This file was deleted.

.github/workflows/push-docker.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
permissions:
1111
contents: read
1212
packages: write
13+
1314
jobs:
1415
push:
1516
runs-on: ubuntu-latest
@@ -66,6 +67,7 @@ jobs:
6667
images: |
6768
${{ secrets.DOCKER_HUB_USERNAME }}/s-pdf
6869
ghcr.io/${{ steps.repoowner.outputs.lowercase }}/s-pdf
70+
${{ secrets.DOCKER_HUB_ORG_USERNAME }}/stirling-pdf
6971
tags: |
7072
type=raw,value=${{ steps.versionNumber.outputs.versionNumber }},enable=${{ github.ref == 'refs/heads/master' }}
7173
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }}
@@ -93,6 +95,7 @@ jobs:
9395
images: |
9496
${{ secrets.DOCKER_HUB_USERNAME }}/s-pdf
9597
ghcr.io/${{ steps.repoowner.outputs.lowercase }}/s-pdf
98+
${{ secrets.DOCKER_HUB_ORG_USERNAME }}/stirling-pdf
9699
tags: |
97100
type=raw,value=${{ steps.versionNumber.outputs.versionNumber }}-ultra-lite,enable=${{ github.ref == 'refs/heads/master' }}
98101
type=raw,value=latest-ultra-lite,enable=${{ github.ref == 'refs/heads/master' }}
@@ -119,6 +122,7 @@ jobs:
119122
images: |
120123
${{ secrets.DOCKER_HUB_USERNAME }}/s-pdf
121124
ghcr.io/${{ steps.repoowner.outputs.lowercase }}/s-pdf
125+
${{ secrets.DOCKER_HUB_ORG_USERNAME }}/stirling-pdf
122126
tags: |
123127
type=raw,value=${{ steps.versionNumber.outputs.versionNumber }}-fat,enable=${{ github.ref == 'refs/heads/master' }}
124128
type=raw,value=latest-fat,enable=${{ github.ref == 'refs/heads/master' }}

.github/workflows/sync_files.yml

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -14,44 +14,6 @@ permissions:
1414
pull-requests: write
1515

1616
jobs:
17-
sync-versions:
18-
runs-on: ubuntu-latest
19-
steps:
20-
- uses: actions/checkout@v4
21-
- name: Set up Python
22-
uses: actions/setup-python@v5
23-
with:
24-
python-version: "3.x"
25-
- name: Install dependencies
26-
run: pip install pyyaml
27-
- name: Sync versions
28-
run: python .github/scripts/gradle_to_chart.py
29-
- name: Set up git config
30-
run: |
31-
git config --global user.name "github-actions[bot]"
32-
git config --global user.email "github-actions[bot]@users.noreply.github.com"
33-
- name: Run git add
34-
run: |
35-
git add .
36-
git diff --staged --quiet || git commit -m ":floppy_disk: Sync Versions
37-
> Made via sync_files.yml" || echo "no changes"
38-
- name: Create Pull Request
39-
uses: peter-evans/create-pull-request@v6
40-
with:
41-
token: ${{ secrets.GITHUB_TOKEN }}
42-
commit-message: Update files
43-
committer: GitHub Action <[email protected]>
44-
author: GitHub Action <[email protected]>
45-
signoff: true
46-
branch: sync_version
47-
title: ":floppy_disk: Update Version"
48-
body: |
49-
Auto-generated by [create-pull-request][1]
50-
51-
[1]: https://github.com/peter-evans/create-pull-request
52-
draft: false
53-
delete-branch: true
54-
labels: github-actions
5517
sync-readme:
5618
runs-on: ubuntu-latest
5719
steps:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ bin/
44
tmp/
55
*.tmp
66
*.bak
7+
*.exe
78
*.swp
89
*~.nib
910
local.properties

DATABASE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# New Database Backup and Import Functionality
22

3-
**Full activation will take place on approximately January 5th, 2025!**
3+
> [!IMPORTANT]
4+
> **Full activation will take place on approximately January 5th, 2025!**
45
56
Why is the waiting time six months?
67

0 commit comments

Comments
 (0)