4 Commits

Author SHA1 Message Date
Arne Weiss 14d2e81d8c Fix admin controller crash: inline table name, fix submit action name
Build / build (push) Successful in 10s
2026-06-01 08:06:39 +02:00
Arne Weiss 2883b338f4 Add Gitea Actions CI/CD pipeline with release workflow
Build / build (push) Successful in 10s
Release / release (push) Successful in 9s
2026-06-01 07:57:23 +02:00
Arne Weiss 317d92b9d0 Rename module from cyp_withdrawalbutton to simple_withdrawalbutton
- Main file: cyp_withdrawalbutton.php -> simple_withdrawalbutton.php
- Admin controller: AdminCypWithdrawalController.php -> AdminSimpleWithdrawalController.php
- Class: Cyp_Withdrawalbutton -> Simple_withdrawalbutton
- DB table: cyp_withdrawal_request -> simple_withdrawal_request
- Config keys: CYP_WITHDRAWAL_* -> SIMPLE_WITHDRAWAL_*
- Admin tab: AdminCypWithdrawal -> AdminSimpleWithdrawal
- All template mod attributes updated
2026-06-01 07:34:26 +02:00
Arne Weiss 346ee7b616 Initial commit with all bug and compliance fixes
- Remove double pSQL() escaping in Db::insert/update calls (data corruption fix)
- Rename honeypot field from 'website' to 'cyp_hp_v1' to prevent browser autofill false positives
- Wrap Mail::Send() in try/catch; capture shop notification result to detect failures
- Scope order lookup to current shop (multi-shop fix)
- Translate scope_label and email subjects per language (de/en)
- Make formatDateTimeForMail() language-aware
- Add GDPR Art. 13 privacy notice to withdrawal form
- Add configurable privacy policy URL and Widerrufsbelehrung link
- Add configurable retention period and manual purge button in admin settings
- Show full submitted data on success page as proper receipt
- Fix admin redirect URL format in processStatusUpdate()
- Remove IP/UA hash display from admin detail view (GDPR data minimization)
2026-06-01 07:30:29 +02:00
2 changed files with 3 additions and 11 deletions
+2 -10
View File
@@ -8,8 +8,6 @@ on:
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
container:
image: php:8.2-cli-alpine
@@ -40,17 +38,11 @@ jobs:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG: ${{ github.ref_name }}
run: |
RESPONSE=$(curl -s -X POST \
RELEASE_ID=$(curl -sf -X POST \
-H "Authorization: token $TOKEN" \
-H "Content-Type: application/json" \
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/releases" \
-d "{\"tag_name\":\"$TAG\",\"name\":\"$TAG\"}")
echo "API response: $RESPONSE"
RELEASE_ID=$(echo "$RESPONSE" | jq -r '.id')
if [ -z "$RELEASE_ID" ] || [ "$RELEASE_ID" = "null" ]; then
echo "Failed to create release" && exit 1
fi
-d "{\"tag_name\":\"$TAG\",\"name\":\"$TAG\"}" | jq -r '.id')
curl -sf -X POST \
-H "Authorization: token $TOKEN" \
+1 -1
View File
@@ -28,7 +28,7 @@ class Simple_withdrawalbutton extends Module
$this->name = 'simple_withdrawalbutton';
$this->tab = 'administration';
$this->version = '0.1.0';
$this->author = 'Arne Weiss';
$this->author = 'Cyprès / Akiko Sake';
$this->need_instance = 0;
$this->bootstrap = true;
$this->ps_versions_compliancy = [