feat: Add complete Docker deployment with web-based setup wizard

Major additions:
- Web-based setup wizard (setup.php, setup_wizard.php, setup-wizard.js)
- Production Docker configuration (docker-compose.prod.yml, .env.production)
- Database initialization SQL files (deploy/init_settings.sql)
- Template builder system with drag-and-drop UI
- Advanced features (OAuth, CDN, enhanced analytics, monetization)
- Comprehensive documentation (deployment guides, quick start, feature docs)
- Design system with accessibility and responsive layout
- Deployment automation scripts (deploy.ps1, generate-secrets.ps1)

Setup wizard allows customization of:
- Platform name and branding
- Domain configuration
- Membership tiers and pricing
- Admin credentials
- Feature toggles

Database includes 270+ tables for complete video streaming platform with
advanced features for analytics, moderation, template building, and monetization.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
SamiAhmed7777
2025-10-26 01:42:31 -07:00
parent 0b7e2d0a5b
commit d22b3e1c0d
90 changed files with 22329 additions and 268 deletions

View File

@@ -18,7 +18,7 @@ defined('_ISVALID') or header('Location: /error');
class VIPaccess
{
/* check IP range */
public function banIPrange_db($ip)
public static function banIPrange_db($ip)
{
global $db;
@@ -33,12 +33,12 @@ class VIPaccess
}
return $check;
}
public function banIPrange_single($ip, $range)
public static function banIPrange_single($ip, $range)
{
return $check = (VIPrange::ip_in_range($ip, $range) == 1) ? 1 : 0;
}
/* section access based on ip lists */
public function sectionAccess($backend_access_url)
public static function sectionAccess($backend_access_url)
{
global $class_database, $class_filter, $cfg, $section;
$u = $_SERVER['REQUEST_URI'];
@@ -73,7 +73,7 @@ class VIPaccess
$be_error = ($be_access == 0 and $_section == 'backend') ? die('<h1><b>Not Found</b></h1>The requested URL / was not found on this server.') : null;
}
/* check for allowed email domains */
public function emailDomainCheck($mail = '')
public static function emailDomainCheck($mail = '')
{
global $cfg;
@@ -91,7 +91,7 @@ class VIPaccess
}
/* check remote ip in ip lists */
public function checkIPlist($path)
public static function checkIPlist($path)
{
global $class_filter, $cfg;