Commit graph

39 commits

Author SHA1 Message Date
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
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
c3a007f7df
Start using new -config instead of -exec. 2023-07-16 20:28:38 +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
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
20a82b67f5 Switch to BlueprintVariableService for -exec 2023-06-18 20:29:35 +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
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
d268c35f4d Implement notifications and back-end onboarding variables 2023-04-23 20:21:09 +02:00
purple
d3cf89945b Removed a ";" breaking a whole file. 2023-04-17 14:30:29 +02:00
purple
ad7118a68c Remove commented out license validation code. 2023-04-17 13:52:14 +02:00
purple
6817e43905 Keep removing licensing systems 2023-04-17 13:48:45 +02:00
purple
ebfa1e8253
Start working on removing licensing 2023-04-17 13:15:47 +02:00
purple
b2f9be203a Use different method for license obfuscation
The main method didn't work so here we are lmao
2023-04-11 21:55:28 +02:00
purple
864cd14887 Get back once again to the obfuscated code
This allows me to simplify development by having one less thing to change for distribution. Updating the obfuscated code is just going back to this commit and just changing a couple things and obfuscating it once again.
2023-04-10 19:23:09 +02:00
purple
50b23d58b2 Revert obfuscated code for development 2023-04-10 17:25:16 +02:00
purple
adcf711111 Obfuscate the VariableService for distribution 2023-04-10 17:13:03 +02:00
purple
17fc004c93 Make things ready for distribution. 2023-04-10 16:50:23 +02:00
purple
a7c2311d0e Forgot to add /validate/ to the api request 2023-04-10 11:46:12 +02:00
purple
a593a40686 Finish implementation of backup endpoints
Also fixed a missing ";"
2023-04-10 11:37:33 +02:00
purple
5774c8a53e First steps in making backup endpoints work
with tamper prevention, only allowing specific endpoints to be used.
2023-04-10 11:35:54 +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
2a0198c227 deobfuscated variableservice a little bit
found a site we should use for obfuscation anyways. not much handwork needed
2023-03-19 19:48:04 +01:00
purple
8447457243 Change license server url and license key 2023-03-17 15:47:12 +01:00
purple
5c1182f927 Reverted to transactionid placeholder 2023-03-17 12:56:13 +01:00
purple
f2d8890cb6 Moved the sync function higher in the file 2023-03-08 18:26:22 +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
2b179045f0 Added a sync function
This function syncs the license key provided in the variableservice with the MySQL database. In the future, this allows us to prevent tampering with the variableservice and license service. We may even obfuscate the code in the end with ioncube once the variableservice is finished.
2023-03-08 09:56:23 +01:00
purple
3538465dfe Added a "little bit" of obfuscation 2023-03-06 20:45:55 +01:00
purple
b498c393c9 Obfuscated the license validation code
:)
2023-03-06 19:10:47 +01:00
purple
13ef819880 Added 2 variables to BlueprintVariableService
Just for reading and writing to the Blueprint database table made simpler.
2023-02-26 14:39:44 +01:00
purple
ee5dd0c19c Attached dev license and altered timeout 2023-02-23 22:01:51 +01:00
purple
bf4fcd2fc7 Returned to main api instead of legacy 2023-02-22 21:13:48 +01:00
purple
322e0bb145 Version is now a variable. 2023-02-22 19:47:18 +01:00
purple
a90efac281 Switched api to domain name 2023-02-21 10:36:33 +01:00
purple
9d457fae79 Changed the license placeholder to market variable.
The license should now be autofilled by PterodactylMarket.
2023-02-21 09:24:15 +01:00
purple
180f4e1929 Added WIP license validation
The license server now has pretty spammy requests to PterodactylMarket. I'm going to fix this in a future update or in the licensing server.
2023-02-21 09:21:45 +01:00
purple
33d3403995 Replaced placeholder and added "global variables"
The replacement of the placeholder is just a work in progress. I've also discovered a few more things about PHP now, including how to do variables and stuff.
2023-02-19 19:30:47 +01:00