Commit graph

103 commits

Author SHA1 Message Date
purple
8b15d1577b Import BlueprintClientLibrary directly in the client wrapper instead of BaseController. 2023-09-13 21:31:19 +02:00
purple
efc5bd6763 Remove Admin/BaseController.php as it's not needed anymore. 2023-09-11 16:06:22 +02:00
purple
021d115578 Think about potentional ways to fix $blueprint in admin wrappers. 2023-09-07 22:11:58 +02:00
purple
00fd7975bf Attempt at making BlueprintExtensionLibrary usable on all admin views without overwriting all of their controllers. 2023-09-07 21:12:33 +02:00
purple
cbfb8f9ce1 Improve admin notification api by using Pterodactyl database instead of local files. 2023-09-07 20:51:45 +02:00
purple
d6b854c7ea Fine, I'll rename the legacy $blueprint back to "BlueprintExtensionLibrary" 2023-09-07 18:31:23 +02:00
purple
2b951c36eb Move backwards-compatible ExtensionLibrary back to Services/Helpers/ 2023-09-07 18:26:27 +02:00
purple
55d7595ad4 Move legacy BlueprintExtensionLibrary to the BlueprintFramework app folder for backwards compatability 2023-09-07 18:06:43 +02:00
purple
09f9c6fc68 Fix yet another incorrect class name. 2023-09-07 16:24:28 +02:00
purple
474a4f52ff Fix unedited class names for importing the BlueprintExtensionLibrary. 2023-09-07 16:21:27 +02:00
purple
942285cab3 Move all Blueprint libraries into a new "BlueprintFramework" folder in the app directory.
I also added a "legacy" extensionlibrary for backwards compatability for now.
2023-09-07 16:17:04 +02:00
purple
444df78718 Add fileMake and fileWipe to BlueprintExtensionLibrary 2023-09-03 15:45:54 +02:00
purple
93d56b5710 Make $blueprint accessible in admin wrappers. 2023-09-03 15:33:39 +02:00
purple
fe7ae61e6c Attempt at making $blueprint accessible in dashboard wrappers. 2023-09-03 14:53:36 +02:00
purple
ce46c8b6f5 Add yet even more comments and tell what a lot of things do.
Improves readability a ton, trust me.
2023-08-31 10:51:44 +02:00
purple
bc93e6d4c3 Add more comments and make code more readable. 2023-08-29 14:18:07 +02:00
purple
5a5154aeb9 Developer commands are now hidden when developer mode is not enabled. 2023-08-07 15:50:54 +02:00
purple
bb86229500 Add better support for panels installed in other locations. 2023-07-25 22:42:32 +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
087a129aef Remove developer:cmd from BlueprintExtensionController input validation.
developer:cmd has been removed in previous versions.
2023-07-17 13:48:15 +02:00
purple
4dc411503b Use config instead of exec in BlueprintExtensionController 2023-07-17 13:29:32 +02:00
purple
c3a007f7df
Start using new -config instead of -exec. 2023-07-16 20:28:38 +02:00
purple
254bf47d7b Add a semicolon at the end of the shell command ran by fileRead(path) 2023-07-12 13:43:58 +02:00
purple
f0598972e3 Add notifyNow("text") and fix error in comment. 2023-07-12 13:39:42 +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
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
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
1aec415db4 Fix indentation on PlaceholderService and make sure user has ran the installation script before using Blueprint. 2023-06-20 17:53:08 +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
691581270b Missing semicolon decided to screw everything up 2023-06-18 19:56:42 +02:00
purple
7e9253e857 Make blueprint.sh work-in-progress telemetry more reliable. 2023-06-18 18:33:39 +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
a8517cfb02 Fix some grammar. 2023-06-16 18:10:26 +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
c948cb4b2f Telemetry IDs now regenerate every time you update. 2023-05-31 14:29:48 +02:00
purple
a3ce388275 Use telemetry on a different port. 2023-05-31 14:19:13 +02:00
purple
e6d710205d Make version request to BlueprintVariableService instead of attempting to access local function. 2023-05-31 10:43:14 +02:00
purple
839b602b6c Telemetry ID is now replaced with a Panel ID.
This ID contains a random string and the version of Blueprint and will be used for API calls and telemetry once that has been added.
2023-05-31 10:40:03 +02:00
purple
b5bbc75c74 Adjust BlueprintSettingsFormRequest.php for Telemetry 2023-05-09 21:48:28 +02:00
purple
3e8a596591 Fix for telemetry not being able to be enabled. 2023-05-09 21:35:06 +02:00
purple
8c938482a5 Fix small issues as a cry for help 2023-05-09 21:15:13 +02:00
purple
cb84cd76c5
Use BlueprintExtensionLibrary in BlueprintExtensionController.php
This will be used instead of manually changing the notification file.
2023-05-07 13:20:07 +02:00
purple
4ac2930ab1 Implement custom folder name support.
Attempt at supporting Docker.
2023-05-06 16:21:22 +02:00
purple
0a6d995f33 Add notifyAfter to BlueprintExtensionLibrary 2023-04-28 14:55:12 +02:00
purple
a37d82185e Remove basic user-side extension support until I'm happy with the result. 2023-04-28 14:44:23 +02:00