Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
bc28448
Revert "fix: Deploy Name"
BibaltiK Jan 16, 2026
bd8b97a
Revert "add build deployment"
BibaltiK Jan 16, 2026
a8d0207
Revert "refactor: change namespace"
BibaltiK Jan 16, 2026
ef93898
Revert "fix: code quali"
BibaltiK Jan 16, 2026
9f10cf4
Revert "refactor: change for php 8.4"
BibaltiK Jan 16, 2026
6e1a34a
Revert "refactor: finalize management CLI, fix volume detection and p…
BibaltiK Jan 16, 2026
9aa17ed
Revert "add required gitkeep"
BibaltiK Jan 16, 2026
51ea6ff
Revert "bumps"
BibaltiK Jan 16, 2026
0a25524
Revert "refactor magic string"
BibaltiK Jan 16, 2026
b6e0399
Revert "refactor magic string"
BibaltiK Jan 16, 2026
78633af
Revert "refactor"
BibaltiK Jan 16, 2026
7e244ae
Revert "-"
BibaltiK Jan 16, 2026
1ef3145
Revert "moved enum"
BibaltiK Jan 16, 2026
1ecfcb1
Revert "rename Method"
BibaltiK Jan 16, 2026
527a0ad
Revert "implements Property Hook Token"
BibaltiK Jan 16, 2026
e74520a
Revert "implements Property Hook AccountActivation"
BibaltiK Jan 16, 2026
d3d33a3
Revert "implements Property Hook AccountAccessAuth"
BibaltiK Jan 16, 2026
81b094c
Revert "bump action script"
BibaltiK Jan 16, 2026
a399318
Revert "-"
BibaltiK Jan 16, 2026
8833844
Revert "fix package for deployment"
BibaltiK Jan 16, 2026
785e6b6
Revert "bump checkout and rsync actions"
BibaltiK Jan 16, 2026
fef3772
Revert "refactor: improve bin/hackathon CLI and update documentation"
BibaltiK Jan 16, 2026
f01c200
Revert "Changes for property hook"
BibaltiK Jan 16, 2026
ba49309
Revert "reorganisation"
BibaltiK Jan 16, 2026
51a859d
Revert "rewrite for php 8.4"
BibaltiK Jan 16, 2026
23c1953
Revert "rewrite script with AI"
BibaltiK Jan 16, 2026
45778b8
Revert "fix phpunit config"
BibaltiK Jan 16, 2026
0811b79
Revert "fix wotkflow"
BibaltiK Jan 16, 2026
6867e6b
Revert "add dev url for webhook"
BibaltiK Jan 16, 2026
70c4477
Revert "add dev url for webhook"
BibaltiK Jan 16, 2026
f5af1a0
Revert "add dev url for webhook"
BibaltiK Jan 16, 2026
f52a686
Revert "add dev url for webhook"
BibaltiK Jan 16, 2026
852552b
Revert "refactor clone readonly class with new parameter"
BibaltiK Jan 16, 2026
1b424ed
Revert "bump php 8.3 to 8.4.16"
BibaltiK Jan 16, 2026
3c4c5fc
Revert "change route implementation and fix any routes"
BibaltiK Jan 16, 2026
a81863a
Revert "Implements ErrorHandler with Logger"
BibaltiK Jan 16, 2026
027858c
Revert "implements authorized validation"
BibaltiK Jan 16, 2026
94cf610
Revert "implements Logout Endpoint"
BibaltiK Jan 16, 2026
df34796
Revert "add version to constants"
BibaltiK Jan 16, 2026
24101fb
Revert "remove version from composer"
BibaltiK Jan 16, 2026
2aa626b
Revert "Bump"
BibaltiK Jan 16, 2026
e439394
Revert "add version to composer"
BibaltiK Jan 16, 2026
e69edf7
Revert "change Auth Responsetyp to unauthorized"
BibaltiK Jan 16, 2026
a8ab7e3
Revert "implements last aktivity updater"
BibaltiK Jan 16, 2026
f07c9e6
Revert "add Account Role Enum"
BibaltiK Jan 16, 2026
6a7375b
Revert "change SwaggerUI Title"
BibaltiK Jan 16, 2026
ce4cb3e
Revert "fix deploy uri"
BibaltiK Jan 16, 2026
58f2200
Revert "validate security Schemes"
BibaltiK Jan 16, 2026
7c79821
Revert "downgrad notify"
BibaltiK Jan 16, 2026
cb29c93
Revert "-"
BibaltiK Jan 16, 2026
26c4276
Revert "-"
BibaltiK Jan 16, 2026
5ab1fdf
Revert "-"
BibaltiK Jan 16, 2026
0ec18d5
Revert "-"
BibaltiK Jan 16, 2026
b3aeb07
Revert "-"
BibaltiK Jan 16, 2026
e3983ea
Revert "bump github actions"
BibaltiK Jan 16, 2026
2304d21
Revert "initial with Auth"
BibaltiK Jan 16, 2026
86a7cee
Revert "clean"
BibaltiK Jan 16, 2026
f88932a
Revert "remove zendframework bridge"
BibaltiK Jan 16, 2026
6bd31bc
Revert "fix codesniffer ruleset"
BibaltiK Jan 16, 2026
6e3621e
Revert "adjust workflows"
BibaltiK Jan 16, 2026
1a48e0c
Revert "update dependecies"
BibaltiK Jan 16, 2026
6bf3f90
Revert "re organized structure"
BibaltiK Jan 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .env.dist
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
APP_ENV=develope
#docker configuration
ENV=dev
USERMAP_UID=1000
USERMAP_GID=984
MYSQL_USER=dev
MYSQL_PASSWORD=dev
MYSQL_ROOT_PASSWORD=root
MYSQL_DATABASE=db
MYSQL_PUBLIC_PORT=3306
MYSQL_TESTING_PORT=3307
PHP_VERSION=8.3
MARIADB_VERSION=latest
APACHE_VERSION=2.4-alpine
Expand Down
30 changes: 0 additions & 30 deletions .github/actions/setup-php-composer/action.yml

This file was deleted.

194 changes: 117 additions & 77 deletions .github/workflows/codestyle-and-unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,107 +4,147 @@ on:
branches:
- '*'
- '!master'
- '!develop'
paths:
- "**.php"
workflow_dispatch:
pull_request:

jobs:
# 1. Job: Statische Analyse (Lint, Stan, CodeSniffer)
# Diese laufen zusammen, da sie keine Datenbank benötigen.
static-analysis:
name: PHP Quality Checks
runs-on: ubuntu-latest
phplint:
name: PHP Lint
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v4.1.1

- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-

- name: Setup PHP and Composer
uses: ./.github/actions/setup-php-composer
- name: Install dependencies
run: composer install --prefer-dist --no-progress

- name: Run PHP Linter
run: composer run-script phplint

phpstan:
name: PHP Stan
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4.1.1

- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-

- name: Install dependencies
run: composer install --prefer-dist --no-progress

- name: Run PHP Stan
run: composer run-script phpstan

phpcs:
name: PHP CodeSniffer
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4.1.1

- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-

- name: Install dependencies
run: composer install --prefer-dist --no-progress

- name: Run PHP Codesniffer
run: composer run-script phpcs

- name: Notify Failure
if: failure()
uses: rjstone/discord-webhook-notify@v1.0.4
with:
severity: error
details: Static Analysis (Lint/Stan/CS) failed.
webhookUrl: ${{ secrets.WEBHOOK_DISCORD_URL }}

# 2. Job: Tests (Unit & Functional)
# Dieser Job benötigt die MariaDB Service-Container
tests:
name: PHP Tests
needs: static-analysis
runs-on: ubuntu-latest
services:
database-testing:
image: mariadb:latest
env:
MYSQL_ALLOW_EMPTY_PASSWORD: false
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: db
MYSQL_USER: dev
MYSQL_PASSWORD: dev
ports:
- 3306:3306
options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
env:
DB_DATABASE: db
DB_USERNAME: dev
DB_PASSWORD: dev
DB_HOST: 127.0.0.1
DB_PORT: 3306
APP_ENV: action
phpunit:
name: PHP Unit Test
needs:
- phplint
- phpstan
- phpcs
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v4.1.1

- name: Setup PHP and Composer
uses: ./.github/actions/setup-php-composer
- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-

- name: Install dependencies
run: composer install --prefer-dist --no-progress

- name: Run PHP Unit Test
run: composer run-script unittest

- name: Run PHP Functional Test
run: composer run-script functionaltest
phpfunctional:
name: PHP Functional Test
needs:
- phplint
- phpstan
- phpcs
runs-on: ubuntu-20.04

- name: Notify Failure
if: failure()
uses: rjstone/discord-webhook-notify@v1.0.4
with:
severity: error
details: Unit or Functional Tests failed.
webhookUrl: ${{ secrets.WEBHOOK_DISCORD_URL }}

# 3. Job: Abschluss-Benachrichtigung
final-status:
name: Final Status Message
needs: [static-analysis, tests]
if: always()
runs-on: ubuntu-latest
steps:
- name: Check Info Success
if: ${{ needs.static-analysis.result == 'success' && needs.tests.result == 'success' }}
uses: rjstone/discord-webhook-notify@v1.0.4
- uses: actions/checkout@v4.1.1

- name: Install PHP with extensions.
uses: shivammathur/setup-php@v2
with:
severity: info
details: Checks successfully executed on API.
webhookUrl: ${{ secrets.WEBHOOK_DISCORD_URL }}
php-version: 8.3
extensions: pdo, pdo_sqlite
ini-values: date.timezone='UTC'

- name: Check Info Failure
if: ${{ needs.static-analysis.result != 'success' || needs.tests.result != 'success' }}
uses: rjstone/discord-webhook-notify@v1.0.4
- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v4
with:
severity: error
details: >-
${{ format('❌ Incorrect checks during the API check. [View Logs](https://github.com/{0}/actions/runs/{1})',
github.repository,
github.run_id) }}
webhookUrl: ${{ secrets.WEBHOOK_DISCORD_URL }}
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-

- name: Install dependencies
run: composer install --prefer-dist --no-progress

- name: Run PHP Unit Test
run: composer run-script functionaltest
121 changes: 0 additions & 121 deletions .github/workflows/deploy_build.yml

This file was deleted.

Loading
Loading