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

@@ -37,7 +37,7 @@ class VNotify
$this->msg_body = '';
$this->msg_alt = $language['notif.mail.alt.body'];
}
public function queInit($type, $clear_arr, $db_id = '', $na = '')
public static function queInit($type, $clear_arr, $db_id = '', $na = '')
{
global $cfg, $class_database, $class_filter, $language;
@@ -170,12 +170,12 @@ class VNotify
}
/* str_replace associative arrays */
public function strReplaceAssoc(array $replace, $subject)
public static function strReplaceAssoc(array $replace, $subject)
{
return str_replace(array_keys($replace), array_values($replace), $subject);
}
/* adding to que and logging */
public function Mailer($mail_type, $mail_key)
public static function Mailer($mail_type, $mail_key)
{
global $db, $language, $class_database, $cfg, $class_filter;
@@ -217,7 +217,7 @@ class VNotify
return ($dname != '' ? $dname : ($ch_title != '' ? $ch_title : $username));
}
/* mailing */
public function Mail($section, $type, $_replace = '', $user_notification = '')
public static function Mail($section, $type, $_replace = '', $user_notification = '')
{
global $cfg, $class_database, $class_filter, $language, $smarty;
require 'class_phpmailer/vendor/autoload.php';
@@ -1210,7 +1210,7 @@ class VNotify
}
}
public function showNotice($type, $msg, $div_id = 'x_err')
public static function showNotice($type, $msg, $div_id = 'x_err')
{
global $language;