From e7f8f278ee5a2c18d91cb6fac616405d72ce0223 Mon Sep 17 00:00:00 2001 From: brock Date: Sun, 8 Mar 2026 00:42:40 +0000 Subject: [PATCH 01/11] Update .gitea/workflows/sonarqube_scans.yml --- .gitea/workflows/sonarqube_scans.yml | 30 ++++++++++------------------ 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/.gitea/workflows/sonarqube_scans.yml b/.gitea/workflows/sonarqube_scans.yml index f27911f..1095b57 100644 --- a/.gitea/workflows/sonarqube_scans.yml +++ b/.gitea/workflows/sonarqube_scans.yml @@ -1,24 +1,14 @@ -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened] +name: CI + +on: [push] -name: SonarQube Scan jobs: - sonarqube: - name: SonarQube Trigger + build-test: runs-on: ubuntu-latest + steps: - - name: Checking out - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: SonarQube Scan - uses: https://code.caldwell.digital/tools/sonarqube-action@v0.0.3 - with: - host: "https://qube.caldwell.digital" - login: ${{ secrets.SONARQUBE_TOKEN }} - projectName: "torsearch" - projectBaseDir: "./src" + - uses: actions/checkout@v3 + - run: echo "The ${{ github.repository }} repository has been cloned to the runner." + - uses: php-actions/composer@v6 + - run: echo "Composer dependencies have been installed" + - run: vendor/bin/phpunit From 82c3f7bb78ce79a8494d14fd7f5ceda1d0fa0822 Mon Sep 17 00:00:00 2001 From: brock Date: Sun, 8 Mar 2026 02:49:42 +0000 Subject: [PATCH 02/11] Update .gitea/workflows/sonarqube_scans.yml --- .gitea/workflows/sonarqube_scans.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/sonarqube_scans.yml b/.gitea/workflows/sonarqube_scans.yml index 1095b57..edbe702 100644 --- a/.gitea/workflows/sonarqube_scans.yml +++ b/.gitea/workflows/sonarqube_scans.yml @@ -2,6 +2,9 @@ name: CI on: [push] +permissions: + contents: write + jobs: build-test: runs-on: ubuntu-latest From 154292530a8e0b3c014e714e0361b5afb6ad071e Mon Sep 17 00:00:00 2001 From: brock Date: Sun, 8 Mar 2026 02:52:29 +0000 Subject: [PATCH 03/11] Update .gitea/workflows/sonarqube_scans.yml --- .gitea/workflows/sonarqube_scans.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/sonarqube_scans.yml b/.gitea/workflows/sonarqube_scans.yml index edbe702..91bf6de 100644 --- a/.gitea/workflows/sonarqube_scans.yml +++ b/.gitea/workflows/sonarqube_scans.yml @@ -2,13 +2,13 @@ name: CI on: [push] -permissions: - contents: write - jobs: build-test: runs-on: ubuntu-latest + permissions: + contents: write + steps: - uses: actions/checkout@v3 - run: echo "The ${{ github.repository }} repository has been cloned to the runner." From 706e8e9892e50b3ef26d766d760344c0aa32d4e7 Mon Sep 17 00:00:00 2001 From: brock Date: Sun, 8 Mar 2026 20:08:46 +0000 Subject: [PATCH 04/11] Update .gitea/workflows/sonarqube_scans.yml --- .gitea/workflows/sonarqube_scans.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/sonarqube_scans.yml b/.gitea/workflows/sonarqube_scans.yml index 91bf6de..47aa93b 100644 --- a/.gitea/workflows/sonarqube_scans.yml +++ b/.gitea/workflows/sonarqube_scans.yml @@ -10,7 +10,7 @@ jobs: contents: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v5 - run: echo "The ${{ github.repository }} repository has been cloned to the runner." - uses: php-actions/composer@v6 - run: echo "Composer dependencies have been installed" From 3e04d0a82da5d1597318b6f7f50dd3231a28071a Mon Sep 17 00:00:00 2001 From: brock Date: Sun, 8 Mar 2026 20:51:11 +0000 Subject: [PATCH 05/11] Update .gitea/workflows/sonarqube_scans.yml --- .gitea/workflows/sonarqube_scans.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/sonarqube_scans.yml b/.gitea/workflows/sonarqube_scans.yml index 47aa93b..c666c6e 100644 --- a/.gitea/workflows/sonarqube_scans.yml +++ b/.gitea/workflows/sonarqube_scans.yml @@ -12,6 +12,11 @@ jobs: steps: - uses: actions/checkout@v5 - run: echo "The ${{ github.repository }} repository has been cloned to the runner." - - uses: php-actions/composer@v6 + - name: composer install --no-dev + uses: php-actions/composer@v6 + with: + command: install + args: --no-dev + php_version: "8.4" - run: echo "Composer dependencies have been installed" - run: vendor/bin/phpunit From 937b673be67e0172b25293f01d8ea61b892f91d6 Mon Sep 17 00:00:00 2001 From: brock Date: Sun, 8 Mar 2026 21:01:49 +0000 Subject: [PATCH 06/11] Update .gitea/workflows/sonarqube_scans.yml --- .gitea/workflows/sonarqube_scans.yml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/sonarqube_scans.yml b/.gitea/workflows/sonarqube_scans.yml index c666c6e..8ba1ad4 100644 --- a/.gitea/workflows/sonarqube_scans.yml +++ b/.gitea/workflows/sonarqube_scans.yml @@ -6,17 +6,15 @@ jobs: build-test: runs-on: ubuntu-latest - permissions: - contents: write - steps: - - uses: actions/checkout@v5 - - run: echo "The ${{ github.repository }} repository has been cloned to the runner." - - name: composer install --no-dev - uses: php-actions/composer@v6 - with: - command: install - args: --no-dev - php_version: "8.4" - - run: echo "Composer dependencies have been installed" - - run: vendor/bin/phpunit + - name: Checkout repo + uses: actions/checkout@v5 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.4' # Specify your required PHP version + + - name: Install Composer dependencies + run: composer install -o + \ No newline at end of file From 49b017de3dad904d73d47623aff81902a2af25af Mon Sep 17 00:00:00 2001 From: brock Date: Sun, 8 Mar 2026 21:11:13 +0000 Subject: [PATCH 07/11] Update .gitea/workflows/sonarqube_scans.yml --- .gitea/workflows/sonarqube_scans.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/sonarqube_scans.yml b/.gitea/workflows/sonarqube_scans.yml index 8ba1ad4..4ee1696 100644 --- a/.gitea/workflows/sonarqube_scans.yml +++ b/.gitea/workflows/sonarqube_scans.yml @@ -15,6 +15,8 @@ jobs: with: php-version: '8.4' # Specify your required PHP version - - name: Install Composer dependencies - run: composer install -o + - name: Run phing + uses: phingofficial/phing-github-action@main + with: + targets: composer compileAssets \ No newline at end of file From 5ff89b905fd2b7129a5184f19199e9679642154a Mon Sep 17 00:00:00 2001 From: brock Date: Sun, 8 Mar 2026 21:18:23 +0000 Subject: [PATCH 08/11] Update .gitea/workflows/sonarqube_scans.yml --- .gitea/workflows/sonarqube_scans.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/sonarqube_scans.yml b/.gitea/workflows/sonarqube_scans.yml index 4ee1696..2257ad9 100644 --- a/.gitea/workflows/sonarqube_scans.yml +++ b/.gitea/workflows/sonarqube_scans.yml @@ -15,8 +15,10 @@ jobs: with: php-version: '8.4' # Specify your required PHP version - - name: Run phing - uses: phingofficial/phing-github-action@main - with: - targets: composer compileAssets + - name: Install phing + run: composer global require phing/phing + + - name: Run composer + run: composer install --no-dev --no-scripts -o + \ No newline at end of file From 6a860a4d758c7fd010b19130fdc37e1d8e5f282b Mon Sep 17 00:00:00 2001 From: brock Date: Sun, 8 Mar 2026 21:21:52 +0000 Subject: [PATCH 09/11] Update .gitea/workflows/sonarqube_scans.yml --- .gitea/workflows/sonarqube_scans.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/sonarqube_scans.yml b/.gitea/workflows/sonarqube_scans.yml index 2257ad9..96da370 100644 --- a/.gitea/workflows/sonarqube_scans.yml +++ b/.gitea/workflows/sonarqube_scans.yml @@ -21,4 +21,5 @@ jobs: - name: Run composer run: composer install --no-dev --no-scripts -o - \ No newline at end of file + - name: Run phing + run: $(composer config -g home)/vendor/bin/phing -f build.xml compileAssets \ No newline at end of file From e22306225b6b5995f3390a62f2a79b76e09e529d Mon Sep 17 00:00:00 2001 From: brock Date: Sun, 8 Mar 2026 21:26:22 +0000 Subject: [PATCH 10/11] Update .gitea/workflows/sonarqube_scans.yml --- .gitea/workflows/sonarqube_scans.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/sonarqube_scans.yml b/.gitea/workflows/sonarqube_scans.yml index 96da370..ae4020d 100644 --- a/.gitea/workflows/sonarqube_scans.yml +++ b/.gitea/workflows/sonarqube_scans.yml @@ -21,5 +21,9 @@ jobs: - name: Run composer run: composer install --no-dev --no-scripts -o - - name: Run phing - run: $(composer config -g home)/vendor/bin/phing -f build.xml compileAssets \ No newline at end of file + - name: Build tailwind + run: php bin/console tailwind:build + + - name: Compile assets + run: php bin/console asset-map:compile + \ No newline at end of file From 2f7d2767816f7575edf3a4da29d6df8f1d0a9bdb Mon Sep 17 00:00:00 2001 From: brock Date: Sun, 8 Mar 2026 23:01:28 +0000 Subject: [PATCH 11/11] Update .env --- .env | 1 + 1 file changed, 1 insertion(+) diff --git a/.env b/.env index b38c1cb..53cbc28 100644 --- a/.env +++ b/.env @@ -27,6 +27,7 @@ APP_SECRET= # DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4" # DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4" # DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8" +DATABASE_URL= ###< doctrine/doctrine-bundle ### MERCURE_JWT_SECRET="!ChangeThisMercureHubJWTSecretKey!"