From 6623f957a19830b2db9475ffe3e0451ac7993776 Mon Sep 17 00:00:00 2001 From: MrWeez Date: Tue, 7 May 2024 04:58:15 +0300 Subject: [PATCH 1/2] Fix old name and dead links --- .env.example | 2 +- .github/ISSUE_TEMPLATE/bug.yml | 4 ++-- LICENSE | 2 +- README.md | 10 +++++----- app/Extensions/PaymentGateways/PayPal/index.php | 2 +- app/Http/Controllers/HomeController.php | 2 +- database/seeders/Seeds/SettingsSeeder.php | 6 +++--- lang/en.json | 10 +++++----- public/install/index.php | 8 ++++---- themes/BlueInfinity/views/layouts/main.blade.php | 4 ++-- .../views/admin/activitylogs/index.blade.php | 2 +- .../default/views/admin/overview/index.blade.php | 14 +++++++------- themes/default/views/admin/servers/edit.blade.php | 4 ++-- themes/default/views/auth/login.blade.php | 2 +- .../views/information/privacy-content.blade.php | 6 +++--- themes/default/views/layouts/main.blade.php | 4 ++-- 16 files changed, 41 insertions(+), 41 deletions(-) diff --git a/.env.example b/.env.example index 755c5511c..ee25724ca 100644 --- a/.env.example +++ b/.env.example @@ -1,5 +1,5 @@ ### --- App Settings --- ### -APP_NAME=Controlpanel.gg +APP_NAME=Ctrlpanel.gg APP_ENV=production APP_KEY= APP_DEBUG=false diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 24b38f4fb..077ef34d4 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -31,9 +31,9 @@ body: validations: required: false - type: textarea - id: controlpanel-logs + id: ctrlpanel-logs attributes: - label: Controlpanel Logs + label: Ctrlpanel Logs description: Please copy and paste your laravel-log output. You may also provide a link to it using the following command `tail -n 100 /var/www/controlpanel/storage/logs/laravel.log | nc pteropaste.com 99` render: Shell - type: textarea diff --git a/LICENSE b/LICENSE index 0ee0d65c7..00e2a0b66 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021 ControlPanel.gg +Copyright (c) 2021 CtrlPanel.gg Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 2d2c062ad..2dee85a12 100644 --- a/README.md +++ b/README.md @@ -17,19 +17,19 @@ - Theme Support - and so much more! -# ControlPanel-gg +# CtrlPanel-gg -![controlpanel](https://user-images.githubusercontent.com/67899387/214684708-739c1d21-06e8-4dec-a4f1-81533a46cc7e.png) +![ctrlpanel](https://user-images.githubusercontent.com/67899387/214684708-739c1d21-06e8-4dec-a4f1-81533a46cc7e.png) ![](https://img.shields.io/endpoint?label=v0.9%20Installations&url=https%3A%2F%2Fmarket.ctrlpanel.gg%2Fcallhome.php%3Fgetinstalls) ![](https://img.shields.io/badge/Overall%20Installations-5000%2B-green) -![](https://img.shields.io/github/stars/ControlPanel-gg/dashboard) ![](https://img.shields.io/github/forks/ControlPanel-gg/dashboard) ![](https://img.shields.io/github/tag/ControlPanel-gg/dashboard) [![Crowdin](https://badges.crowdin.net/controlpanelgg/localized.svg)](https://crowdin.com/project/controlpanelgg) ![](https://img.shields.io/github/issues/ControlPanel-gg/dashboard) ![](https://img.shields.io/github/license/ControlPanel-gg/dashboard) ![](https://img.shields.io/discord/787829714483019826) +![](https://img.shields.io/github/stars/CtrlPanel-gg/panel) ![](https://img.shields.io/github/forks/CtrlPanel-gg/panel) ![](https://img.shields.io/github/tag/CtrlPanel-gg/panel) [![Crowdin](https://badges.crowdin.net/controlpanelgg/localized.svg)](https://crowdin.com/project/controlpanelgg) ![](https://img.shields.io/github/issues/CtrlPanel-gg/panel) ![](https://img.shields.io/github/license/CtrlPanel-gg/panel) ![](https://img.shields.io/discord/787829714483019826) ## About -ControlPanel's Dashboard is a dashboard application designed to offer clients a management tool to manage their pterodactyl servers. This dashboard comes with a credit-based billing solution that credits users hourly for each server they have and suspends them if they run out of credits. +CtrlPanel's Dashboard is a dashboard application designed to offer clients a management tool to manage their pterodactyl servers. This dashboard comes with a credit-based billing solution that credits users hourly for each server they have and suspends them if they run out of credits. -This dashboard offers an easy to use and free billing solution for all starting and experienced hosting providers. This dashboard has many customisation options and added discord Oauth verification to offer a solid link between your discord server and your dashboard. You can check our [Demo here](https://demo.controlpanel.gg "Demo"). +This dashboard offers an easy to use and free billing solution for all starting and experienced hosting providers. This dashboard has many customisation options and added discord Oauth verification to offer a solid link between your discord server and your dashboard. You can check our [Demo here](https://demo.ctrlpanel.gg "Demo"). ### [Installation](https://ctrlpanel.gg/docs/intro "Installation") diff --git a/app/Extensions/PaymentGateways/PayPal/index.php b/app/Extensions/PaymentGateways/PayPal/index.php index 648913ae6..d8311a5b2 100644 --- a/app/Extensions/PaymentGateways/PayPal/index.php +++ b/app/Extensions/PaymentGateways/PayPal/index.php @@ -75,7 +75,7 @@ function PaypalPay(Request $request) "application_context" => [ "cancel_url" => route('payment.Cancel'), "return_url" => route('payment.PayPalSuccess', ['payment' => $payment->id]), - 'brand_name' => config('app.name', 'Controlpanel.GG'), + 'brand_name' => config('app.name', 'CtrlPanel.gg'), 'shipping_preference' => 'NO_SHIPPING' ] diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index 1d35a42cc..9dbe62be9 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -32,7 +32,7 @@ public function callHome() if (Storage::exists('callHome')) { return; } - Http::asForm()->post('https://market.controlpanel.gg/callhome.php', [ + Http::asForm()->post('https://market.ctrlpanel.gg/callhome.php', [ 'id' => Hash::make(URL::current()), ]); Storage::put('callHome', 'This is only used to count the installations of cpgg.'); diff --git a/database/seeders/Seeds/SettingsSeeder.php b/database/seeders/Seeds/SettingsSeeder.php index accfc06cf..5b78a7b90 100644 --- a/database/seeders/Seeds/SettingsSeeder.php +++ b/database/seeders/Seeds/SettingsSeeder.php @@ -474,7 +474,7 @@ public function run() Settings::firstOrCreate([ 'key' => 'SETTINGS::MAIL:FROM_NAME', ], [ - 'value' => env('APP_NAME', 'Controlpanel'), + 'value' => env('APP_NAME', 'Ctrlpanel'), 'type' => 'string', 'description' => 'Mailer From Name.', ]); @@ -623,7 +623,7 @@ public function run() Settings::firstOrCreate([ 'key' => 'SETTINGS::SYSTEM:MOTD_MESSAGE', ], [ - 'value' => '

Controlpanel.gg

+ 'value' => '

Ctrlpanel.gg

Thank you for using our Software

If you have any questions, make sure to join our Discord

(you can change this message in the Settings )

', @@ -633,7 +633,7 @@ public function run() Settings::firstOrCreate([ 'key' => 'SETTINGS::SYSTEM:SEO_TITLE', ], [ - 'value' => 'Controlpanel.gg', + 'value' => 'Ctrlpanel.gg', 'type' => 'text', 'description' => 'The SEO Title.', ]); diff --git a/lang/en.json b/lang/en.json index c0aa64314..bbdabf014 100644 --- a/lang/en.json +++ b/lang/en.json @@ -160,7 +160,7 @@ "Support server": "Support server", "Documentation": "Documentation", "Github": "Github", - "Support ControlPanel": "Support ControlPanel", + "Support CtrlPanel": "Support CtrlPanel", "Servers": "Servers", "Total": "Total", "Payments": "Payments", @@ -177,13 +177,13 @@ "Title": "Title", "User": "User", "Last updated": "Last updated", - "Controlpanel.gg": "Controlpanel.gg", + "Ctrlpanel.gg": "Ctrlpanel.gg", "Version": "Version", "Individual nodes": "Individual nodes", "You reached the Pterodactyl perPage limit. Please make sure to set it higher than your server count.": "You reached the Pterodactyl perPage limit. Please make sure to set it higher than your server count.", "You can do that in settings.": "You can do that in settings.", "Note": "Note", - "If this error persists even after changing the limit, it might mean a server was deleted on Pterodactyl, but not on ControlPanel. Try clicking the button below.": "If this error persists even after changing the limit, it might mean a server was deleted on Pterodactyl, but not on ControlPanel. Try clicking the button below.", + "If this error persists even after changing the limit, it might mean a server was deleted on Pterodactyl, but not on CtrlPanel. Try clicking the button below.": "If this error persists even after changing the limit, it might mean a server was deleted on Pterodactyl, but not on CtrlPanel. Try clicking the button below.", "Sync servers": "Sync servers", "Node": "Node", "Server count": "Server count", @@ -256,9 +256,9 @@ "You usually do not need to change anything here": "You usually do not need to change anything here", "Edit Server": "Edit Server", "Server identifier": "Server identifier", - "Change the server identifier on controlpanel to match a pterodactyl server.": "Change the server identifier on controlpanel to match a pterodactyl server.", + "Change the server identifier on ctrlpanel to match a pterodactyl server.": "Change the server identifier on ctrlpanel to match a pterodactyl server.", "Server owner": "Server owner", - "Change the current server owner on controlpanel and pterodactyl.": "Change the current server owner on controlpanel and pterodactyl.", + "Change the current server owner on ctrlpanel and pterodactyl.": "Change the current server owner on ctrlpanel and pterodactyl.", "Server id": "Server id", "Config": "Config", "Suspended at": "Suspended at", diff --git a/public/install/index.php b/public/install/index.php index b002282bc..cb4ef943d 100644 --- a/public/install/index.php +++ b/public/install/index.php @@ -8,7 +8,7 @@ - Controlpanel.gg installer Script + Ctrlpanel.gg installer Script