Commit graph

629 commits

Author SHA1 Message Date
purple
e6398f7609 Fix for "input file is output file" 2023-07-23 17:41:32 +02:00
purple
e4e131aee4 Save identifier:start contents to file instead of logging output. 2023-07-23 17:35:00 +02:00
purple
e531e0b528 Another attempt at fixing wrapper updating. 2023-07-23 17:30:49 +02:00
purple
c9ff6a9c5f Attempt at fixing updating wrappers by using perl 2023-07-23 17:03:01 +02:00
purple
10b571a0a5 Fix dashboard_wrapper and admin_wrapper backup files. 2023-07-23 16:36:52 +02:00
purple
eb5a9957bc Change datafolder ownership to www-data when installing extensions. 2023-07-23 15:23:28 +02:00
purple
9f2a0572ee Update fallback version to latest. 2023-07-23 15:02:04 +02:00
purple
4ce4dd0170 Add extension updating support for admin and dashboard wrappers. 2023-07-22 13:13:00 +02:00
purple
3726e7d963 Improve file contents parsing for extension updating. 2023-07-22 12:54:01 +02:00
purple
94b3478d8c Extension upgrading did not work as expected, this commit contains a bugfix attempt. 2023-07-22 12:50:11 +02:00
purple
ea34890e74 Implement extension upgrading.
This works by backup up all generated values upon extension installation and using them when updating extensions. This also means you won't get duplicate extension buttons in your extensions admin page. Expect a few more commits with bug fixes after this one, as I've got to test everything.
2023-07-22 12:40:00 +02:00
purple
2454c3c0d0 Fix wrong variable and add warning for updating extensions. 2023-07-21 17:32:22 +02:00
purple
90841b7e3a My whole day has been ruined due to a single variable mistake. 2023-07-21 17:11:28 +02:00
purple
920ef8d0c3 Some characters were read as regex by sed when applying extension css. 2023-07-21 17:04:29 +02:00
purple
bff8733018 Use alternative method for applying admin css. 2023-07-21 16:53:03 +02:00
purple
7f0d342af2 Modify CSS placement. 2023-07-21 16:24:26 +02:00
purple
f45879b8b8 CSS was still not applied correctly as it was handled as a folder.
.... somehow
2023-07-21 16:17:03 +02:00
purple
318f783999 Applying custom css was skipped, this is now fixed. 2023-07-21 16:00:56 +02:00
purple
aac4302c36 Only skip including css on duplicate extensions 2023-07-21 15:57:30 +02:00
purple
8191990d80 Add duplicate checking to admin_css 2023-07-21 15:11:19 +02:00
purple
f7956655dd Fix telemetry id -config option. 2023-07-20 19:50:20 +02:00
purple
98dc6601fe Add admin wrapper. Behaves similarly to dashboard wrapper. 2023-07-20 17:26:09 +02:00
purple
6146d6b655 Fix wrongly colored [INFO] in blueprint.sh 2023-07-20 15:44:08 +02:00
purple
4271aa3ee1 Skip applying routes and buttons if extension has already been installed to prevent duplicates. 2023-07-20 15:36:58 +02:00
purple
6d26574d57 Make custom installation script executable before running it. 2023-07-20 13:07:22 +02:00
purple
f4051eeda9 Add new "name" placeholder. 2023-07-20 12:26:00 +02:00
purple
ecd0997113 dashboard_wrapper is now inserted outside of <head> and modify error text for users with a unfinished installation. 2023-07-20 11:46:42 +02:00
purple
29f576dd68
Remove -exec and add -config
-config uses a new thing I recently learned setting up my Raspberry Pi. This should make everything much simpler on the backend side of things and will be more user-friendly.

I'm also thinking of adding BP_xxx error codes, but that isn't final yet, so expect changes.

Well that was it from me again, thanks for checking out Blueprint.
2023-07-16 20:22:59 +02:00
purple
dde406c580
Update fallback version 2023-07-14 11:53:59 +02:00
purple
46f96fc2e8 Fix quit_red and insert "dashboard_wrapper" 2023-07-14 11:02:59 +02:00
purple
83a365cd46 Abort upgrading if .blueprint/dev contains files. 2023-07-14 10:39:26 +02:00
purple
b96528a066 Clean up blueprint.sh and fix wrapper.blade.php editing 2023-07-14 10:34:09 +02:00
purple
c34269aba0 Fix wrong variables for dashboard_wrapper and change placeholders in wrapper.blade.php 2023-07-13 21:27:05 +02:00
purple
6f8112dc1e Fix typo on conf.yml backup 2023-07-13 21:15:13 +02:00
purple
6eade01be3 Readd automatic blueprint.sh recovery and add basic dashboard support for extensions. 2023-07-13 10:41:44 +02:00
purple
4c65acd300 Use /var/www/$FOLDER paths for placeholder removal. 2023-07-12 14:32:44 +02:00
purple
f17ff844a3 Do not clear tools/tmp folder, instead only remove README.md 2023-07-12 14:27:50 +02:00
purple
6cd4c2dcf5 Backup conf.yml after while installing extensions. 2023-07-12 14:18:43 +02:00
purple
fb0e2b313f Automatically clear tools/tmp folder upon installation. 2023-07-12 13:09:38 +02:00
purple
3afa256663 Add new assets. 2023-07-10 14:06:16 +02:00
purple
1e0848982b
Add additional comments to blueprint.sh 2023-07-09 07:47:40 +02:00
purple
33cda8c48f Use README.md folder placeholders instead of hello.txt or .hello.txt.
These files will be automatically removed upon installation.
2023-07-06 12:27:27 +02:00
purple
71d0b5e716 Remove -collect command. 2023-07-05 09:53:50 +02:00
purple
2f7f831e38 Remove "debug" and change how -collect works. 2023-07-04 14:28:19 +02:00
purple
77ba45b6e2 Add hidden "DEBUG" logs. 2023-07-04 14:19:48 +02:00
purple
f565de0b43 Remove automatic repair for now. 2023-07-04 13:38:13 +02:00
purple
7a6bd536e1 Add -collect command for debugging. 2023-07-04 13:35:02 +02:00
purple
3ff29872f3 Update some things related to logs.
Add new [INPUT] log type and collect all logs in a file for debugging.
2023-07-04 13:25:16 +02:00
purple
421e5f12a8 Get Blueprint logo from assets when installing. 2023-07-04 10:37:31 +02:00
purple
7e1a3adfda
Update fallback version. 2023-07-03 16:32:57 +02:00
purple
78e34a529a Fix -init input validation. 2023-07-03 14:46:49 +02:00
purple
45958856b1 Rewrite -init questions. 2023-07-03 14:42:01 +02:00
purple
5607082e31 Default controllers didn't generate correctly. 2023-07-03 13:48:09 +02:00
purple
e3ba909d39 Fix typo on controller.php 2023-07-03 13:06:57 +02:00
purple
b20a5fb438 Fix wrong button.blade.php path. 2023-07-03 12:48:40 +02:00
purple
52a65be67c Prefix imported variables with "conf_".
This prevents overwriting Blueprint's variables, since that could be done before.
2023-07-02 20:58:59 +02:00
purple
4f0ae21059 Add security checks to conf.yml paths. 2023-07-02 14:42:30 +02:00
purple
f5ba7d61e2
Update fallback version to latest. 2023-06-30 13:47:06 +02:00
purple
96d19b5e6f Extensions would not install correctly due to missing paths to defaults. 2023-06-29 20:32:00 +02:00
purple
9e9ae2f53d -test will no longer respond and update fallback version 2023-06-28 21:31:22 +02:00
purple
fb7dfcf054 Remove developer terminal completely and more.
Make Blueprint more secure, restore blueprint.sh if upgrading fails, fix problems with the BlueprintAdminFormRequest resulting in errors.
2023-06-28 16:57:05 +02:00
purple
e6fa4895fe Admin requests are now deprecated. Use them in your controller instead. 2023-06-28 15:48:44 +02:00
purple
8244cdda29 Change alphabet placeholders to __placeholder__ and more.
Add readFiles(path) to BlueprintExtensionLibrary.
2023-06-28 15:16:29 +02:00
purple
20df7aa031 Make sure -exec cannot do other things in blueprint.sh
and log a space if the command was a valid one
2023-06-27 21:49:11 +02:00
purple
46158e6079 Arguments parsed through shell are now checked by escapeshellarc($var).
Panel administrators will no longer have access to the shell. This includes the developer terminal turning into a Blueprint execute terminal. (something you'll probably never use anyways.)
2023-06-27 21:40:35 +02:00
purple
75907bd5df Re-do the entire .blueprint folder structure.
Changing all documentation is going to suck lmao
2023-06-27 21:08:01 +02:00
purple
986c90988e Update fallback version and improve extension flags. 2023-06-27 20:36:03 +02:00
purple
dadb4bbf58
-export is no longer experimental and add donation link to installer. 2023-06-26 14:42:31 +02:00
purple
727f31ab08 Add more comments to the installation script of blueprint.sh 2023-06-26 12:40:33 +02:00
purple
898c15872b Rewrite -export to make it work correctly.
First thing in the morning, rewrite the -export command.

It works now, I tested it before committing changes.
2023-06-24 10:55:21 +02:00
purple
38d7abb164
Telemetry would still show a curl progress bar, this should now be fixed. 2023-06-23 20:38:52 +02:00
purple
03dcc77af6
Update fallback version to latest. 2023-06-23 10:33:24 +02:00
purple
a52ec1a3c1 Fix indentation on VariableService and fix installation check.
Now the installation will be marked as installed after the installation script ends.
2023-06-20 18:08:25 +02:00
purple
9243e01498 Remove upgrade telemetry for now. 2023-06-20 17:55:58 +02:00
purple
9591ea1149 Remove telemetry dev tool. 2023-06-19 21:49:25 +02:00
purple
2834812d29 Tell the user that EOF errors are expected when upgrading. 2023-06-19 21:11:27 +02:00
purple
7c6828a8cf Add website button if extension added a website to info_website in conf.yml 2023-06-19 21:04:06 +02:00
purple
20a82b67f5 Switch to BlueprintVariableService for -exec 2023-06-18 20:29:35 +02:00
purple
6698d304ba Add telemetry test tool to blueprint.sh and fix missing dot. 2023-06-18 20:13:12 +02:00
purple
eb30597ff3 Add work-in-progress telemetry to blueprint.sh 2023-06-18 18:32:02 +02:00
purple
dfdb37b967 Add more comments to blueprint.sh and create new conf.yml option 2023-06-18 16:37:46 +02:00
purple
54ec0acc11 Explain what a couple lines are doing in blueprint.sh 2023-06-17 13:28:26 +02:00
purple
99571f859a Add advanced feature warnings, point users to GitHub issues instead of Discord for bugs and -upgrade is no longer experimental.
-reinstall is now -runinstall
2023-06-15 11:56:11 +02:00
purple
99b1f9e217 Update Discord link to ptero.shop/community 2023-06-15 11:44:33 +02:00
purple
86ac22b91b Update fallback version and add new default extension icons. 2023-06-12 17:45:03 +02:00
purple
002027d20a Make sure the old update files are removed after updating. 2023-06-12 16:35:15 +02:00
purple
33141eebad Use a different way to pull the latest Blueprint version
Also downloading the pre-release version will result in the version becoming "source"
2023-06-12 16:30:27 +02:00
purple
963b5ccb04 Remove source warning during upgrading 2023-06-12 15:56:29 +02:00
purple
7b0fddd8cc Remove -preview and upgrading to stable
It just didn't work. However, Blueprint will now show a warning to users who have upgrades instead of manually updated to save me from support tickets about why this doesn't work.
2023-06-12 15:49:55 +02:00
purple
bf518ee48c Upgrade to latest release by default
Previously upgrading would update Blueprint to the latest source files, not a stable version. This should be different now.
2023-06-12 15:21:38 +02:00
purple
a3b6475ecf
Fix extension exporting. 2023-06-11 21:30:16 +02:00
purple
5c7c20d788 Forgot to add a $identifier alias.
I forgot the most important thing in extension installation.
2023-06-11 21:12:40 +02:00
purple
c70a13eaa3 Update some error messages with newer configuration options 2023-06-11 21:03:15 +02:00
purple
b157a3bbe1 Switch to a different option structure in conf.yml
Current extensions will need to adapt to this better version of conf.yml. Older extensions won't work on this version and extensions created in older versions won't work on this one.
2023-06-11 20:58:20 +02:00
purple
b42beb457d Add new -preview command. 2023-06-10 16:09:12 +02:00
purple
7dabf64453 Remove "error" function, apply new log standards to -build and more.
- The "error" function in blueprint.sh has been removed and has been replaced with "quit_red".
- -build now uses the new logging standard as well.
- -test has been deprecated and will not work anymore.
2023-06-10 15:46:36 +02:00
purple
77717e54e4 Implement easier to read logs, improved upgrading and more.
- Logs are now easier to read with the new [INFO], [WARNING]. [FATAL] and [SUCCESS] tags.
- Improved upgrading with extra warnings, post-upgrade checks and more.
- bash_colors.sh now has the "YELLOW" color.
- Some log messages have been reworded and made easier to understand by humans.
- Fix multiple spelling mistakes and bugs.
2023-06-10 14:52:00 +02:00
purple
8a09c2f3c3
Remove extra upgrade warning 2023-06-06 21:14:53 +02:00
purple
cce0825355
Add Blueprint logo with unicode characters to installer. 2023-06-06 21:13:26 +02:00
purple
796ece70be
Update fallback version to latest and add extra upgrade warning. 2023-06-06 20:04:27 +02:00
purple
9381e69f63
Change some log colors and add a hint when installing extensions 2023-06-05 20:45:31 +02:00
purple
db971eb8f3
blueprint.sh didn't import sources correctly when running it outside the Pterodactyl directory. 2023-06-05 20:41:13 +02:00
purple
0e3427fd90
Fix bug where extensions would not install correctly.
This has to do with the new TMP location being correct but others not being updated correctly. This has been fixed now.
2023-06-05 20:34:20 +02:00
purple
e70ee534e2 Blueprint has a brand new logo and errors are red now.
Remember the Blueprint error screen? Instead of being blue, it's red now. Makes it a little bit easier to understand.

Also, the new look is here, with a brand new website as well. Great stuff!
2023-06-05 18:20:01 +02:00
purple
766e295f10
Update fallback version to DB4 2023-06-02 22:01:47 +02:00
purple
0b68d4dfc0 Switch to 4 space to 2 space indentation.
Not all files are included yet, but this at least improves readability for me.
2023-06-02 16:37:38 +02:00
purple
732b349a1b Fix typo on version placeholder check 2023-06-02 15:00:08 +02:00
purple
01188912c6 Show current version for a brief moment on /extensions/blueprint 2023-06-01 22:00:02 +02:00
purple
bf37806570 Add -upgrade for upgrading Blueprint
(experimental) This will overwrite extensions but will leave you with the latest version.
2023-06-01 21:25:15 +02:00
purple
75fc615946 Update fallback version to latest 2023-06-01 21:15:20 +02:00
purple
c853d3975b -init and -build are not experimental anymore.
-test will be replaced by -build and will not work anymore in future versions.
2023-06-01 20:41:36 +02:00
purple
09b037cb4e Migrate database after installation if extension comes with database migrations. 2023-05-31 14:34:13 +02:00
purple
232522362c
Fallback version indev-X34 is now alpha-X34 2023-05-31 08:37:00 +02:00
purple
1e6a915814
Fix problems with multiple line admin views. 2023-05-30 21:31:07 +02:00
purple
6300832ad4
Well I didn't mean to apply variables to the whole Pterodactyl filesystem.. 2023-05-30 21:01:54 +02:00
purple
fa32b82add
Placeholders are now recursive. 2023-05-30 21:00:46 +02:00
purple
f235680f97
Add new development tool to only update blueprint.sh 2023-05-30 20:52:04 +02:00
purple
aed83bffb6
Scrap root privilege checking for now 2023-05-30 20:40:45 +02:00
purple
88a47c4231
Fix running extension script without root privilages 2023-05-30 20:36:51 +02:00
purple
839e8a2366
Add new path and datapath directory 2023-05-30 19:14:25 +02:00
purple
accd112f20
Automatically add +x permissions to files in extensiondata. 2023-05-30 19:02:05 +02:00
purple
7fbb789865
Add new a-z placeholders and a flag to disable them. 2023-05-30 18:24:27 +02:00
purple
a2d6df9a19
Fix for controller_location being required, even for extensions using the default controller. 2023-05-30 11:36:39 +02:00
purple
4ddc4c1d9c
Fix -test command 2023-05-30 11:31:53 +02:00
purple
7f1256d1a1
"cp: -r not specified..." is now fixed for -init 2023-05-30 11:30:02 +02:00
purple
932782bef6
Automatically remove .hello.txt file in .development 2023-05-30 11:27:02 +02:00
purple
55637938d0
Forgot to update path for new tmp directory on -init 2023-05-30 11:22:41 +02:00
purple
97eeff2bf0
Properly align first "blueprint help" item 2023-05-30 11:15:36 +02:00
purple
37b63b103d
Patch "read" error for -init command 2023-05-30 11:01:53 +02:00
purple
3a1000b6d3 Add new -export command 2023-05-29 20:33:01 +02:00
purple
d01156e2c2 Implement new custom extension install script. 2023-05-21 15:24:43 +02:00
purple
f206160d2a Datafolder should actually work now 2023-05-21 15:10:43 +02:00
purple
179a491814 Start implementing datafolder support to blueprint.sh 2023-05-21 14:36:26 +02:00
purple
b00e2ef69c
Add new identifier placeholder 2023-05-21 14:09:32 +02:00
purple
210d0feb41
Update version fallback to latest 2023-05-20 09:01:26 +02:00
purple
5a990957df Experimental -test command for quickly testing extensions 2023-05-17 09:55:16 +02:00
purple
cb74ffa54b
-init now exports final extension files. 2023-05-15 15:52:14 +02:00
purple
4865360791
Remove --dev requirement for -init. 2023-05-15 15:42:19 +02:00
purple
5b08fb9310
Improve more -init command stuff. 2023-05-15 15:41:53 +02:00
purple
456319064b Ask identifier and name for -init 2023-05-12 09:59:31 +02:00
purple
7754cb9dfe Implement really simple -init script.
The goal is to make it similar to NPM's init command.
2023-05-11 21:12:03 +02:00
purple
5a8a3a7cf1 Start work on -init command. 2023-05-10 12:39:59 +02:00
purple
8c5ef3c048 "defaults" are now in .storage 2023-05-10 12:10:58 +02:00
purple
cbdb076ef9
Update fallback version 2023-05-09 22:07:29 +02:00
purple
8c938482a5 Fix small issues as a cry for help 2023-05-09 21:15:13 +02:00
purple
48e16eef25 Update fallback version and add .php to BlueprintPlaceholderService because I forgot to do that for some unknown reason. 2023-05-09 20:51:31 +02:00
purple
b7f910960c
Update fallback version 2023-05-09 20:21:46 +02:00
purple
2fffcd4859 "clr" is now "log"
Was getting a bit annoyed by log functions being called "clr_colorname" and not something that has to do with logging.
2023-05-09 18:16:28 +02:00
purple
43eabc97a6 tmp has been moved to .storage 2023-05-09 18:08:22 +02:00
purple
e4cca755b8 Databasing on blueprint.sh should work correctly on docker installations now. 2023-05-09 17:59:12 +02:00
purple
b4e5e76f83 All files normally placed in .flags will now be located in .storage. 2023-05-09 17:52:08 +02:00
purple
32899cc903
Fix problems with renaming blueprint to .blueprint. 2023-05-09 17:45:02 +02:00
purple
55824fb517
Remove silencing of "blueprint" to ".blueprint" renaming. 2023-05-09 17:39:19 +02:00
purple
feb276ea3e
Update fallback version to latest 2023-05-08 10:24:51 +02:00
purple
0a63c3192d
Bugfix on blueprint.sh
Missed a space between "then" and "sed"
2023-05-08 08:32:26 +02:00
purple
e9125bd5b7
Update fallback version 2023-05-07 18:35:44 +02:00
purple
f2cdfc9046 Fix notifications for custom folder Pterodactyl installations. 2023-05-06 16:31:31 +02:00
purple
4ac2930ab1 Implement custom folder name support.
Attempt at supporting Docker.
2023-05-06 16:21:22 +02:00
purple
21a0e2aa73 Start work on the -init command.
Also added aliases to the help command and restructured the text response (untested).
2023-05-04 22:01:35 +02:00
purple
824c096524
update version fallback 2023-05-03 20:22:54 +02:00
purple
450e42010b Remove planned onboarding.md removal at first extension installation since this is now replaced with a one-time notification. 2023-04-25 20:49:01 +02:00
purple
a708ffb2b6 Update VER_FALLBACK to the latest version. 2023-04-25 19:47:00 +02:00
purple
919dcd449a blueprint.sh tried to access .blueprint before it was created, this should now be fixed. 2023-04-25 19:33:21 +02:00
purple
054ed35e8b Developer placeholder replacing is changed to the new variable, but may be removed soon. 2023-04-24 16:51:53 +02:00
purple
f02bd90210 Allow Blueprint to function on other marketplaces without placeholder drama 2023-04-24 16:43:31 +02:00
purple
ae49cb40dd Pause plans for custom notifications and fix onboarding notify. 2023-04-23 21:23:15 +02:00
purple
d268c35f4d Implement notifications and back-end onboarding variables 2023-04-23 20:21:09 +02:00
purple
be3870c0f7 Start working on admin onboarding. 2023-04-23 17:24:23 +02:00
purple
33f4819570 Remove "> /dev/null" from the $identifier check for more log info. 2023-04-18 17:01:41 +02:00
purple
5494177b0b Fix placeholders only being applied with -placehoders.skip flag. 2023-04-18 10:07:55 +02:00
purple
f69273874d Add the new "placeholders" and flags feature. 2023-04-17 16:54:12 +02:00
purple
6c54eda722 Add css injection support 2023-04-17 16:11:33 +02:00
purple
0833f39522 Start implementing custom css injections. 2023-04-17 15:43:44 +02:00
purple
2a9f6d04e0 blueprint.sh was ahead of documentation 2023-04-14 17:19:15 +02:00
purple
794860ff58 Forgot to add custom controller support and made extensions less of a hassle. 2023-04-12 18:10:45 +02:00
purple
1830673a5a Added some checks and added support for adminrequests 2023-04-12 17:04:15 +02:00
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