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 VLoginRemember extends VLogin
{
/* check if login remembered */
public function checkLogin($section)
public static function checkLogin($section)
{
global $db, $class_filter, $cfg;
@@ -76,7 +76,7 @@ class VLoginRemember extends VLogin
}
}
/* set remembered login */
public function setLogin($section, $username, $password)
public static function setLogin($section, $username, $password)
{
$http_user_agent = isset($_SERVER['HTTP_USER_AGENT']) ? sha1($_SERVER['HTTP_USER_AGENT']) : null;
$remote_addr = isset($_SERVER[REM_ADDR]) && ip2long($_SERVER[REM_ADDR]) ? ip2long($_SERVER[REM_ADDR]) : null;
@@ -86,7 +86,7 @@ class VLoginRemember extends VLogin
setcookie('l', $cookie, SET_COOKIE_OPTIONS);
}
/* clear remembered login */
public function clearLogin($section)
public static function clearLogin($section)
{
setcookie('l', '', DEL_COOKIE_OPTIONS);
}