diff --git a/web/Modules/Customer/Database/Seeders/.gitkeep b/web/Modules/Customer/Database/Seeders/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/web/Modules/Customer/Database/Seeders/CustomerDatabaseSeeder.php b/web/Modules/Customer/Database/Seeders/CustomerDatabaseSeeder.php deleted file mode 100644 index dc9ee5c..0000000 --- a/web/Modules/Customer/Database/Seeders/CustomerDatabaseSeeder.php +++ /dev/null @@ -1,16 +0,0 @@ -call([]); - } -} diff --git a/web/Modules/Docker/Database/Seeders/.gitkeep b/web/Modules/Docker/Database/Seeders/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/web/Modules/Docker/Database/Seeders/DockerDatabaseSeeder.php b/web/Modules/Docker/Database/Seeders/DockerDatabaseSeeder.php deleted file mode 100644 index f7a7178..0000000 --- a/web/Modules/Docker/Database/Seeders/DockerDatabaseSeeder.php +++ /dev/null @@ -1,16 +0,0 @@ -call([]); - } -} diff --git a/web/Modules/Email/Database/Seeders/.gitkeep b/web/Modules/Email/Database/Seeders/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/web/Modules/Email/Database/Seeders/EmailDatabaseSeeder.php b/web/Modules/Email/Database/Seeders/EmailDatabaseSeeder.php deleted file mode 100644 index b571e11..0000000 --- a/web/Modules/Email/Database/Seeders/EmailDatabaseSeeder.php +++ /dev/null @@ -1,16 +0,0 @@ -call([]); - } -} diff --git a/web/Modules/LetsEncrypt/Database/Seeders/.gitkeep b/web/Modules/LetsEncrypt/Database/Seeders/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/web/Modules/LetsEncrypt/Database/Seeders/LetsEncryptDatabaseSeeder.php b/web/Modules/LetsEncrypt/Database/Seeders/LetsEncryptDatabaseSeeder.php deleted file mode 100644 index b986342..0000000 --- a/web/Modules/LetsEncrypt/Database/Seeders/LetsEncryptDatabaseSeeder.php +++ /dev/null @@ -1,16 +0,0 @@ -call([]); - } -} diff --git a/web/Modules/Microweber/Database/Seeders/.gitkeep b/web/Modules/Microweber/Database/Seeders/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/web/Modules/Microweber/Database/Seeders/MicroweberDatabaseSeeder.php b/web/Modules/Microweber/Database/Seeders/MicroweberDatabaseSeeder.php deleted file mode 100644 index bc2ea34..0000000 --- a/web/Modules/Microweber/Database/Seeders/MicroweberDatabaseSeeder.php +++ /dev/null @@ -1,16 +0,0 @@ -call([]); - } -} diff --git a/web/Modules/Microweber/MicroweberShellExecutor.php b/web/Modules/Microweber/MicroweberShellExecutor.php deleted file mode 100644 index 0005007..0000000 --- a/web/Modules/Microweber/MicroweberShellExecutor.php +++ /dev/null @@ -1,23 +0,0 @@ -getModuleNamespace(); - - return $panel - ->id('microweber::admin') - ->path('microweber/admin') - ->colors([ - 'primary' => Color::Teal, - ]) - ->discoverResources(in: module_path($this->module, 'Filament/Admin/Resources'), for: "$moduleNamespace\\Filament\\Admin\\Resources") - ->discoverPages(in: module_path($this->module, 'Filament/Admin/Pages'), for: "$moduleNamespace\\Filament\\Admin\\Pages") - ->pages([ - Pages\Dashboard::class, - ]) - ->discoverWidgets(in: module_path($this->module, 'Filament/Admin/Widgets'), for: "$moduleNamespace\\Filament\\Admin\\Widgets") - ->widgets([ - Widgets\AccountWidget::class, - Widgets\FilamentInfoWidget::class, - ]) - ->middleware([ - EncryptCookies::class, - AddQueuedCookiesToResponse::class, - StartSession::class, - AuthenticateSession::class, - ShareErrorsFromSession::class, - VerifyCsrfToken::class, - SubstituteBindings::class, - DisableBladeIconComponents::class, - DispatchServingFilamentEvent::class, - ]) - ->authMiddleware([ - Authenticate::class, - ]); - } - - protected function getModuleNamespace(): string - { - return config('modules.namespace').'\\'.$this->module; - } -} diff --git a/web/Modules/Microweber/routes/web.php b/web/Modules/Microweber/routes/web.php index 56187f2..4e8677b 100644 --- a/web/Modules/Microweber/routes/web.php +++ b/web/Modules/Microweber/routes/web.php @@ -17,17 +17,3 @@ use Modules\Microweber\App\Http\Controllers\MicroweberController; Route::group([], function () { Route::resource('microweber', MicroweberController::class)->names('microweber'); }); - -Route::get('waaw', function () { - - $whiteLabelSettings = []; - $whiteLabelSettings['whmcs_url'] = 'qko'; - - $whitelabel = new \MicroweberPackages\SharedServerScripts\MicroweberWhitelabelSettingsUpdater(); - $whitelabel->setPath(config('microweber.sharedPaths.app')); - $apply = $whitelabel->apply($whiteLabelSettings); - - dd($apply); - - -}); diff --git a/web/Modules/Minecraft/Database/Seeders/.gitkeep b/web/Modules/Minecraft/Database/Seeders/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/web/Modules/Minecraft/Database/Seeders/MinecraftDatabaseSeeder.php b/web/Modules/Minecraft/Database/Seeders/MinecraftDatabaseSeeder.php deleted file mode 100644 index 3e15c42..0000000 --- a/web/Modules/Minecraft/Database/Seeders/MinecraftDatabaseSeeder.php +++ /dev/null @@ -1,16 +0,0 @@ -call([]); - } -} diff --git a/web/Modules/Terminal/Database/Seeders/.gitkeep b/web/Modules/Terminal/Database/Seeders/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/web/Modules/Terminal/Database/Seeders/TerminalDatabaseSeeder.php b/web/Modules/Terminal/Database/Seeders/TerminalDatabaseSeeder.php deleted file mode 100644 index 58c1d3d..0000000 --- a/web/Modules/Terminal/Database/Seeders/TerminalDatabaseSeeder.php +++ /dev/null @@ -1,16 +0,0 @@ -call([]); - } -} diff --git a/web/app/ApiSDK/PhyreApiSDK.php b/web/app/ApiSDK/PhyreApiSDK.php index 5c92b9f..1686ca0 100644 --- a/web/app/ApiSDK/PhyreApiSDK.php +++ b/web/app/ApiSDK/PhyreApiSDK.php @@ -53,10 +53,10 @@ class PhyreApiSDK curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $requestType); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($params)); -// curl_setopt($ch, CURLOPT_HTTPHEADER, array( -// 'Content-Type: application/x-www-form-urlencoded', -// 'Authorization: Basic '.base64_encode($this->username.':'.$this->password) -// )); + curl_setopt($ch, CURLOPT_HTTPHEADER, array( + 'Content-Type: application/x-www-form-urlencoded', + 'Authorization: Basic '.base64_encode($this->username.':'.$this->password) + )); $response = curl_exec($ch); curl_close($ch); diff --git a/web/phpunit-coverage.xml b/web/phpunit-coverage.xml index 95310f5..ed0e35b 100644 --- a/web/phpunit-coverage.xml +++ b/web/phpunit-coverage.xml @@ -36,6 +36,7 @@ app/Filament Modules/*/App/Filament Modules/*/Filament + Modules/*/Database/migrations