diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..ea315fc --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,28 @@ +name: Zip and Attach to Release +on: + release: + types: [created] +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Create ZIP archive + run: | + zip -r pterosort.blueprint . -x "*.git*" "*node_modules*" ".editorconfig" + + - name: Extract JS from wrapper.blade.php + run: | + sed -n '/ \ No newline at end of file diff --git a/folder_icon.png b/folder_icon.png new file mode 100755 index 0000000..d32ab68 Binary files /dev/null and b/folder_icon.png differ diff --git a/migrations/2025_04_10_090000_add_userdata_table.php b/migrations/2025_04_10_090000_add_userdata_table.php new file mode 100755 index 0000000..1149480 --- /dev/null +++ b/migrations/2025_04_10_090000_add_userdata_table.php @@ -0,0 +1,32 @@ +unsignedInteger('user_id'); + $table->foreign('user_id')->references('id')->on('users'); + $table->boolean('dragLock')->default(0); + $table->json('categories')->default("[]"); + $table->json('order')->default("[]"); + $table->json('categories_others')->default("[]"); + $table->json('order_others')->default("[]"); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::drop('{identifier}_userdata'); + } +}; diff --git a/routes.php b/routes.php new file mode 100755 index 0000000..dcfec26 --- /dev/null +++ b/routes.php @@ -0,0 +1,13 @@ + +
+

Info

+
+
+

+ {name} extension made by {author}.
+ Build for pterodactyl panel version 1.11.10.
+ It enables the function to create categories and ordering for servers within the dashboard.
+ Categories and orders are saved on user basis. +

+
+