Commit graph

103 commits

Author SHA1 Message Date
purple
e7a0813a32 PterodactylMarket variables may be replaced via -placeholder in Blueprint 2023-04-10 20:12:31 +02:00
purple
8722835b20
Fix indev placeholder 2023-04-10 17:58:40 +02:00
purple
4a42383b07 Add actual stuff for the help command 2023-04-10 17:15:23 +02:00
purple
4513af1bc3 Added a "installation finished" text for blueprint.sh 2023-04-10 17:13:28 +02:00
purple
17fc004c93 Make things ready for distribution. 2023-04-10 16:50:23 +02:00
purple
274ed2b555 Added php artisan migrate to the installation
Commented out since I don't want to do an accidental migration with the broken migrations I currently have.
2023-04-08 16:14:36 +02:00
purple
608ff0d4f2 Errors now display using Whiptail.
Whiptail allows for creating graphical user interfaces inside of your command line interface. Whiptail is included in most if not all distributions.
2023-04-05 21:26:33 +02:00
purple
d5a7eae9bd Final fix for MS-DOS newline characters.
Please be careful next time publishing something.
2023-04-05 10:13:23 +02:00
purple
f78b325bb2 Trying a fix for MS newline characters. 2023-04-05 10:05:59 +02:00
purple
0be3e713ea Fix for sed 2023-04-05 10:00:02 +02:00
purple
7675e37515
Trying another fix for unterminated `s command 2023-04-02 22:52:00 +02:00
purple
a141e18ee6
Added unterminated `s command fix to more sed commands 2023-04-02 22:45:31 +02:00
purple
0ca9f3908a
Untested fix for unterminated `s command in some cases 2023-04-02 22:41:41 +02:00
purple
661eacd1df Added "-version" and "-install" variables once again.
This time it won't hurt any feelings.
2023-04-02 21:12:21 +02:00
purple
4afeb97edf Didn't know a missing space could harm this many feelings 2023-04-02 20:52:21 +02:00
purple
5b05e13d16 Removed "-version" and "-install" alias for now. 2023-04-02 20:48:36 +02:00
purple
37a13cf652 Fix "blueprint" command registration 2023-04-02 20:47:24 +02:00
purple
c188d173bc "-i" can also be used as "-install"
Same counts for "-v" being usable via "-version"
2023-04-01 18:28:37 +02:00
purple
ec52f3e1db Fixed custom pages being renamed to "*" 2023-04-01 13:25:18 +02:00
purple
6680e42269 Allow custom path for icons. 2023-04-01 13:20:25 +02:00
purple
12ee136c01 Part of previous commit
GitHub Desktop is doing strange things
2023-04-01 12:59:27 +02:00
purple
9333106655 Tamper detection is now disabled and support for new conf.yml layout.
This change also fixes common problems with the extension installation. The problem was that parse_yaml could not read the file correctly due to problems with the conf.yml layout.

Identifier checks are also fixed now. The if statement that checks if the identifier is only lowercase and a-z was written incorrectly.
2023-04-01 12:58:23 +02:00
purple
88c4c749b8 started implementing $publicfiles.
has not been fully tested yet
2023-03-31 13:27:57 +02:00
purple
d279b3a6cc Added custom controller path 2023-03-31 13:24:24 +02:00
purple
9674befaf2 allow custom paths for custom extensions 2023-03-31 13:07:30 +02:00
purple
4278628f46 Update blueprint.sh
Added local variable tamper detection, required variable checks, condensed variable checks, added a friendly reminder to not set $author to blueprint if set and added a version command ("blueprint -v").
2023-03-27 21:17:57 +02:00
purple
c5e732516b Force $migrations to be yes or no if defined.
(has not been fully tested yet)
2023-03-27 20:52:24 +02:00
purple
ca8751ef2a Force $controller to be default or custom if defined.
(has not been fully tested yet)
2023-03-27 20:48:39 +02:00
purple
88ccae121a Support for new advanced extension options 2023-03-26 18:19:10 +02:00
purple
0f95d98c37 Updates to extension installation
Extension logo's get imported correctly now, as well as extension buttons in the /admin/extensions page. Routes and view controllers get added automatically as well.
2023-03-26 17:24:30 +02:00
purple
468fade5e0 Routes now get applied
However, Blueprint cannot remove routes yet.
2023-03-26 15:35:47 +02:00
purple
aaec470cd0 Place generated admin controllers into Pterodactyl filesystem 2023-03-26 15:27:37 +02:00
purple
f341e291fa Generate admin view controller for extensions 2023-03-26 15:19:39 +02:00
purple
b5d9593a02 Admin view actually gets imported now, as well as the extension icon. 2023-03-26 15:10:04 +02:00
purple
5ae338b1f3 Warnings are now colored red, instead of having a red background 2023-03-26 15:00:14 +02:00
purple
cb4e590c42 Rename $id to $identifier 2023-03-26 14:57:20 +02:00
purple
9744a92c10 Added protection against extensions attempting to overwrite Blueprint. 2023-03-26 14:53:44 +02:00
purple
c5d726d469 fix for color issue 2023-03-25 19:23:15 +01:00
purple
5512976f67 Fixed if statement issue 2023-03-23 11:54:40 +01:00
purple
6021828af3 Put view contents into generated view 2023-03-22 14:20:31 +01:00
purple
3a2b587f15 Verify the target extension version with own version 2023-03-22 14:04:03 +01:00
purple
ccf475f945 Made importing extensions "work"
it's work in progress
2023-03-22 10:47:43 +01:00
purple
03360c0472 started work on extension installer 2023-03-22 10:20:59 +01:00
purple
370a78f78e much change
that was sarcastic. this commit just adds a ";" to one line in the blueprint.sh file.
2023-03-22 09:28:14 +01:00
purple
eb76cf468d Update blueprint.sh
I've changed a lot of things and can't probably all explain them here. Here's the most important stuff.

- Import db.sh and bash_colors.sh
- Moved the db to db.sh
- Made renaming the blueprint folder to .blueprint finally work correctly.
- Colors are handled through bash_colors.sh now.
2023-03-19 21:02:29 +01:00
purple
3f43d96e8b Updated blueprint.sh to be more efficient
and best of all turn blueprint into .blueprint.
2023-03-19 20:20:01 +01:00
purple
facedf9f82 Update blueprint.sh 2023-03-18 11:24:16 +01:00
purple
4f6f20d387 Minor fixes to blueprint.sh 2023-03-17 15:47:28 +01:00
purple
d3d4505855 Changed log messages in bash script 2023-03-08 18:35:54 +01:00
purple
c9b8fc3391 Communicate between bash and php
Allow bash and php to communicate with each other through the Blueprint command
2023-03-08 10:44:53 +01:00
purple
cc410b1e35 Added more installation commands
Got to prepare for the future.
2023-03-06 19:11:53 +01:00
purple
f5252583be Temp way to alternate between responses. 2023-03-03 17:00:03 +01:00
purple
0f7edb6932 Started work on Blueprint terminal scripts 2023-03-03 16:52:29 +01:00