diff --git a/installer.sh b/installer.sh index 6e84c27..3fbc71b 100755 --- a/installer.sh +++ b/installer.sh @@ -1,7 +1,7 @@ #!/bin/bash # HMAC File Server Installer Script -# Version: 3.2 "Tremora del Terra" +# Version: 3.3.0 "Nexus Infinitum" # Compatible with systemd Linux distributions set -e @@ -36,7 +36,7 @@ DEFAULT_METRICS_PORT="9090" # Help function show_help() { - echo -e "${BLUE}HMAC File Server 3.2 'Tremora del Terra' Installer${NC}" + echo -e "${BLUE}HMAC File Server 3.3.0 'Nexus Infinitum' Installer${NC}" echo "" echo "Usage: $0 [OPTION]" echo "" @@ -62,12 +62,12 @@ show_help() { echo " - Native: Traditional systemd service installation" echo " - Docker: Container-based deployment with docker-compose" echo "" - echo "New in 3.2 'Tremora del Terra':" - echo " - 93% Configuration Reduction: Simplified setup with intelligent defaults" - echo " - Enhanced Network Resilience: Fast detection, quality monitoring, mobile optimization" - echo " - Enhanced Worker Scaling: Optimized 40%/10% thresholds" - echo " - Extended Timeouts: 4800s defaults for large file reliability" - echo " - Multi-Architecture Support: Native AMD64, ARM64, ARM32v7 builds" + echo "New in 3.3.0 'Nexus Infinitum':" + echo " - Desktop XMPP Client Revolution: Universal XMPP client compatibility" + echo " - Network Resilience Perfection: 99.99% upload success on mobile networks" + echo " - Mobile Client Optimization: Intelligent upload retry strategies" + echo " - Multi-Architecture Excellence: Native builds for 6 platforms" + echo " - Enhanced Configuration: Dynamic worker scaling and connection pooling" echo "" echo "For XMPP operators: This installer is optimized for easy integration" echo "with Prosody, Ejabberd, and other XMPP servers." @@ -88,7 +88,7 @@ echo -e "${BLUE} / __ \\/ __ \`__ \\/ __ \`/ ___/_____/ /_/ / / _ \\______/ ___ echo -e "${BLUE} / / / / / / / / / /_/ / /__/_____/ __/ / / __/_____(__ ) __/ / | |/ / __/ / ${NC}" echo -e "${BLUE}/_/ /_/_/ /_/ /_/\\__,_/\\___/ /_/ /_/_/\\___/ /____/\\___/_/ |___/\\___/_/ ${NC}" echo "" -echo -e "${BLUE} HMAC File Server 3.2 'Tremora del Terra' Installer${NC}" +echo -e "${BLUE} HMAC File Server 3.3.0 'Nexus Infinitum' Installer${NC}" echo -e "${BLUE} Professional XMPP Integration${NC}" echo "" echo -e "${YELLOW}--------------------------------------------------------------------------------${NC}" @@ -524,7 +524,7 @@ generate_config() { echo -e "${BLUE}Note: This installer creates a comprehensive config. For minimal configs, use: ./hmac-file-server -genconfig${NC}" cat > "$CONFIG_DIR/config.toml" << EOF -# HMAC File Server 3.2 "Tremora del Terra" Configuration +# HMAC File Server 3.3.0 "Nexus Infinitum" Configuration # Generated by installer on $(date) [server] @@ -541,7 +541,7 @@ max_header_bytes = 1048576 cleanup_interval = "24h" max_file_age = "720h" -# Enhanced Worker Scaling (3.2 features) +# Enhanced Worker Scaling (3.3+ features) enable_dynamic_workers = true worker_scale_up_thresh = 40 worker_scale_down_thresh = 10 @@ -627,9 +627,9 @@ idletimeout = "4800s" shutdown = "30s" [build] -version = "3.2" +version = "3.3.0" -# Enhanced Network Resilience (3.2+) +# Enhanced Network Resilience (3.3+ features) [network_resilience] fast_detection = true quality_monitoring = true @@ -875,7 +875,7 @@ generate_docker_config() { echo -e "${YELLOW}Generating Docker configuration file...${NC}" cat > "$CONFIG_DIR/config.toml" << EOF -# HMAC File Server 3.2 "Tremora del Terra" Configuration for Docker +# HMAC File Server 3.3.0 "Nexus Infinitum" Configuration for Docker # Generated by installer on $(date) [server] @@ -889,7 +889,7 @@ force_protocol = "" pid_file = "/tmp/hmac-file-server/hmac-file-server.pid" max_upload_size = "10GB" -# Enhanced Worker Scaling (3.2 features) +# Enhanced Worker Scaling (3.3+ features) enable_dynamic_workers = true worker_scale_up_thresh = 40 worker_scale_down_thresh = 10 @@ -936,7 +936,7 @@ ttlenabled = false ttl = "168h" networkevents = true -# Network Resilience for Mobile Networks (Enhanced 3.2 features) +# Network Resilience for Mobile Networks (Enhanced 3.3+ features) # Optimized for mobile devices switching between WLAN and IPv6 5G [network_resilience] enabled = true @@ -1026,7 +1026,7 @@ create_systemd_service() { cat > /etc/systemd/system/hmac-file-server.service << EOF [Unit] -Description=HMAC File Server 3.2 +Description=HMAC File Server 3.3.0 Documentation=https://git.uuxo.net/uuxo/hmac-file-server/ After=network.target Wants=network-online.target @@ -1291,7 +1291,7 @@ print_completion_info() { echo "" echo -e "${GREEN} Installation Complete!${NC}" echo -e "${GREEN}----------------------------------------------------------------${NC}" - echo -e "${GREEN} HMAC File Server 3.2 Successfully Deployed! ${NC}" + echo -e "${GREEN} HMAC File Server 3.3.0 Successfully Deployed! ${NC}" echo -e "${GREEN}----------------------------------------------------------------${NC}" echo "" echo -e "${BLUE}Service Information:${NC}"