From dc7dcdd6505ef4fd5f3b0569aae9f2ba737eef7e Mon Sep 17 00:00:00 2001 From: mheuer Date: Mon, 15 Dec 2025 17:03:08 +0100 Subject: [PATCH] feat: remove deprecated AI-optimized deployment script - Delete deploy_to_hetzner_AI.sh which was superseded by main deployment script - Remove cache-busting implementation for index_noSIG_AIopt.html - Clean up unused SFTP deployment workflow with sshpass authentication --- deploy_to_hetzner_AI.sh | 64 ------------------ src/manual/auth.config.php | 12 ++++ src/manual/auth.php | 87 +++++++++++++++++++++++++ src/manual/index.php | 39 +++++++++++ src/manual/login.php | 130 +++++++++++++++++++++++++++++++++++++ src/manual/logout.php | 8 +++ src/manual/logs/access.log | 0 7 files changed, 276 insertions(+), 64 deletions(-) delete mode 100644 deploy_to_hetzner_AI.sh create mode 100644 src/manual/auth.config.php create mode 100644 src/manual/auth.php create mode 100644 src/manual/index.php create mode 100644 src/manual/login.php create mode 100644 src/manual/logout.php create mode 100644 src/manual/logs/access.log diff --git a/deploy_to_hetzner_AI.sh b/deploy_to_hetzner_AI.sh deleted file mode 100644 index 78ff8b2..0000000 --- a/deploy_to_hetzner_AI.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/bash -# SummitWave deployment with proper cache-busting for CSS/JS - -SERVER="www269.your-server.de" -USER="summitb" -REMOTE_DIR="public_html" -LOCAL_DIR="$(dirname "$0")/src" - -# === PASSWORD FROM ENVIRONMENT VARIABLE === -# export SFTP_PASS='DeinSFTPPasswort' -if [ -z "$SFTP_PASS" ]; then - echo "Error: Please set the SFTP_PASS environment variable with your password." - exit 1 -fi - -# === CHECK sshpass INSTALLATION === -if ! command -v sshpass &> /dev/null; then - echo "Error: sshpass is not installed. Install with: sudo apt install sshpass" - exit 1 -fi - -# === CREATE TEMPORARY WORKING COPY OF index_noSIG_AIopt.html WITH CACHE-BUSTING === -CACHE_PARAM=$(date +%s) # Timestamp als Cache-Buster -TEMP_INDEX=$(mktemp) - -# Nur CSS und JS Links in und