diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 644378d12..5ab9f82c9 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -119,7 +119,9 @@ "EditorConfig.EditorConfig", // EditorConfig support for maintaining consistent coding styles "ms-azuretools.vscode-docker", // Docker extension for Visual Studio Code "charliermarsh.ruff", // Ruff extension for Ruff language support - "github.vscode-github-actions" // GitHub Actions extension for Visual Studio Code + "github.vscode-github-actions", // GitHub Actions extension for Visual Studio Code + "stylelint.vscode-stylelint", // Stylelint extension for CSS and SCSS linting + "redhat.vscode-yaml" // YAML extension for Visual Studio Code ] } }, diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index c60f138ad..530345e30 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -1,5 +1,9 @@ # Formatting 5f771b785130154ed47952635b7acef371ffe0ec +7fa5e130d99227c2202ebddfdd91348176ec0c7b +14d4fbb2a36195eedb034785e5a5ff6a47f268c6 +ee8030c1c4148062cde15c49c67d04ef03930c55 +fcd41924f5f261febfa9d9a92994671f3ebc97d6 # Normalize files 55d4fda01b2f39f5b7d7b4fda5214bd7ff0fd5dd diff --git a/.gitattributes b/.gitattributes index f72c204bd..0a8155152 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,10 +1,10 @@ * text=auto eol=lf # Ignore all JavaScript files in a directory -stirling-pdf/src/main/resources/static/pdfjs/* linguist-vendored -stirling-pdf/src/main/resources/static/pdfjs/** linguist-vendored -stirling-pdf/src/main/resources/static/pdfjs-legacy/* linguist-vendored -stirling-pdf/src/main/resources/static/pdfjs-legacy/** linguist-vendored -stirling-pdf/src/main/resources/static/css/bootstrap-icons.css linguist-vendored -stirling-pdf/src/main/resources/static/css/bootstrap.min.css linguist-vendored -stirling-pdf/src/main/resources/static/css/fonts/* linguist-vendored +app/core/src/main/resources/static/pdfjs/* linguist-vendored +app/core/src/main/resources/static/pdfjs/** linguist-vendored +app/core/src/main/resources/static/pdfjs-legacy/* linguist-vendored +app/core/src/main/resources/static/pdfjs-legacy/** linguist-vendored +app/core/src/main/resources/static/css/bootstrap-icons.css linguist-vendored +app/core/src/main/resources/static/css/bootstrap.min.css linguist-vendored +app/core/src/main/resources/static/css/fonts/* linguist-vendored diff --git a/.github/labeler-config-srvaroa.yml b/.github/labeler-config-srvaroa.yml index b2324fbe3..bdc48da53 100644 --- a/.github/labeler-config-srvaroa.yml +++ b/.github/labeler-config-srvaroa.yml @@ -2,86 +2,99 @@ version: 1 labels: - label: "Bugfix" - title: '^fix:.*' + title: '^fix(\([^)]*\))?:|^fix:.*' - label: "enhancement" - title: '^feat:.*' + title: '^feat(\([^)]*\))?:|^feat:.*' - label: "build" - title: '^build:.*' + title: '^build(\([^)]*\))?:|^build:.*' - label: "chore" - title: '^chore:.*' + title: '^chore(\([^)]*\))?:|^chore:.*' - label: "ci" - title: '^ci:.*' + title: '^ci(\([^)]*\))?:|^ci:.*' + + - label: "ci" + title: '^.*\(ci\):.*' - label: "perf" - title: '^perf:.*' + title: '^perf(\([^)]*\))?:|^perf:.*' - label: "refactor" - title: '^refactor:.*' + title: '^refactor(\([^)]*\))?:|^refactor:.*' - label: "revert" - title: '^revert:.*' + title: '^revert(\([^)]*\))?:|^revert:.*' - label: "style" - title: '^style:.*' + title: '^style(\([^)]*\))?:|^style:.*' - label: "Documentation" - title: '^docs:.*' + title: '^docs(\([^)]*\))?:|^docs:.*' + + - label: "Documentation" + title: '^.*\(docs\):.*' + + - label: "dependencies" + title: '^deps(\([^)]*\))?:|^deps:.*' + + - label: "dependencies" + title: '^.*\(deps\):.*' - label: 'API' - title: '.*openapi.*' + title: '.*openapi.*|.*swagger.*|.*api.*' - label: 'Translation' files: - - 'stirling-pdf/src/main/resources/messages_[a-zA-Z_]{2}_[a-zA-Z_]{2,7}.properties' + - 'app/core/src/main/resources/messages_[a-zA-Z_]{2}_[a-zA-Z_]{2,7}.properties' - 'scripts/ignore_translation.toml' - - 'stirling-pdf/src/main/resources/templates/fragments/languages.html' + - 'app/core/src/main/resources/templates/fragments/languages.html' - '.github/scripts/check_language_properties.py' - label: 'Front End' files: - - 'stirling-pdf/src/main/resources/templates/.*' - - 'proprietary/src/main/resources/templates/.*' - - 'stirling-pdf/src/main/resources/static/.*' - - 'proprietary/src/main/resources/static/.*' - - 'stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/.*' - - 'stirling-pdf/src/main/java/stirling/software/SPDF/UI/.*' - - 'proprietary/src/main/java/stirling/software/proprietary/security/controller/web/.*' + - 'app/core/src/main/resources/templates/.*' + - 'app/proprietary/src/main/resources/templates/.*' + - 'app/core/src/main/resources/static/.*' + - 'app/proprietary/src/main/resources/static/.*' + - 'app/core/src/main/java/stirling/software/SPDF/controller/web/.*' + - 'app/core/src/main/java/stirling/software/SPDF/UI/.*' + - 'app/proprietary/src/main/java/stirling/software/proprietary/security/controller/web/.*' - label: 'Java' files: - - 'common/src/main/java/.*.java' - - 'proprietary/src/main/java/.*.java' - - 'stirling-pdf/src/main/java/.*.java' + - 'app/common/src/main/java/.*.java' + - 'app/proprietary/src/main/java/.*.java' + - 'app/core/src/main/java/.*.java' - label: 'Back End' files: - - 'stirling-pdf/src/main/java/stirling/software/SPDF/config/.*' - - 'stirling-pdf/src/main/java/stirling/software/SPDF/controller/.*' - - 'stirling-pdf/src/main/resources/settings.yml.template' - - 'stirling-pdf/src/main/resources/application.properties' - - 'stirling-pdf/src/main/resources/banner.txt' + - 'app/core/src/main/java/stirling/software/SPDF/config/.*' + - 'app/core/src/main/java/stirling/software/SPDF/controller/.*' + - 'app/core/src/main/resources/settings.yml.template' + - 'app/core/src/main/resources/application.properties' + - 'app/core/src/main/resources/banner.txt' - 'scripts/png_to_webp.py' - 'split_photos.py' - 'application.properties' - label: 'Security' files: - - 'proprietary/src/main/java/stirling/software/proprietary/security/.*' + - 'app/proprietary/src/main/java/stirling/software/proprietary/security/.*' - 'scripts/download-security-jar.sh' - '.github/workflows/dependency-review.yml' - '.github/workflows/scorecards.yml' - label: 'API' files: - - 'stirling-pdf/src/main/java/stirling/software/SPDF/config/OpenApiConfig.java' - - 'stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/MetricsController.java' - - 'stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/.*' - - 'stirling-pdf/src/main/java/stirling/software/SPDF/model/api/.*' - - 'proprietary/src/main/java/stirling/software/proprietary/security/controller/api/.*' + - 'app/core/src/main/java/stirling/software/SPDF/config/OpenApiConfig.java' + - 'app/core/src/main/java/stirling/software/SPDF/controller/web/MetricsController.java' + - 'app/core/src/main/java/stirling/software/SPDF/controller/api/.*' + - 'app/core/src/main/java/stirling/software/SPDF/model/api/.*' + - 'app/core/src/main/java/stirling/software/SPDF/service/ApiDocService.java' + - 'app/proprietary/src/main/java/stirling/software/proprietary/security/controller/api/.*' - 'scripts/png_to_webp.py' - 'split_photos.py' - '.github/workflows/swagger.yml' @@ -116,12 +129,14 @@ labels: - '.pre-commit-config' - '.github/workflows/pre_commit.yml' - 'devGuide/.*' + - 'devTools/.*' + - 'devTools/.*' - label: 'Test' files: - - 'common/src/test/.*' - - 'proprietary/src/test/.*' - - 'stirling-pdf/src/test/.*' + - 'app/common/src/test/.*' + - 'app/proprietary/src/test/.*' + - 'app/core/src/test/.*' - 'testing/.*' - '.github/workflows/scorecards.yml' - 'exampleYmlFiles/test_cicd.yml' @@ -137,6 +152,6 @@ labels: - 'gradlew.bat' - 'settings.gradle' - 'build.gradle' - - 'common/build.gradle' - - 'proprietary/build.gradle' - - 'stirling-pdf/build.gradle' + - 'app/common/build.gradle' + - 'app/proprietary/build.gradle' + - 'app/core/build.gradle' diff --git a/.github/labeler-config.yml b/.github/labeler-config.yml deleted file mode 100644 index d1a340065..000000000 --- a/.github/labeler-config.yml +++ /dev/null @@ -1,86 +0,0 @@ -Translation: - - changed-files: - - any-glob-to-any-file: 'stirling-pdf/src/main/resources/messages_*_*.properties' - - any-glob-to-any-file: 'scripts/ignore_translation.toml' - - any-glob-to-any-file: 'stirling-pdf/src/main/resources/templates/fragments/languages.html' - -Front End: - - changed-files: - - any-glob-to-any-file: 'stirling-pdf/src/main/resources/templates/**/*' - - any-glob-to-any-file: 'stirling-pdf/src/main/resources/static/**/*' - - any-glob-to-any-file: 'stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/**' - - any-glob-to-any-file: 'stirling-pdf/src/main/java/stirling/software/SPDF/UI/**/*' - -Java: - - changed-files: - - any-glob-to-any-file: 'common/src/main/java/**/*.java' - - any-glob-to-any-file: 'proprietary/src/main/java/**/*.java' - - any-glob-to-any-file: 'stirling-pdf/src/main/java/**/*.java' - -Back End: - - changed-files: - - any-glob-to-any-file: 'stirling-pdf/src/main/java/stirling/software/SPDF/config/**/*' - - any-glob-to-any-file: 'stirling-pdf/src/main/java/stirling/software/SPDF/controller/**/*' - - any-glob-to-any-file: 'stirling-pdf/src/main/resources/settings.yml.template' - - any-glob-to-any-file: 'stirling-pdf/src/main/resources/application.properties' - - any-glob-to-any-file: 'stirling-pdf/src/main/resources/banner.txt' - - any-glob-to-any-file: 'scripts/png_to_webp.py' - - any-glob-to-any-file: 'split_photos.py' - -Security: - - changed-files: - - any-glob-to-any-file: 'proprietary/src/main/java/stirling/software/proprietary/security/**/*' - - 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: 'stirling-pdf/src/main/java/stirling/software/SPDF/config/OpenApiConfig.java' - - any-glob-to-any-file: 'stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/MetricsController.java' - - any-glob-to-any-file: 'stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/**/*' - - any-glob-to-any-file: 'stirling-pdf/src/main/java/stirling/software/SPDF/model/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: - - any-glob-to-any-file: '**/*.md' - - any-glob-to-any-file: 'scripts/counter_translation.py' - - any-glob-to-any-file: 'scripts/ignore_translation.toml' - -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.fat' - - any-glob-to-any-file: 'Dockerfile.ultra-lite' - - 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' - -Devtools: - - changed-files: - - any-glob-to-any-file: '.devcontainer/**/*' - - any-glob-to-any-file: 'Dockerfile.dev' - -Test: - - changed-files: - - any-glob-to-any-file: 'cucumber/**/*' - - any-glob-to-any-file: 'common/src/test/**/*' - - any-glob-to-any-file: 'proprietary/src/test/**/*' - - any-glob-to-any-file: 'stirling-pdf/src/test/**/*' - - any-glob-to-any-file: 'src/testing/**/*' - - 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: - - any-glob-to-any-file: '.github/**/*' diff --git a/.github/labels.yml b/.github/labels.yml index b7f5642e7..9b35ccb1a 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -175,3 +175,6 @@ description: "This PR changes 1000+ lines ignoring generated files." - name: "to research" color: "FBCA04" +- name: "pr-deployed" + color: "00FF00" + description: "Pull request has been deployed to a test environment" diff --git a/.github/scripts/check_language_properties.py b/.github/scripts/check_language_properties.py index 659ff7027..a77c378a6 100644 --- a/.github/scripts/check_language_properties.py +++ b/.github/scripts/check_language_properties.py @@ -197,7 +197,7 @@ def check_for_differences(reference_file, file_list, branch, actor): if len(file_list) == 1: file_arr = file_list[0].split() base_dir = os.path.abspath( - os.path.join(os.getcwd(), "stirling-pdf", "src", "main", "resources") + os.path.join(os.getcwd(), "app", "core", "src", "main", "resources") ) for file_path in file_arr: @@ -219,13 +219,14 @@ def check_for_differences(reference_file, file_list, branch, actor): # only local windows command not file_normpath.startswith( os.path.join( - "", "stirling-pdf", "src", "main", "resources", "messages_" + "", "app", "core", "src", "main", "resources", "messages_" ) ) and not file_normpath.startswith( os.path.join( os.getcwd(), - "stirling-pdf", + "app", + "core", "src", "main", "resources", @@ -328,7 +329,7 @@ def check_for_differences(reference_file, file_list, branch, actor): report.append("## ❌ Overall Check Status: **_Failed_**") report.append("") report.append( - f"@{actor} please check your translation if it conforms to the standard. Follow the format of [messages_en_GB.properties](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/stirling-pdf/src/main/resources/messages_en_GB.properties)" + f"@{actor} please check your translation if it conforms to the standard. Follow the format of [messages_en_GB.properties](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/app/core/src/main/resources/messages_en_GB.properties)" ) else: report.append("## ✅ Overall Check Status: **_Success_**") @@ -389,7 +390,8 @@ if __name__ == "__main__": file_list = glob.glob( os.path.join( os.getcwd(), - "stirling-pdf", + "app", + "core", "src", "main", "resources", diff --git a/.github/workflows/PR-Demo-Comment-with-react.yml b/.github/workflows/PR-Demo-Comment-with-react.yml index edb696bf0..877a78524 100644 --- a/.github/workflows/PR-Demo-Comment-with-react.yml +++ b/.github/workflows/PR-Demo-Comment-with-react.yml @@ -6,20 +6,18 @@ on: permissions: contents: read - issues: write # Required for adding reactions to comments - pull-requests: read # Required for reading PR information + pull-requests: read jobs: check-comment: runs-on: ubuntu-latest permissions: issues: write - pull-requests: read if: | github.event.issue.pull_request && ( - contains(github.event.comment.body, 'prdeploy') || - contains(github.event.comment.body, 'deploypr') + contains(github.event.comment.body, 'prdeploy') || + contains(github.event.comment.body, 'deploypr') ) && ( @@ -47,10 +45,14 @@ jobs: with: egress-policy: audit - # Generate GitHub App token - - name: Generate GitHub App Token - id: generate-token - uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6 + - name: Checkout PR + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + + - name: Setup GitHub App Bot + if: github.actor != 'dependabot[bot]' + id: setup-bot + uses: ./.github/actions/setup-bot + continue-on-error: true with: app-id: ${{ secrets.GH_APP_ID }} private-key: ${{ secrets.GH_APP_PRIVATE_KEY }} @@ -123,7 +125,7 @@ jobs: id: add-eyes-reaction uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: - github-token: ${{ steps.generate-token.outputs.token }} + github-token: ${{ steps.setup-bot.outputs.token }} script: | console.log(`Adding eyes reaction to comment ID: ${context.payload.comment.id}`); try { @@ -145,8 +147,8 @@ jobs: needs: check-comment runs-on: ubuntu-latest permissions: - contents: read issues: write + pull-requests: write steps: - name: Harden Runner @@ -154,9 +156,14 @@ jobs: with: egress-policy: audit - - name: Generate GitHub App Token - id: generate-token - uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6 + - name: Checkout PR + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + + - name: Setup GitHub App Bot + if: github.actor != 'dependabot[bot]' + id: setup-bot + uses: ./.github/actions/setup-bot + continue-on-error: true with: app-id: ${{ secrets.GH_APP_ID }} private-key: ${{ secrets.GH_APP_PRIVATE_KEY }} @@ -166,7 +173,7 @@ jobs: with: repository: ${{ needs.check-comment.outputs.pr_repository }} ref: ${{ needs.check-comment.outputs.pr_ref }} - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ steps.setup-bot.outputs.token }} - name: Set up JDK uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1 @@ -188,12 +195,6 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1 - - name: Get version number - id: versionNumber - run: | - VERSION=$(grep "^version =" build.gradle | awk -F'"' '{print $2}') - echo "versionNumber=$VERSION" >> $GITHUB_OUTPUT - - name: Login to Docker Hub uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0 with: @@ -297,7 +298,7 @@ jobs: if: success() uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: - github-token: ${{ steps.generate-token.outputs.token }} + github-token: ${{ steps.setup-bot.outputs.token }} script: | console.log(`Adding rocket reaction to comment ID: ${{ needs.check-comment.outputs.comment_id }}`); try { @@ -313,11 +314,26 @@ jobs: console.error(error); } + // add label to PR + const prNumber = ${{ needs.check-comment.outputs.pr_number }}; + try { + await github.rest.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: prNumber, + labels: ['pr-deployed'] + }); + console.log(`Added 'pr-deployed' label to PR #${prNumber}`); + } catch (error) { + console.error(`Failed to add label to PR: ${error.message}`); + console.error(error); + } + - name: Add failure reaction to comment if: failure() uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: - github-token: ${{ steps.generate-token.outputs.token }} + github-token: ${{ steps.setup-bot.outputs.token }} script: | console.log(`Adding -1 reaction to comment ID: ${{ needs.check-comment.outputs.comment_id }}`); try { @@ -337,7 +353,7 @@ jobs: if: success() uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: - github-token: ${{ steps.generate-token.outputs.token }} + github-token: ${{ steps.setup-bot.outputs.token }} script: | const { GITHUB_REPOSITORY } = process.env; const [repoOwner, repoName] = GITHUB_REPOSITORY.split('/'); @@ -357,3 +373,11 @@ jobs: issue_number: prNumber, body: commentBody }); + + - name: Cleanup temporary files + if: always() + run: | + echo "Cleaning up temporary files..." + rm -f ../private.key docker-compose.yml + echo "Cleanup complete." + continue-on-error: true diff --git a/.github/workflows/PR-Demo-cleanup.yml b/.github/workflows/PR-Demo-cleanup.yml index bec52c2bb..855e804b2 100644 --- a/.github/workflows/PR-Demo-cleanup.yml +++ b/.github/workflows/PR-Demo-cleanup.yml @@ -1,7 +1,7 @@ name: PR Deployment cleanup on: - pull_request: + pull_request_target: types: [opened, synchronize, reopened, closed] permissions: @@ -13,11 +13,11 @@ env: jobs: cleanup: + if: github.event.action == 'closed' runs-on: ubuntu-latest permissions: - contents: write pull-requests: write - if: github.event.action == 'closed' + issues: write steps: - name: Harden Runner @@ -25,13 +25,87 @@ jobs: with: egress-policy: audit + - name: Checkout PR + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + + - name: Setup GitHub App Bot + if: github.actor != 'dependabot[bot]' + id: setup-bot + uses: ./.github/actions/setup-bot + continue-on-error: true + with: + app-id: ${{ secrets.GH_APP_ID }} + private-key: ${{ secrets.GH_APP_PRIVATE_KEY }} + + - name: Remove 'pr-deployed' label if present + id: remove-label-comment + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + with: + github-token: ${{ steps.setup-bot.outputs.token }} + script: | + const prNumber = ${{ github.event.pull_request.number }}; + const owner = context.repo.owner; + const repo = context.repo.repo; + + // Get all labels on the PR + const { data: labels } = await github.rest.issues.listLabelsOnIssue({ + owner, + repo, + issue_number: prNumber + }); + + const hasLabel = labels.some(label => label.name === 'pr-deployed'); + + if (hasLabel) { + console.log("Label 'pr-deployed' found. Removing..."); + await github.rest.issues.removeLabel({ + owner, + repo, + issue_number: prNumber, + name: 'pr-deployed' + }); + } else { + console.log("Label 'pr-deployed' not found. Nothing to do."); + } + + // Find existing bot comments about the deployment + const { data: comments } = await github.rest.issues.listComments({ + owner, + repo, + issue_number: prNumber + }); + const deploymentComments = comments.filter(c => + c.body?.includes("## 🚀 PR Test Deployment") && + c.user?.type === "Bot" + ); + + if (deploymentComments.length > 0) { + for (const comment of deploymentComments) { + await github.rest.issues.deleteComment({ + owner, + repo, + comment_id: comment.id + }); + console.log(`Deleted deployment comment (ID: ${comment.id})`); + } + } else { + console.log("No matching deployment comments found."); + } + + // Set flag if either label or comment was present + const hasDeploymentComment = deploymentComments.length > 0; + core.setOutput('present', (hasLabel || hasDeploymentComment) ? 'true' : 'false'); + + - name: Set up SSH + if: steps.remove-label-comment.outputs.present == 'true' run: | mkdir -p ~/.ssh/ echo "${{ secrets.VPS_SSH_KEY }}" > ../private.key sudo chmod 600 ../private.key - name: Cleanup PR deployment + if: steps.remove-label-comment.outputs.present == 'true' id: cleanup run: | ssh -i ../private.key -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -T ${{ secrets.VPS_USERNAME }}@${{ secrets.VPS_HOST }} << 'ENDSSH' @@ -57,3 +131,11 @@ jobs: echo "NO_CLEANUP_NEEDED" fi ENDSSH + + - name: Cleanup temporary files + if: always() + run: | + echo "Cleaning up temporary files..." + rm -f ../private.key + echo "Cleanup complete." + continue-on-error: true diff --git a/.github/workflows/auto-labeler.yml b/.github/workflows/auto-labeler.yml deleted file mode 100644 index f1d7d730c..000000000 --- a/.github/workflows/auto-labeler.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: "Pull Request Labeler" -on: - pull_request_target: - types: [opened, synchronize] - -permissions: - contents: read - -jobs: - labeler: - runs-on: ubuntu-latest - permissions: - pull-requests: write - steps: - - name: Harden Runner - uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2 - with: - egress-policy: audit - - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - - name: Apply Labels - uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - configuration-path: .github/labeler-config.yml - sync-labels: true diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf688d534..aa98d2a1e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,12 +48,12 @@ jobs: if: always() run: | declare -a dirs=( - "stirling-pdf/build/reports/tests/" - "stirling-pdf/build/test-results/" - "common/build/reports/tests/" - "common/build/test-results/" - "proprietary/build/reports/tests/" - "proprietary/build/test-results/" + "app/core/build/reports/tests/" + "app/core/build/test-results/" + "app/common/build/reports/tests/" + "app/common/build/test-results/" + "app/proprietary/build/reports/tests/" + "app/proprietary/build/test-results/" ) missing_reports=() for dir in "${dirs[@]}"; do @@ -74,19 +74,46 @@ jobs: with: name: test-reports-jdk-${{ matrix.jdk-version }}-spring-security-${{ matrix.spring-security }} path: | - stirling-pdf/build/reports/tests/ - stirling-pdf/build/test-results/ - stirling-pdf/build/reports/problems/ - common/build/reports/tests/ - common/build/test-results/ - common/build/reports/problems/ - proprietary/build/reports/tests/ - proprietary/build/test-results/ - proprietary/build/reports/problems/ + app/core/build/reports/tests/ + app/core/build/test-results/ + app/core/build/reports/problems/ + app/common/build/reports/tests/ + app/common/build/test-results/ + app/common/build/reports/problems/ + app/proprietary/build/reports/tests/ + app/proprietary/build/test-results/ + app/proprietary/build/reports/problems/ build/reports/problems/ retention-days: 3 if-no-files-found: warn + check-generateOpenApiDocs: + runs-on: ubuntu-latest + steps: + - name: Harden Runner + uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2 + with: + egress-policy: audit + + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + + - name: Set up JDK 17 + uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1 + with: + java-version: "17" + distribution: "temurin" + + - uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1 + + - name: Generate OpenAPI documentation + run: ./gradlew :stirling-pdf:generateOpenApiDocs + + - name: Upload OpenAPI Documentation + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + with: + name: openapi-docs + path: ./SwaggerDoc.json + check-licence: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/check_properties.yml b/.github/workflows/check_properties.yml index 7e6c43cbd..da000201a 100644 --- a/.github/workflows/check_properties.yml +++ b/.github/workflows/check_properties.yml @@ -4,7 +4,7 @@ on: pull_request_target: types: [opened, synchronize, reopened] paths: - - "stirling-pdf/src/main/resources/messages_*.properties" + - "app/core/src/main/resources/messages_*.properties" permissions: contents: read # Allow read access to repository content @@ -67,7 +67,7 @@ jobs: exit 1 fi # Get changed files and filter for properties files, handle case where no matches are found - gh pr view ${{ steps.get-pr-data.outputs.pr_number }} --json files -q ".files[].path" | grep -E '^stirling-pdf/src/main/resources/messages_[a-zA-Z_]{2}_[a-zA-Z_]{2,7}\.properties$' > changed_files.txt || echo "No matching properties files found in PR" + gh pr view ${{ steps.get-pr-data.outputs.pr_number }} --json files -q ".files[].path" | grep -E '^app/core/src/main/resources/messages_[a-zA-Z_]{2}_[a-zA-Z_]{2,7}\.properties$' > changed_files.txt || echo "No matching properties files found in PR" # Check if any files were found if [ ! -s changed_files.txt ]; then echo "No properties files changed in this PR" @@ -117,7 +117,7 @@ jobs: const changedFiles = files .filter(file => file.status !== "removed" && - /^stirling-pdf\/src\/main\/resources\/messages_[a-zA-Z_]{2}_[a-zA-Z_]{2,7}\.properties$/.test(file.filename) + /^app\/core\/src\/main\/resources\/messages_[a-zA-Z_]{2}_[a-zA-Z_]{2,7}\.properties$/.test(file.filename) ) .map(file => file.filename); @@ -157,12 +157,12 @@ jobs: // Determine reference file let referenceFilePath; - if (changedFiles.includes("stirling-pdf/src/main/resources/messages_en_GB.properties")) { + if (changedFiles.includes("app/core/src/main/resources/messages_en_GB.properties")) { console.log("Using PR branch reference file."); const { data: fileContent } = await github.rest.repos.getContent({ owner: prRepoOwner, repo: prRepoName, - path: "stirling-pdf/src/main/resources/messages_en_GB.properties", + path: "app/core/src/main/resources/messages_en_GB.properties", ref: branch, }); @@ -174,7 +174,7 @@ jobs: const { data: fileContent } = await github.rest.repos.getContent({ owner: repoOwner, repo: repoName, - path: "stirling-pdf/src/main/resources/messages_en_GB.properties", + path: "app/core/src/main/resources/messages_en_GB.properties", ref: "main", }); diff --git a/.github/workflows/licenses-update.yml b/.github/workflows/licenses-update.yml index 0cff27a96..ba66627ad 100644 --- a/.github/workflows/licenses-update.yml +++ b/.github/workflows/licenses-update.yml @@ -57,11 +57,11 @@ jobs: - name: Move and rename license file run: | - mv build/reports/dependency-license/index.json stirling-pdf/src/main/resources/static/3rdPartyLicenses.json + mv build/reports/dependency-license/index.json app/core/src/main/resources/static/3rdPartyLicenses.json - name: Commit changes run: | - git add stirling-pdf/src/main/resources/static/3rdPartyLicenses.json + git add app/core/src/main/resources/static/3rdPartyLicenses.json git diff --staged --quiet || echo "CHANGES_DETECTED=true" >> $GITHUB_ENV - name: Create Pull Request diff --git a/.github/workflows/multiOSReleases.yml b/.github/workflows/multiOSReleases.yml index cdd8c6580..3cac33e1f 100644 --- a/.github/workflows/multiOSReleases.yml +++ b/.github/workflows/multiOSReleases.yml @@ -86,7 +86,7 @@ jobs: run: | mkdir ./binaries mv ./build/launch4j/Stirling-PDF.exe ./binaries/win-Stirling-PDF-portable-Server${{ matrix.file_suffix }}.exe - mv ./stirling-pdf/build/libs/stirling-pdf-${{ needs.read_versions.outputs.version }}.jar ./binaries/Stirling-PDF${{ matrix.file_suffix }}.jar + mv ./app/core/build/libs/stirling-pdf-${{ needs.read_versions.outputs.version }}.jar ./binaries/Stirling-PDF${{ matrix.file_suffix }}.jar - name: Upload build artifacts uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 diff --git a/.github/workflows/swagger.yml b/.github/workflows/swagger.yml index d717d5563..463736b65 100644 --- a/.github/workflows/swagger.yml +++ b/.github/workflows/swagger.yml @@ -29,7 +29,7 @@ jobs: - uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1 - name: Generate Swagger documentation - run: ./gradlew generateOpenApiDocs + run: ./gradlew :stirling-pdf:generateOpenApiDocs - name: Upload Swagger Documentation to SwaggerHub run: ./gradlew swaggerhubUpload diff --git a/.github/workflows/sync_files.yml b/.github/workflows/sync_files.yml index cf5ecbc5c..620209dbb 100644 --- a/.github/workflows/sync_files.yml +++ b/.github/workflows/sync_files.yml @@ -8,8 +8,8 @@ on: paths: - "build.gradle" - "README.md" - - "stirling-pdf/src/main/resources/messages_*.properties" - - "stirling-pdf/src/main/resources/static/3rdPartyLicenses.json" + - "app/core/src/main/resources/messages_*.properties" + - "app/core/src/main/resources/static/3rdPartyLicenses.json" - "scripts/ignore_translation.toml" permissions: @@ -41,11 +41,11 @@ jobs: - name: Sync translation property files run: | - python .github/scripts/check_language_properties.py --reference-file "stirling-pdf/src/main/resources/messages_en_GB.properties" --branch main + python .github/scripts/check_language_properties.py --reference-file "app/core/src/main/resources/messages_en_GB.properties" --branch main - name: Commit translation files run: | - git add stirling-pdf/src/main/resources/messages_*.properties + git add app/core/src/main/resources/messages_*.properties git diff --staged --quiet || git commit -m ":memo: Sync translation files" || echo "No changes detected" - name: Install dependencies @@ -101,4 +101,4 @@ jobs: sign-commits: true add-paths: | README.md - stirling-pdf/src/main/resources/messages_*.properties + app/core/src/main/resources/messages_*.properties diff --git a/.gitignore b/.gitignore index 0018c3da8..8a5168e49 100644 --- a/.gitignore +++ b/.gitignore @@ -126,9 +126,12 @@ SwaggerDoc.json *.rar *.db /build -/stirling-pdf/build -/common/build -/proprietary/build +/app/core/build +/app/common/build +/app/proprietary/build +common/build +proprietary/build +stirling-pdf/build # Byte-compiled / optimized / DLL files __pycache__/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5418deaea..094e9b2fa 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,7 @@ repos: - --skip="./.*,*.csv,*.json,*.ambr" - --quiet-level=2 files: \.(html|css|js|py|md)$ - exclude: (.vscode|.devcontainer|stirling-pdf/src/main/resources|Dockerfile|.*/pdfjs.*|.*/thirdParty.*|bootstrap.*|.*\.min\..*|.*diff\.js) + exclude: (.vscode|.devcontainer|app/core/src/main/resources|app/proprietary/src/main/resources|Dockerfile|.*/pdfjs.*|.*/thirdParty.*|bootstrap.*|.*\.min\..*|.*diff\.js) - repo: https://github.com/gitleaks/gitleaks rev: v8.27.2 hooks: @@ -34,3 +34,13 @@ repos: - id: trailing-whitespace files: ^.*(\.js|\.java|\.py|\.yml)$ exclude: ^(.*/pdfjs.*|.*/thirdParty.*|bootstrap.*|.*\.min\..*|.*diff\.js|\.github/workflows/.*$) + # - repo: https://github.com/thibaudcolas/pre-commit-stylelint + # rev: v16.21.1 + # hooks: + # - id: stylelint + # additional_dependencies: + # - stylelint@16.21.1 + # - stylelint-config-standard@38.0.0 + # - "@stylistic/stylelint-plugin@3.1.3" + # files: \.(css)$ + # args: [--fix] \ No newline at end of file diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 128af83ba..6ab09796f 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -17,5 +17,7 @@ "GitHub.vscode-pull-request-github", // GitHub Pull Requests extension for Visual Studio Code "charliermarsh.ruff", // Ruff code formatter for Python to follow the Ruff Style Guide "yzhang.markdown-all-in-one", // Markdown All-in-One extension for enhanced Markdown editing + "stylelint.vscode-stylelint", // Stylelint extension for CSS and SCSS linting + "redhat.vscode-yaml", // YAML extension for Visual Studio Code ] } diff --git a/.vscode/settings.json b/.vscode/settings.json index 3f272e18a..abc54d43e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,12 +3,18 @@ "editor.guides.bracketPairs": "active", "editor.guides.bracketPairsHorizontal": "active", "cSpell.enabled": false, + "[feature]": { + "editor.defaultFormatter": "alexkrechik.cucumberautocomplete" + }, "[java]": { "editor.defaultFormatter": "josevseb.google-java-format-for-vs-code" }, "[jsonc]": { "editor.defaultFormatter": "vscode.json-language-features" }, + "[css]": { + "editor.defaultFormatter": "stylelint.vscode-stylelint" + }, "[json]": { "editor.defaultFormatter": "vscode.json-language-features" }, @@ -27,6 +33,9 @@ "[gradle]": { "editor.defaultFormatter": "vscjava.vscode-gradle" }, + "[yaml]": { + "editor.defaultFormatter": "redhat.vscode-yaml" + }, "java.compile.nullAnalysis.mode": "automatic", "java.configuration.updateBuildConfiguration": "interactive", "java.format.enabled": true, @@ -70,13 +79,17 @@ ".venv*/", ".vscode/", "bin/", - "common/bin/", - "proprietary/bin/", + "app/core/bin/", + "app/common/bin/", + "app/proprietary/bin/", "build/", - "common/build/", - "proprietary/build/", + "app/core/build/", + "app/common/build/", + "app/proprietary/build/", "configs/", + "app/core/configs/", "customFiles/", + "app/core/customFiles/", "docs/", "exampleYmlFiles", "gradle/", @@ -88,8 +101,9 @@ ".git-blame-ignore-revs", ".gitattributes", ".gitignore", - "common/.gitignore", - "proprietary/.gitignore", + "app/core/.gitignore", + "app/common/.gitignore", + "app/proprietary/.gitignore", ".pre-commit-config.yaml", ], // Enables signature help in Java. @@ -119,9 +133,10 @@ "html.format.indentHandlebars": true, "html.format.preserveNewLines": true, "html.format.maxPreserveNewLines": 2, + "stylelint.configFile": "devTools/.stylelintrc.json", "java.project.sourcePaths": [ - "stirling-pdf/src/main/java", - "common/src/main/java", - "proprietary/src/main/java" + "app/core/src/main/java", + "app/common/src/main/java", + "app/proprietary/src/main/java" ] } diff --git a/LICENSE b/LICENSE index 877663171..cc732d7ea 100644 --- a/LICENSE +++ b/LICENSE @@ -4,8 +4,8 @@ Copyright (c) 2025 Stirling PDF Inc. Portions of this software are licensed as follows: -* All content that resides under the "proprietary/" directory of this repository, -if that directory exists, is licensed under the license defined in "proprietary/LICENSE". +* All content that resides under the "app/proprietary/" directory of this repository, +if that directory exists, is licensed under the license defined in "app/proprietary/LICENSE". * Content outside of the above mentioned directories or restrictions above is available under the MIT License as defined below. diff --git a/README.md b/README.md index d0909ba2f..02712a1ad 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,7 @@ Stirling-PDF currently supports 40 languages! | Indonesian (Bahasa Indonesia) (id_ID) | ![63%](https://geps.dev/progress/63) | | Irish (Gaeilge) (ga_IE) | ![70%](https://geps.dev/progress/70) | | Italian (Italiano) (it_IT) | ![98%](https://geps.dev/progress/98) | -| Japanese (日本語) (ja_JP) | ![70%](https://geps.dev/progress/70) | +| Japanese (日本語) (ja_JP) | ![95%](https://geps.dev/progress/95) | | Korean (한국어) (ko_KR) | ![69%](https://geps.dev/progress/69) | | Norwegian (Norsk) (no_NB) | ![67%](https://geps.dev/progress/67) | | Persian (فارسی) (fa_IR) | ![66%](https://geps.dev/progress/66) | @@ -145,7 +145,7 @@ Stirling-PDF currently supports 40 languages! | Romanian (Română) (ro_RO) | ![59%](https://geps.dev/progress/59) | | Russian (Русский) (ru_RU) | ![70%](https://geps.dev/progress/70) | | Serbian Latin alphabet (Srpski) (sr_LATN_RS) | ![97%](https://geps.dev/progress/97) | -| Simplified Chinese (简体中文) (zh_CN) | ![90%](https://geps.dev/progress/90) | +| Simplified Chinese (简体中文) (zh_CN) | ![95%](https://geps.dev/progress/95) | | Slovakian (Slovensky) (sk_SK) | ![53%](https://geps.dev/progress/53) | | Slovenian (Slovenščina) (sl_SI) | ![73%](https://geps.dev/progress/73) | | Spanish (Español) (es_ES) | ![75%](https://geps.dev/progress/75) | diff --git a/allowed-licenses.json b/app/allowed-licenses.json similarity index 100% rename from allowed-licenses.json rename to app/allowed-licenses.json diff --git a/common/.gitignore b/app/common/.gitignore similarity index 99% rename from common/.gitignore rename to app/common/.gitignore index 17f0d4976..bd6361c88 100644 --- a/common/.gitignore +++ b/app/common/.gitignore @@ -124,7 +124,7 @@ SwaggerDoc.json *.rar *.db /build -/common/build/ +/app/common/build/ # Byte-compiled / optimized / DLL files __pycache__/ diff --git a/common/build.gradle b/app/common/build.gradle similarity index 96% rename from common/build.gradle rename to app/common/build.gradle index 6dfd222bf..2ab8c3b97 100644 --- a/common/build.gradle +++ b/app/common/build.gradle @@ -21,7 +21,7 @@ dependencies { api 'com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer:20240325.1' api 'com.fathzer:javaluator:3.0.6' api 'com.posthog.java:posthog:1.2.0' - api 'org.apache.commons:commons-lang3:3.17.0' + api 'org.apache.commons:commons-lang3:3.18.0' api 'com.drewnoakes:metadata-extractor:2.19.0' // Image metadata extractor api 'com.vladsch.flexmark:flexmark-html2md-converter:0.64.8' api "org.apache.pdfbox:pdfbox:$pdfboxVersion" diff --git a/common/src/main/java/org/apache/pdfbox/examples/util/DeletingRandomAccessFile.java b/app/common/src/main/java/org/apache/pdfbox/examples/util/DeletingRandomAccessFile.java similarity index 100% rename from common/src/main/java/org/apache/pdfbox/examples/util/DeletingRandomAccessFile.java rename to app/common/src/main/java/org/apache/pdfbox/examples/util/DeletingRandomAccessFile.java diff --git a/common/src/main/java/stirling/software/common/annotations/AutoJobPostMapping.java b/app/common/src/main/java/stirling/software/common/annotations/AutoJobPostMapping.java similarity index 100% rename from common/src/main/java/stirling/software/common/annotations/AutoJobPostMapping.java rename to app/common/src/main/java/stirling/software/common/annotations/AutoJobPostMapping.java diff --git a/common/src/main/java/stirling/software/common/aop/AutoJobAspect.java b/app/common/src/main/java/stirling/software/common/aop/AutoJobAspect.java similarity index 75% rename from common/src/main/java/stirling/software/common/aop/AutoJobAspect.java rename to app/common/src/main/java/stirling/software/common/aop/AutoJobAspect.java index 51c1882b6..2ee10ebcd 100644 --- a/common/src/main/java/stirling/software/common/aop/AutoJobAspect.java +++ b/app/common/src/main/java/stirling/software/common/aop/AutoJobAspect.java @@ -43,6 +43,11 @@ public class AutoJobAspect { // This aspect will run before any audit aspects due to @Order(0) // Extract parameters from the request and annotation boolean async = Boolean.parseBoolean(request.getParameter("async")); + log.debug( + "AutoJobAspect: Processing {} {} with async={}", + request.getMethod(), + request.getRequestURI(), + async); long timeout = autoJobPostMapping.timeout(); int retryCount = autoJobPostMapping.retryCount(); boolean trackProgress = autoJobPostMapping.trackProgress(); @@ -54,19 +59,8 @@ public class AutoJobAspect { retryCount, trackProgress); - // Copy and process arguments - // In a test environment, we might need to update the original objects for verification - boolean isTestEnvironment = false; - try { - isTestEnvironment = Class.forName("org.junit.jupiter.api.Test") != null; - } catch (ClassNotFoundException e) { - // Not in a test environment - } - - Object[] args = - isTestEnvironment - ? processArgsInPlace(joinPoint.getArgs(), async) - : copyAndProcessArgs(joinPoint.getArgs(), async); + // Process arguments in-place to avoid type mismatch issues + Object[] args = processArgsInPlace(joinPoint.getArgs(), async); // Extract queueable and resourceWeight parameters and validate boolean queueable = autoJobPostMapping.queueable(); @@ -230,78 +224,8 @@ public class AutoJobAspect { } /** - * Creates deep copies of arguments when needed to avoid mutating the original objects - * Particularly important for PDFFile objects that might be reused by Spring - * - * @param originalArgs The original arguments - * @param async Whether this is an async operation - * @return A new array with safely processed arguments - */ - private Object[] copyAndProcessArgs(Object[] originalArgs, boolean async) { - if (originalArgs == null || originalArgs.length == 0) { - return originalArgs; - } - - Object[] processedArgs = new Object[originalArgs.length]; - - // Copy all arguments - for (int i = 0; i < originalArgs.length; i++) { - Object arg = originalArgs[i]; - - if (arg instanceof PDFFile pdfFile) { - // Create a copy of PDFFile to avoid mutating the original - // Using direct property access instead of reflection for better performance - PDFFile pdfFileCopy = new PDFFile(); - pdfFileCopy.setFileId(pdfFile.getFileId()); - pdfFileCopy.setFileInput(pdfFile.getFileInput()); - - // Case 1: fileId is provided but no fileInput - if (pdfFileCopy.getFileInput() == null && pdfFileCopy.getFileId() != null) { - try { - log.debug("Using fileId {} to get file content", pdfFileCopy.getFileId()); - MultipartFile file = fileStorage.retrieveFile(pdfFileCopy.getFileId()); - pdfFileCopy.setFileInput(file); - } catch (Exception e) { - throw new RuntimeException( - "Failed to resolve file by ID: " + pdfFileCopy.getFileId(), e); - } - } - // Case 2: For async requests, we need to make a copy of the MultipartFile - else if (async && pdfFileCopy.getFileInput() != null) { - try { - log.debug("Making persistent copy of uploaded file for async processing"); - MultipartFile originalFile = pdfFileCopy.getFileInput(); - String fileId = fileStorage.storeFile(originalFile); - - // Store the fileId for later reference - pdfFileCopy.setFileId(fileId); - - // Replace the original MultipartFile with our persistent copy - MultipartFile persistentFile = fileStorage.retrieveFile(fileId); - pdfFileCopy.setFileInput(persistentFile); - - log.debug("Created persistent file copy with fileId: {}", fileId); - } catch (IOException e) { - throw new RuntimeException( - "Failed to create persistent copy of uploaded file", e); - } - } - - processedArgs[i] = pdfFileCopy; - } else { - // For non-PDFFile objects, just pass the original reference - // If other classes need copy-on-write, add them here - processedArgs[i] = arg; - } - } - - return processedArgs; - } - - /** - * Processes arguments in-place for testing purposes This is similar to our original - * implementation before introducing copy-on-write It's only used in test environments to - * maintain test compatibility + * Processes arguments in-place to handle file resolution and async file persistence. This + * approach avoids type mismatch issues by modifying the original objects directly. * * @param originalArgs The original arguments * @param async Whether this is an async operation diff --git a/common/src/main/java/stirling/software/common/config/TempFileConfiguration.java b/app/common/src/main/java/stirling/software/common/config/TempFileConfiguration.java similarity index 100% rename from common/src/main/java/stirling/software/common/config/TempFileConfiguration.java rename to app/common/src/main/java/stirling/software/common/config/TempFileConfiguration.java diff --git a/common/src/main/java/stirling/software/common/config/TempFileShutdownHook.java b/app/common/src/main/java/stirling/software/common/config/TempFileShutdownHook.java similarity index 97% rename from common/src/main/java/stirling/software/common/config/TempFileShutdownHook.java rename to app/common/src/main/java/stirling/software/common/config/TempFileShutdownHook.java index 6fd3bdeff..00719deaa 100644 --- a/common/src/main/java/stirling/software/common/config/TempFileShutdownHook.java +++ b/app/common/src/main/java/stirling/software/common/config/TempFileShutdownHook.java @@ -6,7 +6,6 @@ import java.nio.file.Path; import java.util.Set; import org.springframework.beans.factory.DisposableBean; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import lombok.extern.slf4j.Slf4j; @@ -24,7 +23,6 @@ public class TempFileShutdownHook implements DisposableBean { private final TempFileRegistry registry; - @Autowired public TempFileShutdownHook(TempFileRegistry registry) { this.registry = registry; diff --git a/common/src/main/java/stirling/software/common/configuration/AppConfig.java b/app/common/src/main/java/stirling/software/common/configuration/AppConfig.java similarity index 100% rename from common/src/main/java/stirling/software/common/configuration/AppConfig.java rename to app/common/src/main/java/stirling/software/common/configuration/AppConfig.java diff --git a/common/src/main/java/stirling/software/common/configuration/ConfigInitializer.java b/app/common/src/main/java/stirling/software/common/configuration/ConfigInitializer.java similarity index 100% rename from common/src/main/java/stirling/software/common/configuration/ConfigInitializer.java rename to app/common/src/main/java/stirling/software/common/configuration/ConfigInitializer.java diff --git a/common/src/main/java/stirling/software/common/configuration/FileFallbackTemplateResolver.java b/app/common/src/main/java/stirling/software/common/configuration/FileFallbackTemplateResolver.java similarity index 100% rename from common/src/main/java/stirling/software/common/configuration/FileFallbackTemplateResolver.java rename to app/common/src/main/java/stirling/software/common/configuration/FileFallbackTemplateResolver.java diff --git a/common/src/main/java/stirling/software/common/configuration/InstallationPathConfig.java b/app/common/src/main/java/stirling/software/common/configuration/InstallationPathConfig.java similarity index 100% rename from common/src/main/java/stirling/software/common/configuration/InstallationPathConfig.java rename to app/common/src/main/java/stirling/software/common/configuration/InstallationPathConfig.java diff --git a/common/src/main/java/stirling/software/common/configuration/PostHogConfig.java b/app/common/src/main/java/stirling/software/common/configuration/PostHogConfig.java similarity index 100% rename from common/src/main/java/stirling/software/common/configuration/PostHogConfig.java rename to app/common/src/main/java/stirling/software/common/configuration/PostHogConfig.java diff --git a/common/src/main/java/stirling/software/common/configuration/PostHogLoggerImpl.java b/app/common/src/main/java/stirling/software/common/configuration/PostHogLoggerImpl.java similarity index 100% rename from common/src/main/java/stirling/software/common/configuration/PostHogLoggerImpl.java rename to app/common/src/main/java/stirling/software/common/configuration/PostHogLoggerImpl.java diff --git a/common/src/main/java/stirling/software/common/configuration/RuntimePathConfig.java b/app/common/src/main/java/stirling/software/common/configuration/RuntimePathConfig.java similarity index 100% rename from common/src/main/java/stirling/software/common/configuration/RuntimePathConfig.java rename to app/common/src/main/java/stirling/software/common/configuration/RuntimePathConfig.java diff --git a/common/src/main/java/stirling/software/common/configuration/YamlPropertySourceFactory.java b/app/common/src/main/java/stirling/software/common/configuration/YamlPropertySourceFactory.java similarity index 100% rename from common/src/main/java/stirling/software/common/configuration/YamlPropertySourceFactory.java rename to app/common/src/main/java/stirling/software/common/configuration/YamlPropertySourceFactory.java diff --git a/common/src/main/java/stirling/software/common/configuration/interfaces/ShowAdminInterface.java b/app/common/src/main/java/stirling/software/common/configuration/interfaces/ShowAdminInterface.java similarity index 100% rename from common/src/main/java/stirling/software/common/configuration/interfaces/ShowAdminInterface.java rename to app/common/src/main/java/stirling/software/common/configuration/interfaces/ShowAdminInterface.java diff --git a/common/src/main/java/stirling/software/common/model/ApplicationProperties.java b/app/common/src/main/java/stirling/software/common/model/ApplicationProperties.java similarity index 100% rename from common/src/main/java/stirling/software/common/model/ApplicationProperties.java rename to app/common/src/main/java/stirling/software/common/model/ApplicationProperties.java diff --git a/common/src/main/java/stirling/software/common/model/FileInfo.java b/app/common/src/main/java/stirling/software/common/model/FileInfo.java similarity index 100% rename from common/src/main/java/stirling/software/common/model/FileInfo.java rename to app/common/src/main/java/stirling/software/common/model/FileInfo.java diff --git a/common/src/main/java/stirling/software/common/model/InputStreamTemplateResource.java b/app/common/src/main/java/stirling/software/common/model/InputStreamTemplateResource.java similarity index 100% rename from common/src/main/java/stirling/software/common/model/InputStreamTemplateResource.java rename to app/common/src/main/java/stirling/software/common/model/InputStreamTemplateResource.java diff --git a/common/src/main/java/stirling/software/common/model/PdfMetadata.java b/app/common/src/main/java/stirling/software/common/model/PdfMetadata.java similarity index 100% rename from common/src/main/java/stirling/software/common/model/PdfMetadata.java rename to app/common/src/main/java/stirling/software/common/model/PdfMetadata.java diff --git a/common/src/main/java/stirling/software/common/model/api/GeneralFile.java b/app/common/src/main/java/stirling/software/common/model/api/GeneralFile.java similarity index 100% rename from common/src/main/java/stirling/software/common/model/api/GeneralFile.java rename to app/common/src/main/java/stirling/software/common/model/api/GeneralFile.java diff --git a/common/src/main/java/stirling/software/common/model/api/PDFFile.java b/app/common/src/main/java/stirling/software/common/model/api/PDFFile.java similarity index 100% rename from common/src/main/java/stirling/software/common/model/api/PDFFile.java rename to app/common/src/main/java/stirling/software/common/model/api/PDFFile.java diff --git a/common/src/main/java/stirling/software/common/model/api/converters/EmlToPdfRequest.java b/app/common/src/main/java/stirling/software/common/model/api/converters/EmlToPdfRequest.java similarity index 100% rename from common/src/main/java/stirling/software/common/model/api/converters/EmlToPdfRequest.java rename to app/common/src/main/java/stirling/software/common/model/api/converters/EmlToPdfRequest.java diff --git a/common/src/main/java/stirling/software/common/model/api/converters/HTMLToPdfRequest.java b/app/common/src/main/java/stirling/software/common/model/api/converters/HTMLToPdfRequest.java similarity index 100% rename from common/src/main/java/stirling/software/common/model/api/converters/HTMLToPdfRequest.java rename to app/common/src/main/java/stirling/software/common/model/api/converters/HTMLToPdfRequest.java diff --git a/common/src/main/java/stirling/software/common/model/api/misc/HighContrastColorCombination.java b/app/common/src/main/java/stirling/software/common/model/api/misc/HighContrastColorCombination.java similarity index 100% rename from common/src/main/java/stirling/software/common/model/api/misc/HighContrastColorCombination.java rename to app/common/src/main/java/stirling/software/common/model/api/misc/HighContrastColorCombination.java diff --git a/common/src/main/java/stirling/software/common/model/api/misc/ReplaceAndInvert.java b/app/common/src/main/java/stirling/software/common/model/api/misc/ReplaceAndInvert.java similarity index 100% rename from common/src/main/java/stirling/software/common/model/api/misc/ReplaceAndInvert.java rename to app/common/src/main/java/stirling/software/common/model/api/misc/ReplaceAndInvert.java diff --git a/common/src/main/java/stirling/software/common/model/api/security/RedactionArea.java b/app/common/src/main/java/stirling/software/common/model/api/security/RedactionArea.java similarity index 100% rename from common/src/main/java/stirling/software/common/model/api/security/RedactionArea.java rename to app/common/src/main/java/stirling/software/common/model/api/security/RedactionArea.java diff --git a/common/src/main/java/stirling/software/common/model/enumeration/Role.java b/app/common/src/main/java/stirling/software/common/model/enumeration/Role.java similarity index 100% rename from common/src/main/java/stirling/software/common/model/enumeration/Role.java rename to app/common/src/main/java/stirling/software/common/model/enumeration/Role.java diff --git a/common/src/main/java/stirling/software/common/model/enumeration/UsernameAttribute.java b/app/common/src/main/java/stirling/software/common/model/enumeration/UsernameAttribute.java similarity index 100% rename from common/src/main/java/stirling/software/common/model/enumeration/UsernameAttribute.java rename to app/common/src/main/java/stirling/software/common/model/enumeration/UsernameAttribute.java diff --git a/common/src/main/java/stirling/software/common/model/exception/UnsupportedClaimException.java b/app/common/src/main/java/stirling/software/common/model/exception/UnsupportedClaimException.java similarity index 100% rename from common/src/main/java/stirling/software/common/model/exception/UnsupportedClaimException.java rename to app/common/src/main/java/stirling/software/common/model/exception/UnsupportedClaimException.java diff --git a/common/src/main/java/stirling/software/common/model/exception/UnsupportedProviderException.java b/app/common/src/main/java/stirling/software/common/model/exception/UnsupportedProviderException.java similarity index 100% rename from common/src/main/java/stirling/software/common/model/exception/UnsupportedProviderException.java rename to app/common/src/main/java/stirling/software/common/model/exception/UnsupportedProviderException.java diff --git a/common/src/main/java/stirling/software/common/model/job/JobProgress.java b/app/common/src/main/java/stirling/software/common/model/job/JobProgress.java similarity index 100% rename from common/src/main/java/stirling/software/common/model/job/JobProgress.java rename to app/common/src/main/java/stirling/software/common/model/job/JobProgress.java diff --git a/common/src/main/java/stirling/software/common/model/job/JobResponse.java b/app/common/src/main/java/stirling/software/common/model/job/JobResponse.java similarity index 100% rename from common/src/main/java/stirling/software/common/model/job/JobResponse.java rename to app/common/src/main/java/stirling/software/common/model/job/JobResponse.java diff --git a/common/src/main/java/stirling/software/common/model/job/JobResult.java b/app/common/src/main/java/stirling/software/common/model/job/JobResult.java similarity index 97% rename from common/src/main/java/stirling/software/common/model/job/JobResult.java rename to app/common/src/main/java/stirling/software/common/model/job/JobResult.java index 1aa66d1a8..52c0826e2 100644 --- a/common/src/main/java/stirling/software/common/model/job/JobResult.java +++ b/app/common/src/main/java/stirling/software/common/model/job/JobResult.java @@ -6,6 +6,8 @@ import java.util.Collections; import java.util.List; import java.util.concurrent.CopyOnWriteArrayList; +import com.fasterxml.jackson.annotation.JsonIgnore; + import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; @@ -28,7 +30,7 @@ public class JobResult { private String error; /** List of result files for jobs that produce files */ - private List resultFiles; + @JsonIgnore private List resultFiles; /** Time when the job was created */ private LocalDateTime createdAt; diff --git a/common/src/main/java/stirling/software/common/model/job/JobStats.java b/app/common/src/main/java/stirling/software/common/model/job/JobStats.java similarity index 100% rename from common/src/main/java/stirling/software/common/model/job/JobStats.java rename to app/common/src/main/java/stirling/software/common/model/job/JobStats.java diff --git a/common/src/main/java/stirling/software/common/model/job/ResultFile.java b/app/common/src/main/java/stirling/software/common/model/job/ResultFile.java similarity index 100% rename from common/src/main/java/stirling/software/common/model/job/ResultFile.java rename to app/common/src/main/java/stirling/software/common/model/job/ResultFile.java diff --git a/common/src/main/java/stirling/software/common/model/oauth2/GitHubProvider.java b/app/common/src/main/java/stirling/software/common/model/oauth2/GitHubProvider.java similarity index 100% rename from common/src/main/java/stirling/software/common/model/oauth2/GitHubProvider.java rename to app/common/src/main/java/stirling/software/common/model/oauth2/GitHubProvider.java diff --git a/common/src/main/java/stirling/software/common/model/oauth2/GoogleProvider.java b/app/common/src/main/java/stirling/software/common/model/oauth2/GoogleProvider.java similarity index 100% rename from common/src/main/java/stirling/software/common/model/oauth2/GoogleProvider.java rename to app/common/src/main/java/stirling/software/common/model/oauth2/GoogleProvider.java diff --git a/common/src/main/java/stirling/software/common/model/oauth2/KeycloakProvider.java b/app/common/src/main/java/stirling/software/common/model/oauth2/KeycloakProvider.java similarity index 100% rename from common/src/main/java/stirling/software/common/model/oauth2/KeycloakProvider.java rename to app/common/src/main/java/stirling/software/common/model/oauth2/KeycloakProvider.java diff --git a/common/src/main/java/stirling/software/common/model/oauth2/Provider.java b/app/common/src/main/java/stirling/software/common/model/oauth2/Provider.java similarity index 100% rename from common/src/main/java/stirling/software/common/model/oauth2/Provider.java rename to app/common/src/main/java/stirling/software/common/model/oauth2/Provider.java diff --git a/common/src/main/java/stirling/software/common/service/CustomPDFDocumentFactory.java b/app/common/src/main/java/stirling/software/common/service/CustomPDFDocumentFactory.java similarity index 100% rename from common/src/main/java/stirling/software/common/service/CustomPDFDocumentFactory.java rename to app/common/src/main/java/stirling/software/common/service/CustomPDFDocumentFactory.java diff --git a/common/src/main/java/stirling/software/common/service/FileOrUploadService.java b/app/common/src/main/java/stirling/software/common/service/FileOrUploadService.java similarity index 100% rename from common/src/main/java/stirling/software/common/service/FileOrUploadService.java rename to app/common/src/main/java/stirling/software/common/service/FileOrUploadService.java diff --git a/common/src/main/java/stirling/software/common/service/FileStorage.java b/app/common/src/main/java/stirling/software/common/service/FileStorage.java similarity index 100% rename from common/src/main/java/stirling/software/common/service/FileStorage.java rename to app/common/src/main/java/stirling/software/common/service/FileStorage.java diff --git a/common/src/main/java/stirling/software/common/service/JobExecutorService.java b/app/common/src/main/java/stirling/software/common/service/JobExecutorService.java similarity index 100% rename from common/src/main/java/stirling/software/common/service/JobExecutorService.java rename to app/common/src/main/java/stirling/software/common/service/JobExecutorService.java diff --git a/common/src/main/java/stirling/software/common/service/JobQueue.java b/app/common/src/main/java/stirling/software/common/service/JobQueue.java similarity index 100% rename from common/src/main/java/stirling/software/common/service/JobQueue.java rename to app/common/src/main/java/stirling/software/common/service/JobQueue.java diff --git a/common/src/main/java/stirling/software/common/service/PdfMetadataService.java b/app/common/src/main/java/stirling/software/common/service/PdfMetadataService.java similarity index 100% rename from common/src/main/java/stirling/software/common/service/PdfMetadataService.java rename to app/common/src/main/java/stirling/software/common/service/PdfMetadataService.java diff --git a/common/src/main/java/stirling/software/common/service/PostHogService.java b/app/common/src/main/java/stirling/software/common/service/PostHogService.java similarity index 100% rename from common/src/main/java/stirling/software/common/service/PostHogService.java rename to app/common/src/main/java/stirling/software/common/service/PostHogService.java diff --git a/common/src/main/java/stirling/software/common/service/ResourceMonitor.java b/app/common/src/main/java/stirling/software/common/service/ResourceMonitor.java similarity index 100% rename from common/src/main/java/stirling/software/common/service/ResourceMonitor.java rename to app/common/src/main/java/stirling/software/common/service/ResourceMonitor.java diff --git a/common/src/main/java/stirling/software/common/service/TaskManager.java b/app/common/src/main/java/stirling/software/common/service/TaskManager.java similarity index 100% rename from common/src/main/java/stirling/software/common/service/TaskManager.java rename to app/common/src/main/java/stirling/software/common/service/TaskManager.java diff --git a/common/src/main/java/stirling/software/common/service/TempFileCleanupService.java b/app/common/src/main/java/stirling/software/common/service/TempFileCleanupService.java similarity index 100% rename from common/src/main/java/stirling/software/common/service/TempFileCleanupService.java rename to app/common/src/main/java/stirling/software/common/service/TempFileCleanupService.java diff --git a/common/src/main/java/stirling/software/common/service/UserServiceInterface.java b/app/common/src/main/java/stirling/software/common/service/UserServiceInterface.java similarity index 100% rename from common/src/main/java/stirling/software/common/service/UserServiceInterface.java rename to app/common/src/main/java/stirling/software/common/service/UserServiceInterface.java diff --git a/common/src/main/java/stirling/software/common/util/ApplicationContextProvider.java b/app/common/src/main/java/stirling/software/common/util/ApplicationContextProvider.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/ApplicationContextProvider.java rename to app/common/src/main/java/stirling/software/common/util/ApplicationContextProvider.java diff --git a/common/src/main/java/stirling/software/common/util/AttachmentUtils.java b/app/common/src/main/java/stirling/software/common/util/AttachmentUtils.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/AttachmentUtils.java rename to app/common/src/main/java/stirling/software/common/util/AttachmentUtils.java diff --git a/common/src/main/java/stirling/software/common/util/CheckProgramInstall.java b/app/common/src/main/java/stirling/software/common/util/CheckProgramInstall.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/CheckProgramInstall.java rename to app/common/src/main/java/stirling/software/common/util/CheckProgramInstall.java diff --git a/common/src/main/java/stirling/software/common/util/CustomHtmlSanitizer.java b/app/common/src/main/java/stirling/software/common/util/CustomHtmlSanitizer.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/CustomHtmlSanitizer.java rename to app/common/src/main/java/stirling/software/common/util/CustomHtmlSanitizer.java diff --git a/common/src/main/java/stirling/software/common/util/EmlToPdf.java b/app/common/src/main/java/stirling/software/common/util/EmlToPdf.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/EmlToPdf.java rename to app/common/src/main/java/stirling/software/common/util/EmlToPdf.java diff --git a/common/src/main/java/stirling/software/common/util/ErrorUtils.java b/app/common/src/main/java/stirling/software/common/util/ErrorUtils.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/ErrorUtils.java rename to app/common/src/main/java/stirling/software/common/util/ErrorUtils.java diff --git a/common/src/main/java/stirling/software/common/util/ExceptionUtils.java b/app/common/src/main/java/stirling/software/common/util/ExceptionUtils.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/ExceptionUtils.java rename to app/common/src/main/java/stirling/software/common/util/ExceptionUtils.java diff --git a/common/src/main/java/stirling/software/common/util/ExecutorFactory.java b/app/common/src/main/java/stirling/software/common/util/ExecutorFactory.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/ExecutorFactory.java rename to app/common/src/main/java/stirling/software/common/util/ExecutorFactory.java diff --git a/common/src/main/java/stirling/software/common/util/FileMonitor.java b/app/common/src/main/java/stirling/software/common/util/FileMonitor.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/FileMonitor.java rename to app/common/src/main/java/stirling/software/common/util/FileMonitor.java diff --git a/common/src/main/java/stirling/software/common/util/FileToPdf.java b/app/common/src/main/java/stirling/software/common/util/FileToPdf.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/FileToPdf.java rename to app/common/src/main/java/stirling/software/common/util/FileToPdf.java diff --git a/common/src/main/java/stirling/software/common/util/GeneralUtils.java b/app/common/src/main/java/stirling/software/common/util/GeneralUtils.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/GeneralUtils.java rename to app/common/src/main/java/stirling/software/common/util/GeneralUtils.java diff --git a/common/src/main/java/stirling/software/common/util/ImageProcessingUtils.java b/app/common/src/main/java/stirling/software/common/util/ImageProcessingUtils.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/ImageProcessingUtils.java rename to app/common/src/main/java/stirling/software/common/util/ImageProcessingUtils.java diff --git a/common/src/main/java/stirling/software/common/util/PDFToFile.java b/app/common/src/main/java/stirling/software/common/util/PDFToFile.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/PDFToFile.java rename to app/common/src/main/java/stirling/software/common/util/PDFToFile.java diff --git a/common/src/main/java/stirling/software/common/util/PdfErrorUtils.java b/app/common/src/main/java/stirling/software/common/util/PdfErrorUtils.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/PdfErrorUtils.java rename to app/common/src/main/java/stirling/software/common/util/PdfErrorUtils.java diff --git a/common/src/main/java/stirling/software/common/util/PdfUtils.java b/app/common/src/main/java/stirling/software/common/util/PdfUtils.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/PdfUtils.java rename to app/common/src/main/java/stirling/software/common/util/PdfUtils.java diff --git a/common/src/main/java/stirling/software/common/util/ProcessExecutor.java b/app/common/src/main/java/stirling/software/common/util/ProcessExecutor.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/ProcessExecutor.java rename to app/common/src/main/java/stirling/software/common/util/ProcessExecutor.java diff --git a/common/src/main/java/stirling/software/common/util/PropertyConfigs.java b/app/common/src/main/java/stirling/software/common/util/PropertyConfigs.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/PropertyConfigs.java rename to app/common/src/main/java/stirling/software/common/util/PropertyConfigs.java diff --git a/common/src/main/java/stirling/software/common/util/ProviderUtils.java b/app/common/src/main/java/stirling/software/common/util/ProviderUtils.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/ProviderUtils.java rename to app/common/src/main/java/stirling/software/common/util/ProviderUtils.java diff --git a/common/src/main/java/stirling/software/common/util/RequestUriUtils.java b/app/common/src/main/java/stirling/software/common/util/RequestUriUtils.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/RequestUriUtils.java rename to app/common/src/main/java/stirling/software/common/util/RequestUriUtils.java diff --git a/common/src/main/java/stirling/software/common/util/SpringContextHolder.java b/app/common/src/main/java/stirling/software/common/util/SpringContextHolder.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/SpringContextHolder.java rename to app/common/src/main/java/stirling/software/common/util/SpringContextHolder.java diff --git a/common/src/main/java/stirling/software/common/util/TempDirectory.java b/app/common/src/main/java/stirling/software/common/util/TempDirectory.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/TempDirectory.java rename to app/common/src/main/java/stirling/software/common/util/TempDirectory.java diff --git a/common/src/main/java/stirling/software/common/util/TempFile.java b/app/common/src/main/java/stirling/software/common/util/TempFile.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/TempFile.java rename to app/common/src/main/java/stirling/software/common/util/TempFile.java diff --git a/common/src/main/java/stirling/software/common/util/TempFileManager.java b/app/common/src/main/java/stirling/software/common/util/TempFileManager.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/TempFileManager.java rename to app/common/src/main/java/stirling/software/common/util/TempFileManager.java diff --git a/common/src/main/java/stirling/software/common/util/TempFileRegistry.java b/app/common/src/main/java/stirling/software/common/util/TempFileRegistry.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/TempFileRegistry.java rename to app/common/src/main/java/stirling/software/common/util/TempFileRegistry.java diff --git a/common/src/main/java/stirling/software/common/util/TempFileUtil.java b/app/common/src/main/java/stirling/software/common/util/TempFileUtil.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/TempFileUtil.java rename to app/common/src/main/java/stirling/software/common/util/TempFileUtil.java diff --git a/common/src/main/java/stirling/software/common/util/UIScaling.java b/app/common/src/main/java/stirling/software/common/util/UIScaling.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/UIScaling.java rename to app/common/src/main/java/stirling/software/common/util/UIScaling.java diff --git a/common/src/main/java/stirling/software/common/util/UrlUtils.java b/app/common/src/main/java/stirling/software/common/util/UrlUtils.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/UrlUtils.java rename to app/common/src/main/java/stirling/software/common/util/UrlUtils.java diff --git a/common/src/main/java/stirling/software/common/util/ValidationUtil.java b/app/common/src/main/java/stirling/software/common/util/ValidationUtil.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/ValidationUtil.java rename to app/common/src/main/java/stirling/software/common/util/ValidationUtil.java diff --git a/common/src/main/java/stirling/software/common/util/ValidationUtils.java b/app/common/src/main/java/stirling/software/common/util/ValidationUtils.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/ValidationUtils.java rename to app/common/src/main/java/stirling/software/common/util/ValidationUtils.java diff --git a/common/src/main/java/stirling/software/common/util/WebResponseUtils.java b/app/common/src/main/java/stirling/software/common/util/WebResponseUtils.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/WebResponseUtils.java rename to app/common/src/main/java/stirling/software/common/util/WebResponseUtils.java diff --git a/common/src/main/java/stirling/software/common/util/YamlHelper.java b/app/common/src/main/java/stirling/software/common/util/YamlHelper.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/YamlHelper.java rename to app/common/src/main/java/stirling/software/common/util/YamlHelper.java diff --git a/common/src/main/java/stirling/software/common/util/misc/CustomColorReplaceStrategy.java b/app/common/src/main/java/stirling/software/common/util/misc/CustomColorReplaceStrategy.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/misc/CustomColorReplaceStrategy.java rename to app/common/src/main/java/stirling/software/common/util/misc/CustomColorReplaceStrategy.java diff --git a/common/src/main/java/stirling/software/common/util/misc/HighContrastColorReplaceDecider.java b/app/common/src/main/java/stirling/software/common/util/misc/HighContrastColorReplaceDecider.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/misc/HighContrastColorReplaceDecider.java rename to app/common/src/main/java/stirling/software/common/util/misc/HighContrastColorReplaceDecider.java diff --git a/common/src/main/java/stirling/software/common/util/misc/InvertFullColorStrategy.java b/app/common/src/main/java/stirling/software/common/util/misc/InvertFullColorStrategy.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/misc/InvertFullColorStrategy.java rename to app/common/src/main/java/stirling/software/common/util/misc/InvertFullColorStrategy.java diff --git a/common/src/main/java/stirling/software/common/util/misc/PdfTextStripperCustom.java b/app/common/src/main/java/stirling/software/common/util/misc/PdfTextStripperCustom.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/misc/PdfTextStripperCustom.java rename to app/common/src/main/java/stirling/software/common/util/misc/PdfTextStripperCustom.java diff --git a/common/src/main/java/stirling/software/common/util/misc/ReplaceAndInvertColorStrategy.java b/app/common/src/main/java/stirling/software/common/util/misc/ReplaceAndInvertColorStrategy.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/misc/ReplaceAndInvertColorStrategy.java rename to app/common/src/main/java/stirling/software/common/util/misc/ReplaceAndInvertColorStrategy.java diff --git a/common/src/main/java/stirling/software/common/util/propertyeditor/StringToArrayListPropertyEditor.java b/app/common/src/main/java/stirling/software/common/util/propertyeditor/StringToArrayListPropertyEditor.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/propertyeditor/StringToArrayListPropertyEditor.java rename to app/common/src/main/java/stirling/software/common/util/propertyeditor/StringToArrayListPropertyEditor.java diff --git a/common/src/main/java/stirling/software/common/util/propertyeditor/StringToMapPropertyEditor.java b/app/common/src/main/java/stirling/software/common/util/propertyeditor/StringToMapPropertyEditor.java similarity index 100% rename from common/src/main/java/stirling/software/common/util/propertyeditor/StringToMapPropertyEditor.java rename to app/common/src/main/java/stirling/software/common/util/propertyeditor/StringToMapPropertyEditor.java diff --git a/common/src/test/java/stirling/software/common/annotations/AutoJobPostMappingIntegrationTest.java b/app/common/src/test/java/stirling/software/common/annotations/AutoJobPostMappingIntegrationTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/annotations/AutoJobPostMappingIntegrationTest.java rename to app/common/src/test/java/stirling/software/common/annotations/AutoJobPostMappingIntegrationTest.java diff --git a/common/src/test/java/stirling/software/common/service/CustomPDFDocumentFactoryTest.java b/app/common/src/test/java/stirling/software/common/service/CustomPDFDocumentFactoryTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/service/CustomPDFDocumentFactoryTest.java rename to app/common/src/test/java/stirling/software/common/service/CustomPDFDocumentFactoryTest.java diff --git a/common/src/test/java/stirling/software/common/service/FileStorageTest.java b/app/common/src/test/java/stirling/software/common/service/FileStorageTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/service/FileStorageTest.java rename to app/common/src/test/java/stirling/software/common/service/FileStorageTest.java diff --git a/common/src/test/java/stirling/software/common/service/JobExecutorServiceTest.java b/app/common/src/test/java/stirling/software/common/service/JobExecutorServiceTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/service/JobExecutorServiceTest.java rename to app/common/src/test/java/stirling/software/common/service/JobExecutorServiceTest.java diff --git a/common/src/test/java/stirling/software/common/service/JobQueueTest.java b/app/common/src/test/java/stirling/software/common/service/JobQueueTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/service/JobQueueTest.java rename to app/common/src/test/java/stirling/software/common/service/JobQueueTest.java diff --git a/common/src/test/java/stirling/software/common/service/ResourceMonitorTest.java b/app/common/src/test/java/stirling/software/common/service/ResourceMonitorTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/service/ResourceMonitorTest.java rename to app/common/src/test/java/stirling/software/common/service/ResourceMonitorTest.java diff --git a/common/src/test/java/stirling/software/common/service/SpyPDFDocumentFactory.java b/app/common/src/test/java/stirling/software/common/service/SpyPDFDocumentFactory.java similarity index 100% rename from common/src/test/java/stirling/software/common/service/SpyPDFDocumentFactory.java rename to app/common/src/test/java/stirling/software/common/service/SpyPDFDocumentFactory.java diff --git a/common/src/test/java/stirling/software/common/service/TaskManagerTest.java b/app/common/src/test/java/stirling/software/common/service/TaskManagerTest.java similarity index 99% rename from common/src/test/java/stirling/software/common/service/TaskManagerTest.java rename to app/common/src/test/java/stirling/software/common/service/TaskManagerTest.java index b2cb26dd8..5fd2dcc87 100644 --- a/common/src/test/java/stirling/software/common/service/TaskManagerTest.java +++ b/app/common/src/test/java/stirling/software/common/service/TaskManagerTest.java @@ -95,10 +95,10 @@ class TaskManagerTest { assertTrue(result.isComplete()); assertTrue(result.hasFiles()); assertFalse(result.hasMultipleFiles()); - + var resultFiles = result.getAllResultFiles(); assertEquals(1, resultFiles.size()); - + ResultFile resultFile = resultFiles.get(0); assertEquals(fileId, resultFile.getFileId()); assertEquals(originalFileName, resultFile.getFileName()); @@ -180,7 +180,7 @@ class TaskManagerTest { // Arrange // Mock fileStorage.getFileSize for file operations when(fileStorage.getFileSize("file-id")).thenReturn(1024L); - + // 1. Create active job String activeJobId = "active-job"; taskManager.createTask(activeJobId); @@ -232,7 +232,7 @@ class TaskManagerTest { LocalDateTime oldTime = LocalDateTime.now().minusHours(1); ReflectionTestUtils.setField(oldJob, "completedAt", oldTime); ReflectionTestUtils.setField(oldJob, "complete", true); - + // Create a ResultFile and set it using the new approach ResultFile resultFile = ResultFile.builder() .fileId("file-id") diff --git a/common/src/test/java/stirling/software/common/service/TempFileCleanupServiceTest.java b/app/common/src/test/java/stirling/software/common/service/TempFileCleanupServiceTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/service/TempFileCleanupServiceTest.java rename to app/common/src/test/java/stirling/software/common/service/TempFileCleanupServiceTest.java diff --git a/common/src/test/java/stirling/software/common/util/CheckProgramInstallTest.java b/app/common/src/test/java/stirling/software/common/util/CheckProgramInstallTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/CheckProgramInstallTest.java rename to app/common/src/test/java/stirling/software/common/util/CheckProgramInstallTest.java diff --git a/common/src/test/java/stirling/software/common/util/CustomHtmlSanitizerTest.java b/app/common/src/test/java/stirling/software/common/util/CustomHtmlSanitizerTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/CustomHtmlSanitizerTest.java rename to app/common/src/test/java/stirling/software/common/util/CustomHtmlSanitizerTest.java diff --git a/common/src/test/java/stirling/software/common/util/EmlToPdfTest.java b/app/common/src/test/java/stirling/software/common/util/EmlToPdfTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/EmlToPdfTest.java rename to app/common/src/test/java/stirling/software/common/util/EmlToPdfTest.java diff --git a/common/src/test/java/stirling/software/common/util/ErrorUtilsTest.java b/app/common/src/test/java/stirling/software/common/util/ErrorUtilsTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/ErrorUtilsTest.java rename to app/common/src/test/java/stirling/software/common/util/ErrorUtilsTest.java diff --git a/common/src/test/java/stirling/software/common/util/FileInfoTest.java b/app/common/src/test/java/stirling/software/common/util/FileInfoTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/FileInfoTest.java rename to app/common/src/test/java/stirling/software/common/util/FileInfoTest.java diff --git a/common/src/test/java/stirling/software/common/util/FileMonitorTest.java b/app/common/src/test/java/stirling/software/common/util/FileMonitorTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/FileMonitorTest.java rename to app/common/src/test/java/stirling/software/common/util/FileMonitorTest.java diff --git a/common/src/test/java/stirling/software/common/util/FileToPdfTest.java b/app/common/src/test/java/stirling/software/common/util/FileToPdfTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/FileToPdfTest.java rename to app/common/src/test/java/stirling/software/common/util/FileToPdfTest.java diff --git a/common/src/test/java/stirling/software/common/util/GeneralUtilsAdditionalTest.java b/app/common/src/test/java/stirling/software/common/util/GeneralUtilsAdditionalTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/GeneralUtilsAdditionalTest.java rename to app/common/src/test/java/stirling/software/common/util/GeneralUtilsAdditionalTest.java diff --git a/common/src/test/java/stirling/software/common/util/GeneralUtilsTest.java b/app/common/src/test/java/stirling/software/common/util/GeneralUtilsTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/GeneralUtilsTest.java rename to app/common/src/test/java/stirling/software/common/util/GeneralUtilsTest.java diff --git a/common/src/test/java/stirling/software/common/util/ImageProcessingUtilsTest.java b/app/common/src/test/java/stirling/software/common/util/ImageProcessingUtilsTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/ImageProcessingUtilsTest.java rename to app/common/src/test/java/stirling/software/common/util/ImageProcessingUtilsTest.java diff --git a/common/src/test/java/stirling/software/common/util/PDFToFileTest.java b/app/common/src/test/java/stirling/software/common/util/PDFToFileTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/PDFToFileTest.java rename to app/common/src/test/java/stirling/software/common/util/PDFToFileTest.java diff --git a/common/src/test/java/stirling/software/common/util/PdfUtilsTest.java b/app/common/src/test/java/stirling/software/common/util/PdfUtilsTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/PdfUtilsTest.java rename to app/common/src/test/java/stirling/software/common/util/PdfUtilsTest.java diff --git a/common/src/test/java/stirling/software/common/util/ProcessExecutorTest.java b/app/common/src/test/java/stirling/software/common/util/ProcessExecutorTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/ProcessExecutorTest.java rename to app/common/src/test/java/stirling/software/common/util/ProcessExecutorTest.java diff --git a/common/src/test/java/stirling/software/common/util/PropertyConfigsTest.java b/app/common/src/test/java/stirling/software/common/util/PropertyConfigsTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/PropertyConfigsTest.java rename to app/common/src/test/java/stirling/software/common/util/PropertyConfigsTest.java diff --git a/common/src/test/java/stirling/software/common/util/ProviderUtilsTest.java b/app/common/src/test/java/stirling/software/common/util/ProviderUtilsTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/ProviderUtilsTest.java rename to app/common/src/test/java/stirling/software/common/util/ProviderUtilsTest.java diff --git a/common/src/test/java/stirling/software/common/util/RequestUriUtilsTest.java b/app/common/src/test/java/stirling/software/common/util/RequestUriUtilsTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/RequestUriUtilsTest.java rename to app/common/src/test/java/stirling/software/common/util/RequestUriUtilsTest.java diff --git a/common/src/test/java/stirling/software/common/util/SpringContextHolderTest.java b/app/common/src/test/java/stirling/software/common/util/SpringContextHolderTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/SpringContextHolderTest.java rename to app/common/src/test/java/stirling/software/common/util/SpringContextHolderTest.java diff --git a/common/src/test/java/stirling/software/common/util/UIScalingTest.java b/app/common/src/test/java/stirling/software/common/util/UIScalingTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/UIScalingTest.java rename to app/common/src/test/java/stirling/software/common/util/UIScalingTest.java diff --git a/common/src/test/java/stirling/software/common/util/UrlUtilsTest.java b/app/common/src/test/java/stirling/software/common/util/UrlUtilsTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/UrlUtilsTest.java rename to app/common/src/test/java/stirling/software/common/util/UrlUtilsTest.java diff --git a/common/src/test/java/stirling/software/common/util/WebResponseUtilsTest.java b/app/common/src/test/java/stirling/software/common/util/WebResponseUtilsTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/WebResponseUtilsTest.java rename to app/common/src/test/java/stirling/software/common/util/WebResponseUtilsTest.java diff --git a/common/src/test/java/stirling/software/common/util/misc/CustomColorReplaceStrategyTest.java b/app/common/src/test/java/stirling/software/common/util/misc/CustomColorReplaceStrategyTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/misc/CustomColorReplaceStrategyTest.java rename to app/common/src/test/java/stirling/software/common/util/misc/CustomColorReplaceStrategyTest.java diff --git a/common/src/test/java/stirling/software/common/util/misc/HighContrastColorReplaceDeciderTest.java b/app/common/src/test/java/stirling/software/common/util/misc/HighContrastColorReplaceDeciderTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/misc/HighContrastColorReplaceDeciderTest.java rename to app/common/src/test/java/stirling/software/common/util/misc/HighContrastColorReplaceDeciderTest.java diff --git a/common/src/test/java/stirling/software/common/util/misc/InvertFullColorStrategyTest.java b/app/common/src/test/java/stirling/software/common/util/misc/InvertFullColorStrategyTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/misc/InvertFullColorStrategyTest.java rename to app/common/src/test/java/stirling/software/common/util/misc/InvertFullColorStrategyTest.java diff --git a/common/src/test/java/stirling/software/common/util/misc/PdfTextStripperCustomTest.java b/app/common/src/test/java/stirling/software/common/util/misc/PdfTextStripperCustomTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/misc/PdfTextStripperCustomTest.java rename to app/common/src/test/java/stirling/software/common/util/misc/PdfTextStripperCustomTest.java diff --git a/common/src/test/java/stirling/software/common/util/misc/ReplaceAndInvertColorStrategyTest.java b/app/common/src/test/java/stirling/software/common/util/misc/ReplaceAndInvertColorStrategyTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/misc/ReplaceAndInvertColorStrategyTest.java rename to app/common/src/test/java/stirling/software/common/util/misc/ReplaceAndInvertColorStrategyTest.java diff --git a/common/src/test/java/stirling/software/common/util/propertyeditor/StringToArrayListPropertyEditorTest.java b/app/common/src/test/java/stirling/software/common/util/propertyeditor/StringToArrayListPropertyEditorTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/propertyeditor/StringToArrayListPropertyEditorTest.java rename to app/common/src/test/java/stirling/software/common/util/propertyeditor/StringToArrayListPropertyEditorTest.java diff --git a/common/src/test/java/stirling/software/common/util/propertyeditor/StringToMapPropertyEditorTest.java b/app/common/src/test/java/stirling/software/common/util/propertyeditor/StringToMapPropertyEditorTest.java similarity index 100% rename from common/src/test/java/stirling/software/common/util/propertyeditor/StringToMapPropertyEditorTest.java rename to app/common/src/test/java/stirling/software/common/util/propertyeditor/StringToMapPropertyEditorTest.java diff --git a/common/src/test/resources/example.pdf b/app/common/src/test/resources/example.pdf similarity index 100% rename from common/src/test/resources/example.pdf rename to app/common/src/test/resources/example.pdf diff --git a/stirling-pdf/.gitignore b/app/core/.gitignore similarity index 98% rename from stirling-pdf/.gitignore rename to app/core/.gitignore index 3861a89a3..f85be51d5 100644 --- a/stirling-pdf/.gitignore +++ b/app/core/.gitignore @@ -124,7 +124,7 @@ SwaggerDoc.json *.rar *.db /build/* -/stirling-pdf/build/* +/app/core/build/* # Byte-compiled / optimized / DLL files __pycache__/ @@ -193,4 +193,4 @@ id_ed25519.pub **/jcef-bundle/ # node_modules -node_modules/ \ No newline at end of file +node_modules/ diff --git a/stirling-pdf/build.gradle b/app/core/build.gradle similarity index 100% rename from stirling-pdf/build.gradle rename to app/core/build.gradle diff --git a/stirling-pdf/src/main/java/org/apache/pdfbox/examples/signature/CMSProcessableInputStream.java b/app/core/src/main/java/org/apache/pdfbox/examples/signature/CMSProcessableInputStream.java similarity index 100% rename from stirling-pdf/src/main/java/org/apache/pdfbox/examples/signature/CMSProcessableInputStream.java rename to app/core/src/main/java/org/apache/pdfbox/examples/signature/CMSProcessableInputStream.java diff --git a/stirling-pdf/src/main/java/org/apache/pdfbox/examples/signature/CreateSignatureBase.java b/app/core/src/main/java/org/apache/pdfbox/examples/signature/CreateSignatureBase.java similarity index 100% rename from stirling-pdf/src/main/java/org/apache/pdfbox/examples/signature/CreateSignatureBase.java rename to app/core/src/main/java/org/apache/pdfbox/examples/signature/CreateSignatureBase.java diff --git a/stirling-pdf/src/main/java/org/apache/pdfbox/examples/signature/TSAClient.java b/app/core/src/main/java/org/apache/pdfbox/examples/signature/TSAClient.java similarity index 100% rename from stirling-pdf/src/main/java/org/apache/pdfbox/examples/signature/TSAClient.java rename to app/core/src/main/java/org/apache/pdfbox/examples/signature/TSAClient.java diff --git a/stirling-pdf/src/main/java/org/apache/pdfbox/examples/signature/ValidationTimeStamp.java b/app/core/src/main/java/org/apache/pdfbox/examples/signature/ValidationTimeStamp.java similarity index 100% rename from stirling-pdf/src/main/java/org/apache/pdfbox/examples/signature/ValidationTimeStamp.java rename to app/core/src/main/java/org/apache/pdfbox/examples/signature/ValidationTimeStamp.java diff --git a/stirling-pdf/src/main/java/org/apache/pdfbox/examples/util/ConnectedInputStream.java b/app/core/src/main/java/org/apache/pdfbox/examples/util/ConnectedInputStream.java similarity index 100% rename from stirling-pdf/src/main/java/org/apache/pdfbox/examples/util/ConnectedInputStream.java rename to app/core/src/main/java/org/apache/pdfbox/examples/util/ConnectedInputStream.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/Factories/ReplaceAndInvertColorFactory.java b/app/core/src/main/java/stirling/software/SPDF/Factories/ReplaceAndInvertColorFactory.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/Factories/ReplaceAndInvertColorFactory.java rename to app/core/src/main/java/stirling/software/SPDF/Factories/ReplaceAndInvertColorFactory.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/LibreOfficeListener.java b/app/core/src/main/java/stirling/software/SPDF/LibreOfficeListener.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/LibreOfficeListener.java rename to app/core/src/main/java/stirling/software/SPDF/LibreOfficeListener.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/SPDFApplication.java b/app/core/src/main/java/stirling/software/SPDF/SPDFApplication.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/SPDFApplication.java rename to app/core/src/main/java/stirling/software/SPDF/SPDFApplication.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/UI/WebBrowser.java b/app/core/src/main/java/stirling/software/SPDF/UI/WebBrowser.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/UI/WebBrowser.java rename to app/core/src/main/java/stirling/software/SPDF/UI/WebBrowser.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/UI/impl/DesktopBrowser.java b/app/core/src/main/java/stirling/software/SPDF/UI/impl/DesktopBrowser.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/UI/impl/DesktopBrowser.java rename to app/core/src/main/java/stirling/software/SPDF/UI/impl/DesktopBrowser.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/UI/impl/LoadingWindow.java b/app/core/src/main/java/stirling/software/SPDF/UI/impl/LoadingWindow.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/UI/impl/LoadingWindow.java rename to app/core/src/main/java/stirling/software/SPDF/UI/impl/LoadingWindow.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/config/AppUpdateService.java b/app/core/src/main/java/stirling/software/SPDF/config/AppUpdateService.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/config/AppUpdateService.java rename to app/core/src/main/java/stirling/software/SPDF/config/AppUpdateService.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/config/CleanUrlInterceptor.java b/app/core/src/main/java/stirling/software/SPDF/config/CleanUrlInterceptor.java similarity index 98% rename from stirling-pdf/src/main/java/stirling/software/SPDF/config/CleanUrlInterceptor.java rename to app/core/src/main/java/stirling/software/SPDF/config/CleanUrlInterceptor.java index eb9f2be33..088c0c0bf 100644 --- a/stirling-pdf/src/main/java/stirling/software/SPDF/config/CleanUrlInterceptor.java +++ b/app/core/src/main/java/stirling/software/SPDF/config/CleanUrlInterceptor.java @@ -29,7 +29,8 @@ public class CleanUrlInterceptor implements HandlerInterceptor { "type", "principal", "startDate", - "endDate"); + "endDate", + "async"); @Override public boolean preHandle( diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/config/EndpointConfiguration.java b/app/core/src/main/java/stirling/software/SPDF/config/EndpointConfiguration.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/config/EndpointConfiguration.java rename to app/core/src/main/java/stirling/software/SPDF/config/EndpointConfiguration.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/config/EndpointInspector.java b/app/core/src/main/java/stirling/software/SPDF/config/EndpointInspector.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/config/EndpointInspector.java rename to app/core/src/main/java/stirling/software/SPDF/config/EndpointInspector.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/config/EndpointInterceptor.java b/app/core/src/main/java/stirling/software/SPDF/config/EndpointInterceptor.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/config/EndpointInterceptor.java rename to app/core/src/main/java/stirling/software/SPDF/config/EndpointInterceptor.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/config/ExternalAppDepConfig.java b/app/core/src/main/java/stirling/software/SPDF/config/ExternalAppDepConfig.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/config/ExternalAppDepConfig.java rename to app/core/src/main/java/stirling/software/SPDF/config/ExternalAppDepConfig.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/config/InitialSetup.java b/app/core/src/main/java/stirling/software/SPDF/config/InitialSetup.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/config/InitialSetup.java rename to app/core/src/main/java/stirling/software/SPDF/config/InitialSetup.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/config/LocaleConfiguration.java b/app/core/src/main/java/stirling/software/SPDF/config/LocaleConfiguration.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/config/LocaleConfiguration.java rename to app/core/src/main/java/stirling/software/SPDF/config/LocaleConfiguration.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/config/LogbackPropertyLoader.java b/app/core/src/main/java/stirling/software/SPDF/config/LogbackPropertyLoader.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/config/LogbackPropertyLoader.java rename to app/core/src/main/java/stirling/software/SPDF/config/LogbackPropertyLoader.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/config/MetricsConfig.java b/app/core/src/main/java/stirling/software/SPDF/config/MetricsConfig.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/config/MetricsConfig.java rename to app/core/src/main/java/stirling/software/SPDF/config/MetricsConfig.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/config/MetricsFilter.java b/app/core/src/main/java/stirling/software/SPDF/config/MetricsFilter.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/config/MetricsFilter.java rename to app/core/src/main/java/stirling/software/SPDF/config/MetricsFilter.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/config/OpenApiConfig.java b/app/core/src/main/java/stirling/software/SPDF/config/OpenApiConfig.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/config/OpenApiConfig.java rename to app/core/src/main/java/stirling/software/SPDF/config/OpenApiConfig.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/config/StartupApplicationListener.java b/app/core/src/main/java/stirling/software/SPDF/config/StartupApplicationListener.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/config/StartupApplicationListener.java rename to app/core/src/main/java/stirling/software/SPDF/config/StartupApplicationListener.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/config/WebMvcConfig.java b/app/core/src/main/java/stirling/software/SPDF/config/WebMvcConfig.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/config/WebMvcConfig.java rename to app/core/src/main/java/stirling/software/SPDF/config/WebMvcConfig.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/config/fingerprint/FingerprintBasedSessionFilter.java b/app/core/src/main/java/stirling/software/SPDF/config/fingerprint/FingerprintBasedSessionFilter.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/config/fingerprint/FingerprintBasedSessionFilter.java rename to app/core/src/main/java/stirling/software/SPDF/config/fingerprint/FingerprintBasedSessionFilter.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/config/fingerprint/FingerprintBasedSessionManager.java b/app/core/src/main/java/stirling/software/SPDF/config/fingerprint/FingerprintBasedSessionManager.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/config/fingerprint/FingerprintBasedSessionManager.java rename to app/core/src/main/java/stirling/software/SPDF/config/fingerprint/FingerprintBasedSessionManager.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/config/fingerprint/FingerprintGenerator.java b/app/core/src/main/java/stirling/software/SPDF/config/fingerprint/FingerprintGenerator.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/config/fingerprint/FingerprintGenerator.java rename to app/core/src/main/java/stirling/software/SPDF/config/fingerprint/FingerprintGenerator.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/AdditionalLanguageJsController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/AdditionalLanguageJsController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/AdditionalLanguageJsController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/AdditionalLanguageJsController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/AnalysisController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/AnalysisController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/AnalysisController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/AnalysisController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/CropController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/CropController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/CropController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/CropController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/EditTableOfContentsController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/EditTableOfContentsController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/EditTableOfContentsController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/EditTableOfContentsController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/MergeController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/MergeController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/MergeController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/MergeController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/MultiPageLayoutController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/MultiPageLayoutController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/MultiPageLayoutController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/MultiPageLayoutController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/PdfImageRemovalController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/PdfImageRemovalController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/PdfImageRemovalController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/PdfImageRemovalController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/PdfOverlayController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/PdfOverlayController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/PdfOverlayController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/PdfOverlayController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/RearrangePagesPDFController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/RearrangePagesPDFController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/RearrangePagesPDFController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/RearrangePagesPDFController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/RotationController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/RotationController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/RotationController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/RotationController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/ScalePagesController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/ScalePagesController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/ScalePagesController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/ScalePagesController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/SettingsController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/SettingsController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/SettingsController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/SettingsController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/SplitPDFController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/SplitPDFController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/SplitPDFController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/SplitPDFController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/SplitPdfByChaptersController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/SplitPdfByChaptersController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/SplitPdfByChaptersController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/SplitPdfByChaptersController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/SplitPdfBySectionsController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/SplitPdfBySectionsController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/SplitPdfBySectionsController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/SplitPdfBySectionsController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/SplitPdfBySizeController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/SplitPdfBySizeController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/SplitPdfBySizeController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/SplitPdfBySizeController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/ToSinglePageController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/ToSinglePageController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/ToSinglePageController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/ToSinglePageController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertEmlToPDF.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertEmlToPDF.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertEmlToPDF.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertEmlToPDF.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertHtmlToPDF.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertHtmlToPDF.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertHtmlToPDF.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertHtmlToPDF.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertImgPDFController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertImgPDFController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertImgPDFController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertImgPDFController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertMarkdownToPdf.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertMarkdownToPdf.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertMarkdownToPdf.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertMarkdownToPdf.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertOfficeController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertOfficeController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertOfficeController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertOfficeController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertPDFToHtml.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertPDFToHtml.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertPDFToHtml.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertPDFToHtml.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertPDFToOffice.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertPDFToOffice.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertPDFToOffice.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertPDFToOffice.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertPDFToPDFA.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertPDFToPDFA.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertPDFToPDFA.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertPDFToPDFA.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertWebsiteToPDF.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertWebsiteToPDF.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertWebsiteToPDF.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertWebsiteToPDF.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/converters/ExtractCSVController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/converters/ExtractCSVController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/converters/ExtractCSVController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/converters/ExtractCSVController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/filters/FilterController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/filters/FilterController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/filters/FilterController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/filters/FilterController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/AttachmentController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/misc/AttachmentController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/AttachmentController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/misc/AttachmentController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/AutoRenameController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/misc/AutoRenameController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/AutoRenameController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/misc/AutoRenameController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/AutoSplitPdfController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/misc/AutoSplitPdfController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/AutoSplitPdfController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/misc/AutoSplitPdfController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/BlankPageController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/misc/BlankPageController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/BlankPageController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/misc/BlankPageController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/CompressController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/misc/CompressController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/CompressController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/misc/CompressController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/ConfigController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/misc/ConfigController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/ConfigController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/misc/ConfigController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/DecompressPdfController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/misc/DecompressPdfController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/DecompressPdfController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/misc/DecompressPdfController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/ExtractImageScansController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/misc/ExtractImageScansController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/ExtractImageScansController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/misc/ExtractImageScansController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/ExtractImagesController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/misc/ExtractImagesController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/ExtractImagesController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/misc/ExtractImagesController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/FakeScanController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/misc/FakeScanController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/FakeScanController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/misc/FakeScanController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/FlattenController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/misc/FlattenController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/FlattenController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/misc/FlattenController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/MetadataController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/misc/MetadataController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/MetadataController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/misc/MetadataController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/OCRController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/misc/OCRController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/OCRController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/misc/OCRController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/OverlayImageController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/misc/OverlayImageController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/OverlayImageController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/misc/OverlayImageController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/PageNumbersController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/misc/PageNumbersController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/PageNumbersController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/misc/PageNumbersController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/PrintFileController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/misc/PrintFileController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/PrintFileController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/misc/PrintFileController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/RepairController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/misc/RepairController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/RepairController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/misc/RepairController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/ReplaceAndInvertColorController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/misc/ReplaceAndInvertColorController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/ReplaceAndInvertColorController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/misc/ReplaceAndInvertColorController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/ShowJavascript.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/misc/ShowJavascript.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/ShowJavascript.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/misc/ShowJavascript.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/StampController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/misc/StampController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/StampController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/misc/StampController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/UnlockPDFFormsController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/misc/UnlockPDFFormsController.java similarity index 98% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/UnlockPDFFormsController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/misc/UnlockPDFFormsController.java index e7dfba041..21fd61d11 100644 --- a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/misc/UnlockPDFFormsController.java +++ b/app/core/src/main/java/stirling/software/SPDF/controller/api/misc/UnlockPDFFormsController.java @@ -10,7 +10,6 @@ import org.apache.pdfbox.pdmodel.PDDocument; import org.apache.pdfbox.pdmodel.common.PDStream; import org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm; import org.apache.pdfbox.pdmodel.interactive.form.PDField; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.PostMapping; @@ -34,7 +33,6 @@ import stirling.software.common.util.WebResponseUtils; public class UnlockPDFFormsController { private final CustomPDFDocumentFactory pdfDocumentFactory; - @Autowired public UnlockPDFFormsController(CustomPDFDocumentFactory pdfDocumentFactory) { this.pdfDocumentFactory = pdfDocumentFactory; } diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/pipeline/PipelineController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/pipeline/PipelineController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/pipeline/PipelineController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/pipeline/PipelineController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/pipeline/PipelineDirectoryProcessor.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/pipeline/PipelineDirectoryProcessor.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/pipeline/PipelineDirectoryProcessor.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/pipeline/PipelineDirectoryProcessor.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/pipeline/PipelineProcessor.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/pipeline/PipelineProcessor.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/pipeline/PipelineProcessor.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/pipeline/PipelineProcessor.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/security/CertSignController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/security/CertSignController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/security/CertSignController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/security/CertSignController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/security/GetInfoOnPDF.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/security/GetInfoOnPDF.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/security/GetInfoOnPDF.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/security/GetInfoOnPDF.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/security/PasswordController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/security/PasswordController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/security/PasswordController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/security/PasswordController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/security/RedactController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/security/RedactController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/security/RedactController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/security/RedactController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/security/RemoveCertSignController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/security/RemoveCertSignController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/security/RemoveCertSignController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/security/RemoveCertSignController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/security/SanitizeController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/security/SanitizeController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/security/SanitizeController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/security/SanitizeController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/security/ValidateSignatureController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/security/ValidateSignatureController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/security/ValidateSignatureController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/security/ValidateSignatureController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/security/WatermarkController.java b/app/core/src/main/java/stirling/software/SPDF/controller/api/security/WatermarkController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/security/WatermarkController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/api/security/WatermarkController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/ConverterWebController.java b/app/core/src/main/java/stirling/software/SPDF/controller/web/ConverterWebController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/ConverterWebController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/web/ConverterWebController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/GeneralWebController.java b/app/core/src/main/java/stirling/software/SPDF/controller/web/GeneralWebController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/GeneralWebController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/web/GeneralWebController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/HomeWebController.java b/app/core/src/main/java/stirling/software/SPDF/controller/web/HomeWebController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/HomeWebController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/web/HomeWebController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/MetricsController.java b/app/core/src/main/java/stirling/software/SPDF/controller/web/MetricsController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/MetricsController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/web/MetricsController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/OtherWebController.java b/app/core/src/main/java/stirling/software/SPDF/controller/web/OtherWebController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/OtherWebController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/web/OtherWebController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/ReactRoutingController.java b/app/core/src/main/java/stirling/software/SPDF/controller/web/ReactRoutingController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/ReactRoutingController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/web/ReactRoutingController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/SecurityWebController.java b/app/core/src/main/java/stirling/software/SPDF/controller/web/SecurityWebController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/SecurityWebController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/web/SecurityWebController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/SignatureController.java b/app/core/src/main/java/stirling/software/SPDF/controller/web/SignatureController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/SignatureController.java rename to app/core/src/main/java/stirling/software/SPDF/controller/web/SignatureController.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/UploadLimitService.java b/app/core/src/main/java/stirling/software/SPDF/controller/web/UploadLimitService.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/UploadLimitService.java rename to app/core/src/main/java/stirling/software/SPDF/controller/web/UploadLimitService.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/ApiEndpoint.java b/app/core/src/main/java/stirling/software/SPDF/model/ApiEndpoint.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/ApiEndpoint.java rename to app/core/src/main/java/stirling/software/SPDF/model/ApiEndpoint.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/Dependency.java b/app/core/src/main/java/stirling/software/SPDF/model/Dependency.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/Dependency.java rename to app/core/src/main/java/stirling/software/SPDF/model/Dependency.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/PDFText.java b/app/core/src/main/java/stirling/software/SPDF/model/PDFText.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/PDFText.java rename to app/core/src/main/java/stirling/software/SPDF/model/PDFText.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/PipelineConfig.java b/app/core/src/main/java/stirling/software/SPDF/model/PipelineConfig.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/PipelineConfig.java rename to app/core/src/main/java/stirling/software/SPDF/model/PipelineConfig.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/PipelineOperation.java b/app/core/src/main/java/stirling/software/SPDF/model/PipelineOperation.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/PipelineOperation.java rename to app/core/src/main/java/stirling/software/SPDF/model/PipelineOperation.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/PipelineResult.java b/app/core/src/main/java/stirling/software/SPDF/model/PipelineResult.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/PipelineResult.java rename to app/core/src/main/java/stirling/software/SPDF/model/PipelineResult.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/SignatureFile.java b/app/core/src/main/java/stirling/software/SPDF/model/SignatureFile.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/SignatureFile.java rename to app/core/src/main/java/stirling/software/SPDF/model/SignatureFile.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/SortTypes.java b/app/core/src/main/java/stirling/software/SPDF/model/SortTypes.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/SortTypes.java rename to app/core/src/main/java/stirling/software/SPDF/model/SortTypes.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/EditTableOfContentsRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/EditTableOfContentsRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/EditTableOfContentsRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/EditTableOfContentsRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/HandleDataRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/HandleDataRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/HandleDataRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/HandleDataRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/ImageFile.java b/app/core/src/main/java/stirling/software/SPDF/model/api/ImageFile.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/ImageFile.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/ImageFile.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/MultiplePDFFiles.java b/app/core/src/main/java/stirling/software/SPDF/model/api/MultiplePDFFiles.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/MultiplePDFFiles.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/MultiplePDFFiles.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/PDFComparison.java b/app/core/src/main/java/stirling/software/SPDF/model/api/PDFComparison.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/PDFComparison.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/PDFComparison.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/PDFComparisonAndCount.java b/app/core/src/main/java/stirling/software/SPDF/model/api/PDFComparisonAndCount.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/PDFComparisonAndCount.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/PDFComparisonAndCount.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/PDFExtractImagesRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/PDFExtractImagesRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/PDFExtractImagesRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/PDFExtractImagesRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/PDFWithImageFormatRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/PDFWithImageFormatRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/PDFWithImageFormatRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/PDFWithImageFormatRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/PDFWithPageNums.java b/app/core/src/main/java/stirling/software/SPDF/model/api/PDFWithPageNums.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/PDFWithPageNums.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/PDFWithPageNums.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/PDFWithPageSize.java b/app/core/src/main/java/stirling/software/SPDF/model/api/PDFWithPageSize.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/PDFWithPageSize.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/PDFWithPageSize.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/SplitPdfByChaptersRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/SplitPdfByChaptersRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/SplitPdfByChaptersRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/SplitPdfByChaptersRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/SplitPdfBySectionsRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/SplitPdfBySectionsRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/SplitPdfBySectionsRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/SplitPdfBySectionsRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/converters/ConvertPDFToMarkdown.java b/app/core/src/main/java/stirling/software/SPDF/model/api/converters/ConvertPDFToMarkdown.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/converters/ConvertPDFToMarkdown.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/converters/ConvertPDFToMarkdown.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/converters/ConvertToImageRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/converters/ConvertToImageRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/converters/ConvertToImageRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/converters/ConvertToImageRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/converters/ConvertToPdfRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/converters/ConvertToPdfRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/converters/ConvertToPdfRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/converters/ConvertToPdfRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/converters/PdfToBookRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/converters/PdfToBookRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/converters/PdfToBookRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/converters/PdfToBookRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/converters/PdfToPdfARequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/converters/PdfToPdfARequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/converters/PdfToPdfARequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/converters/PdfToPdfARequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/converters/PdfToPresentationRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/converters/PdfToPresentationRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/converters/PdfToPresentationRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/converters/PdfToPresentationRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/converters/PdfToTextOrRTFRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/converters/PdfToTextOrRTFRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/converters/PdfToTextOrRTFRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/converters/PdfToTextOrRTFRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/converters/PdfToWordRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/converters/PdfToWordRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/converters/PdfToWordRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/converters/PdfToWordRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/converters/UrlToPdfRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/converters/UrlToPdfRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/converters/UrlToPdfRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/converters/UrlToPdfRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/filter/ContainsTextRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/filter/ContainsTextRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/filter/ContainsTextRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/filter/ContainsTextRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/filter/FileSizeRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/filter/FileSizeRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/filter/FileSizeRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/filter/FileSizeRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/filter/PageRotationRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/filter/PageRotationRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/filter/PageRotationRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/filter/PageRotationRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/filter/PageSizeRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/filter/PageSizeRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/filter/PageSizeRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/filter/PageSizeRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/general/CropPdfForm.java b/app/core/src/main/java/stirling/software/SPDF/model/api/general/CropPdfForm.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/general/CropPdfForm.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/general/CropPdfForm.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/general/MergeMultiplePagesRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/general/MergeMultiplePagesRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/general/MergeMultiplePagesRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/general/MergeMultiplePagesRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/general/MergePdfsRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/general/MergePdfsRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/general/MergePdfsRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/general/MergePdfsRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/general/OverlayPdfsRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/general/OverlayPdfsRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/general/OverlayPdfsRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/general/OverlayPdfsRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/general/RearrangePagesRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/general/RearrangePagesRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/general/RearrangePagesRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/general/RearrangePagesRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/general/RotatePDFRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/general/RotatePDFRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/general/RotatePDFRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/general/RotatePDFRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/general/ScalePagesRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/general/ScalePagesRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/general/ScalePagesRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/general/ScalePagesRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/general/SplitPdfBySizeOrCountRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/general/SplitPdfBySizeOrCountRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/general/SplitPdfBySizeOrCountRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/general/SplitPdfBySizeOrCountRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/AddAttachmentRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/misc/AddAttachmentRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/AddAttachmentRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/misc/AddAttachmentRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/AddPageNumbersRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/misc/AddPageNumbersRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/AddPageNumbersRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/misc/AddPageNumbersRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/AddStampRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/misc/AddStampRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/AddStampRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/misc/AddStampRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/AutoSplitPdfRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/misc/AutoSplitPdfRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/AutoSplitPdfRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/misc/AutoSplitPdfRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/ExtractHeaderRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/misc/ExtractHeaderRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/ExtractHeaderRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/misc/ExtractHeaderRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/ExtractImageScansRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/misc/ExtractImageScansRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/ExtractImageScansRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/misc/ExtractImageScansRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/FakeScanRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/misc/FakeScanRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/FakeScanRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/misc/FakeScanRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/FlattenRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/misc/FlattenRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/FlattenRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/misc/FlattenRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/MetadataRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/misc/MetadataRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/MetadataRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/misc/MetadataRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/OptimizePdfRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/misc/OptimizePdfRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/OptimizePdfRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/misc/OptimizePdfRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/OverlayImageRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/misc/OverlayImageRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/OverlayImageRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/misc/OverlayImageRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/PrintFileRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/misc/PrintFileRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/PrintFileRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/misc/PrintFileRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/ProcessPdfWithOcrRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/misc/ProcessPdfWithOcrRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/ProcessPdfWithOcrRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/misc/ProcessPdfWithOcrRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/RemoveBlankPagesRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/misc/RemoveBlankPagesRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/RemoveBlankPagesRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/misc/RemoveBlankPagesRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/ReplaceAndInvertColorRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/misc/ReplaceAndInvertColorRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/misc/ReplaceAndInvertColorRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/misc/ReplaceAndInvertColorRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/security/AddPasswordRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/security/AddPasswordRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/security/AddPasswordRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/security/AddPasswordRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/security/AddWatermarkRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/security/AddWatermarkRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/security/AddWatermarkRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/security/AddWatermarkRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/security/ManualRedactPdfRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/security/ManualRedactPdfRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/security/ManualRedactPdfRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/security/ManualRedactPdfRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/security/PDFPasswordRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/security/PDFPasswordRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/security/PDFPasswordRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/security/PDFPasswordRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/security/RedactPdfRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/security/RedactPdfRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/security/RedactPdfRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/security/RedactPdfRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/security/SanitizePdfRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/security/SanitizePdfRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/security/SanitizePdfRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/security/SanitizePdfRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/security/SignPDFWithCertRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/security/SignPDFWithCertRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/security/SignPDFWithCertRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/security/SignPDFWithCertRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/security/SignatureValidationRequest.java b/app/core/src/main/java/stirling/software/SPDF/model/api/security/SignatureValidationRequest.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/security/SignatureValidationRequest.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/security/SignatureValidationRequest.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/model/api/security/SignatureValidationResult.java b/app/core/src/main/java/stirling/software/SPDF/model/api/security/SignatureValidationResult.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/model/api/security/SignatureValidationResult.java rename to app/core/src/main/java/stirling/software/SPDF/model/api/security/SignatureValidationResult.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/pdf/FlexibleCSVWriter.java b/app/core/src/main/java/stirling/software/SPDF/pdf/FlexibleCSVWriter.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/pdf/FlexibleCSVWriter.java rename to app/core/src/main/java/stirling/software/SPDF/pdf/FlexibleCSVWriter.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/pdf/TextFinder.java b/app/core/src/main/java/stirling/software/SPDF/pdf/TextFinder.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/pdf/TextFinder.java rename to app/core/src/main/java/stirling/software/SPDF/pdf/TextFinder.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/service/ApiDocService.java b/app/core/src/main/java/stirling/software/SPDF/service/ApiDocService.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/service/ApiDocService.java rename to app/core/src/main/java/stirling/software/SPDF/service/ApiDocService.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/service/AttachmentService.java b/app/core/src/main/java/stirling/software/SPDF/service/AttachmentService.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/service/AttachmentService.java rename to app/core/src/main/java/stirling/software/SPDF/service/AttachmentService.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/service/AttachmentServiceInterface.java b/app/core/src/main/java/stirling/software/SPDF/service/AttachmentServiceInterface.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/service/AttachmentServiceInterface.java rename to app/core/src/main/java/stirling/software/SPDF/service/AttachmentServiceInterface.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/service/CertificateValidationService.java b/app/core/src/main/java/stirling/software/SPDF/service/CertificateValidationService.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/service/CertificateValidationService.java rename to app/core/src/main/java/stirling/software/SPDF/service/CertificateValidationService.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/service/LanguageService.java b/app/core/src/main/java/stirling/software/SPDF/service/LanguageService.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/service/LanguageService.java rename to app/core/src/main/java/stirling/software/SPDF/service/LanguageService.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/service/MetricsAggregatorService.java b/app/core/src/main/java/stirling/software/SPDF/service/MetricsAggregatorService.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/service/MetricsAggregatorService.java rename to app/core/src/main/java/stirling/software/SPDF/service/MetricsAggregatorService.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/service/PdfImageRemovalService.java b/app/core/src/main/java/stirling/software/SPDF/service/PdfImageRemovalService.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/service/PdfImageRemovalService.java rename to app/core/src/main/java/stirling/software/SPDF/service/PdfImageRemovalService.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/service/SignatureService.java b/app/core/src/main/java/stirling/software/SPDF/service/SignatureService.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/service/SignatureService.java rename to app/core/src/main/java/stirling/software/SPDF/service/SignatureService.java diff --git a/stirling-pdf/src/main/java/stirling/software/SPDF/service/misc/ReplaceAndInvertColorService.java b/app/core/src/main/java/stirling/software/SPDF/service/misc/ReplaceAndInvertColorService.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/SPDF/service/misc/ReplaceAndInvertColorService.java rename to app/core/src/main/java/stirling/software/SPDF/service/misc/ReplaceAndInvertColorService.java diff --git a/stirling-pdf/src/main/java/stirling/software/common/controller/JobController.java b/app/core/src/main/java/stirling/software/common/controller/JobController.java similarity index 100% rename from stirling-pdf/src/main/java/stirling/software/common/controller/JobController.java rename to app/core/src/main/java/stirling/software/common/controller/JobController.java diff --git a/stirling-pdf/src/main/resources/application.properties b/app/core/src/main/resources/application.properties similarity index 100% rename from stirling-pdf/src/main/resources/application.properties rename to app/core/src/main/resources/application.properties diff --git a/stirling-pdf/src/main/resources/banner.txt b/app/core/src/main/resources/banner.txt similarity index 100% rename from stirling-pdf/src/main/resources/banner.txt rename to app/core/src/main/resources/banner.txt diff --git a/stirling-pdf/src/main/resources/certdata.txt b/app/core/src/main/resources/certdata.txt similarity index 100% rename from stirling-pdf/src/main/resources/certdata.txt rename to app/core/src/main/resources/certdata.txt diff --git a/stirling-pdf/src/main/resources/icc/sRGB2014.icc b/app/core/src/main/resources/icc/sRGB2014.icc similarity index 100% rename from stirling-pdf/src/main/resources/icc/sRGB2014.icc rename to app/core/src/main/resources/icc/sRGB2014.icc diff --git a/stirling-pdf/src/main/resources/logback.xml b/app/core/src/main/resources/logback.xml similarity index 96% rename from stirling-pdf/src/main/resources/logback.xml rename to app/core/src/main/resources/logback.xml index d521d42a8..c0779735a 100644 --- a/stirling-pdf/src/main/resources/logback.xml +++ b/app/core/src/main/resources/logback.xml @@ -40,7 +40,7 @@ - diff --git a/stirling-pdf/src/main/resources/messages.properties b/app/core/src/main/resources/messages.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages.properties rename to app/core/src/main/resources/messages.properties diff --git a/stirling-pdf/src/main/resources/messages_ar_AR.properties b/app/core/src/main/resources/messages_ar_AR.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_ar_AR.properties rename to app/core/src/main/resources/messages_ar_AR.properties diff --git a/stirling-pdf/src/main/resources/messages_az_AZ.properties b/app/core/src/main/resources/messages_az_AZ.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_az_AZ.properties rename to app/core/src/main/resources/messages_az_AZ.properties diff --git a/stirling-pdf/src/main/resources/messages_bg_BG.properties b/app/core/src/main/resources/messages_bg_BG.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_bg_BG.properties rename to app/core/src/main/resources/messages_bg_BG.properties diff --git a/stirling-pdf/src/main/resources/messages_bo_CN.properties b/app/core/src/main/resources/messages_bo_CN.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_bo_CN.properties rename to app/core/src/main/resources/messages_bo_CN.properties diff --git a/stirling-pdf/src/main/resources/messages_ca_CA.properties b/app/core/src/main/resources/messages_ca_CA.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_ca_CA.properties rename to app/core/src/main/resources/messages_ca_CA.properties diff --git a/stirling-pdf/src/main/resources/messages_cs_CZ.properties b/app/core/src/main/resources/messages_cs_CZ.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_cs_CZ.properties rename to app/core/src/main/resources/messages_cs_CZ.properties diff --git a/stirling-pdf/src/main/resources/messages_da_DK.properties b/app/core/src/main/resources/messages_da_DK.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_da_DK.properties rename to app/core/src/main/resources/messages_da_DK.properties diff --git a/stirling-pdf/src/main/resources/messages_de_DE.properties b/app/core/src/main/resources/messages_de_DE.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_de_DE.properties rename to app/core/src/main/resources/messages_de_DE.properties diff --git a/stirling-pdf/src/main/resources/messages_el_GR.properties b/app/core/src/main/resources/messages_el_GR.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_el_GR.properties rename to app/core/src/main/resources/messages_el_GR.properties diff --git a/stirling-pdf/src/main/resources/messages_en_GB.properties b/app/core/src/main/resources/messages_en_GB.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_en_GB.properties rename to app/core/src/main/resources/messages_en_GB.properties diff --git a/stirling-pdf/src/main/resources/messages_en_US.properties b/app/core/src/main/resources/messages_en_US.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_en_US.properties rename to app/core/src/main/resources/messages_en_US.properties diff --git a/stirling-pdf/src/main/resources/messages_es_ES.properties b/app/core/src/main/resources/messages_es_ES.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_es_ES.properties rename to app/core/src/main/resources/messages_es_ES.properties diff --git a/stirling-pdf/src/main/resources/messages_eu_ES.properties b/app/core/src/main/resources/messages_eu_ES.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_eu_ES.properties rename to app/core/src/main/resources/messages_eu_ES.properties diff --git a/stirling-pdf/src/main/resources/messages_fa_IR.properties b/app/core/src/main/resources/messages_fa_IR.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_fa_IR.properties rename to app/core/src/main/resources/messages_fa_IR.properties diff --git a/stirling-pdf/src/main/resources/messages_fr_FR.properties b/app/core/src/main/resources/messages_fr_FR.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_fr_FR.properties rename to app/core/src/main/resources/messages_fr_FR.properties diff --git a/stirling-pdf/src/main/resources/messages_ga_IE.properties b/app/core/src/main/resources/messages_ga_IE.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_ga_IE.properties rename to app/core/src/main/resources/messages_ga_IE.properties diff --git a/stirling-pdf/src/main/resources/messages_hi_IN.properties b/app/core/src/main/resources/messages_hi_IN.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_hi_IN.properties rename to app/core/src/main/resources/messages_hi_IN.properties diff --git a/stirling-pdf/src/main/resources/messages_hr_HR.properties b/app/core/src/main/resources/messages_hr_HR.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_hr_HR.properties rename to app/core/src/main/resources/messages_hr_HR.properties diff --git a/stirling-pdf/src/main/resources/messages_hu_HU.properties b/app/core/src/main/resources/messages_hu_HU.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_hu_HU.properties rename to app/core/src/main/resources/messages_hu_HU.properties diff --git a/stirling-pdf/src/main/resources/messages_id_ID.properties b/app/core/src/main/resources/messages_id_ID.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_id_ID.properties rename to app/core/src/main/resources/messages_id_ID.properties diff --git a/stirling-pdf/src/main/resources/messages_it_IT.properties b/app/core/src/main/resources/messages_it_IT.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_it_IT.properties rename to app/core/src/main/resources/messages_it_IT.properties diff --git a/stirling-pdf/src/main/resources/messages_ja_JP.properties b/app/core/src/main/resources/messages_ja_JP.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_ja_JP.properties rename to app/core/src/main/resources/messages_ja_JP.properties diff --git a/stirling-pdf/src/main/resources/messages_ko_KR.properties b/app/core/src/main/resources/messages_ko_KR.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_ko_KR.properties rename to app/core/src/main/resources/messages_ko_KR.properties diff --git a/stirling-pdf/src/main/resources/messages_ml_IN.properties b/app/core/src/main/resources/messages_ml_IN.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_ml_IN.properties rename to app/core/src/main/resources/messages_ml_IN.properties diff --git a/stirling-pdf/src/main/resources/messages_nl_NL.properties b/app/core/src/main/resources/messages_nl_NL.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_nl_NL.properties rename to app/core/src/main/resources/messages_nl_NL.properties diff --git a/stirling-pdf/src/main/resources/messages_no_NB.properties b/app/core/src/main/resources/messages_no_NB.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_no_NB.properties rename to app/core/src/main/resources/messages_no_NB.properties diff --git a/stirling-pdf/src/main/resources/messages_pl_PL.properties b/app/core/src/main/resources/messages_pl_PL.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_pl_PL.properties rename to app/core/src/main/resources/messages_pl_PL.properties diff --git a/stirling-pdf/src/main/resources/messages_pt_BR.properties b/app/core/src/main/resources/messages_pt_BR.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_pt_BR.properties rename to app/core/src/main/resources/messages_pt_BR.properties diff --git a/stirling-pdf/src/main/resources/messages_pt_PT.properties b/app/core/src/main/resources/messages_pt_PT.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_pt_PT.properties rename to app/core/src/main/resources/messages_pt_PT.properties diff --git a/stirling-pdf/src/main/resources/messages_ro_RO.properties b/app/core/src/main/resources/messages_ro_RO.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_ro_RO.properties rename to app/core/src/main/resources/messages_ro_RO.properties diff --git a/stirling-pdf/src/main/resources/messages_ru_RU.properties b/app/core/src/main/resources/messages_ru_RU.properties similarity index 85% rename from stirling-pdf/src/main/resources/messages_ru_RU.properties rename to app/core/src/main/resources/messages_ru_RU.properties index 329d054db..66a1bc93d 100644 --- a/stirling-pdf/src/main/resources/messages_ru_RU.properties +++ b/app/core/src/main/resources/messages_ru_RU.properties @@ -142,9 +142,9 @@ multiPdfPrompt=Выберите PDF-файлы (2+) multiPdfDropPrompt=Выберите (или перетащите) все необходимые PDF-файлы imgPrompt=Выберите изображение(я) genericSubmit=Отправить -uploadLimit=Maximum file size: -uploadLimitExceededSingular=is too large. Maximum allowed size is -uploadLimitExceededPlural=are too large. Maximum allowed size is +uploadLimit=Максимальный размер файла: +uploadLimitExceededSingular=слишком большой. Максимально допустимый размер +uploadLimitExceededPlural=слишком большой. Максимально допустимый размер processTimeWarning=Внимание: Данный процесс может занять до минуты в зависимости от размера файла pageOrderPrompt=Пользовательский порядок страниц (Введите список номеров страниц через запятую или функции типа 2n+1): pageSelectionPrompt=Выбор страниц (Введите список номеров страниц через запятую 1,5,6 или функции типа 2n+1): @@ -170,67 +170,67 @@ sizes.medium=Средний sizes.large=Большой sizes.x-large=Очень большой error.pdfPassword=PDF-документ защищен паролем, и пароль не был предоставлен или был неверным -error.pdfCorrupted=PDF file appears to be corrupted or damaged. Please try using the 'Repair PDF' feature first to fix the file before proceeding with this operation. -error.pdfCorruptedMultiple=One or more PDF files appear to be corrupted or damaged. Please try using the 'Repair PDF' feature on each file first before attempting to merge them. -error.pdfCorruptedDuring=Error {0}: PDF file appears to be corrupted or damaged. Please try using the 'Repair PDF' feature first to fix the file before proceeding with this operation. +error.pdfCorrupted=Файл PDF, по-видимому, поврежден. Пожалуйста, попробуйте сначала воспользоваться функцией "Восстановить PDF", чтобы исправить файл, прежде чем приступать к этой операции. +error.pdfCorruptedMultiple=Один или несколько PDF-файлов, по-видимому, повреждены. Пожалуйста, попробуйте сначала использовать функцию "Восстановить PDF" для каждого файла, прежде чем пытаться объединить их. +error.pdfCorruptedDuring=Ошибка {0}: Файл PDF, по-видимому, поврежден. Пожалуйста, попробуйте сначала воспользоваться функцией "Восстановить PDF", чтобы исправить файл, прежде чем приступать к этой операции. # Frontend corruption error messages -error.pdfInvalid=The PDF file "{0}" appears to be corrupted or has an invalid structure. Please try using the 'Repair PDF' feature to fix the file before proceeding. -error.tryRepair=Try using the Repair PDF feature to fix corrupted files. +error.pdfInvalid=Файл PDF "{0}", по-видимому, поврежден или имеет неправильную структуру. Пожалуйста, попробуйте использовать функцию "Восстановить PDF", чтобы исправить файл, прежде чем продолжить. +error.tryRepair=Попробуйте использовать функцию восстановления PDF для исправления поврежденных файлов. # Additional error messages -error.pdfEncryption=The PDF appears to have corrupted encryption data. This can happen when the PDF was created with incompatible encryption methods. Please try using the 'Repair PDF' feature first, or contact the document creator for a new copy. -error.fileProcessing=An error occurred while processing the file during {0} operation: {1} +error.pdfEncryption=Похоже, что в PDF-файле повреждены данные для шифрования. Это может произойти, если PDF-файл был создан с использованием несовместимых методов шифрования. Пожалуйста, сначала попробуйте воспользоваться функцией "Восстановить PDF" или обратитесь к создателю документа за новой копией. +error.fileProcessing=При обработке файла во время операции {0} произошла ошибка: {1} # Generic error message templates -error.toolNotInstalled={0} is not installed -error.toolRequired={0} is required for {1} -error.conversionFailed={0} conversion failed -error.commandFailed={0} command failed -error.algorithmNotAvailable={0} algorithm not available -error.optionsNotSpecified={0} options are not specified -error.fileFormatRequired=File must be in {0} format -error.invalidFormat=Invalid {0} format: {1} -error.endpointDisabled=This endpoint has been disabled by the admin -error.urlNotReachable=URL is not reachable, please provide a valid URL +error.toolNotInstalled={0} не установлен +error.toolRequired={0} требуется для {1} +error.conversionFailed={0} не удалось выполнить преобразование +error.commandFailed={0} команда не выполнена +error.algorithmNotAvailable={0} алгоритм недоступен +error.optionsNotSpecified={0} параметры не указаны +error.fileFormatRequired=Файл должен быть в формате {0} +error.invalidFormat=Недопустимый формат {0}: {1} +error.endpointDisabled=Эта конечная точка была отключена администратором +error.urlNotReachable=URL-адрес недоступен, пожалуйста, укажите действительный URL-адрес # DPI and image rendering messages - used by frontend for dynamic translation # Backend sends: [TRANSLATE:messageKey:arg1,arg2] English message # Frontend parses this and replaces with localized versions using these keys -error.dpiExceedsLimit=DPI value {0} exceeds maximum safe limit of {1}. High DPI values can cause memory issues and crashes. Please use a lower DPI value. -error.pageTooBigForDpi=PDF page {0} is too large to render at {1} DPI. Please try a lower DPI value (recommended: 150 or less). -error.pageTooBigExceedsArray=PDF page {0} is too large to render at {1} DPI. The resulting image would exceed Java's maximum array size. Please try a lower DPI value (recommended: 150 or less). -error.pageTooBigFor300Dpi=PDF page {0} is too large to render at 300 DPI. The resulting image would exceed Java's maximum array size. Please use a lower DPI value for PDF-to-image conversion. +error.dpiExceedsLimit=Значение DPI {0} превышает максимально допустимое значение {1}. Высокие значения DPI могут вызвать проблемы с памятью и сбои в работе. Пожалуйста, используйте меньшее значение DPI. +error.pageTooBigForDpi=Размер PDF-страницы {0} слишком велик для отображения с разрешением {1}. Пожалуйста, попробуйте использовать более низкое значение разрешения (рекомендуется 150 или меньше). +error.pageTooBigExceedsArray=Размер страницы PDF {0} слишком велик для отображения с разрешением {1} DPI. Результирующее изображение превысит максимальный размер массива, поддерживаемый Java. Пожалуйста, попробуйте использовать более низкое значение DPI (рекомендуется 150 или меньше). +error.pageTooBigFor300Dpi=Размер страницы PDF {0} слишком велик для отображения с разрешением 300 точек на дюйм. Результирующее изображение превысит максимальный размер массива, поддерживаемый Java. Пожалуйста, используйте меньшее значение разрешения для преобразования PDF в изображение. # URL and website conversion messages # System requirements messages # Authentication and security messages -error.apiKeyInvalid=API key is not valid. -error.userNotFound=User not found. -error.passwordRequired=Password must not be null. -error.accountLocked=Your account has been locked due to too many failed login attempts. -error.invalidEmail=Invalid email addresses provided. -error.emailAttachmentRequired=An attachment is required to send the email. -error.signatureNotFound=Signature file not found. +error.apiKeyInvalid=Ключ API недействителен. +error.userNotFound=Пользователь не найден. +error.passwordRequired=Пароль не должен быть пустым. +error.accountLocked=Ваша учетная запись была заблокирована из-за слишком большого количества неудачных попыток входа в систему. +error.invalidEmail=Указанный адрес электронной почты неверный. +error.emailAttachmentRequired=Для отправки электронного письма требуется вложение. +error.signatureNotFound=Файл подписи не найден. # File processing messages -error.fileNotFound=File not found with ID: {0} +error.fileNotFound=Файл с идентификатором: {0} не найден # Database and configuration messages -error.noBackupScripts=No backup scripts were found. -error.unsupportedProvider={0} is not currently supported. +error.noBackupScripts=Сценарий резервного копирования не найден +error.unsupportedProvider={0} в настоящее время не поддерживается. error.pathTraversalDetected=Path traversal detected for security reasons. # Validation messages -error.invalidArgument=Invalid argument: {0} -error.argumentRequired={0} must not be null -error.operationFailed=Operation failed: {0} -error.angleNotMultipleOf90=Angle must be a multiple of 90 -error.pdfBookmarksNotFound=No PDF bookmarks/outline found in document -error.fontLoadingFailed=Error processing font file -error.fontDirectoryReadFailed=Failed to read font directory +error.invalidArgument=Недопустимый аргумент: {0} +error.argumentRequired={0} не должно быть null +error.operationFailed=Операция завершилась неудачей: {0} +error.angleNotMultipleOf90=Угол наклона должен быть кратным 90 +error.pdfBookmarksNotFound=В PDF-документе не найдены закладки/сноски +error.fontLoadingFailed=Ошибка при обработке файла шрифта +error.fontDirectoryReadFailed=Не удалось прочитать каталог шрифтов delete=Удалить username=Имя пользователя password=Пароль @@ -260,7 +260,7 @@ disabledCurrentUserMessage=Текущий пользователь не може downgradeCurrentUserLongMessage=Невозможно понизить роль текущего пользователя. Следовательно, текущий пользователь не будет отображаться. userAlreadyExistsOAuthMessage=Пользователь уже существует как пользователь OAuth2. userAlreadyExistsWebMessage=Пользователь уже существует как веб-пользователь. -invalidRoleMessage=Invalid role. +invalidRoleMessage=Недопустимая роль. error=Ошибка oops=Упс! help=Помощь @@ -273,27 +273,27 @@ color=Цвет sponsor=Спонсор info=Информация pro=Pro -proFeatures=Pro Features +proFeatures=Pro-функции page=Страница pages=Страницы loading=Загрузка... addToDoc=Добавить в документ reset=Сбросить apply=Применить -noFileSelected=No file selected. Please upload one. -view=View -cancel=Cancel +noFileSelected=Файл не выбран. Пожалуйста, загрузите его. +view=Смотреть +cancel=Закрыть -back.toSettings=Back to Settings -back.toHome=Back to Home -back.toAdmin=Back to Admin +back.toSettings=Вернуться к настройкам +back.toHome=Вернуться на главную +back.toAdmin=Вернуться в админку legal.privacy=Политика конфиденциальности legal.terms=Условия использования legal.accessibility=Доступность legal.cookie=Политика использования файлов cookie legal.impressum=Выходные данные -legal.showCookieBanner=Cookie Preferences +legal.showCookieBanner=Настройки файлов cookie ############### # Pipeline # @@ -327,7 +327,7 @@ enterpriseEdition.button=Перейти на Pro enterpriseEdition.warning=Эта функция доступна только для пользователей Pro. enterpriseEdition.yamlAdvert=Stirling PDF Pro поддерживает файлы конфигурации YAML и другие функции SSO. enterpriseEdition.ssoAdvert=Ищете больше возможностей управления пользователями? Посмотрите Stirling PDF Pro -enterpriseEdition.proTeamFeatureDisabled=Team management features require a Pro licence or higher +enterpriseEdition.proTeamFeatureDisabled=Для функций управления группой требуется лицензия Pro или выше ################# @@ -408,8 +408,8 @@ account.property=Свойство account.webBrowserSettings=Настройки веб-браузера account.syncToBrowser=Синхронизировать Аккаунт -> Браузер account.syncToAccount=Синхронизировать Аккаунт <- Браузер -account.adminTitle=Administrator Tools -account.adminNotif=You have admin privileges. Access system settings and user management. +account.adminTitle=Инструменты администратора +account.adminNotif=У вас есть права администратора. Вам доступны системные настройки и управление пользователями. adminUserSettings.title=Настройки управления пользователями @@ -441,18 +441,18 @@ adminUserSettings.totalUsers=Всего пользователей: adminUserSettings.lastRequest=Последний запрос adminUserSettings.usage=View Usage adminUserSettings.teams=View/Edit Teams -adminUserSettings.team=Team -adminUserSettings.manageTeams=Manage Teams -adminUserSettings.createTeam=Create Team -adminUserSettings.viewTeam=View Team -adminUserSettings.deleteTeam=Delete Team -adminUserSettings.teamName=Team Name -adminUserSettings.teamExists=Team already exists -adminUserSettings.teamCreated=Team created successfully -adminUserSettings.teamChanged=User's team was updated -adminUserSettings.teamHidden=Hidden -adminUserSettings.totalMembers=Total Members -adminUserSettings.confirmDeleteTeam=Are you sure you want to delete this team? +adminUserSettings.team=Группа +adminUserSettings.manageTeams=Управление группами +adminUserSettings.createTeam=Создать группу +adminUserSettings.viewTeam=Смотреть группу +adminUserSettings.deleteTeam=Удалить группу +adminUserSettings.teamName=Имя группы +adminUserSettings.teamExists=Группа уже существует +adminUserSettings.teamCreated=Группа успешно создана +adminUserSettings.teamChanged=Группа пользователей была обновлена +adminUserSettings.teamHidden=Скрытая +adminUserSettings.totalMembers=Общее количество участников +adminUserSettings.confirmDeleteTeam=Вы уверены, что хотите удалить эту группу? teamCreated=Team created successfully teamExists=A team with that name already exists @@ -538,18 +538,18 @@ home.desc=Ваше локальное решение для всех потре home.searchBar=Поиск функций... -home.viewPdf.title=View/Edit PDF +home.viewPdf.title=Смотреть/Редактировать PDF home.viewPdf.desc=Просмотр, аннотирование, добавление текста или изображений viewPdf.tags=просмотр,чтение,аннотации,текст,изображение -home.setFavorites=Set Favourites -home.hideFavorites=Hide Favourites -home.showFavorites=Show Favourites -home.legacyHomepage=Old homepage -home.newHomePage=Try our new homepage! -home.alphabetical=Alphabetical -home.globalPopularity=Global Popularity -home.sortBy=Sort by: +home.setFavorites=Добавить в избранное +home.hideFavorites=Скрыть из избранного +home.showFavorites=Показать избранное +home.legacyHomepage=Старый вид главной страницы +home.newHomePage=Попробуйте нашу новую главную страницу! +home.alphabetical=Алфавиту +home.globalPopularity=Популярности +home.sortBy=Сортировать по: home.multiTool.title=Мультиинструмент PDF home.multiTool.desc=Объединение, поворот, переупорядочивание и удаление страниц @@ -585,8 +585,8 @@ home.addImage.title=Добавить изображение home.addImage.desc=Добавляет изображение в указанное место PDF addImage.tags=изображение,jpg,картинка,фото -home.attachments.title=Add Attachments -home.attachments.desc=Add or remove embedded files (attachments) to/from a PDF +home.attachments.title=Добавлять вложения +home.attachments.desc=Добавление или удаление встроенных файлов (вложений) в PDF-файл или из него attachments.tags=embed,attach,file,attachment,attachments home.watermark.title=Добавить водяной знак @@ -614,8 +614,8 @@ home.compressPdfs.title=Сжать home.compressPdfs.desc=Сжимайте PDF-файлы для уменьшения их размера. compressPdfs.tags=сжатие,маленький,крошечный -home.unlockPDFForms.title=Unlock PDF Forms -home.unlockPDFForms.desc=Remove read-only property of form fields in a PDF document. +home.unlockPDFForms.title=Разблокировать PDF-формы +home.unlockPDFForms.desc=Удалите свойство "только для чтения" для полей формы в PDF-документа. unlockPDFForms.tags=remove,delete,form,field,readonly home.changeMetadata.title=Изменить метаданные @@ -740,20 +740,20 @@ home.HTMLToPDF.desc=Преобразует любой HTML-файл или zip HTMLToPDF.tags=разметка,веб-контент,преобразование,конвертация #eml-to-pdf -home.EMLToPDF.title=Email to PDF -home.EMLToPDF.desc=Converts email (EML) files to PDF format including headers, body, and inline images +home.EMLToPDF.title=Email в PDF +home.EMLToPDF.desc=Преобразует файлы электронной почты (EML) в формат PDF, включая заголовки, основную часть и встроенные изображения EMLToPDF.tags=email,conversion,eml,message,transformation,convert,mail -EMLToPDF.title=Email To PDF -EMLToPDF.header=Email To PDF -EMLToPDF.submit=Convert -EMLToPDF.downloadHtml=Download HTML intermediate file instead of PDF -EMLToPDF.downloadHtmlHelp=This allows you to see the HTML version before PDF conversion and can help debug formatting issues -EMLToPDF.includeAttachments=Include attachments in PDF -EMLToPDF.maxAttachmentSize=Maximum attachment size (MB) -EMLToPDF.help=Converts email (EML) files to PDF format including headers, body, and inline images -EMLToPDF.troubleshootingTip1=Email to HTML is a more reliable process, so with batch-processing it is recommended to save both -EMLToPDF.troubleshootingTip2=With a small number of Emails, if the PDF is malformed, you can download HTML and override some of the problematic HTML/CSS code. +EMLToPDF.title=Email в PDF +EMLToPDF.header=Email в PDF +EMLToPDF.submit=Преобразовать +EMLToPDF.downloadHtml=Загрузить промежуточный файл HTML вместо PDF +EMLToPDF.downloadHtmlHelp=Это позволит вам просмотреть HTML-версию перед преобразованием в PDF и поможет устранить проблемы с форматированием +EMLToPDF.includeAttachments=Включать вложения в формате PDF +EMLToPDF.maxAttachmentSize=Максимальный размер вложения (MB) +EMLToPDF.help=Преобразует файлы электронной почты (EML) в формат PDF, включая заголовки, основную часть и встроенные изображения +EMLToPDF.troubleshootingTip1=Электронная почта в формате HTML является более надежным процессом, поэтому при пакетной обработке рекомендуется сохранять оба +EMLToPDF.troubleshootingTip2=При небольшом количестве электронных писем, если формат PDF искажен, вы можете загрузить HTML и переопределить часть проблемного HTML/CSS-кода. EMLToPDF.troubleshootingTip3=Embeddings, however, do not work with HTMLs home.MarkdownToPDF.title=Markdown в PDF @@ -761,7 +761,7 @@ home.MarkdownToPDF.desc=Преобразует любой файл Markdown в P MarkdownToPDF.tags=разметка,веб-контент,преобразование,конвертация home.PDFToMarkdown.title=PDF to Markdown -home.PDFToMarkdown.desc=Converts any PDF to Markdown +home.PDFToMarkdown.desc=Преобразует любой PDF-файл в формат Markdown PDFToMarkdown.tags=markup,web-content,transformation,convert,md home.getPdfInfo.title=Получить ВСЮ информацию о PDF @@ -875,7 +875,7 @@ login.userIsDisabled=Пользователь деактивирован, вхо login.alreadyLoggedIn=Вы уже вошли в login.alreadyLoggedIn2=устройств(а). Пожалуйста, выйдите из этих устройств и попробуйте снова. login.toManySessions=У вас слишком много активных сессий -login.logoutMessage=You have been logged out. +login.logoutMessage=Вы вышли из системы. #auto-redact autoRedact.title=Автоматическое редактирование @@ -914,7 +914,7 @@ redact.showAttatchments=Показать вложения redact.showLayers=Показать слои (двойной щелчок для сброса всех слоев к состоянию по умолчанию) redact.colourPicker=Выбор цвета redact.findCurrentOutlineItem=Найти текущий элемент структуры -redact.applyChanges=Apply Changes +redact.applyChanges=Применить изменения #showJS showJS.title=Показать Javascript @@ -942,15 +942,15 @@ getPdfInfo.header=Получить информацию о PDF getPdfInfo.submit=Получить информацию getPdfInfo.downloadJson=Скачать JSON getPdfInfo.summary=PDF Summary -getPdfInfo.summary.encrypted=This PDF is encrypted so may face issues with some applications -getPdfInfo.summary.permissions=This PDF has {0} restricted permissions which may limit what you can do with it -getPdfInfo.summary.compliance=This PDF complies with the {0} standard -getPdfInfo.summary.basicInfo=Basic Information -getPdfInfo.summary.docInfo=Document Information -getPdfInfo.summary.encrypted.alert=Encrypted PDF - This document is password protected -getPdfInfo.summary.not.encrypted.alert=Unencrypted PDF - No password protection -getPdfInfo.summary.permissions.alert=Restricted Permissions - {0} actions are not allowed -getPdfInfo.summary.all.permissions.alert=All Permissions Allowed +getPdfInfo.summary.encrypted=Этот PDF-файл зашифрован, поэтому с некоторыми приложениями могут возникнуть проблемы +getPdfInfo.summary.permissions=Этот PDF-файл имеет {0} ограниченные права доступа, которые могут ограничить то, что вы можете с ним делать +getPdfInfo.summary.compliance=Этот PDF-файл соответствует стандарту {0} +getPdfInfo.summary.basicInfo=Основная информация +getPdfInfo.summary.docInfo=Информация о документе +getPdfInfo.summary.encrypted.alert=Зашифрованный PDF-файл - этот документ защищен паролем +getPdfInfo.summary.not.encrypted.alert=Незашифрованный PDF-файл - без защиты паролем +getPdfInfo.summary.permissions.alert=Права доступа ограничены - {0} действия запрещены +getPdfInfo.summary.all.permissions.alert=Полные права доступа getPdfInfo.summary.compliance.alert={0} Compliant getPdfInfo.summary.no.compliance.alert=No Compliance Standards getPdfInfo.summary.security.section=Security Status @@ -974,9 +974,9 @@ MarkdownToPDF.credit=Использует WeasyPrint #pdf-to-markdown -PDFToMarkdown.title=PDF To Markdown -PDFToMarkdown.header=PDF To Markdown -PDFToMarkdown.submit=Convert +PDFToMarkdown.title=PDF в Markdown +PDFToMarkdown.header=PDF в Markdown +PDFToMarkdown.submit=Преобразовать #url-to-pdf @@ -1030,10 +1030,10 @@ sanitizePDF.title=Очистить PDF sanitizePDF.header=Очистить PDF-файл sanitizePDF.selectText.1=Удалить JavaScript-действия sanitizePDF.selectText.2=Удалить встроенные файлы -sanitizePDF.selectText.3=Remove XMP metadata +sanitizePDF.selectText.3=Удалить XMP метаданные sanitizePDF.selectText.4=Удалить ссылки sanitizePDF.selectText.5=Удалить шрифты -sanitizePDF.selectText.6=Remove Document Info Metadata +sanitizePDF.selectText.6=Удалить метаданные с информацией о документе sanitizePDF.submit=Очистить PDF @@ -1182,8 +1182,8 @@ sign.last=Последняя страница sign.next=Следующая страница sign.previous=Предыдущая страница sign.maintainRatio=Переключить сохранение пропорций -sign.undo=Undo -sign.redo=Redo +sign.undo=Отменить +sign.redo=Повторить #repair repair.title=Восстановление @@ -1254,8 +1254,8 @@ compress.title=Сжать compress.header=Сжать PDF compress.credit=Этот сервис использует qpdf для сжатия/оптимизации PDF. compress.grayscale.label=Применить шкалу серого для сжатия -compress.selectText.1=Compression Settings -compress.selectText.1.1=1-3 PDF compression,
4-6 lite image compression,
7-9 intense image compression Will dramatically reduce image quality +compress.selectText.1=Параметры сжатия +compress.selectText.1.1=1-3 сжатие PDF,
4-6 лёгкое сжатие изображений,
7-9 интенсивное сжатие изображений (значительно снижает качество изображений) compress.selectText.2=Уровень оптимизации: compress.selectText.4=Автоматический режим - автоматически настраивает качество для получения точного размера PDF compress.selectText.5=Ожидаемый размер PDF (например, 25MB, 10.8MB, 25KB) @@ -1270,11 +1270,11 @@ addImage.upload=Добавить изображение addImage.submit=Добавить изображение #attachments -attachments.title=Add Attachments -attachments.header=Add attachments -attachments.description=Allows you to add attachments to the PDF -attachments.descriptionPlaceholder=Enter a description for the attachments... -attachments.addButton=Add Attachments +attachments.title=Добавлять вложения +attachments.header=Добавлять вложения +attachments.description=Позволяет добавлять вложения в PDF-файл +attachments.descriptionPlaceholder=Введите описание для вложений... +attachments.addButton=Добавлять вложения #merge merge.title=Объединить @@ -1282,7 +1282,7 @@ merge.header=Объединение нескольких PDF (2+) merge.sortByName=Сортировать по имени merge.sortByDate=Сортировать по дате merge.removeCertSign=Удалить цифровую подпись в объединенном файле? -merge.generateToc=Generate table of contents in the merged file? +merge.generateToc=Сгенерировать оглавление в объединенном файле? merge.submit=Объединить @@ -1301,7 +1301,7 @@ pdfOrganiser.mode.7=Удалить первую pdfOrganiser.mode.8=Удалить последнюю pdfOrganiser.mode.9=Удалить первую и последнюю pdfOrganiser.mode.10=Объединение четных-нечетных -pdfOrganiser.mode.11=Duplicate all pages +pdfOrganiser.mode.11=Дублировать все страницы pdfOrganiser.placeholder=(например, 1,3,2 или 4-8,2,10-12 или 2n-1) @@ -1344,7 +1344,7 @@ decrypt.success=Файл успешно расшифрован. multiTool-advert.message=Эта функция также доступна на нашей странице мультиинструмента. Попробуйте её для улучшенного постраничного интерфейса и дополнительных возможностей! #view pdf -viewPdf.title=View/Edit PDF +viewPdf.title=Смотреть/Редактировать PDF viewPdf.header=Просмотр PDF #pageRemover @@ -1492,9 +1492,9 @@ changeMetadata.selectText.5=Добавить пользовательскую з changeMetadata.submit=Изменить #unlockPDFForms -unlockPDFForms.title=Remove Read-Only from Form Fields -unlockPDFForms.header=Unlock PDF Forms -unlockPDFForms.submit=Remove +unlockPDFForms.title=Удалить поля формы, доступные только для чтения +unlockPDFForms.header=Разблокировать PDF-формы +unlockPDFForms.submit=Удалить #pdfToPDFA pdfToPDFA.title=PDF в PDF/A @@ -1724,12 +1724,12 @@ audit.dashboard.tab.dashboard=Dashboard audit.dashboard.tab.events=Audit Events audit.dashboard.tab.export=Export # Dashboard Charts -audit.dashboard.eventsByType=Events by Type -audit.dashboard.eventsByUser=Events by User -audit.dashboard.eventsOverTime=Events Over Time -audit.dashboard.period.7days=7 Days -audit.dashboard.period.30days=30 Days -audit.dashboard.period.90days=90 Days +audit.dashboard.eventsByType=События по типу +audit.dashboard.eventsByUser=События по пользователю +audit.dashboard.eventsOverTime=События за всё время +audit.dashboard.period.7days=7 дней +audit.dashboard.period.30days=30 дней +audit.dashboard.period.90days=90 дней # Events Tab audit.dashboard.auditEvents=Audit Events @@ -1812,49 +1812,49 @@ cookieBanner.preferencesModal.analytics.title=Analytics cookieBanner.preferencesModal.analytics.description=These cookies help us understand how our tools are being used, so we can focus on building the features our community values most. Rest assured—Stirling PDF cannot and will never track the content of the documents you work with. #fakeScan -fakeScan.title=Fake Scan -fakeScan.header=Fake Scan -fakeScan.description=Create a PDF that looks like it was scanned -fakeScan.selectPDF=Select PDF: -fakeScan.quality=Scan Quality -fakeScan.quality.low=Low -fakeScan.quality.medium=Medium -fakeScan.quality.high=High -fakeScan.rotation=Rotation Angle -fakeScan.rotation.none=None -fakeScan.rotation.slight=Slight -fakeScan.rotation.moderate=Moderate -fakeScan.rotation.severe=Severe -fakeScan.submit=Create Fake Scan +fakeScan.title=Поддельное сканирование +fakeScan.header=Поддельное сканирование +fakeScan.description=Создайте PDF-файл, который выглядит так, как будто он был отсканирован +fakeScan.selectPDF=Выбрать PDF: +fakeScan.quality=Качество сканирования +fakeScan.quality.low=Низкое +fakeScan.quality.medium=Среднее +fakeScan.quality.high=Хорошее +fakeScan.rotation=Угол поворота +fakeScan.rotation.none=Нет +fakeScan.rotation.slight=Незначительный +fakeScan.rotation.moderate=Умеренный +fakeScan.rotation.severe=Сильный +fakeScan.submit=Создать поддельное сканирование #home.fakeScan -home.fakeScan.title=Fake Scan -home.fakeScan.desc=Create a PDF that looks like it was scanned +home.fakeScan.title=Поддельное сканирование +home.fakeScan.desc=Создайте PDF-файл, который выглядит так, как будто он был отсканирован fakeScan.tags=scan,simulate,realistic,convert # FakeScan advanced settings (frontend) -fakeScan.advancedSettings=Enable Advanced Scan Settings -fakeScan.colorspace=Colorspace -fakeScan.colorspace.grayscale=Grayscale -fakeScan.colorspace.color=Color -fakeScan.border=Border (px) -fakeScan.rotate=Base Rotation (degrees) -fakeScan.rotateVariance=Rotation Variance (degrees) -fakeScan.brightness=Brightness -fakeScan.contrast=Contrast -fakeScan.blur=Blur -fakeScan.noise=Noise -fakeScan.yellowish=Yellowish (simulate old paper) -fakeScan.resolution=Resolution (DPI) +fakeScan.advancedSettings=Включите расширенные параметры сканирования +fakeScan.colorspace=Цветовое пространство +fakeScan.colorspace.grayscale=Оттенки серого +fakeScan.colorspace.color=Цветное +fakeScan.border=Рамка (px) +fakeScan.rotate=Базовый наклон (degrees) +fakeScan.rotateVariance=Скорость вращения (degrees) +fakeScan.brightness=Яркость +fakeScan.contrast=Контраст +fakeScan.blur=Размытие +fakeScan.noise=Шум +fakeScan.yellowish=Желтоватый оттенок (имитация старой бумаги) +fakeScan.resolution=Разрешение (DPI) # Table of Contents Feature -home.editTableOfContents.title=Edit Table of Contents -home.editTableOfContents.desc=Add or edit bookmarks and table of contents in PDF documents +home.editTableOfContents.title=Редактировать оглавление +home.editTableOfContents.desc=Добавление или редактирование закладок и оглавления в PDF-документах editTableOfContents.tags=bookmarks,toc,navigation,index,table of contents,chapters,sections,outline -editTableOfContents.title=Edit Table of Contents -editTableOfContents.header=Add or Edit PDF Table of Contents +editTableOfContents.title=Редактировать оглавление +editTableOfContents.header=Добавление или редактирование закладок и оглавления в PDF-документах editTableOfContents.replaceExisting=Replace existing bookmarks (uncheck to append to existing) editTableOfContents.editorTitle=Bookmark Editor editTableOfContents.editorDesc=Add and arrange bookmarks below. Click + to add child bookmarks. diff --git a/stirling-pdf/src/main/resources/messages_sk_SK.properties b/app/core/src/main/resources/messages_sk_SK.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_sk_SK.properties rename to app/core/src/main/resources/messages_sk_SK.properties diff --git a/stirling-pdf/src/main/resources/messages_sl_SI.properties b/app/core/src/main/resources/messages_sl_SI.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_sl_SI.properties rename to app/core/src/main/resources/messages_sl_SI.properties diff --git a/stirling-pdf/src/main/resources/messages_sr_LATN_RS.properties b/app/core/src/main/resources/messages_sr_LATN_RS.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_sr_LATN_RS.properties rename to app/core/src/main/resources/messages_sr_LATN_RS.properties diff --git a/stirling-pdf/src/main/resources/messages_sv_SE.properties b/app/core/src/main/resources/messages_sv_SE.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_sv_SE.properties rename to app/core/src/main/resources/messages_sv_SE.properties diff --git a/stirling-pdf/src/main/resources/messages_th_TH.properties b/app/core/src/main/resources/messages_th_TH.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_th_TH.properties rename to app/core/src/main/resources/messages_th_TH.properties diff --git a/stirling-pdf/src/main/resources/messages_tr_TR.properties b/app/core/src/main/resources/messages_tr_TR.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_tr_TR.properties rename to app/core/src/main/resources/messages_tr_TR.properties diff --git a/stirling-pdf/src/main/resources/messages_uk_UA.properties b/app/core/src/main/resources/messages_uk_UA.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_uk_UA.properties rename to app/core/src/main/resources/messages_uk_UA.properties diff --git a/stirling-pdf/src/main/resources/messages_vi_VN.properties b/app/core/src/main/resources/messages_vi_VN.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_vi_VN.properties rename to app/core/src/main/resources/messages_vi_VN.properties diff --git a/stirling-pdf/src/main/resources/messages_zh_CN.properties b/app/core/src/main/resources/messages_zh_CN.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_zh_CN.properties rename to app/core/src/main/resources/messages_zh_CN.properties diff --git a/stirling-pdf/src/main/resources/messages_zh_TW.properties b/app/core/src/main/resources/messages_zh_TW.properties similarity index 100% rename from stirling-pdf/src/main/resources/messages_zh_TW.properties rename to app/core/src/main/resources/messages_zh_TW.properties diff --git a/stirling-pdf/src/main/resources/settings.yml.template b/app/core/src/main/resources/settings.yml.template similarity index 97% rename from stirling-pdf/src/main/resources/settings.yml.template rename to app/core/src/main/resources/settings.yml.template index 96701af3b..a26f256f7 100644 --- a/stirling-pdf/src/main/resources/settings.yml.template +++ b/app/core/src/main/resources/settings.yml.template @@ -119,15 +119,15 @@ system: name: postgres # set the name of your database. Should match the name of the database you create customPaths: pipeline: - watchedFoldersDir: '' #Defaults to /pipeline/watchedFolders - finishedFoldersDir: '' #Defaults to /pipeline/finishedFolders + watchedFoldersDir: '' # Defaults to /pipeline/watchedFolders + finishedFoldersDir: '' # Defaults to /pipeline/finishedFolders operations: - weasyprint: '' #Defaults to /opt/venv/bin/weasyprint - unoconvert: '' #Defaults to /opt/venv/bin/unoconvert + weasyprint: '' # Defaults to /opt/venv/bin/weasyprint + unoconvert: '' # Defaults to /opt/venv/bin/unoconvert fileUploadLimit: '' # Defaults to "". No limit when string is empty. Set a number, between 0 and 999, followed by one of the following strings to set a limit. "KB", "MB", "GB". tempFileManagement: baseTmpDir: '' # Defaults to java.io.tmpdir/stirling-pdf - libreofficeDir: '' # Defaults to tempFileManagement.baseTmpDir/libreoffice + libreofficeDir: '' # Defaults to tempFileManagement.baseTmpDir/libreoffice systemTempDir: '' # Only used if cleanupSystemTemp is true prefix: stirling-pdf- # Prefix for temp file names maxAgeHours: 24 # Maximum age in hours before temp files are cleaned up diff --git a/stirling-pdf/src/main/resources/static/3rdPartyLicenses.json b/app/core/src/main/resources/static/3rdPartyLicenses.json similarity index 96% rename from stirling-pdf/src/main/resources/static/3rdPartyLicenses.json rename to app/core/src/main/resources/static/3rdPartyLicenses.json index a7d899263..440cdb265 100644 --- a/stirling-pdf/src/main/resources/static/3rdPartyLicenses.json +++ b/app/core/src/main/resources/static/3rdPartyLicenses.json @@ -165,12 +165,6 @@ "moduleLicense": "Apache-2.0", "moduleLicenseUrl": "https://www.apache.org/licenses/LICENSE-2.0.txt" }, - { - "moduleName": "com.google.errorprone:error_prone_annotations", - "moduleVersion": "2.11.0", - "moduleLicense": "Apache 2.0", - "moduleLicenseUrl": "http://www.apache.org/licenses/LICENSE-2.0.txt" - }, { "moduleName": "com.google.errorprone:error_prone_annotations", "moduleUrl": "https://errorprone.info/error_prone_annotations", @@ -639,13 +633,6 @@ "moduleLicense": "Apache License, Version 2.0", "moduleLicenseUrl": "https://www.apache.org/licenses/LICENSE-2.0.txt" }, - { - "moduleName": "io.swagger.core.v3:swagger-annotations-jakarta", - "moduleUrl": "https://github.com/swagger-api/swagger-core/modules/swagger-annotations", - "moduleVersion": "2.2.30", - "moduleLicense": "Apache License, Version 2.0", - "moduleLicenseUrl": "https://www.apache.org/licenses/LICENSE-2.0" - }, { "moduleName": "io.swagger.core.v3:swagger-annotations-jakarta", "moduleUrl": "https://github.com/swagger-api/swagger-core/modules/swagger-annotations", @@ -653,13 +640,6 @@ "moduleLicense": "Apache License, Version 2.0", "moduleLicenseUrl": "https://www.apache.org/licenses/LICENSE-2.0" }, - { - "moduleName": "io.swagger.core.v3:swagger-core-jakarta", - "moduleUrl": "https://github.com/swagger-api/swagger-core/modules/swagger-core", - "moduleVersion": "2.2.30", - "moduleLicense": "Apache License, Version 2.0", - "moduleLicenseUrl": "https://www.apache.org/licenses/LICENSE-2.0" - }, { "moduleName": "io.swagger.core.v3:swagger-core-jakarta", "moduleUrl": "https://github.com/swagger-api/swagger-core/modules/swagger-core", @@ -667,13 +647,6 @@ "moduleLicense": "Apache License, Version 2.0", "moduleLicenseUrl": "https://www.apache.org/licenses/LICENSE-2.0" }, - { - "moduleName": "io.swagger.core.v3:swagger-models-jakarta", - "moduleUrl": "https://github.com/swagger-api/swagger-core/modules/swagger-models", - "moduleVersion": "2.2.30", - "moduleLicense": "Apache License, Version 2.0", - "moduleLicenseUrl": "https://www.apache.org/licenses/LICENSE-2.0" - }, { "moduleName": "io.swagger.core.v3:swagger-models-jakarta", "moduleUrl": "https://github.com/swagger-api/swagger-core/modules/swagger-models", @@ -744,13 +717,6 @@ "moduleLicense": "GPL2 w/ CPE", "moduleLicenseUrl": "https://www.gnu.org/software/classpath/license.html" }, - { - "moduleName": "jakarta.servlet:jakarta.servlet-api", - "moduleUrl": "https://www.eclipse.org", - "moduleVersion": "6.1.0", - "moduleLicense": "GPL2 w/ CPE", - "moduleLicenseUrl": "https://www.gnu.org/software/classpath/license.html" - }, { "moduleName": "jakarta.transaction:jakarta.transaction-api", "moduleUrl": "https://projects.eclipse.org/projects/ee4j.jta", @@ -889,13 +855,6 @@ "moduleLicense": "Apache-2.0", "moduleLicenseUrl": "https://www.apache.org/licenses/LICENSE-2.0.txt" }, - { - "moduleName": "org.apache.commons:commons-text", - "moduleUrl": "https://commons.apache.org/proper/commons-text", - "moduleVersion": "1.10.0", - "moduleLicense": "Apache License, Version 2.0", - "moduleLicenseUrl": "https://www.apache.org/licenses/LICENSE-2.0.txt" - }, { "moduleName": "org.apache.commons:commons-text", "moduleUrl": "https://commons.apache.org/proper/commons-text", @@ -1018,13 +977,6 @@ "moduleLicense": "The Apache Software License, Version 2.0", "moduleLicenseUrl": "https://www.apache.org/licenses/LICENSE-2.0.txt" }, - { - "moduleName": "org.bouncycastle:bcpkix-jdk18on", - "moduleUrl": "https://www.bouncycastle.org/java.html", - "moduleVersion": "1.72", - "moduleLicense": "Bouncy Castle Licence", - "moduleLicenseUrl": "https://www.bouncycastle.org/licence.html" - }, { "moduleName": "org.bouncycastle:bcpkix-jdk18on", "moduleUrl": "https://www.bouncycastle.org/download/bouncy-castle-java/", @@ -1039,13 +991,6 @@ "moduleLicense": "Bouncy Castle Licence", "moduleLicenseUrl": "https://www.bouncycastle.org/licence.html" }, - { - "moduleName": "org.bouncycastle:bcutil-jdk18on", - "moduleUrl": "https://www.bouncycastle.org/java.html", - "moduleVersion": "1.72", - "moduleLicense": "Bouncy Castle Licence", - "moduleLicenseUrl": "https://www.bouncycastle.org/licence.html" - }, { "moduleName": "org.bouncycastle:bcutil-jdk18on", "moduleUrl": "https://www.bouncycastle.org/download/bouncy-castle-java/", @@ -1562,13 +1507,6 @@ "moduleLicense": "Apache License, Version 2.0", "moduleLicenseUrl": "https://www.apache.org/licenses/LICENSE-2.0" }, - { - "moduleName": "org.springframework.boot:spring-boot-devtools", - "moduleUrl": "https://spring.io/projects/spring-boot", - "moduleVersion": "3.5.3", - "moduleLicense": "Apache License, Version 2.0", - "moduleLicenseUrl": "https://www.apache.org/licenses/LICENSE-2.0" - }, { "moduleName": "org.springframework.boot:spring-boot-starter", "moduleUrl": "https://spring.io/projects/spring-boot", diff --git a/stirling-pdf/src/main/resources/static/android-chrome-192x192.png b/app/core/src/main/resources/static/android-chrome-192x192.png similarity index 100% rename from stirling-pdf/src/main/resources/static/android-chrome-192x192.png rename to app/core/src/main/resources/static/android-chrome-192x192.png diff --git a/stirling-pdf/src/main/resources/static/android-chrome-512x512.png b/app/core/src/main/resources/static/android-chrome-512x512.png similarity index 100% rename from stirling-pdf/src/main/resources/static/android-chrome-512x512.png rename to app/core/src/main/resources/static/android-chrome-512x512.png diff --git a/stirling-pdf/src/main/resources/static/apple-touch-icon.png b/app/core/src/main/resources/static/apple-touch-icon.png similarity index 100% rename from stirling-pdf/src/main/resources/static/apple-touch-icon.png rename to app/core/src/main/resources/static/apple-touch-icon.png diff --git a/stirling-pdf/src/main/resources/static/browserconfig.xml b/app/core/src/main/resources/static/browserconfig.xml similarity index 100% rename from stirling-pdf/src/main/resources/static/browserconfig.xml rename to app/core/src/main/resources/static/browserconfig.xml diff --git a/stirling-pdf/src/main/resources/static/css/account.css b/app/core/src/main/resources/static/css/account.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/account.css rename to app/core/src/main/resources/static/css/account.css diff --git a/stirling-pdf/src/main/resources/static/css/add-image.css b/app/core/src/main/resources/static/css/add-image.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/add-image.css rename to app/core/src/main/resources/static/css/add-image.css diff --git a/stirling-pdf/src/main/resources/static/css/bootstrap-icons.css b/app/core/src/main/resources/static/css/bootstrap-icons.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/bootstrap-icons.css rename to app/core/src/main/resources/static/css/bootstrap-icons.css diff --git a/stirling-pdf/src/main/resources/static/css/bootstrap-icons.min.css b/app/core/src/main/resources/static/css/bootstrap-icons.min.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/bootstrap-icons.min.css rename to app/core/src/main/resources/static/css/bootstrap-icons.min.css diff --git a/stirling-pdf/src/main/resources/static/css/bootstrap.min.css b/app/core/src/main/resources/static/css/bootstrap.min.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/bootstrap.min.css rename to app/core/src/main/resources/static/css/bootstrap.min.css diff --git a/stirling-pdf/src/main/resources/static/css/bootstrap.min.css.map b/app/core/src/main/resources/static/css/bootstrap.min.css.map similarity index 100% rename from stirling-pdf/src/main/resources/static/css/bootstrap.min.css.map rename to app/core/src/main/resources/static/css/bootstrap.min.css.map diff --git a/stirling-pdf/src/main/resources/static/css/cookieconsent.css b/app/core/src/main/resources/static/css/cookieconsent.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/cookieconsent.css rename to app/core/src/main/resources/static/css/cookieconsent.css diff --git a/stirling-pdf/src/main/resources/static/css/cookieconsentCustomisation.css b/app/core/src/main/resources/static/css/cookieconsentCustomisation.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/cookieconsentCustomisation.css rename to app/core/src/main/resources/static/css/cookieconsentCustomisation.css diff --git a/stirling-pdf/src/main/resources/static/css/dragdrop.css b/app/core/src/main/resources/static/css/dragdrop.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/dragdrop.css rename to app/core/src/main/resources/static/css/dragdrop.css diff --git a/stirling-pdf/src/main/resources/static/css/edit-table-of-contents.css b/app/core/src/main/resources/static/css/edit-table-of-contents.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/edit-table-of-contents.css rename to app/core/src/main/resources/static/css/edit-table-of-contents.css diff --git a/stirling-pdf/src/main/resources/static/css/error.css b/app/core/src/main/resources/static/css/error.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/error.css rename to app/core/src/main/resources/static/css/error.css diff --git a/stirling-pdf/src/main/resources/static/css/errorBanner.css b/app/core/src/main/resources/static/css/errorBanner.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/errorBanner.css rename to app/core/src/main/resources/static/css/errorBanner.css diff --git a/stirling-pdf/src/main/resources/static/css/fileSelect.css b/app/core/src/main/resources/static/css/fileSelect.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/fileSelect.css rename to app/core/src/main/resources/static/css/fileSelect.css diff --git a/stirling-pdf/src/main/resources/static/css/fonts/bootstrap-icons.woff b/app/core/src/main/resources/static/css/fonts/bootstrap-icons.woff similarity index 100% rename from stirling-pdf/src/main/resources/static/css/fonts/bootstrap-icons.woff rename to app/core/src/main/resources/static/css/fonts/bootstrap-icons.woff diff --git a/stirling-pdf/src/main/resources/static/css/fonts/bootstrap-icons.woff2 b/app/core/src/main/resources/static/css/fonts/bootstrap-icons.woff2 similarity index 100% rename from stirling-pdf/src/main/resources/static/css/fonts/bootstrap-icons.woff2 rename to app/core/src/main/resources/static/css/fonts/bootstrap-icons.woff2 diff --git a/stirling-pdf/src/main/resources/static/css/footer.css b/app/core/src/main/resources/static/css/footer.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/footer.css rename to app/core/src/main/resources/static/css/footer.css diff --git a/stirling-pdf/src/main/resources/static/css/game.css b/app/core/src/main/resources/static/css/game.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/game.css rename to app/core/src/main/resources/static/css/game.css diff --git a/stirling-pdf/src/main/resources/static/css/general.css b/app/core/src/main/resources/static/css/general.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/general.css rename to app/core/src/main/resources/static/css/general.css diff --git a/stirling-pdf/src/main/resources/static/css/home-legacy.css b/app/core/src/main/resources/static/css/home-legacy.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/home-legacy.css rename to app/core/src/main/resources/static/css/home-legacy.css diff --git a/stirling-pdf/src/main/resources/static/css/home.css b/app/core/src/main/resources/static/css/home.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/home.css rename to app/core/src/main/resources/static/css/home.css diff --git a/stirling-pdf/src/main/resources/static/css/imageHighlighter.css b/app/core/src/main/resources/static/css/imageHighlighter.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/imageHighlighter.css rename to app/core/src/main/resources/static/css/imageHighlighter.css diff --git a/stirling-pdf/src/main/resources/static/css/licenses.css b/app/core/src/main/resources/static/css/licenses.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/licenses.css rename to app/core/src/main/resources/static/css/licenses.css diff --git a/stirling-pdf/src/main/resources/static/css/login.css b/app/core/src/main/resources/static/css/login.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/login.css rename to app/core/src/main/resources/static/css/login.css diff --git a/stirling-pdf/src/main/resources/static/css/merge.css b/app/core/src/main/resources/static/css/merge.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/merge.css rename to app/core/src/main/resources/static/css/merge.css diff --git a/stirling-pdf/src/main/resources/static/css/multi-tool.css b/app/core/src/main/resources/static/css/multi-tool.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/multi-tool.css rename to app/core/src/main/resources/static/css/multi-tool.css diff --git a/stirling-pdf/src/main/resources/static/css/navbar.css b/app/core/src/main/resources/static/css/navbar.css similarity index 76% rename from stirling-pdf/src/main/resources/static/css/navbar.css rename to app/core/src/main/resources/static/css/navbar.css index cf5bba667..047957b6d 100644 --- a/stirling-pdf/src/main/resources/static/css/navbar.css +++ b/app/core/src/main/resources/static/css/navbar.css @@ -159,41 +159,36 @@ .scalable-languages-container { display: grid; - /* Auto-fill columns, with a minimum width of 180px */ - grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); + grid-template-columns: repeat(1, 1fr); +} + +@media (min-width: 400px) { + #languageSelection.scalable-languages-container { + grid-template-columns: repeat(2, 1fr); + } +} +@media (min-width: 600px) { + #languageSelection.scalable-languages-container { + grid-template-columns: repeat(3, 1fr); + } +} +@media (min-width: 900px) { + #languageSelection.scalable-languages-container { + grid-template-columns: repeat(4, 1fr) !important; + } } .scalable-languages-container:not(:has(> :nth-child(4))) .lang-dropdown-item-wrapper:last-child { border: 0px !important } -.scalable-languages-container:has(> *:nth-child(1)) { - --count: 1; +html[dir="ltr"] #languageSelection .lang-dropdown-item-wrapper:last-child { + border-right: none !important; } -.scalable-languages-container:has(> *:nth-child(2)) { - --count: 2; +#languageSelection .lang-dropdown-item-wrapper:last-child { + border: 0px !important; } - -.scalable-languages-container:has(> *:nth-child(3)) { - --count: 3; -} - -html[dir="ltr"] .lang-dropdown-item-wrapper { - border-right: 2px solid var(--md-nav-color-on-separator); -} - -html[dir="rtl"] .lang-dropdown-item-wrapper { - border-left: 2px solid var(--md-nav-color-on-separator); -} - -/* Responsive adjustments */ -@media (min-width: 1200px) { - .lang-dropdown-item-wrapper .dropdown-item { - min-width: 200px - } -} - @media (max-width: 600px) { .scalable-languages-container { grid-template-columns: repeat(2, 1fr); @@ -236,6 +231,41 @@ html[dir="rtl"] .lang-dropdown-item-wrapper { } } +.scalable-languages-container:has(> *:nth-child(1)) { + --count: 1; +} + +.scalable-languages-container:has(> *:nth-child(2)) { + --count: 2; +} + +.scalable-languages-container:has(> *:nth-child(3)) { + --count: 3; +} + +html[dir="ltr"] .lang-dropdown-item-wrapper { + border-right: 2px solid var(--md-nav-color-on-separator); +} + +html[dir="rtl"] .lang-dropdown-item-wrapper { + border-left: 2px solid var(--md-nav-color-on-separator); +} + +/* Responsive adjustments */ +@media (min-width: 1200px) { + .lang-dropdown-item-wrapper .dropdown-item { + min-width: 200px +} + +.scroll-lock-y { + overflow-y: auto; + max-height: 80vh; + overscroll-behavior-y: contain; + -webkit-overflow-scrolling: touch; +} +} + + .dropdown-item .icon-text { text-wrap: wrap; word-break: break-word; @@ -290,6 +320,21 @@ span.icon-text::after { color: var(--md-sys-color-on-surface-variant); } +.nav-link { + display: flex; + align-items: center; + max-width: 98vw; +} + +.chevron-icon { + margin-left: auto; + transition: transform 0.3s ease; +} + +[aria-expanded="true"] > .chevron-icon { + transform: rotate(180deg); +} + .nav-item { position: relative; } @@ -473,6 +518,7 @@ html[dir="rtl"] .dropdown-menu { box-shadow: var(--md-sys-elevation-2); } + .dropdown-menu-tp { color: transparent; background-color: transparent; @@ -484,27 +530,119 @@ html[dir="rtl"] .dropdown-menu { display: inline-flex; } -@media (min-width:992px) { +@media (max-width:1199.98px) { + .navbar-collapse .dropdown-menu { + width: 100%; + } + .navbar-collapse .dropdown-menu-wrapper { + width: 100%; + box-sizing: border-box; + } + .navbar-collapse .dropdown-mw-28 { + min-width: 0; + } +} + +@media (min-width:1200px) { + /* This CSS-based hover is disabled because it conflicts with Bootstrap's JavaScript. + Hover functionality is now handled in navbar.js and search.js */ + /* .dropdown:hover .dropdown-menu { display: block; margin-top: 0; } + */ - /* .icon-hide { - display: none; - } */ -} - -@media (max-width:1199px) { - .icon-hide { - display: inline-flex; - } -} - -@media (min-width:1200px) { .icon-hide { display: none; } + .chevron-icon { + display: none !important; + } +} + +@media (max-width: 1199.98px) { + .navbar-collapse .dropdown-menu { + width: 100vw !important; + max-width: 100vw !important; + left: 0 !important; + right: 0 !important; + transform: none !important; + transform-origin: none !important; + } + + .navbar .navbar-expand-xl .dropdown-menu, + .navbar-expand .dropdown-menu { + transform: none !important; + transform-origin: none !important; + left: 0 !important; + right: 0 !important; + } + + .navbar-collapse .dropdown-mega .dropdown-menu { + max-height: 60vh; + overflow-y: auto; + } + .navbar-collapse .dropdown-mega .dropdown-menu-wrapper { + border-radius: 0; + } + + #favoritesDropdown, + #languageDropdown + .dropdown-menu .dropdown-menu-wrapper, + #searchDropdown + .dropdown-menu .dropdown-menu-wrapper { + padding: 1.5rem 1rem; + } + + #favoritesDropdown, #languageSelection, #searchResults { + width: 100%; + box-sizing: border-box; + } + + .navbar-collapse .dropdown-menu-wrapper { + width: 95vw; + box-sizing: border-box; + margin-left: 0 !important; + padding: 0 !important; + } + .navbar-collapse .dropdown-mw-28 { + min-width: 0; + } + .icon-hide { + display: inline-flex; + } + + .navbar-collapse .dropdown-item { + margin-left: 0 !important; + } + + .container { + margin-left: auto !important; + margin-right: auto !important; + padding-left: 4px !important; + } + + #mainNavbarDropdownMenu { + transform: none !important; + transform-origin: none !important; + left: 0 !important; + right: 0 !important; + width: 100vw !important; + margin-bottom: 0 !important; + } + + .dropdown-menu, + .dropdown-menu-tp, + .dropdown-menu-tp.show { + transform: none !important; + transform-origin: none !important; + max-width: 95vw !important; + width: 100vw !important; + left: 0 !important; + right: 0 !important; + margin-bottom: 0 !important; + } + + } .go-pro-link { @@ -558,6 +696,12 @@ html[dir="rtl"] .dropdown-menu { box-sizing: border-box; } +@media (max-width: 768px) { + .feature-group { + min-width: 10rem; + } +} + .feature-rows { display: flex; flex-wrap: wrap; diff --git a/stirling-pdf/src/main/resources/static/css/pdfActions.css b/app/core/src/main/resources/static/css/pdfActions.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/pdfActions.css rename to app/core/src/main/resources/static/css/pdfActions.css diff --git a/stirling-pdf/src/main/resources/static/css/pipeline.css b/app/core/src/main/resources/static/css/pipeline.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/pipeline.css rename to app/core/src/main/resources/static/css/pipeline.css diff --git a/stirling-pdf/src/main/resources/static/css/prism.css b/app/core/src/main/resources/static/css/prism.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/prism.css rename to app/core/src/main/resources/static/css/prism.css diff --git a/stirling-pdf/src/main/resources/static/css/rainbow-mode.css b/app/core/src/main/resources/static/css/rainbow-mode.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/rainbow-mode.css rename to app/core/src/main/resources/static/css/rainbow-mode.css diff --git a/stirling-pdf/src/main/resources/static/css/redact.css b/app/core/src/main/resources/static/css/redact.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/redact.css rename to app/core/src/main/resources/static/css/redact.css diff --git a/stirling-pdf/src/main/resources/static/css/removeImage.css b/app/core/src/main/resources/static/css/removeImage.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/removeImage.css rename to app/core/src/main/resources/static/css/removeImage.css diff --git a/stirling-pdf/src/main/resources/static/css/rotate-pdf.css b/app/core/src/main/resources/static/css/rotate-pdf.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/rotate-pdf.css rename to app/core/src/main/resources/static/css/rotate-pdf.css diff --git a/stirling-pdf/src/main/resources/static/css/sign.css b/app/core/src/main/resources/static/css/sign.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/sign.css rename to app/core/src/main/resources/static/css/sign.css diff --git a/stirling-pdf/src/main/resources/static/css/split-pdf-by-sections.css b/app/core/src/main/resources/static/css/split-pdf-by-sections.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/split-pdf-by-sections.css rename to app/core/src/main/resources/static/css/split-pdf-by-sections.css diff --git a/stirling-pdf/src/main/resources/static/css/stamp.css b/app/core/src/main/resources/static/css/stamp.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/stamp.css rename to app/core/src/main/resources/static/css/stamp.css diff --git a/stirling-pdf/src/main/resources/static/css/tab-container.css b/app/core/src/main/resources/static/css/tab-container.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/tab-container.css rename to app/core/src/main/resources/static/css/tab-container.css diff --git a/stirling-pdf/src/main/resources/static/css/theme/componentes.css b/app/core/src/main/resources/static/css/theme/componentes.css similarity index 99% rename from stirling-pdf/src/main/resources/static/css/theme/componentes.css rename to app/core/src/main/resources/static/css/theme/componentes.css index c10806ff7..a113015eb 100644 --- a/stirling-pdf/src/main/resources/static/css/theme/componentes.css +++ b/app/core/src/main/resources/static/css/theme/componentes.css @@ -40,7 +40,7 @@ textarea { } *::-webkit-scrollbar-corner { - background-color: var(--md-sys-color-surface); + background-color: var(--md-sys-color-surface); } /* Alerts */ @@ -66,6 +66,9 @@ td { background-color: var(--md-sys-color-surface-5); border-radius: 3rem; padding: 2.5rem; + + max-width: 95vw; + margin-left: 2vw; } .card { diff --git a/stirling-pdf/src/main/resources/static/css/theme/font.css b/app/core/src/main/resources/static/css/theme/font.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/theme/font.css rename to app/core/src/main/resources/static/css/theme/font.css diff --git a/stirling-pdf/src/main/resources/static/css/theme/theme.css b/app/core/src/main/resources/static/css/theme/theme.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/theme/theme.css rename to app/core/src/main/resources/static/css/theme/theme.css diff --git a/stirling-pdf/src/main/resources/static/css/theme/theme.dark.css b/app/core/src/main/resources/static/css/theme/theme.dark.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/theme/theme.dark.css rename to app/core/src/main/resources/static/css/theme/theme.dark.css diff --git a/stirling-pdf/src/main/resources/static/css/theme/theme.light.css b/app/core/src/main/resources/static/css/theme/theme.light.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/theme/theme.light.css rename to app/core/src/main/resources/static/css/theme/theme.light.css diff --git a/stirling-pdf/src/main/resources/static/css/usage.css b/app/core/src/main/resources/static/css/usage.css similarity index 100% rename from stirling-pdf/src/main/resources/static/css/usage.css rename to app/core/src/main/resources/static/css/usage.css diff --git a/stirling-pdf/src/main/resources/static/favicon-16x16.png b/app/core/src/main/resources/static/favicon-16x16.png similarity index 100% rename from stirling-pdf/src/main/resources/static/favicon-16x16.png rename to app/core/src/main/resources/static/favicon-16x16.png diff --git a/stirling-pdf/src/main/resources/static/favicon-32x32.png b/app/core/src/main/resources/static/favicon-32x32.png similarity index 100% rename from stirling-pdf/src/main/resources/static/favicon-32x32.png rename to app/core/src/main/resources/static/favicon-32x32.png diff --git a/stirling-pdf/src/main/resources/static/favicon.icns b/app/core/src/main/resources/static/favicon.icns similarity index 100% rename from stirling-pdf/src/main/resources/static/favicon.icns rename to app/core/src/main/resources/static/favicon.icns diff --git a/stirling-pdf/src/main/resources/static/favicon.ico b/app/core/src/main/resources/static/favicon.ico similarity index 100% rename from stirling-pdf/src/main/resources/static/favicon.ico rename to app/core/src/main/resources/static/favicon.ico diff --git a/stirling-pdf/src/main/resources/static/favicon.png b/app/core/src/main/resources/static/favicon.png similarity index 100% rename from stirling-pdf/src/main/resources/static/favicon.png rename to app/core/src/main/resources/static/favicon.png diff --git a/stirling-pdf/src/main/resources/static/favicon.svg b/app/core/src/main/resources/static/favicon.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/favicon.svg rename to app/core/src/main/resources/static/favicon.svg diff --git a/stirling-pdf/src/main/resources/static/files/Auto Splitter Divider (with instructions).pdf b/app/core/src/main/resources/static/files/Auto Splitter Divider (with instructions).pdf similarity index 100% rename from stirling-pdf/src/main/resources/static/files/Auto Splitter Divider (with instructions).pdf rename to app/core/src/main/resources/static/files/Auto Splitter Divider (with instructions).pdf diff --git a/stirling-pdf/src/main/resources/static/files/popularity.txt b/app/core/src/main/resources/static/files/popularity.txt similarity index 100% rename from stirling-pdf/src/main/resources/static/files/popularity.txt rename to app/core/src/main/resources/static/files/popularity.txt diff --git a/stirling-pdf/src/main/resources/static/fonts/Arimo-Regular.woff2 b/app/core/src/main/resources/static/fonts/Arimo-Regular.woff2 similarity index 100% rename from stirling-pdf/src/main/resources/static/fonts/Arimo-Regular.woff2 rename to app/core/src/main/resources/static/fonts/Arimo-Regular.woff2 diff --git a/stirling-pdf/src/main/resources/static/fonts/DancingScript-Regular.woff2 b/app/core/src/main/resources/static/fonts/DancingScript-Regular.woff2 similarity index 100% rename from stirling-pdf/src/main/resources/static/fonts/DancingScript-Regular.woff2 rename to app/core/src/main/resources/static/fonts/DancingScript-Regular.woff2 diff --git a/stirling-pdf/src/main/resources/static/fonts/Estonia.woff2 b/app/core/src/main/resources/static/fonts/Estonia.woff2 similarity index 100% rename from stirling-pdf/src/main/resources/static/fonts/Estonia.woff2 rename to app/core/src/main/resources/static/fonts/Estonia.woff2 diff --git a/stirling-pdf/src/main/resources/static/fonts/IndieFlower-Regular.woff2 b/app/core/src/main/resources/static/fonts/IndieFlower-Regular.woff2 similarity index 100% rename from stirling-pdf/src/main/resources/static/fonts/IndieFlower-Regular.woff2 rename to app/core/src/main/resources/static/fonts/IndieFlower-Regular.woff2 diff --git a/stirling-pdf/src/main/resources/static/fonts/Meiryo.ttf b/app/core/src/main/resources/static/fonts/Meiryo.ttf similarity index 100% rename from stirling-pdf/src/main/resources/static/fonts/Meiryo.ttf rename to app/core/src/main/resources/static/fonts/Meiryo.ttf diff --git a/stirling-pdf/src/main/resources/static/fonts/NotoSans-Regular.ttf b/app/core/src/main/resources/static/fonts/NotoSans-Regular.ttf similarity index 100% rename from stirling-pdf/src/main/resources/static/fonts/NotoSans-Regular.ttf rename to app/core/src/main/resources/static/fonts/NotoSans-Regular.ttf diff --git a/stirling-pdf/src/main/resources/static/fonts/NotoSansArabic-Regular.ttf b/app/core/src/main/resources/static/fonts/NotoSansArabic-Regular.ttf similarity index 100% rename from stirling-pdf/src/main/resources/static/fonts/NotoSansArabic-Regular.ttf rename to app/core/src/main/resources/static/fonts/NotoSansArabic-Regular.ttf diff --git a/stirling-pdf/src/main/resources/static/fonts/NotoSansJP-Regular.ttf b/app/core/src/main/resources/static/fonts/NotoSansJP-Regular.ttf similarity index 100% rename from stirling-pdf/src/main/resources/static/fonts/NotoSansJP-Regular.ttf rename to app/core/src/main/resources/static/fonts/NotoSansJP-Regular.ttf diff --git a/stirling-pdf/src/main/resources/static/fonts/NotoSansSC-Regular.ttf b/app/core/src/main/resources/static/fonts/NotoSansSC-Regular.ttf similarity index 100% rename from stirling-pdf/src/main/resources/static/fonts/NotoSansSC-Regular.ttf rename to app/core/src/main/resources/static/fonts/NotoSansSC-Regular.ttf diff --git a/stirling-pdf/src/main/resources/static/fonts/NotoSansThai-Regular.ttf b/app/core/src/main/resources/static/fonts/NotoSansThai-Regular.ttf similarity index 100% rename from stirling-pdf/src/main/resources/static/fonts/NotoSansThai-Regular.ttf rename to app/core/src/main/resources/static/fonts/NotoSansThai-Regular.ttf diff --git a/stirling-pdf/src/main/resources/static/fonts/SimSun.ttf b/app/core/src/main/resources/static/fonts/SimSun.ttf similarity index 100% rename from stirling-pdf/src/main/resources/static/fonts/SimSun.ttf rename to app/core/src/main/resources/static/fonts/SimSun.ttf diff --git a/stirling-pdf/src/main/resources/static/fonts/Tangerine.woff2 b/app/core/src/main/resources/static/fonts/Tangerine.woff2 similarity index 100% rename from stirling-pdf/src/main/resources/static/fonts/Tangerine.woff2 rename to app/core/src/main/resources/static/fonts/Tangerine.woff2 diff --git a/stirling-pdf/src/main/resources/static/fonts/Tinos-Regular.woff2 b/app/core/src/main/resources/static/fonts/Tinos-Regular.woff2 similarity index 100% rename from stirling-pdf/src/main/resources/static/fonts/Tinos-Regular.woff2 rename to app/core/src/main/resources/static/fonts/Tinos-Regular.woff2 diff --git a/stirling-pdf/src/main/resources/static/fonts/google-symbol.woff2 b/app/core/src/main/resources/static/fonts/google-symbol.woff2 similarity index 100% rename from stirling-pdf/src/main/resources/static/fonts/google-symbol.woff2 rename to app/core/src/main/resources/static/fonts/google-symbol.woff2 diff --git a/stirling-pdf/src/main/resources/static/fonts/malgun.ttf b/app/core/src/main/resources/static/fonts/malgun.ttf similarity index 100% rename from stirling-pdf/src/main/resources/static/fonts/malgun.ttf rename to app/core/src/main/resources/static/fonts/malgun.ttf diff --git a/stirling-pdf/src/main/resources/static/fonts/static/NotoSansArabic-Regular.ttf b/app/core/src/main/resources/static/fonts/static/NotoSansArabic-Regular.ttf similarity index 100% rename from stirling-pdf/src/main/resources/static/fonts/static/NotoSansArabic-Regular.ttf rename to app/core/src/main/resources/static/fonts/static/NotoSansArabic-Regular.ttf diff --git a/stirling-pdf/src/main/resources/static/fonts/static/NotoSansJP-Regular.ttf b/app/core/src/main/resources/static/fonts/static/NotoSansJP-Regular.ttf similarity index 100% rename from stirling-pdf/src/main/resources/static/fonts/static/NotoSansJP-Regular.ttf rename to app/core/src/main/resources/static/fonts/static/NotoSansJP-Regular.ttf diff --git a/stirling-pdf/src/main/resources/static/images/Files.svg b/app/core/src/main/resources/static/images/Files.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/images/Files.svg rename to app/core/src/main/resources/static/images/Files.svg diff --git a/stirling-pdf/src/main/resources/static/images/arrow-right-short.svg b/app/core/src/main/resources/static/images/arrow-right-short.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/images/arrow-right-short.svg rename to app/core/src/main/resources/static/images/arrow-right-short.svg diff --git a/stirling-pdf/src/main/resources/static/images/book.svg b/app/core/src/main/resources/static/images/book.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/images/book.svg rename to app/core/src/main/resources/static/images/book.svg diff --git a/stirling-pdf/src/main/resources/static/images/clipboard.svg b/app/core/src/main/resources/static/images/clipboard.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/images/clipboard.svg rename to app/core/src/main/resources/static/images/clipboard.svg diff --git a/stirling-pdf/src/main/resources/static/images/discord.svg b/app/core/src/main/resources/static/images/discord.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/images/discord.svg rename to app/core/src/main/resources/static/images/discord.svg diff --git a/stirling-pdf/src/main/resources/static/images/docker.svg b/app/core/src/main/resources/static/images/docker.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/images/docker.svg rename to app/core/src/main/resources/static/images/docker.svg diff --git a/stirling-pdf/src/main/resources/static/images/file-earmark-pdf.svg b/app/core/src/main/resources/static/images/file-earmark-pdf.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/images/file-earmark-pdf.svg rename to app/core/src/main/resources/static/images/file-earmark-pdf.svg diff --git a/stirling-pdf/src/main/resources/static/images/github.svg b/app/core/src/main/resources/static/images/github.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/images/github.svg rename to app/core/src/main/resources/static/images/github.svg diff --git a/stirling-pdf/src/main/resources/static/images/google-drive.svg b/app/core/src/main/resources/static/images/google-drive.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/images/google-drive.svg rename to app/core/src/main/resources/static/images/google-drive.svg diff --git a/stirling-pdf/src/main/resources/static/images/redact-auto.svg b/app/core/src/main/resources/static/images/redact-auto.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/images/redact-auto.svg rename to app/core/src/main/resources/static/images/redact-auto.svg diff --git a/stirling-pdf/src/main/resources/static/images/redact-manual.svg b/app/core/src/main/resources/static/images/redact-manual.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/images/redact-manual.svg rename to app/core/src/main/resources/static/images/redact-manual.svg diff --git a/stirling-pdf/src/main/resources/static/images/rename.svg b/app/core/src/main/resources/static/images/rename.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/images/rename.svg rename to app/core/src/main/resources/static/images/rename.svg diff --git a/stirling-pdf/src/main/resources/static/images/signature.png b/app/core/src/main/resources/static/images/signature.png similarity index 100% rename from stirling-pdf/src/main/resources/static/images/signature.png rename to app/core/src/main/resources/static/images/signature.png diff --git a/stirling-pdf/src/main/resources/static/images/split-auto.svg b/app/core/src/main/resources/static/images/split-auto.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/images/split-auto.svg rename to app/core/src/main/resources/static/images/split-auto.svg diff --git a/stirling-pdf/src/main/resources/static/images/split-chapters.svg b/app/core/src/main/resources/static/images/split-chapters.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/images/split-chapters.svg rename to app/core/src/main/resources/static/images/split-chapters.svg diff --git a/stirling-pdf/src/main/resources/static/images/split-size.svg b/app/core/src/main/resources/static/images/split-size.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/images/split-size.svg rename to app/core/src/main/resources/static/images/split-size.svg diff --git a/stirling-pdf/src/main/resources/static/images/update.svg b/app/core/src/main/resources/static/images/update.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/images/update.svg rename to app/core/src/main/resources/static/images/update.svg diff --git a/stirling-pdf/src/main/resources/static/js/DecryptFiles.js b/app/core/src/main/resources/static/js/DecryptFiles.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/DecryptFiles.js rename to app/core/src/main/resources/static/js/DecryptFiles.js diff --git a/stirling-pdf/src/main/resources/static/js/cacheFormInputs.js b/app/core/src/main/resources/static/js/cacheFormInputs.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/cacheFormInputs.js rename to app/core/src/main/resources/static/js/cacheFormInputs.js diff --git a/stirling-pdf/src/main/resources/static/js/compare/diff.js b/app/core/src/main/resources/static/js/compare/diff.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/compare/diff.js rename to app/core/src/main/resources/static/js/compare/diff.js diff --git a/stirling-pdf/src/main/resources/static/js/compare/pdfWorker.js b/app/core/src/main/resources/static/js/compare/pdfWorker.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/compare/pdfWorker.js rename to app/core/src/main/resources/static/js/compare/pdfWorker.js diff --git a/stirling-pdf/src/main/resources/static/js/csrf.js b/app/core/src/main/resources/static/js/csrf.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/csrf.js rename to app/core/src/main/resources/static/js/csrf.js diff --git a/stirling-pdf/src/main/resources/static/js/darkmode.js b/app/core/src/main/resources/static/js/darkmode.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/darkmode.js rename to app/core/src/main/resources/static/js/darkmode.js diff --git a/stirling-pdf/src/main/resources/static/js/download.js b/app/core/src/main/resources/static/js/download.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/download.js rename to app/core/src/main/resources/static/js/download.js diff --git a/stirling-pdf/src/main/resources/static/js/downloader.js b/app/core/src/main/resources/static/js/downloader.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/downloader.js rename to app/core/src/main/resources/static/js/downloader.js diff --git a/stirling-pdf/src/main/resources/static/js/draggable-utils.js b/app/core/src/main/resources/static/js/draggable-utils.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/draggable-utils.js rename to app/core/src/main/resources/static/js/draggable-utils.js diff --git a/stirling-pdf/src/main/resources/static/js/errorBanner.js b/app/core/src/main/resources/static/js/errorBanner.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/errorBanner.js rename to app/core/src/main/resources/static/js/errorBanner.js diff --git a/stirling-pdf/src/main/resources/static/js/favourites.js b/app/core/src/main/resources/static/js/favourites.js similarity index 90% rename from stirling-pdf/src/main/resources/static/js/favourites.js rename to app/core/src/main/resources/static/js/favourites.js index 913c656b2..169cf53d9 100644 --- a/stirling-pdf/src/main/resources/static/js/favourites.js +++ b/app/core/src/main/resources/static/js/favourites.js @@ -44,8 +44,16 @@ function updateFavoritesDropdown() { contentWrapper.style.color = 'inherit'; // Clone the original content - var originalContent = navbarEntry.querySelector('div').cloneNode(true); - contentWrapper.appendChild(originalContent); + var divElement = navbarEntry.querySelector('div'); + if (divElement) { + var originalContent = divElement.cloneNode(true); + contentWrapper.appendChild(originalContent); + } else { + // Fallback: create content manually if div is not found + var fallbackContent = document.createElement('div'); + fallbackContent.innerHTML = navbarEntry.innerHTML; + contentWrapper.appendChild(fallbackContent); + } // Create the remove button var removeButton = document.createElement('button'); diff --git a/stirling-pdf/src/main/resources/static/js/fetch-utils.js b/app/core/src/main/resources/static/js/fetch-utils.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/fetch-utils.js rename to app/core/src/main/resources/static/js/fetch-utils.js diff --git a/stirling-pdf/src/main/resources/static/js/file-icon-factory.js b/app/core/src/main/resources/static/js/file-icon-factory.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/file-icon-factory.js rename to app/core/src/main/resources/static/js/file-icon-factory.js diff --git a/stirling-pdf/src/main/resources/static/js/file-utils.js b/app/core/src/main/resources/static/js/file-utils.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/file-utils.js rename to app/core/src/main/resources/static/js/file-utils.js diff --git a/stirling-pdf/src/main/resources/static/js/fileInput.js b/app/core/src/main/resources/static/js/fileInput.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/fileInput.js rename to app/core/src/main/resources/static/js/fileInput.js diff --git a/stirling-pdf/src/main/resources/static/js/game.js b/app/core/src/main/resources/static/js/game.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/game.js rename to app/core/src/main/resources/static/js/game.js diff --git a/stirling-pdf/src/main/resources/static/js/githubVersion.js b/app/core/src/main/resources/static/js/githubVersion.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/githubVersion.js rename to app/core/src/main/resources/static/js/githubVersion.js diff --git a/stirling-pdf/src/main/resources/static/js/googleFilePicker.js b/app/core/src/main/resources/static/js/googleFilePicker.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/googleFilePicker.js rename to app/core/src/main/resources/static/js/googleFilePicker.js diff --git a/stirling-pdf/src/main/resources/static/js/homecard-legacy.js b/app/core/src/main/resources/static/js/homecard-legacy.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/homecard-legacy.js rename to app/core/src/main/resources/static/js/homecard-legacy.js diff --git a/stirling-pdf/src/main/resources/static/js/homecard.js b/app/core/src/main/resources/static/js/homecard.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/homecard.js rename to app/core/src/main/resources/static/js/homecard.js diff --git a/stirling-pdf/src/main/resources/static/js/languageSelection.js b/app/core/src/main/resources/static/js/languageSelection.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/languageSelection.js rename to app/core/src/main/resources/static/js/languageSelection.js diff --git a/stirling-pdf/src/main/resources/static/js/local-pdf-input-download.js b/app/core/src/main/resources/static/js/local-pdf-input-download.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/local-pdf-input-download.js rename to app/core/src/main/resources/static/js/local-pdf-input-download.js diff --git a/stirling-pdf/src/main/resources/static/js/merge.js b/app/core/src/main/resources/static/js/merge.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/merge.js rename to app/core/src/main/resources/static/js/merge.js diff --git a/stirling-pdf/src/main/resources/static/js/multitool/DragDropManager.js b/app/core/src/main/resources/static/js/multitool/DragDropManager.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/multitool/DragDropManager.js rename to app/core/src/main/resources/static/js/multitool/DragDropManager.js diff --git a/stirling-pdf/src/main/resources/static/js/multitool/ImageHighlighter.js b/app/core/src/main/resources/static/js/multitool/ImageHighlighter.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/multitool/ImageHighlighter.js rename to app/core/src/main/resources/static/js/multitool/ImageHighlighter.js diff --git a/stirling-pdf/src/main/resources/static/js/multitool/PdfActionsManager.js b/app/core/src/main/resources/static/js/multitool/PdfActionsManager.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/multitool/PdfActionsManager.js rename to app/core/src/main/resources/static/js/multitool/PdfActionsManager.js diff --git a/stirling-pdf/src/main/resources/static/js/multitool/PdfContainer.js b/app/core/src/main/resources/static/js/multitool/PdfContainer.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/multitool/PdfContainer.js rename to app/core/src/main/resources/static/js/multitool/PdfContainer.js diff --git a/stirling-pdf/src/main/resources/static/js/multitool/UndoManager.js b/app/core/src/main/resources/static/js/multitool/UndoManager.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/multitool/UndoManager.js rename to app/core/src/main/resources/static/js/multitool/UndoManager.js diff --git a/stirling-pdf/src/main/resources/static/js/multitool/commands/add-page.js b/app/core/src/main/resources/static/js/multitool/commands/add-page.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/multitool/commands/add-page.js rename to app/core/src/main/resources/static/js/multitool/commands/add-page.js diff --git a/stirling-pdf/src/main/resources/static/js/multitool/commands/command.js b/app/core/src/main/resources/static/js/multitool/commands/command.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/multitool/commands/command.js rename to app/core/src/main/resources/static/js/multitool/commands/command.js diff --git a/stirling-pdf/src/main/resources/static/js/multitool/commands/commands-sequence.js b/app/core/src/main/resources/static/js/multitool/commands/commands-sequence.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/multitool/commands/commands-sequence.js rename to app/core/src/main/resources/static/js/multitool/commands/commands-sequence.js diff --git a/stirling-pdf/src/main/resources/static/js/multitool/commands/delete-page.js b/app/core/src/main/resources/static/js/multitool/commands/delete-page.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/multitool/commands/delete-page.js rename to app/core/src/main/resources/static/js/multitool/commands/delete-page.js diff --git a/stirling-pdf/src/main/resources/static/js/multitool/commands/move-page.js b/app/core/src/main/resources/static/js/multitool/commands/move-page.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/multitool/commands/move-page.js rename to app/core/src/main/resources/static/js/multitool/commands/move-page.js diff --git a/stirling-pdf/src/main/resources/static/js/multitool/commands/page-break.js b/app/core/src/main/resources/static/js/multitool/commands/page-break.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/multitool/commands/page-break.js rename to app/core/src/main/resources/static/js/multitool/commands/page-break.js diff --git a/stirling-pdf/src/main/resources/static/js/multitool/commands/remove.js b/app/core/src/main/resources/static/js/multitool/commands/remove.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/multitool/commands/remove.js rename to app/core/src/main/resources/static/js/multitool/commands/remove.js diff --git a/stirling-pdf/src/main/resources/static/js/multitool/commands/rotate.js b/app/core/src/main/resources/static/js/multitool/commands/rotate.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/multitool/commands/rotate.js rename to app/core/src/main/resources/static/js/multitool/commands/rotate.js diff --git a/stirling-pdf/src/main/resources/static/js/multitool/commands/select.js b/app/core/src/main/resources/static/js/multitool/commands/select.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/multitool/commands/select.js rename to app/core/src/main/resources/static/js/multitool/commands/select.js diff --git a/stirling-pdf/src/main/resources/static/js/multitool/commands/split.js b/app/core/src/main/resources/static/js/multitool/commands/split.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/multitool/commands/split.js rename to app/core/src/main/resources/static/js/multitool/commands/split.js diff --git a/stirling-pdf/src/main/resources/static/js/navbar.js b/app/core/src/main/resources/static/js/navbar.js similarity index 52% rename from stirling-pdf/src/main/resources/static/js/navbar.js rename to app/core/src/main/resources/static/js/navbar.js index 1d8c0dcce..a95ff1639 100644 --- a/stirling-pdf/src/main/resources/static/js/navbar.js +++ b/app/core/src/main/resources/static/js/navbar.js @@ -42,6 +42,39 @@ function toolsManager() { }); } +function setupDropdowns() { + const dropdowns = document.querySelectorAll('.navbar-nav > .nav-item.dropdown'); + + dropdowns.forEach((dropdown) => { + const toggle = dropdown.querySelector('[data-bs-toggle="dropdown"]'); + if (!toggle) return; + + // Skip search dropdown, it has its own logic + if (toggle.id === 'searchDropdown') { + return; + } + + dropdown.addEventListener('show.bs.dropdown', () => { + // Find all other open dropdowns and hide them + const openDropdowns = document.querySelectorAll('.navbar-nav .dropdown-menu.show'); + openDropdowns.forEach((menu) => { + const parentDropdown = menu.closest('.dropdown'); + if (parentDropdown && parentDropdown !== dropdown) { + const parentToggle = parentDropdown.querySelector('[data-bs-toggle="dropdown"]'); + if (parentToggle) { + // Get or create Bootstrap dropdown instance + let instance = bootstrap.Dropdown.getInstance(parentToggle); + if (!instance) { + instance = new bootstrap.Dropdown(parentToggle); + } + instance.hide(); + } + } + }); + }); + }); +} + window.tooltipSetup = () => { const tooltipElements = document.querySelectorAll('[title]'); @@ -56,23 +89,54 @@ window.tooltipSetup = () => { document.body.appendChild(customTooltip); element.addEventListener('mouseenter', (event) => { - customTooltip.style.display = 'block'; - customTooltip.style.left = `${event.pageX + 10}px`; // Position tooltip slightly away from the cursor - customTooltip.style.top = `${event.pageY + 10}px`; + if (window.innerWidth >= 1200) { + customTooltip.style.display = 'block'; + customTooltip.style.left = `${event.pageX + 10}px`; + customTooltip.style.top = `${event.pageY + 10}px`; + } }); - // Update the position of the tooltip as the user moves the mouse element.addEventListener('mousemove', (event) => { - customTooltip.style.left = `${event.pageX + 10}px`; - customTooltip.style.top = `${event.pageY + 10}px`; + if (window.innerWidth >= 1200) { + customTooltip.style.left = `${event.pageX + 10}px`; + customTooltip.style.top = `${event.pageY + 10}px`; + } }); - // Hide the tooltip when the mouse leaves element.addEventListener('mouseleave', () => { customTooltip.style.display = 'none'; }); }); }; + +// Override the bootstrap dropdown styles for mobile +function fixNavbarDropdownStyles() { + if (window.innerWidth < 1200) { + document.querySelectorAll('.navbar .dropdown-menu').forEach(function(menu) { + menu.style.transform = 'none'; + menu.style.transformOrigin = 'none'; + menu.style.left = '0'; + menu.style.right = '0'; + menu.style.maxWidth = '95vw'; + menu.style.width = '100vw'; + menu.style.marginBottom = '0'; + }); + } else { + document.querySelectorAll('.navbar .dropdown-menu').forEach(function(menu) { + menu.style.transform = ''; + menu.style.transformOrigin = ''; + menu.style.left = ''; + menu.style.right = ''; + menu.style.maxWidth = ''; + menu.style.width = ''; + menu.style.marginBottom = ''; + }); + } +} + document.addEventListener('DOMContentLoaded', () => { tooltipSetup(); + setupDropdowns(); + fixNavbarDropdownStyles(); }); +window.addEventListener('resize', fixNavbarDropdownStyles); diff --git a/stirling-pdf/src/main/resources/static/js/pages/add-image.js b/app/core/src/main/resources/static/js/pages/add-image.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/pages/add-image.js rename to app/core/src/main/resources/static/js/pages/add-image.js diff --git a/stirling-pdf/src/main/resources/static/js/pages/adjust-contrast.js b/app/core/src/main/resources/static/js/pages/adjust-contrast.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/pages/adjust-contrast.js rename to app/core/src/main/resources/static/js/pages/adjust-contrast.js diff --git a/stirling-pdf/src/main/resources/static/js/pages/change-metadata.js b/app/core/src/main/resources/static/js/pages/change-metadata.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/pages/change-metadata.js rename to app/core/src/main/resources/static/js/pages/change-metadata.js diff --git a/stirling-pdf/src/main/resources/static/js/pages/crop.js b/app/core/src/main/resources/static/js/pages/crop.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/pages/crop.js rename to app/core/src/main/resources/static/js/pages/crop.js diff --git a/stirling-pdf/src/main/resources/static/js/pages/edit-table-of-contents.js b/app/core/src/main/resources/static/js/pages/edit-table-of-contents.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/pages/edit-table-of-contents.js rename to app/core/src/main/resources/static/js/pages/edit-table-of-contents.js diff --git a/stirling-pdf/src/main/resources/static/js/pages/home.js b/app/core/src/main/resources/static/js/pages/home.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/pages/home.js rename to app/core/src/main/resources/static/js/pages/home.js diff --git a/stirling-pdf/src/main/resources/static/js/pages/pdf-to-csv.js b/app/core/src/main/resources/static/js/pages/pdf-to-csv.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/pages/pdf-to-csv.js rename to app/core/src/main/resources/static/js/pages/pdf-to-csv.js diff --git a/stirling-pdf/src/main/resources/static/js/pages/sign.js b/app/core/src/main/resources/static/js/pages/sign.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/pages/sign.js rename to app/core/src/main/resources/static/js/pages/sign.js diff --git a/stirling-pdf/src/main/resources/static/js/pipeline.js b/app/core/src/main/resources/static/js/pipeline.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/pipeline.js rename to app/core/src/main/resources/static/js/pipeline.js diff --git a/stirling-pdf/src/main/resources/static/js/redact.js b/app/core/src/main/resources/static/js/redact.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/redact.js rename to app/core/src/main/resources/static/js/redact.js diff --git a/stirling-pdf/src/main/resources/static/js/search.js b/app/core/src/main/resources/static/js/search.js similarity index 54% rename from stirling-pdf/src/main/resources/static/js/search.js rename to app/core/src/main/resources/static/js/search.js index c7932965c..277d722a9 100644 --- a/stirling-pdf/src/main/resources/static/js/search.js +++ b/app/core/src/main/resources/static/js/search.js @@ -56,8 +56,16 @@ document.querySelector("#navbarSearchInput").addEventListener("input", function contentWrapper.style.textDecoration = "none"; contentWrapper.style.color = "inherit"; - var originalContent = item.querySelector("div").cloneNode(true); - contentWrapper.appendChild(originalContent); + var divElement = item.querySelector("div"); + if (divElement) { + var originalContent = divElement.cloneNode(true); + contentWrapper.appendChild(originalContent); + } else { + // Fallback: create content manually if div is not found + var fallbackContent = document.createElement("div"); + fallbackContent.innerHTML = item.innerHTML; + contentWrapper.appendChild(fallbackContent); + } contentWrapper.onclick = function () { window.location.href = itemHref; @@ -77,35 +85,52 @@ document.querySelector("#navbarSearchInput").addEventListener("input", function const searchDropdown = document.getElementById('searchDropdown'); const searchInput = document.getElementById('navbarSearchInput'); -const dropdownMenu = searchDropdown.querySelector('.dropdown-menu'); -// Handle dropdown shown event -searchDropdown.addEventListener('shown.bs.dropdown', function () { - searchInput.focus(); -}); +// Check if elements exist before proceeding +if (searchDropdown && searchInput) { + const dropdownMenu = searchDropdown.querySelector('.dropdown-menu'); -// Handle hover opening -searchDropdown.addEventListener('mouseenter', function () { + // Create a single dropdown instance const dropdownInstance = new bootstrap.Dropdown(searchDropdown); - dropdownInstance.show(); - setTimeout(() => { - searchInput.focus(); - }, 100); -}); +// Handle click for mobile + searchDropdown.addEventListener('click', function (e) { + e.preventDefault(); + const isOpen = dropdownMenu.classList.contains('show'); + // Close all other open dropdowns + document.querySelectorAll('.navbar-nav .dropdown-menu.show').forEach((menu) => { + if (menu !== dropdownMenu) { + const parentDropdown = menu.closest('.dropdown'); + if (parentDropdown) { + const parentToggle = parentDropdown.querySelector('[data-bs-toggle="dropdown"]'); + if (parentToggle) { + let instance = bootstrap.Dropdown.getInstance(parentToggle); + if (!instance) { + instance = new bootstrap.Dropdown(parentToggle); + } + instance.hide(); + } + } + } + }); + if (!isOpen) { + dropdownInstance.show(); + setTimeout(() => searchInput.focus(), 150); + } else { + dropdownInstance.hide(); + } + }); -// Handle mouse leave -searchDropdown.addEventListener('mouseleave', function () { - // Check if current value is empty (including if user typed and then deleted) - if (searchInput.value.trim().length === 0) { - searchInput.blur(); - const dropdownInstance = new bootstrap.Dropdown(searchDropdown); - dropdownInstance.hide(); - } -}); + // Hide dropdown if it's open and user clicks outside + document.addEventListener('click', function(e) { + if (!searchDropdown.contains(e.target) && dropdownMenu.classList.contains('show')) { + dropdownInstance.hide(); + } + }); -searchDropdown.addEventListener('hidden.bs.dropdown', function () { - if (searchInput.value.trim().length === 0) { - searchInput.blur(); - } -}); + // Keep dropdown open if search input is clicked + searchInput.addEventListener('click', function (e) { + e.stopPropagation(); + }); + +} diff --git a/stirling-pdf/src/main/resources/static/js/settings.js b/app/core/src/main/resources/static/js/settings.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/settings.js rename to app/core/src/main/resources/static/js/settings.js diff --git a/stirling-pdf/src/main/resources/static/js/sign/signature-canvas.js b/app/core/src/main/resources/static/js/sign/signature-canvas.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/sign/signature-canvas.js rename to app/core/src/main/resources/static/js/sign/signature-canvas.js diff --git a/stirling-pdf/src/main/resources/static/js/tab-container.js b/app/core/src/main/resources/static/js/tab-container.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/tab-container.js rename to app/core/src/main/resources/static/js/tab-container.js diff --git a/stirling-pdf/src/main/resources/static/js/thirdParty/bootstrap.min.js b/app/core/src/main/resources/static/js/thirdParty/bootstrap.min.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/thirdParty/bootstrap.min.js rename to app/core/src/main/resources/static/js/thirdParty/bootstrap.min.js diff --git a/stirling-pdf/src/main/resources/static/js/thirdParty/bootstrap.min.js.map b/app/core/src/main/resources/static/js/thirdParty/bootstrap.min.js.map similarity index 100% rename from stirling-pdf/src/main/resources/static/js/thirdParty/bootstrap.min.js.map rename to app/core/src/main/resources/static/js/thirdParty/bootstrap.min.js.map diff --git a/stirling-pdf/src/main/resources/static/js/thirdParty/chart.umd.min.js b/app/core/src/main/resources/static/js/thirdParty/chart.umd.min.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/thirdParty/chart.umd.min.js rename to app/core/src/main/resources/static/js/thirdParty/chart.umd.min.js diff --git a/stirling-pdf/src/main/resources/static/js/thirdParty/cookieconsent-config.js b/app/core/src/main/resources/static/js/thirdParty/cookieconsent-config.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/thirdParty/cookieconsent-config.js rename to app/core/src/main/resources/static/js/thirdParty/cookieconsent-config.js diff --git a/stirling-pdf/src/main/resources/static/js/thirdParty/cookieconsent.umd.js b/app/core/src/main/resources/static/js/thirdParty/cookieconsent.umd.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/thirdParty/cookieconsent.umd.js rename to app/core/src/main/resources/static/js/thirdParty/cookieconsent.umd.js diff --git a/stirling-pdf/src/main/resources/static/js/thirdParty/fontfaceobserver.standalone.js b/app/core/src/main/resources/static/js/thirdParty/fontfaceobserver.standalone.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/thirdParty/fontfaceobserver.standalone.js rename to app/core/src/main/resources/static/js/thirdParty/fontfaceobserver.standalone.js diff --git a/stirling-pdf/src/main/resources/static/js/thirdParty/interact.min.js b/app/core/src/main/resources/static/js/thirdParty/interact.min.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/thirdParty/interact.min.js rename to app/core/src/main/resources/static/js/thirdParty/interact.min.js diff --git a/stirling-pdf/src/main/resources/static/js/thirdParty/interact.min.js.map b/app/core/src/main/resources/static/js/thirdParty/interact.min.js.map similarity index 100% rename from stirling-pdf/src/main/resources/static/js/thirdParty/interact.min.js.map rename to app/core/src/main/resources/static/js/thirdParty/interact.min.js.map diff --git a/stirling-pdf/src/main/resources/static/js/thirdParty/jquery.min.js b/app/core/src/main/resources/static/js/thirdParty/jquery.min.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/thirdParty/jquery.min.js rename to app/core/src/main/resources/static/js/thirdParty/jquery.min.js diff --git a/stirling-pdf/src/main/resources/static/js/thirdParty/jquery.validate.min.js b/app/core/src/main/resources/static/js/thirdParty/jquery.validate.min.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/thirdParty/jquery.validate.min.js rename to app/core/src/main/resources/static/js/thirdParty/jquery.validate.min.js diff --git a/stirling-pdf/src/main/resources/static/js/thirdParty/jszip.min.js b/app/core/src/main/resources/static/js/thirdParty/jszip.min.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/thirdParty/jszip.min.js rename to app/core/src/main/resources/static/js/thirdParty/jszip.min.js diff --git a/stirling-pdf/src/main/resources/static/js/thirdParty/pdf-lib.min.js b/app/core/src/main/resources/static/js/thirdParty/pdf-lib.min.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/thirdParty/pdf-lib.min.js rename to app/core/src/main/resources/static/js/thirdParty/pdf-lib.min.js diff --git a/stirling-pdf/src/main/resources/static/js/thirdParty/pdf-lib.min.js.map b/app/core/src/main/resources/static/js/thirdParty/pdf-lib.min.js.map similarity index 100% rename from stirling-pdf/src/main/resources/static/js/thirdParty/pdf-lib.min.js.map rename to app/core/src/main/resources/static/js/thirdParty/pdf-lib.min.js.map diff --git a/stirling-pdf/src/main/resources/static/js/thirdParty/popper.min.js b/app/core/src/main/resources/static/js/thirdParty/popper.min.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/thirdParty/popper.min.js rename to app/core/src/main/resources/static/js/thirdParty/popper.min.js diff --git a/stirling-pdf/src/main/resources/static/js/thirdParty/popper.min.js.map b/app/core/src/main/resources/static/js/thirdParty/popper.min.js.map similarity index 100% rename from stirling-pdf/src/main/resources/static/js/thirdParty/popper.min.js.map rename to app/core/src/main/resources/static/js/thirdParty/popper.min.js.map diff --git a/stirling-pdf/src/main/resources/static/js/thirdParty/prism.js b/app/core/src/main/resources/static/js/thirdParty/prism.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/thirdParty/prism.js rename to app/core/src/main/resources/static/js/thirdParty/prism.js diff --git a/stirling-pdf/src/main/resources/static/js/thirdParty/signature_pad.umd.min.js b/app/core/src/main/resources/static/js/thirdParty/signature_pad.umd.min.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/thirdParty/signature_pad.umd.min.js rename to app/core/src/main/resources/static/js/thirdParty/signature_pad.umd.min.js diff --git a/stirling-pdf/src/main/resources/static/js/thirdParty/signature_pad.umd.min.js.map b/app/core/src/main/resources/static/js/thirdParty/signature_pad.umd.min.js.map similarity index 100% rename from stirling-pdf/src/main/resources/static/js/thirdParty/signature_pad.umd.min.js.map rename to app/core/src/main/resources/static/js/thirdParty/signature_pad.umd.min.js.map diff --git a/stirling-pdf/src/main/resources/static/js/usage.js b/app/core/src/main/resources/static/js/usage.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/usage.js rename to app/core/src/main/resources/static/js/usage.js diff --git a/stirling-pdf/src/main/resources/static/js/uuid.js b/app/core/src/main/resources/static/js/uuid.js similarity index 100% rename from stirling-pdf/src/main/resources/static/js/uuid.js rename to app/core/src/main/resources/static/js/uuid.js diff --git a/stirling-pdf/src/main/resources/static/manifest.json b/app/core/src/main/resources/static/manifest.json similarity index 100% rename from stirling-pdf/src/main/resources/static/manifest.json rename to app/core/src/main/resources/static/manifest.json diff --git a/stirling-pdf/src/main/resources/static/moon.svg b/app/core/src/main/resources/static/moon.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/moon.svg rename to app/core/src/main/resources/static/moon.svg diff --git a/stirling-pdf/src/main/resources/static/mstile-144x144.png b/app/core/src/main/resources/static/mstile-144x144.png similarity index 100% rename from stirling-pdf/src/main/resources/static/mstile-144x144.png rename to app/core/src/main/resources/static/mstile-144x144.png diff --git a/stirling-pdf/src/main/resources/static/mstile-150x150.png b/app/core/src/main/resources/static/mstile-150x150.png similarity index 100% rename from stirling-pdf/src/main/resources/static/mstile-150x150.png rename to app/core/src/main/resources/static/mstile-150x150.png diff --git a/stirling-pdf/src/main/resources/static/mstile-310x150.png b/app/core/src/main/resources/static/mstile-310x150.png similarity index 100% rename from stirling-pdf/src/main/resources/static/mstile-310x150.png rename to app/core/src/main/resources/static/mstile-310x150.png diff --git a/stirling-pdf/src/main/resources/static/mstile-310x310.png b/app/core/src/main/resources/static/mstile-310x310.png similarity index 100% rename from stirling-pdf/src/main/resources/static/mstile-310x310.png rename to app/core/src/main/resources/static/mstile-310x310.png diff --git a/stirling-pdf/src/main/resources/static/mstile-70x70.png b/app/core/src/main/resources/static/mstile-70x70.png similarity index 100% rename from stirling-pdf/src/main/resources/static/mstile-70x70.png rename to app/core/src/main/resources/static/mstile-70x70.png diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/78-EUC-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/78-EUC-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/78-EUC-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/78-EUC-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/78-EUC-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/78-EUC-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/78-EUC-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/78-EUC-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/78-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/78-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/78-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/78-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/78-RKSJ-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/78-RKSJ-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/78-RKSJ-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/78-RKSJ-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/78-RKSJ-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/78-RKSJ-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/78-RKSJ-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/78-RKSJ-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/78-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/78-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/78-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/78-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/78ms-RKSJ-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/78ms-RKSJ-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/78ms-RKSJ-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/78ms-RKSJ-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/78ms-RKSJ-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/78ms-RKSJ-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/78ms-RKSJ-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/78ms-RKSJ-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/83pv-RKSJ-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/83pv-RKSJ-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/83pv-RKSJ-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/83pv-RKSJ-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/90ms-RKSJ-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/90ms-RKSJ-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/90ms-RKSJ-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/90ms-RKSJ-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/90ms-RKSJ-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/90ms-RKSJ-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/90ms-RKSJ-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/90ms-RKSJ-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/90msp-RKSJ-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/90msp-RKSJ-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/90msp-RKSJ-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/90msp-RKSJ-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/90msp-RKSJ-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/90msp-RKSJ-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/90msp-RKSJ-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/90msp-RKSJ-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/90pv-RKSJ-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/90pv-RKSJ-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/90pv-RKSJ-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/90pv-RKSJ-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/90pv-RKSJ-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/90pv-RKSJ-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/90pv-RKSJ-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/90pv-RKSJ-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Add-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Add-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Add-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Add-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Add-RKSJ-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Add-RKSJ-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Add-RKSJ-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Add-RKSJ-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Add-RKSJ-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Add-RKSJ-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Add-RKSJ-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Add-RKSJ-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Add-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Add-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Add-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Add-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-0.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-0.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-0.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-0.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-1.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-1.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-1.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-1.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-2.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-2.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-2.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-2.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-3.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-3.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-3.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-3.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-4.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-4.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-4.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-4.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-5.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-5.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-5.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-5.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-6.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-6.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-6.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-6.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-UCS2.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-UCS2.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-UCS2.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-CNS1-UCS2.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-0.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-0.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-0.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-0.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-1.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-1.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-1.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-1.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-2.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-2.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-2.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-2.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-3.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-3.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-3.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-3.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-4.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-4.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-4.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-4.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-5.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-5.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-5.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-5.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-UCS2.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-UCS2.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-UCS2.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-GB1-UCS2.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-0.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-0.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-0.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-0.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-1.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-1.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-1.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-1.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-2.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-2.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-2.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-2.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-3.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-3.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-3.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-3.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-4.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-4.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-4.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-4.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-5.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-5.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-5.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-5.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-6.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-6.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-6.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-6.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-UCS2.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-UCS2.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-UCS2.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Japan1-UCS2.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Korea1-0.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Korea1-0.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Korea1-0.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Korea1-0.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Korea1-1.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Korea1-1.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Korea1-1.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Korea1-1.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Korea1-2.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Korea1-2.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Korea1-2.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Korea1-2.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Korea1-UCS2.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Korea1-UCS2.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Korea1-UCS2.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Adobe-Korea1-UCS2.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/B5-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/B5-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/B5-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/B5-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/B5-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/B5-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/B5-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/B5-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/B5pc-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/B5pc-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/B5pc-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/B5pc-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/B5pc-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/B5pc-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/B5pc-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/B5pc-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/CNS-EUC-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/CNS-EUC-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/CNS-EUC-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/CNS-EUC-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/CNS-EUC-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/CNS-EUC-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/CNS-EUC-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/CNS-EUC-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/CNS1-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/CNS1-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/CNS1-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/CNS1-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/CNS1-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/CNS1-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/CNS1-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/CNS1-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/CNS2-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/CNS2-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/CNS2-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/CNS2-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/CNS2-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/CNS2-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/CNS2-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/CNS2-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/ETHK-B5-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/ETHK-B5-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/ETHK-B5-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/ETHK-B5-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/ETHK-B5-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/ETHK-B5-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/ETHK-B5-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/ETHK-B5-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/ETen-B5-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/ETen-B5-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/ETen-B5-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/ETen-B5-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/ETen-B5-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/ETen-B5-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/ETen-B5-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/ETen-B5-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/ETenms-B5-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/ETenms-B5-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/ETenms-B5-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/ETenms-B5-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/ETenms-B5-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/ETenms-B5-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/ETenms-B5-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/ETenms-B5-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/EUC-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/EUC-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/EUC-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/EUC-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/EUC-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/EUC-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/EUC-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/EUC-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Ext-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Ext-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Ext-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Ext-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Ext-RKSJ-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Ext-RKSJ-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Ext-RKSJ-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Ext-RKSJ-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Ext-RKSJ-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Ext-RKSJ-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Ext-RKSJ-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Ext-RKSJ-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Ext-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Ext-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Ext-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Ext-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GB-EUC-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/GB-EUC-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GB-EUC-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/GB-EUC-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GB-EUC-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/GB-EUC-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GB-EUC-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/GB-EUC-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GB-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/GB-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GB-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/GB-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GB-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/GB-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GB-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/GB-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBK-EUC-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBK-EUC-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBK-EUC-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBK-EUC-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBK-EUC-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBK-EUC-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBK-EUC-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBK-EUC-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBK2K-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBK2K-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBK2K-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBK2K-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBK2K-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBK2K-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBK2K-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBK2K-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBKp-EUC-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBKp-EUC-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBKp-EUC-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBKp-EUC-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBKp-EUC-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBKp-EUC-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBKp-EUC-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBKp-EUC-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBT-EUC-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBT-EUC-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBT-EUC-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBT-EUC-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBT-EUC-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBT-EUC-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBT-EUC-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBT-EUC-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBT-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBT-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBT-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBT-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBT-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBT-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBT-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBT-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBTpc-EUC-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBTpc-EUC-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBTpc-EUC-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBTpc-EUC-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBTpc-EUC-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBTpc-EUC-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBTpc-EUC-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBTpc-EUC-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBpc-EUC-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBpc-EUC-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBpc-EUC-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBpc-EUC-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBpc-EUC-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBpc-EUC-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/GBpc-EUC-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/GBpc-EUC-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKdla-B5-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKdla-B5-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKdla-B5-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKdla-B5-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKdla-B5-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKdla-B5-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKdla-B5-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKdla-B5-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKdlb-B5-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKdlb-B5-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKdlb-B5-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKdlb-B5-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKdlb-B5-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKdlb-B5-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKdlb-B5-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKdlb-B5-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKgccs-B5-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKgccs-B5-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKgccs-B5-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKgccs-B5-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKgccs-B5-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKgccs-B5-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKgccs-B5-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKgccs-B5-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKm314-B5-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKm314-B5-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKm314-B5-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKm314-B5-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKm314-B5-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKm314-B5-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKm314-B5-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKm314-B5-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKm471-B5-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKm471-B5-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKm471-B5-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKm471-B5-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKm471-B5-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKm471-B5-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKm471-B5-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKm471-B5-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKscs-B5-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKscs-B5-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKscs-B5-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKscs-B5-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKscs-B5-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKscs-B5-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/HKscs-B5-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/HKscs-B5-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Hankaku.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Hankaku.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Hankaku.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Hankaku.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Hiragana.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Hiragana.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Hiragana.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Hiragana.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSC-EUC-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSC-EUC-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSC-EUC-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSC-EUC-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSC-EUC-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSC-EUC-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSC-EUC-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSC-EUC-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSC-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSC-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSC-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSC-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSC-Johab-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSC-Johab-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSC-Johab-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSC-Johab-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSC-Johab-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSC-Johab-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSC-Johab-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSC-Johab-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSC-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSC-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSC-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSC-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSCms-UHC-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSCms-UHC-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSCms-UHC-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSCms-UHC-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSCms-UHC-HW-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSCms-UHC-HW-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSCms-UHC-HW-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSCms-UHC-HW-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSCms-UHC-HW-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSCms-UHC-HW-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSCms-UHC-HW-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSCms-UHC-HW-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSCms-UHC-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSCms-UHC-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSCms-UHC-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSCms-UHC-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSCpc-EUC-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSCpc-EUC-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSCpc-EUC-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSCpc-EUC-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSCpc-EUC-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSCpc-EUC-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/KSCpc-EUC-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/KSCpc-EUC-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Katakana.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Katakana.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Katakana.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Katakana.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/LICENSE b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/LICENSE similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/LICENSE rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/LICENSE diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/NWP-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/NWP-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/NWP-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/NWP-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/NWP-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/NWP-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/NWP-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/NWP-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/RKSJ-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/RKSJ-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/RKSJ-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/RKSJ-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/RKSJ-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/RKSJ-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/RKSJ-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/RKSJ-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Roman.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/Roman.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/Roman.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/Roman.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UCS2-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UCS2-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UCS2-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UCS2-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UCS2-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UCS2-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UCS2-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UCS2-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF16-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF16-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF16-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF16-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF16-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF16-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF16-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF16-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF32-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF32-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF32-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF32-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF32-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF32-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF32-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF32-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF8-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF8-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF8-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF8-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF8-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF8-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF8-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniCNS-UTF8-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UCS2-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UCS2-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UCS2-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UCS2-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UCS2-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UCS2-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UCS2-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UCS2-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF16-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF16-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF16-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF16-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF16-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF16-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF16-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF16-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF32-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF32-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF32-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF32-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF32-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF32-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF32-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF32-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF8-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF8-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF8-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF8-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF8-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF8-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF8-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniGB-UTF8-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UCS2-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UCS2-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UCS2-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UCS2-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UCS2-HW-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UCS2-HW-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UCS2-HW-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UCS2-HW-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UCS2-HW-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UCS2-HW-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UCS2-HW-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UCS2-HW-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UCS2-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UCS2-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UCS2-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UCS2-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF16-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF16-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF16-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF16-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF16-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF16-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF16-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF16-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF32-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF32-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF32-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF32-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF32-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF32-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF32-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF32-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF8-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF8-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF8-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF8-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF8-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF8-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF8-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS-UTF8-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF16-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF16-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF16-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF16-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF16-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF16-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF16-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF16-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF32-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF32-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF32-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF32-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF32-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF32-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF32-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF32-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF8-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF8-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF8-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF8-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF8-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF8-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF8-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJIS2004-UTF8-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJISPro-UCS2-HW-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJISPro-UCS2-HW-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJISPro-UCS2-HW-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJISPro-UCS2-HW-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJISPro-UCS2-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJISPro-UCS2-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJISPro-UCS2-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJISPro-UCS2-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJISPro-UTF8-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJISPro-UTF8-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJISPro-UTF8-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJISPro-UTF8-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJISX0213-UTF32-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJISX0213-UTF32-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJISX0213-UTF32-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJISX0213-UTF32-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJISX0213-UTF32-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJISX0213-UTF32-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJISX0213-UTF32-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJISX0213-UTF32-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJISX02132004-UTF32-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJISX02132004-UTF32-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJISX02132004-UTF32-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJISX02132004-UTF32-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJISX02132004-UTF32-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJISX02132004-UTF32-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniJISX02132004-UTF32-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniJISX02132004-UTF32-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UCS2-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UCS2-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UCS2-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UCS2-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UCS2-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UCS2-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UCS2-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UCS2-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF16-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF16-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF16-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF16-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF16-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF16-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF16-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF16-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF32-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF32-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF32-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF32-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF32-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF32-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF32-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF32-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF8-H.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF8-H.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF8-H.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF8-H.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF8-V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF8-V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF8-V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/UniKS-UTF8-V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/V.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/V.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/V.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/V.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/WP-Symbol.bcmap b/app/core/src/main/resources/static/pdfjs-legacy/cmaps/WP-Symbol.bcmap similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/cmaps/WP-Symbol.bcmap rename to app/core/src/main/resources/static/pdfjs-legacy/cmaps/WP-Symbol.bcmap diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/css/debugger.css b/app/core/src/main/resources/static/pdfjs-legacy/css/debugger.css similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/css/debugger.css rename to app/core/src/main/resources/static/pdfjs-legacy/css/debugger.css diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/css/viewer-redact.css b/app/core/src/main/resources/static/pdfjs-legacy/css/viewer-redact.css similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/css/viewer-redact.css rename to app/core/src/main/resources/static/pdfjs-legacy/css/viewer-redact.css diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/css/viewer.css b/app/core/src/main/resources/static/pdfjs-legacy/css/viewer.css similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/css/viewer.css rename to app/core/src/main/resources/static/pdfjs-legacy/css/viewer.css diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/example/Welcome.pdf b/app/core/src/main/resources/static/pdfjs-legacy/example/Welcome.pdf similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/example/Welcome.pdf rename to app/core/src/main/resources/static/pdfjs-legacy/example/Welcome.pdf diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/example/Welcome_old.pdf b/app/core/src/main/resources/static/pdfjs-legacy/example/Welcome_old.pdf similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/example/Welcome_old.pdf rename to app/core/src/main/resources/static/pdfjs-legacy/example/Welcome_old.pdf diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/altText_add.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/altText_add.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/altText_add.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/altText_add.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/altText_done.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/altText_done.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/altText_done.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/altText_done.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/annotation-check.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/annotation-check.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/annotation-check.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/annotation-check.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/annotation-comment.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/annotation-comment.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/annotation-comment.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/annotation-comment.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/annotation-help.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/annotation-help.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/annotation-help.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/annotation-help.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/annotation-insert.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/annotation-insert.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/annotation-insert.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/annotation-insert.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/annotation-key.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/annotation-key.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/annotation-key.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/annotation-key.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/annotation-newparagraph.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/annotation-newparagraph.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/annotation-newparagraph.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/annotation-newparagraph.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/annotation-noicon.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/annotation-noicon.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/annotation-noicon.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/annotation-noicon.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/annotation-note.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/annotation-note.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/annotation-note.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/annotation-note.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/annotation-paperclip.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/annotation-paperclip.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/annotation-paperclip.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/annotation-paperclip.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/annotation-paragraph.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/annotation-paragraph.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/annotation-paragraph.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/annotation-paragraph.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/annotation-pushpin.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/annotation-pushpin.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/annotation-pushpin.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/annotation-pushpin.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/cursor-editorFreeHighlight.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/cursor-editorFreeHighlight.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/cursor-editorFreeHighlight.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/cursor-editorFreeHighlight.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/cursor-editorFreeText.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/cursor-editorFreeText.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/cursor-editorFreeText.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/cursor-editorFreeText.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/cursor-editorInk.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/cursor-editorInk.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/cursor-editorInk.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/cursor-editorInk.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/cursor-editorTextHighlight.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/cursor-editorTextHighlight.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/cursor-editorTextHighlight.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/cursor-editorTextHighlight.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/editor-toolbar-delete.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/editor-toolbar-delete.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/editor-toolbar-delete.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/editor-toolbar-delete.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/findbarButton-next.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/findbarButton-next.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/findbarButton-next.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/findbarButton-next.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/findbarButton-previous.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/findbarButton-previous.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/findbarButton-previous.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/findbarButton-previous.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/gv-toolbarButton-download.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/gv-toolbarButton-download.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/gv-toolbarButton-download.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/gv-toolbarButton-download.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/loading-icon.gif b/app/core/src/main/resources/static/pdfjs-legacy/images/loading-icon.gif similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/loading-icon.gif rename to app/core/src/main/resources/static/pdfjs-legacy/images/loading-icon.gif diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/loading.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/loading.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/loading.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/loading.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-documentProperties.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-documentProperties.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-documentProperties.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-documentProperties.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-firstPage.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-firstPage.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-firstPage.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-firstPage.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-handTool.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-handTool.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-handTool.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-handTool.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-lastPage.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-lastPage.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-lastPage.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-lastPage.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-rotateCcw.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-rotateCcw.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-rotateCcw.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-rotateCcw.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-rotateCw.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-rotateCw.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-rotateCw.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-rotateCw.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-scrollHorizontal.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-scrollHorizontal.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-scrollHorizontal.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-scrollHorizontal.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-scrollPage.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-scrollPage.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-scrollPage.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-scrollPage.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-scrollVertical.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-scrollVertical.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-scrollVertical.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-scrollVertical.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-scrollWrapped.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-scrollWrapped.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-scrollWrapped.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-scrollWrapped.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-selectTool.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-selectTool.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-selectTool.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-selectTool.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-spreadEven.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-spreadEven.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-spreadEven.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-spreadEven.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-spreadNone.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-spreadNone.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-spreadNone.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-spreadNone.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-spreadOdd.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-spreadOdd.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-spreadOdd.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/secondaryToolbarButton-spreadOdd.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-bookmark.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-bookmark.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-bookmark.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-bookmark.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-currentOutlineItem.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-currentOutlineItem.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-currentOutlineItem.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-currentOutlineItem.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-download.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-download.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-download.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-download.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-editorFreeText.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-editorFreeText.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-editorFreeText.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-editorFreeText.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-editorHighlight.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-editorHighlight.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-editorHighlight.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-editorHighlight.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-editorInk.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-editorInk.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-editorInk.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-editorInk.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-editorStamp.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-editorStamp.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-editorStamp.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-editorStamp.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-home.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-home.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-home.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-home.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-menuArrow.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-menuArrow.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-menuArrow.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-menuArrow.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-openFile.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-openFile.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-openFile.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-openFile.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-pageDown.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-pageDown.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-pageDown.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-pageDown.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-pageUp.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-pageUp.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-pageUp.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-pageUp.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-presentationMode.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-presentationMode.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-presentationMode.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-presentationMode.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-print.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-print.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-print.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-print.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-search.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-search.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-search.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-search.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-secondaryToolbarToggle.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-secondaryToolbarToggle.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-secondaryToolbarToggle.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-secondaryToolbarToggle.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-sidebarToggle.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-sidebarToggle.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-sidebarToggle.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-sidebarToggle.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-viewAttachments.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-viewAttachments.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-viewAttachments.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-viewAttachments.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-viewLayers.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-viewLayers.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-viewLayers.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-viewLayers.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-viewOutline.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-viewOutline.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-viewOutline.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-viewOutline.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-viewThumbnail.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-viewThumbnail.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-viewThumbnail.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-viewThumbnail.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-zoomIn.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-zoomIn.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-zoomIn.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-zoomIn.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-zoomOut.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-zoomOut.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/toolbarButton-zoomOut.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/toolbarButton-zoomOut.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/treeitem-collapsed.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/treeitem-collapsed.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/treeitem-collapsed.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/treeitem-collapsed.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/images/treeitem-expanded.svg b/app/core/src/main/resources/static/pdfjs-legacy/images/treeitem-expanded.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/images/treeitem-expanded.svg rename to app/core/src/main/resources/static/pdfjs-legacy/images/treeitem-expanded.svg diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/js/viewer.mjs b/app/core/src/main/resources/static/pdfjs-legacy/js/viewer.mjs similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/js/viewer.mjs rename to app/core/src/main/resources/static/pdfjs-legacy/js/viewer.mjs diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/js/viewer.mjs.map b/app/core/src/main/resources/static/pdfjs-legacy/js/viewer.mjs.map similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/js/viewer.mjs.map rename to app/core/src/main/resources/static/pdfjs-legacy/js/viewer.mjs.map diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ach/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/ach/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ach/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/ach/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/af/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/af/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/af/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/af/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/an/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/an/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/an/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/an/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ar/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/ar/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ar/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/ar/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ast/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/ast/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ast/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/ast/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/az/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/az/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/az/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/az/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/be/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/be/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/be/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/be/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/bg/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/bg/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/bg/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/bg/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/bn/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/bn/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/bn/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/bn/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/bo/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/bo/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/bo/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/bo/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/br/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/br/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/br/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/br/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/brx/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/brx/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/brx/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/brx/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/bs/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/bs/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/bs/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/bs/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ca/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/ca/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ca/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/ca/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/cak/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/cak/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/cak/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/cak/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ckb/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/ckb/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ckb/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/ckb/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/cs/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/cs/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/cs/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/cs/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/cy/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/cy/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/cy/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/cy/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/da/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/da/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/da/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/da/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/de/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/de/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/de/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/de/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/dsb/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/dsb/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/dsb/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/dsb/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/el/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/el/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/el/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/el/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/en-CA/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/en-CA/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/en-CA/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/en-CA/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/en-GB/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/en-GB/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/en-GB/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/en-GB/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/en-US/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/en-US/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/en-US/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/en-US/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/eo/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/eo/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/eo/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/eo/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/es-AR/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/es-AR/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/es-AR/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/es-AR/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/es-CL/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/es-CL/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/es-CL/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/es-CL/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/es-ES/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/es-ES/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/es-ES/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/es-ES/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/es-MX/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/es-MX/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/es-MX/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/es-MX/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/et/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/et/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/et/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/et/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/eu/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/eu/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/eu/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/eu/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/fa/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/fa/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/fa/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/fa/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ff/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/ff/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ff/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/ff/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/fi/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/fi/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/fi/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/fi/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/fr/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/fr/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/fr/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/fr/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/fur/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/fur/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/fur/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/fur/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/fy-NL/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/fy-NL/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/fy-NL/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/fy-NL/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ga-IE/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/ga-IE/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ga-IE/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/ga-IE/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/gd/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/gd/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/gd/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/gd/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/gl/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/gl/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/gl/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/gl/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/gn/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/gn/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/gn/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/gn/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/gu-IN/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/gu-IN/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/gu-IN/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/gu-IN/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/he/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/he/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/he/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/he/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/hi-IN/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/hi-IN/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/hi-IN/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/hi-IN/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/hr/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/hr/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/hr/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/hr/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/hsb/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/hsb/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/hsb/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/hsb/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/hu/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/hu/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/hu/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/hu/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/hy-AM/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/hy-AM/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/hy-AM/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/hy-AM/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/hye/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/hye/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/hye/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/hye/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ia/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/ia/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ia/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/ia/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/id/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/id/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/id/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/id/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/is/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/is/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/is/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/is/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/it/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/it/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/it/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/it/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ja/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/ja/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ja/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/ja/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ka/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/ka/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ka/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/ka/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/kab/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/kab/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/kab/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/kab/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/kk/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/kk/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/kk/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/kk/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/km/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/km/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/km/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/km/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/kn/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/kn/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/kn/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/kn/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ko/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/ko/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ko/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/ko/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/lij/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/lij/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/lij/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/lij/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/lo/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/lo/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/lo/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/lo/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/locale.json b/app/core/src/main/resources/static/pdfjs-legacy/locale/locale.json similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/locale.json rename to app/core/src/main/resources/static/pdfjs-legacy/locale/locale.json diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/lt/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/lt/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/lt/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/lt/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ltg/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/ltg/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ltg/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/ltg/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/lv/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/lv/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/lv/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/lv/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/meh/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/meh/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/meh/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/meh/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/mk/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/mk/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/mk/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/mk/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/mr/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/mr/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/mr/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/mr/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ms/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/ms/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ms/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/ms/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/my/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/my/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/my/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/my/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/nb-NO/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/nb-NO/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/nb-NO/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/nb-NO/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ne-NP/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/ne-NP/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ne-NP/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/ne-NP/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/nl/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/nl/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/nl/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/nl/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/nn-NO/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/nn-NO/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/nn-NO/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/nn-NO/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/oc/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/oc/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/oc/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/oc/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/pa-IN/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/pa-IN/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/pa-IN/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/pa-IN/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/pl/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/pl/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/pl/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/pl/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/pt-BR/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/pt-BR/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/pt-BR/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/pt-BR/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/pt-PT/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/pt-PT/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/pt-PT/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/pt-PT/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/rm/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/rm/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/rm/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/rm/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ro/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/ro/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ro/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/ro/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ru/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/ru/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ru/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/ru/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/sat/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/sat/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/sat/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/sat/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/sc/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/sc/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/sc/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/sc/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/scn/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/scn/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/scn/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/scn/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/sco/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/sco/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/sco/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/sco/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/si/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/si/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/si/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/si/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/sk/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/sk/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/sk/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/sk/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/skr/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/skr/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/skr/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/skr/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/sl/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/sl/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/sl/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/sl/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/son/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/son/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/son/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/son/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/sq/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/sq/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/sq/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/sq/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/sr/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/sr/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/sr/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/sr/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/sv-SE/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/sv-SE/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/sv-SE/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/sv-SE/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/szl/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/szl/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/szl/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/szl/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ta/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/ta/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ta/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/ta/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/te/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/te/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/te/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/te/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/tg/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/tg/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/tg/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/tg/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/th/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/th/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/th/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/th/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/tl/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/tl/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/tl/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/tl/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/tr/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/tr/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/tr/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/tr/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/trs/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/trs/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/trs/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/trs/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/uk/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/uk/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/uk/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/uk/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ur/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/ur/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/ur/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/ur/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/uz/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/uz/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/uz/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/uz/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/vi/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/vi/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/vi/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/vi/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/wo/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/wo/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/wo/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/wo/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/xh/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/xh/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/xh/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/xh/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/zh-CN/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/zh-CN/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/zh-CN/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/zh-CN/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/zh-TW/viewer.ftl b/app/core/src/main/resources/static/pdfjs-legacy/locale/zh-TW/viewer.ftl similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/locale/zh-TW/viewer.ftl rename to app/core/src/main/resources/static/pdfjs-legacy/locale/zh-TW/viewer.ftl diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/pdf.mjs b/app/core/src/main/resources/static/pdfjs-legacy/pdf.mjs similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/pdf.mjs rename to app/core/src/main/resources/static/pdfjs-legacy/pdf.mjs diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/pdf.mjs.map b/app/core/src/main/resources/static/pdfjs-legacy/pdf.mjs.map similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/pdf.mjs.map rename to app/core/src/main/resources/static/pdfjs-legacy/pdf.mjs.map diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/pdf.sandbox.mjs b/app/core/src/main/resources/static/pdfjs-legacy/pdf.sandbox.mjs similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/pdf.sandbox.mjs rename to app/core/src/main/resources/static/pdfjs-legacy/pdf.sandbox.mjs diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/pdf.sandbox.mjs.map b/app/core/src/main/resources/static/pdfjs-legacy/pdf.sandbox.mjs.map similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/pdf.sandbox.mjs.map rename to app/core/src/main/resources/static/pdfjs-legacy/pdf.sandbox.mjs.map diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/pdf.worker.entry.js b/app/core/src/main/resources/static/pdfjs-legacy/pdf.worker.entry.js similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/pdf.worker.entry.js rename to app/core/src/main/resources/static/pdfjs-legacy/pdf.worker.entry.js diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/pdf.worker.mjs b/app/core/src/main/resources/static/pdfjs-legacy/pdf.worker.mjs similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/pdf.worker.mjs rename to app/core/src/main/resources/static/pdfjs-legacy/pdf.worker.mjs diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/pdf.worker.mjs.map b/app/core/src/main/resources/static/pdfjs-legacy/pdf.worker.mjs.map similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/pdf.worker.mjs.map rename to app/core/src/main/resources/static/pdfjs-legacy/pdf.worker.mjs.map diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitDingbats.pfb b/app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitDingbats.pfb similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitDingbats.pfb rename to app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitDingbats.pfb diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitFixed.pfb b/app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitFixed.pfb similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitFixed.pfb rename to app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitFixed.pfb diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitFixedBold.pfb b/app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitFixedBold.pfb similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitFixedBold.pfb rename to app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitFixedBold.pfb diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitFixedBoldItalic.pfb b/app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitFixedBoldItalic.pfb similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitFixedBoldItalic.pfb rename to app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitFixedBoldItalic.pfb diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitFixedItalic.pfb b/app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitFixedItalic.pfb similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitFixedItalic.pfb rename to app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitFixedItalic.pfb diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitSerif.pfb b/app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitSerif.pfb similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitSerif.pfb rename to app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitSerif.pfb diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitSerifBold.pfb b/app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitSerifBold.pfb similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitSerifBold.pfb rename to app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitSerifBold.pfb diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitSerifBoldItalic.pfb b/app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitSerifBoldItalic.pfb similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitSerifBoldItalic.pfb rename to app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitSerifBoldItalic.pfb diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitSerifItalic.pfb b/app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitSerifItalic.pfb similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitSerifItalic.pfb rename to app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitSerifItalic.pfb diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitSymbol.pfb b/app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitSymbol.pfb similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitSymbol.pfb rename to app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/FoxitSymbol.pfb diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/LICENSE_FOXIT b/app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/LICENSE_FOXIT similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/LICENSE_FOXIT rename to app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/LICENSE_FOXIT diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/LICENSE_LIBERATION b/app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/LICENSE_LIBERATION similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/LICENSE_LIBERATION rename to app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/LICENSE_LIBERATION diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/LiberationSans-Bold.ttf b/app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/LiberationSans-Bold.ttf similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/LiberationSans-Bold.ttf rename to app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/LiberationSans-Bold.ttf diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/LiberationSans-BoldItalic.ttf b/app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/LiberationSans-BoldItalic.ttf similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/LiberationSans-BoldItalic.ttf rename to app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/LiberationSans-BoldItalic.ttf diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/LiberationSans-Italic.ttf b/app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/LiberationSans-Italic.ttf similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/LiberationSans-Italic.ttf rename to app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/LiberationSans-Italic.ttf diff --git a/stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/LiberationSans-Regular.ttf b/app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/LiberationSans-Regular.ttf similarity index 100% rename from stirling-pdf/src/main/resources/static/pdfjs-legacy/standard_fonts/LiberationSans-Regular.ttf rename to app/core/src/main/resources/static/pdfjs-legacy/standard_fonts/LiberationSans-Regular.ttf diff --git a/stirling-pdf/src/main/resources/static/rainbow.svg b/app/core/src/main/resources/static/rainbow.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/rainbow.svg rename to app/core/src/main/resources/static/rainbow.svg diff --git a/stirling-pdf/src/main/resources/static/safari-pinned-tab.svg b/app/core/src/main/resources/static/safari-pinned-tab.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/safari-pinned-tab.svg rename to app/core/src/main/resources/static/safari-pinned-tab.svg diff --git a/stirling-pdf/src/main/resources/static/site.webmanifest b/app/core/src/main/resources/static/site.webmanifest similarity index 100% rename from stirling-pdf/src/main/resources/static/site.webmanifest rename to app/core/src/main/resources/static/site.webmanifest diff --git a/stirling-pdf/src/main/resources/static/sun.svg b/app/core/src/main/resources/static/sun.svg similarity index 100% rename from stirling-pdf/src/main/resources/static/sun.svg rename to app/core/src/main/resources/static/sun.svg diff --git a/stirling-pdf/src/main/resources/templates/about.html b/app/core/src/main/resources/templates/about.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/about.html rename to app/core/src/main/resources/templates/about.html diff --git a/stirling-pdf/src/main/resources/templates/account.html b/app/core/src/main/resources/templates/account.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/account.html rename to app/core/src/main/resources/templates/account.html diff --git a/stirling-pdf/src/main/resources/templates/adminSettings.html b/app/core/src/main/resources/templates/adminSettings.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/adminSettings.html rename to app/core/src/main/resources/templates/adminSettings.html diff --git a/stirling-pdf/src/main/resources/templates/auto-split-pdf.html b/app/core/src/main/resources/templates/auto-split-pdf.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/auto-split-pdf.html rename to app/core/src/main/resources/templates/auto-split-pdf.html diff --git a/stirling-pdf/src/main/resources/templates/change-creds.html b/app/core/src/main/resources/templates/change-creds.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/change-creds.html rename to app/core/src/main/resources/templates/change-creds.html diff --git a/stirling-pdf/src/main/resources/templates/convert/eml-to-pdf.html b/app/core/src/main/resources/templates/convert/eml-to-pdf.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/convert/eml-to-pdf.html rename to app/core/src/main/resources/templates/convert/eml-to-pdf.html diff --git a/stirling-pdf/src/main/resources/templates/convert/file-to-pdf.html b/app/core/src/main/resources/templates/convert/file-to-pdf.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/convert/file-to-pdf.html rename to app/core/src/main/resources/templates/convert/file-to-pdf.html diff --git a/stirling-pdf/src/main/resources/templates/convert/html-to-pdf.html b/app/core/src/main/resources/templates/convert/html-to-pdf.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/convert/html-to-pdf.html rename to app/core/src/main/resources/templates/convert/html-to-pdf.html diff --git a/stirling-pdf/src/main/resources/templates/convert/img-to-pdf.html b/app/core/src/main/resources/templates/convert/img-to-pdf.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/convert/img-to-pdf.html rename to app/core/src/main/resources/templates/convert/img-to-pdf.html diff --git a/stirling-pdf/src/main/resources/templates/convert/markdown-to-pdf.html b/app/core/src/main/resources/templates/convert/markdown-to-pdf.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/convert/markdown-to-pdf.html rename to app/core/src/main/resources/templates/convert/markdown-to-pdf.html diff --git a/stirling-pdf/src/main/resources/templates/convert/pdf-to-csv.html b/app/core/src/main/resources/templates/convert/pdf-to-csv.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/convert/pdf-to-csv.html rename to app/core/src/main/resources/templates/convert/pdf-to-csv.html diff --git a/stirling-pdf/src/main/resources/templates/convert/pdf-to-html.html b/app/core/src/main/resources/templates/convert/pdf-to-html.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/convert/pdf-to-html.html rename to app/core/src/main/resources/templates/convert/pdf-to-html.html diff --git a/stirling-pdf/src/main/resources/templates/convert/pdf-to-img.html b/app/core/src/main/resources/templates/convert/pdf-to-img.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/convert/pdf-to-img.html rename to app/core/src/main/resources/templates/convert/pdf-to-img.html diff --git a/stirling-pdf/src/main/resources/templates/convert/pdf-to-markdown.html b/app/core/src/main/resources/templates/convert/pdf-to-markdown.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/convert/pdf-to-markdown.html rename to app/core/src/main/resources/templates/convert/pdf-to-markdown.html diff --git a/stirling-pdf/src/main/resources/templates/convert/pdf-to-pdfa.html b/app/core/src/main/resources/templates/convert/pdf-to-pdfa.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/convert/pdf-to-pdfa.html rename to app/core/src/main/resources/templates/convert/pdf-to-pdfa.html diff --git a/stirling-pdf/src/main/resources/templates/convert/pdf-to-presentation.html b/app/core/src/main/resources/templates/convert/pdf-to-presentation.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/convert/pdf-to-presentation.html rename to app/core/src/main/resources/templates/convert/pdf-to-presentation.html diff --git a/stirling-pdf/src/main/resources/templates/convert/pdf-to-text.html b/app/core/src/main/resources/templates/convert/pdf-to-text.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/convert/pdf-to-text.html rename to app/core/src/main/resources/templates/convert/pdf-to-text.html diff --git a/stirling-pdf/src/main/resources/templates/convert/pdf-to-word.html b/app/core/src/main/resources/templates/convert/pdf-to-word.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/convert/pdf-to-word.html rename to app/core/src/main/resources/templates/convert/pdf-to-word.html diff --git a/stirling-pdf/src/main/resources/templates/convert/pdf-to-xml.html b/app/core/src/main/resources/templates/convert/pdf-to-xml.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/convert/pdf-to-xml.html rename to app/core/src/main/resources/templates/convert/pdf-to-xml.html diff --git a/stirling-pdf/src/main/resources/templates/convert/url-to-pdf.html b/app/core/src/main/resources/templates/convert/url-to-pdf.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/convert/url-to-pdf.html rename to app/core/src/main/resources/templates/convert/url-to-pdf.html diff --git a/stirling-pdf/src/main/resources/templates/crop.html b/app/core/src/main/resources/templates/crop.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/crop.html rename to app/core/src/main/resources/templates/crop.html diff --git a/stirling-pdf/src/main/resources/templates/database.html b/app/core/src/main/resources/templates/database.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/database.html rename to app/core/src/main/resources/templates/database.html diff --git a/stirling-pdf/src/main/resources/templates/edit-table-of-contents.html b/app/core/src/main/resources/templates/edit-table-of-contents.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/edit-table-of-contents.html rename to app/core/src/main/resources/templates/edit-table-of-contents.html diff --git a/stirling-pdf/src/main/resources/templates/error.html b/app/core/src/main/resources/templates/error.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/error.html rename to app/core/src/main/resources/templates/error.html diff --git a/stirling-pdf/src/main/resources/templates/extract-page.html b/app/core/src/main/resources/templates/extract-page.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/extract-page.html rename to app/core/src/main/resources/templates/extract-page.html diff --git a/stirling-pdf/src/main/resources/templates/fragments/card.html b/app/core/src/main/resources/templates/fragments/card.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/fragments/card.html rename to app/core/src/main/resources/templates/fragments/card.html diff --git a/stirling-pdf/src/main/resources/templates/fragments/common.html b/app/core/src/main/resources/templates/fragments/common.html similarity index 94% rename from stirling-pdf/src/main/resources/templates/fragments/common.html rename to app/core/src/main/resources/templates/fragments/common.html index d873fd7a1..78f0d5662 100644 --- a/stirling-pdf/src/main/resources/templates/fragments/common.html +++ b/app/core/src/main/resources/templates/fragments/common.html @@ -29,8 +29,40 @@ // Determine if this is actually a high DPI screen at page load const isHighDPI = systemDPR > 1.4; + + // Reset all navbar and dropdown scaling styles + function resetNavScaling() { + const navbarElement = document.querySelector('.navbar'); + if (navbarElement) { + navbarElement.style.transform = ''; + navbarElement.style.transformOrigin = ''; + navbarElement.style.width = ''; + navbarElement.style.left = ''; + navbarElement.style.right = ''; + navbarElement.style.marginBottom = ''; + navbarElement.classList.remove('navbar-expand-lg'); + navbarElement.classList.remove('navbar-expand-xl'); + } + // Reset dropdown scaling + const dropdowns = document.querySelectorAll('.dropdown-menu'); + dropdowns.forEach(dropdown => { + dropdown.style.transform = ''; + dropdown.style.transformOrigin = ''; + }); + // Reset CSS custom property + document.documentElement.style.setProperty('--navbar-height', ''); + } function scaleNav() { + resetNavScaling(); + if (window.innerWidth < 1200) { + const navbarElement = document.querySelector('.navbar'); + if (navbarElement) { + navbarElement.classList.remove('navbar-expand-lg'); + navbarElement.classList.add('navbar-expand-xl'); + } + return; + } const currentDPR = window.devicePixelRatio || 1; const browserZoom = currentDPR / systemDPR; diff --git a/stirling-pdf/src/main/resources/templates/fragments/errorBanner.html b/app/core/src/main/resources/templates/fragments/errorBanner.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/fragments/errorBanner.html rename to app/core/src/main/resources/templates/fragments/errorBanner.html diff --git a/stirling-pdf/src/main/resources/templates/fragments/errorBannerPerPage.html b/app/core/src/main/resources/templates/fragments/errorBannerPerPage.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/fragments/errorBannerPerPage.html rename to app/core/src/main/resources/templates/fragments/errorBannerPerPage.html diff --git a/stirling-pdf/src/main/resources/templates/fragments/featureGroupHeader.html b/app/core/src/main/resources/templates/fragments/featureGroupHeader.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/fragments/featureGroupHeader.html rename to app/core/src/main/resources/templates/fragments/featureGroupHeader.html diff --git a/stirling-pdf/src/main/resources/templates/fragments/featureGroupHeaderLegacy.html b/app/core/src/main/resources/templates/fragments/featureGroupHeaderLegacy.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/fragments/featureGroupHeaderLegacy.html rename to app/core/src/main/resources/templates/fragments/featureGroupHeaderLegacy.html diff --git a/stirling-pdf/src/main/resources/templates/fragments/footer.html b/app/core/src/main/resources/templates/fragments/footer.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/fragments/footer.html rename to app/core/src/main/resources/templates/fragments/footer.html diff --git a/stirling-pdf/src/main/resources/templates/fragments/languageEntry.html b/app/core/src/main/resources/templates/fragments/languageEntry.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/fragments/languageEntry.html rename to app/core/src/main/resources/templates/fragments/languageEntry.html diff --git a/stirling-pdf/src/main/resources/templates/fragments/languages.html b/app/core/src/main/resources/templates/fragments/languages.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/fragments/languages.html rename to app/core/src/main/resources/templates/fragments/languages.html diff --git a/stirling-pdf/src/main/resources/templates/fragments/multi-toolAdvert.html b/app/core/src/main/resources/templates/fragments/multi-toolAdvert.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/fragments/multi-toolAdvert.html rename to app/core/src/main/resources/templates/fragments/multi-toolAdvert.html diff --git a/stirling-pdf/src/main/resources/templates/fragments/navElements.html b/app/core/src/main/resources/templates/fragments/navElements.html similarity index 100% rename from stirling-pdf/src/main/resources/templates/fragments/navElements.html rename to app/core/src/main/resources/templates/fragments/navElements.html diff --git a/stirling-pdf/src/main/resources/templates/fragments/navbar.html b/app/core/src/main/resources/templates/fragments/navbar.html similarity index 93% rename from stirling-pdf/src/main/resources/templates/fragments/navbar.html rename to app/core/src/main/resources/templates/fragments/navbar.html index f6f707211..773810a5a 100644 --- a/stirling-pdf/src/main/resources/templates/fragments/navbar.html +++ b/app/core/src/main/resources/templates/fragments/navbar.html @@ -45,9 +45,10 @@ apps + expand_more