Commit graph

200 commits

Author SHA1 Message Date
prplwtf
a7d97bd829 feat ClientLibrary: Document all functions and change a couple things. 2024-04-27 15:09:34 +02:00
prplwtf
0858f70ee3 feat AdminLibrary: Document all functions and change a couple things. 2024-04-27 15:08:03 +02:00
Victor B.
ba264be788
chore: don't replace RouteServiceProvider 2024-04-21 17:41:37 +02:00
prplwtf
6ce19ccac9 feat TelemetryService: don't define variables that are unused 2024-04-20 12:48:57 +02:00
prplwtf
c7f006c5a2 feat ConfigService: update api url 2024-04-20 12:43:21 +02:00
prplwtf
8aed7bb9b7 feat app: use new api url placeholder inside of telemetryservice :v 2024-04-18 18:16:57 +02:00
prplwtf
5db650c703 feat artisan app: use PlaceholderService for api url 2024-04-18 18:13:37 +02:00
prplwtf
4920b24fa8 feat legacy-library: remove some linebreaks 2024-04-14 23:37:44 +02:00
prplwtf
47dc85a891 feat controllers: Improve input validation on Blueprint controller 2024-04-14 23:36:41 +02:00
prplwtf
5bfe0d50f9 fix telemetry: connection timeout in case of boom 2024-04-10 19:41:19 +02:00
Victor B.
fe488495b0
feat routes: internal route for per-extension egg ID fetching 2024-04-08 13:55:15 +02:00
Victor B.
38fe14837b
feat: add "route eggs" setting to default extension config controller
saved as a JSON array of egg IDs in `blueprint::extensionconfig_[id]_eggs`.
ID of `-1` means the routes should be shown on all eggs
2024-04-08 13:17:29 +02:00
prplwtf
c8e72c6fc7 feat app: Get rid of VariableService like we should 2024-03-29 13:30:38 +01:00
purple
2f7e1b25e4 fix app: Fix incorrect db table 2024-03-19 17:58:06 +01:00
purple
9cb681f134 feat views: make new settings dialog saveable, doesn't do anything yet 2024-03-19 17:34:45 +01:00
purple
fbe22e7868 feat views: improve configuration dialog for extensions 2024-03-19 16:07:10 +01:00
prplwtf
3d4702eff1 feat app: make redirecting work for ExtensionConfigurationController on save 2024-03-13 21:59:45 +01:00
prplwtf
1d55348520 feat core templates app: push the beginnings of the route selector ui 2024-03-13 21:54:10 +01:00
prplwtf
fa7975c74a feat routes: make eggId part of the api stuff 2024-03-11 18:22:33 +01:00
prplwtf
e6797fcf68 feat app views: Improve overall controller, service and view codebase. (might break) 2024-03-10 22:26:41 +01:00
prplwtf
7eb9197f79 feat artisan: don't import libs you'll never even use 2024-03-07 17:03:15 +01:00
prplwtf
bbb8306d5f fix routes: wrong file path 2024-03-03 15:11:16 +01:00
prplwtf
13872c0386 feat core routes kernel: Add new routes options to allow for extending the Pterodactyl API and make routes work. 2024-03-03 14:44:00 +01:00
prplwtf
ef057cf8c1 feat stuff: push changes 2024-03-02 22:24:07 +01:00
prplwtf
9ba85067b6 feat core routes: custom extension routes should theoretically work now 2024-03-02 21:17:47 +01:00
prplwtf
124b169abb feat views: add tooltip or something 2024-03-02 15:30:28 +01:00
prplwtf
e0f1c72775 feat $blueprint: Add new "extension(identifier)" API which allows extensions to specifically check for another extension. 2024-02-27 22:34:10 +01:00
prplwtf
8621647ba4 feat core filesystems: Add new ExtensionFS feature which will create filesystems for each extension automatically. 2024-02-27 22:09:33 +01:00
prplwtf
efecf45fd6 feat core views: Implement new "views" extension API, create some additional files for future features and do some minor changes. 2024-02-27 17:32:09 +01:00
prplwtf
9b439160e3 feat artisan admin controller: Speed up the Blueprint admin page a little bit. 2024-02-16 16:05:42 +01:00
prplwtf
e2ff15e21c feat RouteServiceProvider: Register Blueprint's admin route file. 2024-02-15 17:56:06 +01:00
purple
0541317d65 feat ExtensionsController: Change 4-space to 2-space indentation in the extensions page controller. 2024-02-14 08:27:12 +01:00
purple
5bee53eebb feat(internal:placeholders): change internal placeholders 2024-01-01 18:09:05 +01:00
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