Commit graph

167 commits

Author SHA1 Message Date
purple
207eba4e8c feat(domain-change): Replace most ptero.shop URLs with blueprint.zip 2023-11-28 18:31:26 +01:00
purple
65944c0945 feat(?): Redo extension structure on a bunch of files. 2023-11-08 16:01:39 +01:00
purple
598a5e18b4 feat(bpcontroller): Define BlueprintExtensionLibrary as $blueprint instead of $bplib. 2023-11-07 10:23:00 +01:00
purple
3a444c96b2 feat(bpview): make version tag red if version is outdated 2023-11-06 21:05:12 +01:00
purple
a0c0bc8ca7 feat(bpview): add outdated version warning 2023-11-06 13:29:40 +01:00
purple
8097ec517a feat(artisan, bpview, bpcontroller): Update formatting on bpview and add new artisan command. 2023-11-06 13:24:04 +01:00
purple
5b8124d5c5 fix(SyncCommand, BlueprintExtensionController): Fix sync and controller errors. 2023-11-01 15:24:00 +01:00
purple
82dbeb6153 fix(SyncCommand): Telemetry ID did not sync correctly. 2023-11-01 14:59:08 +01:00
purple
aa3668285c feat(core): Sync telemetry id and developer mode status through artisan command. 2023-11-01 14:51:42 +01:00
purple
2714934cef
fix(ClientLibrary): Switch back to shell_exec for fileRead for the time being. 2023-10-06 14:32:35 +02:00
purple
5d7e1b7e20
fix(AdminLibrary): Switch back to shell_exec for fileRead for the time being. 2023-10-06 14:31:49 +02:00
purple
08cdfb877e
fix(ClientLibrary): unknown file path 2023-10-05 22:11:57 +02:00
purple
1bc249c25e
fix(AdminLibrary): unknown file path 2023-10-05 22:11:30 +02:00
purple
2623ec8d04 fix(BlueprintClientLibrary, BlueprintAdminLibrary): Switch to built-in php function for file reading. 2023-10-03 21:56:13 +02:00
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
purple
fa5e3759fc Implement notification api for BlueprintExtensionLibrary 2023-04-24 17:34:02 +02:00
purple
f02bd90210 Allow Blueprint to function on other marketplaces without placeholder drama 2023-04-24 16:43:31 +02:00
purple
d268c35f4d Implement notifications and back-end onboarding variables 2023-04-23 20:21:09 +02:00
purple
311b2b5e2b Add else statement to onboarding check to fix undefined variable. 2023-04-23 18:37:28 +02:00
purple
294c3c85c5 Fix wrongly placed ")". 2023-04-23 18:35:26 +02:00
purple
5da90b51e9 Parse onboarding variable to /admin/extensions view. 2023-04-23 17:34:21 +02:00
purple
ed829e292b Add extra description to BlueprintExtensionLibrary 2023-04-19 10:45:50 +02:00
purple
215016d97d Add dbGet and dbSet to BlueprintExtensionLibrary 2023-04-18 17:06:54 +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
0e005fb67a Work in progress fix for db. 2023-04-14 17:18:24 +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
b63c9951e0 Finish implementing telemetry 2023-04-11 21:54:57 +02:00
purple
c897348d8a Import all services into other services. 2023-04-11 20:48:17 +02:00
purple
1d8a2018bd Start working on the TelemetryService 2023-04-11 20:47:38 +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
001acf0515 Finalize developer terminal 2023-04-09 21:15:11 +02:00
purple
3e7d4b0e3f Attempt to work with select menu's in admin views. 2023-04-08 21:31:20 +02:00
purple
93bc533aed Fixed the settings form request for the newer migration 2023-04-08 16:16:03 +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
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
9d04faca83 Added BlueprintExtensionLibrary 2023-03-26 18:18:54 +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