From 676a65098d190a2b9fe9197cdaa52a5a0f6e0cfd Mon Sep 17 00:00:00 2001 From: 1Day Date: Fri, 7 Jan 2022 10:51:59 +0100 Subject: [PATCH] discord in settings and clreanup .env.example --- .env.example | 32 ------- app/Classes/Settings/Misc.php | 9 +- public/images/discord_logo.png | Bin 0 -> 16439 bytes .../views/admin/settings/tabs/misc.blade.php | 79 ++++++++++++++++-- .../admin/settings/tabs/payments.blade.php | 61 ++++++++------ 5 files changed, 117 insertions(+), 64 deletions(-) create mode 100644 public/images/discord_logo.png diff --git a/.env.example b/.env.example index f6d2f38e..755c5511 100644 --- a/.env.example +++ b/.env.example @@ -8,18 +8,6 @@ APP_URL=http://localhost APP_TIMEZONE=UTC ### --- App Settings End --- ### -### --- Localization settings --- ### -# If set to true, Language is chosen automatically depending on the users browserlanguage. -DYNAMIC_LOCALE = false -# The language of the Dashboard. This is also the fallback if dynamic_locale is true but no translation is found -LOCALE=en -# You can grab the Language-Codes for the Datatables from this Website https://datatables.net/plug-ins/i18n/ -DATATABLE_LOCALE=en-gb -#The languages you DO NOT want to support on your Controlpanel split by comma. -#Remove the language to make it available -UNSUPPORTED_LOCALES=german,italian,chinese -### --- Localization settings End --- ### - ### --- DB Settings (required) --- ### DB_CONNECTION=mysql DB_HOST=127.0.0.1 @@ -30,26 +18,6 @@ DB_PASSWORD= ### --- DB Settings End --- ### -### --- Discord Settings (optional) --- ### -# Discord API Credentials - https://discordapp.com/developers/applications/ -DISCORD_CLIENT_ID= -DISCORD_CLIENT_SECRET= -# Bot Settings - will join users to your discord -DISCORD_BOT_TOKEN= -DISCORD_GUILD_ID= -# Discord role that will be assigned to users when they register -DISCORD_ROLE_ID= -### --- Discord Settings End --- ### - -### --- Controlpanel Settings (required) --- ### -# Controlpanel URL Settings - URLs must not end with a slash! -PTERODACTYL_URL=https://panel.controlpanel.gg # required -PHPMYADMIN_URL=https://mysql.controlpanel.gg #optional. remove to remove database button -DISCORD_INVITE_URL=https://discord.gg/vrUYdxG4wZ #optional -# Admin API Token from Pterodactyl Panel - Nececary for the Panel to work -PTERODACTYL_TOKEN= -### --- Controlpanel Settings End --- ### - # Google Recaptcha API Credentials - https://www.google.com/recaptcha/admin - reCaptcha V2 (not v3) RECAPTCHA_SITE_KEY=6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI RECAPTCHA_SECRET_KEY=6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe diff --git a/app/Classes/Settings/Misc.php b/app/Classes/Settings/Misc.php index 90a58943..75386c6f 100644 --- a/app/Classes/Settings/Misc.php +++ b/app/Classes/Settings/Misc.php @@ -36,7 +36,14 @@ class Misc $values = [ //SETTINGS::VALUE => REQUEST-VALUE (coming from the html-form) - "SETTINGS::MISC:PHPMYADMIN:URL" => "phpmyadmin-url" + "SETTINGS::MISC:PHPMYADMIN:URL" => "phpmyadmin-url", + "SETTINGS::DISCORD:BOT_TOKEN" => "discord-bot-token", + "SETTINGS::DISCORD:CLIENT_ID" => "discord-client-id", + "SETTINGS::DISCORD:CLIENT_SECRET" => "discord-client-secret", + "SETTINGS::DISCORD:GUILD_ID" => "discord-guild-id", + "SETTINGS::DISCORD:INVITE_URL" => "discord-invite-url", + "SETTINGS::DISCORD:ROLE_ID" => "discord-role-id" + ]; diff --git a/public/images/discord_logo.png b/public/images/discord_logo.png new file mode 100644 index 0000000000000000000000000000000000000000..aa1b5e2e06356dec9dae2ccb5a8953b08076a410 GIT binary patch literal 16439 zcmdUWhdZ3l_qGxQL9|4Ol32YH1ks`s-4dPXR_|T3h~5dJ_qOV;-bL@d3(;BKDyzKf z^Zor3?_SrIXXZRJXU?9PXU>`X4pUK*!NVcPK|w*mlarNHLqS2eLH<5@j*0yAq1m}W zeqlSvYCEH#y!-g{MwLqDGC~%jI;+WiMgfn$-9uhHvk+GlM?tBM!M!uaKtT~5mXj3M z@IZyFJUVO4W$Zj&HP&NnL=K&Y3M=1&%1}}rE@H@Y9K<}t#H=*_{V(u%2&2n$)MZ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Z_q9la*w?3~ zxtrP|C)g4`s9q=E6DZ4CC(EVXr0z{vVCe50VUdPt*@i1COc9#cFKQD@+rRvaoT#yN znHZ(KLjc?jPY3nEM0P{6R={o;a(QBaNr|xdfsWJ@b`_gMk?!5`T9`oX0gJyB)cQoa zJ0`~wtp!54PGcNb#I2^D7=hH6Y+{~EzW|Z&>Whji0|BUmPRWVwsm$By7maIuE}xobhs|pIA1^cZIeEhDz-lL)7ZUMU2Q-4*yI#zT=Pr~IWJp&h%ct% zr*TxU8TyvH_Hr7jPORH%X3RFeUb3{q>;oQw3uM3W|EMsMlp=oTw1{r;J^Z}Ll7)PD z#I1oauMn^16X_92Iu#jj8evQMK!2U8W~~RkbT?uG9+I zDA|V+0vk{T@v5Fyzr`NTUghj$fBn%t+Pf!P{xoB*s+hsI?|tTp-w$6y(g|%Xi6vx_ guJ!-n%VXmat%nMTsu}(|_(^>^DJ4npXQROX2f>E-B>(^b literal 0 HcmV?d00001 diff --git a/resources/views/admin/settings/tabs/misc.blade.php b/resources/views/admin/settings/tabs/misc.blade.php index 13ee8205..1b983a73 100644 --- a/resources/views/admin/settings/tabs/misc.blade.php +++ b/resources/views/admin/settings/tabs/misc.blade.php @@ -1,6 +1,6 @@
+ action="{{ route('admin.settings.update.miscsettings') }}"> @csrf @method('PATCH') @@ -13,7 +13,8 @@
- + @@ -23,11 +24,11 @@
+ id="icon">
@error('icon') - + {{ $message }} @enderror @@ -36,15 +37,81 @@
+ for="favicon">{{ __('Select panel favicon') }}
@error('favicon') - + {{ $message }} @enderror
+
+ + + +
+
+ + +
+
+
+
+ + +
+
+ +
+
+ + +
+
+ +
+
+ + +
+
+ +
+
+ + +
+
+ +
+
+ + +
+
+ +
+
diff --git a/resources/views/admin/settings/tabs/payments.blade.php b/resources/views/admin/settings/tabs/payments.blade.php index 46303069..68a8bdbd 100644 --- a/resources/views/admin/settings/tabs/payments.blade.php +++ b/resources/views/admin/settings/tabs/payments.blade.php @@ -1,6 +1,6 @@
+ action="{{ route('admin.settings.update.paymentsettings') }}"> @csrf @method('PATCH') @@ -13,16 +13,18 @@
+ value="{{ App\Models\Settings::getValueByKey("SETTINGS::PAYMENTS:PAYPAL:CLIENT_ID") }}" + class="form-control @error('paypal-client-id') is-invalid @enderror">
- - {{ __('Your PayPal Secret-Key')}} ( + https://developer.paypal.com/docs/integration/direct/rest/ ) +
@@ -31,7 +33,8 @@
- + @@ -41,8 +44,10 @@
- - {{ __('Your PayPal SANDBOX Secret-Key used for testing ') }} +
@@ -55,7 +60,8 @@
- + @@ -65,7 +71,8 @@
-
@@ -75,7 +82,8 @@
-
@@ -84,8 +92,10 @@
- - {{ __('Enter your Stripe endpoint-test-secret-key') }} +
@@ -94,7 +104,8 @@
- + @@ -103,23 +114,23 @@
- -
-
+
+
- -
-
- - + +
+
+ + +
-