Skip to content

Commit b1cc3a3

Browse files
committed
PUSH
- Init command actually helps you now lol - Clear license cache command - Fixed useless components being rendered behind!
1 parent c403e66 commit b1cc3a3

File tree

7 files changed

+12
-53
lines changed

7 files changed

+12
-53
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- Improved error handling in `Callback/Discord.php` for failed HTTP requests and missing array keys to prevent warnings and fatal errors.
99
- Added null check for `$session` in `PermissionMiddleware.php` to prevent 'Call to a member function hasPermission() on null' fatal error.
1010
- Fixed a bug where users above id 100 matching a char will not be found!
11+
- Fixed useless components being rendered behind!
1112

1213
## New Features
1314

@@ -16,6 +17,8 @@
1617
- New logic to check the users existence into pterodactyl!
1718
- Ability for users to see server in deployment!
1819
- Ability for users to delete the server that are in deployment stage!
20+
- Init command actually helps you now lol
21+
- Clear license cache command
1922

2023
## Features Removed
2124

backend/app/Cli/Commands/Init.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ public static function execute(array $args): void
5555
}
5656
}
5757

58-
$app->send('&7Please enter your application URL (e.g., https://panel.example.com):');
58+
$app->send('&7Please enter your application URL (e.g., https://client.example.com):');
59+
$app->send("&cPlease do not include a trailing slash");
60+
$app->send("&cAlso please do not place in your panel url! This is the place where the dashboard will run!");
5961
$appUrl = readline('> ');
6062

6163
if (empty($appUrl)) {

frontend/README.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

frontend/src/plugins/components/Dashboard/AfterContent.vue

Lines changed: 0 additions & 4 deletions
This file was deleted.

frontend/src/plugins/components/Dashboard/BeforeContent.vue

Lines changed: 0 additions & 4 deletions
This file was deleted.

frontend/src/views/client/Home.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<template>
22
<LayoutDashboard>
33
<div class="p-6 space-y-6">
4-
<BeforeContent />
54
<Header />
65
<div class="grid gap-6 lg:grid-cols-4">
76
<!-- Left Column -->
@@ -20,7 +19,6 @@
2019
<TicketList />
2120
</div>
2221
</div>
23-
<AfterContent />
2422
</div>
2523
</LayoutDashboard>
2624
</template>
@@ -37,8 +35,5 @@ import AnnouncementsPreview from '@/components/client/Dashboard/Main/Announcemen
3735
import ServerList from '@/components/client/Dashboard/Main/ServerList.vue';
3836
import { MythicalDOM } from '@/mythicaldash/MythicalDOM';
3937
40-
import BeforeContent from '@/plugins/components/Dashboard/BeforeContent.vue';
41-
import AfterContent from '@/plugins/components/Dashboard/AfterContent.vue';
42-
4338
MythicalDOM.setPageTitle(MythicalDOM.getTranslation('dashboard.title'));
4439
</script>

makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ backend:
7474
@cd $(BACKEND_DIR) && $(COMPOSER) dump-autoload
7575
@echo -e "${GREEN}${CHECK} Backend build complete!${NC}\n"
7676

77+
clean-license:
78+
@echo -e "\n${BOLD}${BLUE}Cleaning License${NC} ${CLEAN}"
79+
@echo -e "${CYAN}=======================${NC}"
80+
@echo -e "${YELLOW}${WARN} Cleaning license...${NC}"
81+
@rm -rf /var/www/mythicaldash-v3/backend/storage/caches/licenses/*.json
82+
@echo -e "${GREEN}${CHECK} License cleaned${NC}\n"
7783

7884
# Release build
7985
release:

0 commit comments

Comments
 (0)