Commit graph

1131 commits

Author SHA1 Message Date
purple
afc11be50b Merge all migrations into one file
This has some changes that may break the configuration page of the "Blueprint" extension. This will be fixed in a future commit.
2023-04-08 16:13:22 +02:00
purple
c861e5ee7c Fix the file name of a migration 2023-04-08 12:32:29 +02:00
purple
594d9ae4b0 Start work on Blueprint developer mode. 2023-04-07 11:48:13 +02:00
purple
b1e32ca8ae Switch to UNIX line breaks instead of DOS for not breaking linux. 2023-04-05 21:29:58 +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
Jack G
b48115ddcb Update blueprint.sh
Undid previous change since installer bug is still happening
2023-04-03 01:51:44 +01:00
Jack G
3d703d623c Merge branch 'main' of https://github.com/teamblueprint/main 2023-04-03 01:30:35 +01:00
Jack G
682377ac52 Fixing installer bug.
Fixing some bugs that caused the installer to not work
2023-04-03 01:21:34 +01: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
fd540ec5d2 Undo some changes Jack did.
Look no offense but they just do not look good.
2023-04-01 13:23:43 +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
baa6e50357 Added public files extension path placeholder 2023-03-31 13:24:07 +02:00
purple
9674befaf2 allow custom paths for custom extensions 2023-03-31 13:07:30 +02:00
Jack G
ac8353d3c6 Update index.blade.php 2023-03-30 18:27:17 +01:00
Jack G
37df2dec11 Update index.blade.php 2023-03-30 18:23:05 +01:00
Jack G
d6d8976bce Update index.blade.php 2023-03-30 18:08:33 +01:00
Jack G
40b92029bc Update index.blade.php 2023-03-30 18:07:58 +01:00
purple
9b9480596a Remove commented out code in BlueprintExtensionController 2023-03-29 10:40:48 +02:00
purple
e964988e5f why define variables for this
honestly, younger me had a problem.
2023-03-29 10:29:49 +02:00
purple
93c891a815 No approval of a $rootPath variable
i don't even know the actual use for the $rootPath variable
2023-03-29 10:28:51 +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
9d04faca83 Added BlueprintExtensionLibrary 2023-03-26 18:18:54 +02:00
purple
41c97472c2 Default support for BlueprintExtensionLibrary 2023-03-26 18:18:37 +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
2866f05ee9 Added placeholder for blueprint to know where to place new extension routes 2023-03-26 15:26:40 +02:00
purple
f341e291fa Generate admin view controller for extensions 2023-03-26 15:19:39 +02:00
purple
7cfc913ece add a default view controller for extensions 2023-03-26 15:15:53 +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