Commit graph

762 commits

Author SHA1 Message Date
prplwtf
9739402ed0 feat core: bump fallback version to unstable 2024-01-06 23:45:34 +01:00
prplwtf
12e6e5bb7a feat core react: remove routes stuff for components for now 2024-01-06 23:37:19 +01:00
prplwtf
2b649f9f74 feat core react: Add SubNavigation and Routes to components 2024-01-06 23:07:18 +01:00
prplwtf
b55b4c9198 feat core react: Add DropdownItems to components 2024-01-06 21:40:40 +01:00
prplwtf
2dc2039cbd feat core react: Add ServerRow items to supported Components 2024-01-06 21:24:36 +01:00
prplwtf
456145cba4 feat core react: Add account pages to supported Components 2024-01-06 16:32:17 +01:00
purple
5d80d70974 feat core react: Add even more supported Components 2024-01-06 02:48:45 +01:00
purple
3b43f2873a feat core react: Add more Component placements 2024-01-06 01:58:57 +01:00
purple
47c081b73c feat core: Keep track of component file changes, update removal, improve script and more. 2024-01-06 01:34:31 +01:00
purple
f723aa964d feat core: undo last commit and cache Components.yml file 2024-01-06 00:43:46 +01:00
purple
d0a09820f7 feat core: try to use a wildcard in sed commands (spoiler: this will go very wrong) 2024-01-06 00:38:45 +01:00
purple
0e7b764b2a feat core react: make files stuff work 2024-01-06 00:15:51 +01:00
purple
30c40c5edf feat core react: add files for account and make serverTerminal work 2024-01-05 23:58:46 +01:00
purple
673e9d13cc
fix(core): extension components could define paths from the project directory 2024-01-05 21:14:24 +01:00
prplwtf
412073be3f fix(core): incorrect path to imported dashboard css 2024-01-05 16:55:56 +01:00
purple
f9e5aaeebc feat(core, throwError): more component error handling 2024-01-03 01:56:19 +01:00
purple
1b65e5a591 feat(core, throwError): add extra error handling to react support 2024-01-03 01:33:07 +01:00
purple
1098c9d092 feat(internal-placeholders): modify internal placeholder names 2024-01-01 18:09:04 +01:00
purple
453e80f5b1 feat(core): add comments to developer checks 2023-12-31 00:16:40 +01:00
purple
99f24264de feat(core): react components can now be removed as well 2023-12-29 01:58:12 +01:00
purple
c3afe67e8f feat(core, react): add BeforeNavigation and AfterNavigation for testing 2023-12-29 00:59:12 +01:00
purple
02b2814160 feat(core): make react navbar items work 2023-12-29 00:05:30 +01:00
purple
13e9c06c5b fix(core): do a bunch of stuff 2023-12-28 22:02:55 +01:00
purple
6cf0a11b03 feat(core): adding navbar items should theoretically work now 2023-12-28 21:47:41 +01:00
purple
ba00d57dc2 feat(react, core): restructure some files and make hopefully something work 2023-12-28 21:45:00 +01:00
purple
be8b72c637 feat(core): read from component configuration file 2023-12-28 21:24:17 +01:00
purple
1451970f9f feat(core): start handling components when installing extensions 2023-12-28 21:03:05 +01:00
purple
cbe2a7aca9 feat(core, throwerror): prepare for upcoming basic react support 2023-12-28 20:45:03 +01:00
purple
55e330f828 feat(react-css): Place all react-bundled css overrides in a new "blueprint" folder. 2023-12-28 17:56:33 +01:00
purple
de5f6794ac fix(core): Finish ALL shellcheck advisories 2023-12-22 17:51:20 +01:00
purple
cf830586f1 feat(core): add "-debug" command 2023-12-22 16:06:02 +01:00
purple
a3e6eecc26 feat(shellcheck, core): drastically speed up "depend" and add .shellcheckrc 2023-12-22 14:31:31 +01:00
purple
1c4389ebf7 feat(core): address LAST shellcheck "error" warning and make y/n questions in upgrade use the same variable. 2023-12-22 13:31:44 +01:00
purple
5aaf41e668 fix(core): extension file paths could escape the temporarily directory 2023-12-22 13:20:33 +01:00
purple
1164d65a82 feat(core): address multiple shellcheck advisories 2023-12-22 13:15:54 +01:00
purple
198f6fe475 fix(core): undo last commit because no worky 2023-12-18 21:39:47 +01:00
purple
2e3ceea125 fix(core): add linebreaks when placing wrappers which were not removed. 2023-12-18 21:26:21 +01:00
purple
08a2484563 feat(core): address even more shellcheck advisories 2023-12-17 12:57:26 +01:00
purple
c320ecf126 feat(core): address multiple shellcheck advisories. 2023-12-17 12:51:06 +01:00
purple
6f29bdee1c merge(main): github.com/teamblueprint/main.git 2023-12-17 12:41:08 +01:00
purple
2196f450f9 feat(core): add double quotes around ${identifier}.blueprint to prevent word splitting 2023-12-17 12:40:57 +01:00
purple
9934af8724
feat(core): update a comment 2023-12-15 19:43:57 +01:00
prplwtf
25a04f92e4 fix(core): install script ignored due to incorrect if statement 2023-12-11 21:25:44 +01:00
prplwtf
57e356205b fix(core): fatal error when trying to install extensions with no export/install/remove scripts 2023-12-11 20:05:29 +01:00
prplwtf
820c14a2f1 fix(core): error thrown when one or two script options were enabled 2023-12-11 18:43:01 +01:00
prplwtf
695d353ede feat(core): validate custom script paths 2023-12-11 16:13:24 +01:00
prplwtf
719edfe963 feat(core): add "developerIgnoreRebuild" flag 2023-12-11 15:56:05 +01:00
prplwtf
0c29e55d14 feat(core): use new flag variables in if statements instead of checking manually 2023-12-11 15:50:54 +01:00
prplwtf
f553a2ee2d feat(core): move "check dependencies" below y/n question on -remove 2023-12-11 15:34:26 +01:00
prplwtf
0fc47a7ad2 feat(core): make assignflags a function 2023-12-11 15:33:33 +01:00
prplwtf
26a42b3dd2 feat(core): assign variables on a per-flag basis on -install 2023-12-11 14:47:39 +01:00
prplwtf
7950928b29 feat(core): finish conf.yml file/folder path validation 2023-12-11 14:44:29 +01:00
prplwtf
54a10c8e52 feat(core): add file path validation to optional options 2023-12-11 14:32:32 +01:00
prplwtf
a626235cb1 fix(core): Running "bash blueprint.sh" after installing Blueprint would show a "[WARNING]" log which should be "[FATAL]" for consistency. 2023-12-08 17:02:28 +01:00
prplwtf
241966122f fix(core): syntax error 2023-12-08 16:37:11 +01:00
prplwtf
3d0a07838c fix(core): -info would show log function names when some values were empty 2023-12-07 22:13:06 +01:00
prplwtf
f2e3bdc988 fix(confyml): reorder for consistency 2023-12-06 21:18:01 +01:00
prplwtf
09830a12f6 feat(core): no longer make use of core placement placeholder strings for extension stylesheets 2023-12-03 19:06:07 +01:00
prplwtf
1493f0ed48 feat(core): remove injecting admin css from install script 2023-12-03 18:51:09 +01:00
prplwtf
b5b62ae643 feat(core/css): attempt at completely removing the need for modifying pterodactyl.css 2023-12-03 18:48:41 +01:00
Slimi1
9ad40eef42 Change log for wipe command 2023-12-01 16:33:27 +02:00
purple
207eba4e8c feat(domain-change): Replace most ptero.shop URLs with blueprint.zip 2023-11-28 18:31:26 +01:00
purple
2394c2c430 fix(core): correctly check for docker this time 2023-11-28 17:40:08 +01:00
prplwtf
e5791fc501 chore(core): bump fallback version to unstable 2023-11-26 17:58:12 +01:00
prplwtf
b248b567bc feat(core): use shorter versions of config variables on remove script 2023-11-25 13:40:33 +01:00
prplwtf
9998f1398f feat(core): use shorter versions of config variables on install script 2023-11-25 13:39:35 +01:00
prplwtf
2b891f111d feat(core): parse even more variables to extension install/remove/export scripts 2023-11-25 13:38:37 +01:00
prplwtf
703ccbfe84 fix(core): Random debug file not found error on -export with custom scripts 2023-11-24 20:23:21 +01:00
purple
50b9e84a16
feat(core): make -export custom script info log a warning 2023-11-24 17:13:04 +01:00
purple
3bc23736cd
fix(core): unexpected eof 2023-11-24 17:00:08 +01:00
prplwtf
bfb3c4df09 fix(throwError, core): Core did not exit after throwing fatal error 2023-11-24 12:14:48 +01:00
prplwtf
d0908caae3 fix(core): Assets folder already exists warning when upgrading extensions. 2023-11-24 12:11:55 +01:00
prplwtf
6e04c53dcc feat(core): update variables including in has...Script flags 2023-11-23 21:52:55 +01:00
prplwtf
c6319c6347 feat(core): add custom export script flag and make it work with -export 2023-11-23 19:12:53 +01:00
prplwtf
fedb025b97 feat(core): leave comment for future self 2023-11-23 19:02:33 +01:00
prplwtf
849c0c88ec feat(core): no longer use market variables for version names 2023-11-23 16:03:03 +01:00
prplwtf
d739dbf230 feat(lib-throwerror, core): rename throwError function to throw 2023-11-23 15:59:30 +01:00
prplwtf
ad8a7d4c29 feat(core, lib-throwerror): Add new throwError lib for easely throwing errors and exit when navigating to unknown directory. 2023-11-23 15:52:16 +01:00
prplwtf
230f883c18 fix(core): Missing "fi" turning into EOF error 2023-11-23 14:27:30 +01:00
purple
6a8d0bde5d
feat(core): autoremove .gitkeep when exporting 2023-11-20 23:52:28 +01:00
purple
b75e4a0b0a
feat(core): update -expose command description on -help 2023-11-20 23:43:27 +01:00
purple
0445c07875
fix(core) 2023-11-19 15:07:33 +01:00
purple
585b41a02b merge(main): github.com/teamblueprint/main.git 2023-11-19 14:51:19 +01:00
purple
d963972937 feat(core): add outdated version warning to -init when version is outdated 2023-11-19 14:49:32 +01:00
purple
c30ac8c7a4 feat(core): Add website link icon for "reddit.com" 2023-11-19 12:36:43 +01:00
purple
8f1c2c99dc
feat(core): mute config and view clear output on install 2023-11-18 23:38:01 +01:00
purple
9cc3996996 feat(core): Add removal script flag. 2023-11-14 21:17:11 +01:00
purple
6805d3eca1 feat(core): Add new public directory placeholder. 2023-11-14 15:50:14 +01:00
purple
2b3928ed1f merge(main): github.com/teamblueprint/main.git 2023-11-14 15:42:30 +01:00
purple
6066f26739 feat(core): Add new installation timestamp placeholder. 2023-11-14 15:35:15 +01:00
purple
4c39ad0f5a fix(core): discord.com was missing it's website button and add reddit, patreon and trello icons. 2023-11-14 15:30:38 +01:00
purple
ca084b2da8 fix(core): Attempt fixing bp:sync not working when upgrading by moving it below disabling maintenance. 2023-11-14 15:20:54 +01:00
purple
a1f5cd44c1
feat(core): update fallback version to latest 2023-11-12 19:56:29 +01:00
purple
91f812691b fix(lib-grabenv): Fix grabenv returning errors in some scenarios. 2023-11-08 17:34:32 +01:00
purple
5158f84727 fix(core): Fix multiple problems regarding new extension structure. 2023-11-08 16:51:32 +01:00
purple
65944c0945 feat(?): Redo extension structure on a bunch of files. 2023-11-08 16:01:39 +01:00
purple
4c41a84250 fix(core): Linking public folder didn't work correctly. 2023-11-08 15:25:41 +01:00
purple
ecf394aacd feat(private-directory): Move private directory to another folder. 2023-11-08 11:49:40 +01:00
purple
08694bca36 feat(public-directory): Symlink public/extensions to .blueprint/data/public when installing Blueprint. 2023-11-08 11:35:18 +01:00
purple
2dcbf8bb6e feat(core): Change website icon depending on extension website url 2023-11-08 11:22:47 +01:00
purple
3a444c96b2 feat(bpview): make version tag red if version is outdated 2023-11-06 21:05:12 +01:00
purple
ef6866446c feat(core): change code formatting on -info 2023-11-02 19:55:03 +01:00
purple
8d979ddc4f feat(core): Add new -info command that shows info about your Blueprint install, inspired by neofetch. 2023-11-02 19:14:06 +01:00
purple
9c41a5fbcb feat(core): Improve placeholder logs by grouping them. 2023-11-01 15:32:11 +01:00
purple
5b8124d5c5 fix(SyncCommand, BlueprintExtensionController): Fix sync and controller errors. 2023-11-01 15:24:00 +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
5261ccf36d feat(core): Use "lib-db" for checking developer mode. 2023-11-01 13:51:33 +01:00
purple
dca1cc741e feat(core, lib-grabenv): Add new grabenv commands and change name of "PanelUrl" command to "AppUrl" 2023-11-01 13:43:23 +01:00
purple
725a152818 feat(core): Make dependency error bold as it contains "child" logs. 2023-11-01 13:23:25 +01:00
purple
6b668d1a07 fix(core): Leftover folders inside of exposed exports directory. 2023-11-01 10:54:51 +01:00
purple
3c096f37b0 feat(core): exposed export url paths now have added randomness to them. 2023-11-01 10:54:10 +01:00
purple
b3f0009748 feat(lib-grabenv, core): transfer placepanelurl to grabenv 2023-10-31 17:30:13 +01:00
purple
1a3b1d9116 feat(core): Undo import libraries wildcard. 2023-10-31 15:38:29 +01:00
purple
1e0f6592b4 feat(core, libs): Use windcard on sourcing libraries and try to use environment variables for some vars. 2023-10-31 15:35:14 +01:00
purple
915b152b3d feat(core): mute rm for exposed extension exports 2023-10-31 12:00:49 +01:00
purple
ae3af6ba51 feat(core): Improve exposed extension exporting by reading panel url from .env. 2023-10-31 11:50:41 +01:00
purple
4ff3cf76ba feat(core): Add exposed extension exporting 2023-10-31 11:28:47 +01:00
purple
b2839caf71 fix(core): Attempt at fixing vague bug when cleaning up the old public folder when updating extensions. 2023-10-31 11:01:35 +01:00
purple
516fbdde24 fix(core): Fix string-encased wildcards and encase more strings inside of quotes. 2023-10-31 10:38:52 +01:00
purple
4d0e6a9e0e fix(core): uncomment url protocol correction and use correct variable names 2023-10-31 10:29:21 +01:00
purple
f3219c1449 feat(core): temporarily comment out url scheme correction for extension website urls 2023-10-31 10:21:57 +01:00
purple
2d3924b234 fix(core): Wrong website protocol correction on -install 2023-10-31 10:17:03 +01:00
purple
76f389f8e8 fix(core): Wrong colors on -help with developer mode disabled. 2023-10-30 15:49:29 +01:00
purple
4f2137d259 feat(core): Minor spacing changes to code. 2023-10-26 13:14:28 +02:00
purple
27227952ee feat(core): Place quotes around most (if not all) paths for -install 2023-10-26 13:09:31 +02:00
purple
8696b81d7c feat(core): Place quotes around paths for -remove 2023-10-26 13:05:04 +02:00
purple
553bad2d40 feat(core): Encase even more paths inside of quotes for -install 2023-10-26 13:01:33 +02:00
prplwtf
1b58f2a9fc feat(core): Add quotes outside of paths in a couple -install paths to see how this goes and to prevent further issues. 2023-10-25 22:28:52 +02:00
prplwtf
a62abf6baa fix(core): Remove placeholder optimization for now as it was causing issues on low-spec nodes. 2023-10-25 21:34:05 +02:00
prplwtf
764714ee34 fix(core): Files containing spaces were not handled correctly when installing extensions. 2023-10-25 21:17:28 +02:00
prplwtf
2b309f397b feat(core): Improve speed of placeholders in theory and fix sed syntax stuff. 2023-10-25 20:37:38 +02:00
prplwtf
1ee5eb1743 fix(core): Modify sed expression for fixing placeholder filenames. 2023-10-25 19:57:40 +02:00
prplwtf
d3eb09d1f8 fix(core): Another attempt at fixing problems regarding spaces with placeholders. 2023-10-25 19:50:37 +02:00
prplwtf
4862b99b7e fix(core): Attempt at fixing placeholder problems regarding spaces inside of file names. 2023-10-25 19:38:09 +02:00
prplwtf
af5793c62e feat(core): Check for grep and awk when checking dependencies. 2023-10-25 19:18:43 +02:00
prplwtf
916e817fa5 fix(core): No developer-mode gate for -wipe 2023-10-25 19:02:33 +02:00
prplwtf
b75e12de51 feat(core): Add more logs to -install. 2023-10-24 15:13:09 +02:00
prplwtf
4e98edddae feat(core): Encase some variables inside of braces. 2023-10-24 15:04:22 +02:00
prplwtf
ffff210495 feat(core): Encase some variables inside of braces. 2023-10-24 15:00:28 +02:00
prplwtf
58130b2bfd feat(core): -init now uses "[WARNING]" instead of "[FATAL]" for wrong inputs. 2023-10-24 14:53:17 +02:00
prplwtf
ad2bae8494 feat(core): h, -h and --h now trigger the help command as well. 2023-10-24 13:23:09 +02:00
prplwtf
aeea01caa7 feat(core): Add new "blueprintversion" placeholder, which, as the name suggests, gets replaced with the host's Blueprint version. 2023-10-24 13:13:46 +02:00
prplwtf
bff38ff17d feat(core): Node.JS v17 is no longer supported. 2023-10-24 13:07:10 +02:00
purple
a989374c34
feat(core): Check for git when checking dependencies. 2023-10-23 23:19:23 +02:00
prplwtf
1574eca271 fix(core): Unrelated error when ending argument on of -install with ".blueprint". 2023-10-21 20:05:48 +02:00
Steam Deck User
bcfe79bb37 fix(core): Unterminated `s command on placeholders. 2023-10-20 19:42:03 +02:00
Steam Deck User
d42cca0643 feat(core): Add new "installmode" placeholder. 2023-10-20 15:09:48 +02:00
purple
eade87b7ae feat(core): Add flag "developerIgnoreInstallScript" to skip custom installation scripts when building extensions. 2023-10-16 20:20:25 +02:00
purple
19b776e87f feat(core): Pass some useful variables to custom install scripts when installing extensions. 2023-10-15 19:12:18 +02:00
purple
43d138c76c feat(core): Add "cross-env" to the dependency check. 2023-10-15 13:09:40 +02:00
purple
f7e7e1fc0b fix(core): Fix trying to copy a nonexistent folder's content when initializing from templates. 2023-10-13 20:25:35 +02:00
purple
68cf3efc7e fix(core): Unknown template error when using -init caused by single quotes on string. 2023-10-13 20:20:45 +02:00
purple
5cba275cda fix(core): Stop wiping the tools/tmp directory when upgrading. 2023-10-13 20:18:20 +02:00
purple
9c270e0195 feat(core, templates): Download -init templates from GitHub repository instead of shipping them with Blueprint releases. 2023-10-13 20:13:35 +02:00
purple
df73512e1a fix(core): Ignore .gitkeep files when checking if a directory is empty instead of ignoring README.md 2023-10-13 19:43:33 +02:00
purple
4b836c33f7 feat(core): Use .gitkeep instead of README.md files. 2023-10-13 19:41:46 +02:00
purple
30c6b6cd4e fix(core): Update error for unknown template value in -init. 2023-10-13 19:33:42 +02:00
purple
626f7a3fd6 fix(core): Undo SC2003 as it was causing issues. 2023-10-11 16:52:01 +02:00
purple
42ef38a3bc fix(core): SC2003 2023-10-10 21:51:41 +02:00
purple
ef5326a906 fix(core): Fix incorrect colors for the "developer" section in "-help". 2023-10-10 21:45:39 +02:00
purple
d882aa3c51 fix(core): SC2129 on line 605 2023-10-10 21:40:54 +02:00
purple
a69be43709 fix(core): SC2236 2023-10-10 21:34:43 +02:00
purple
e462997aab fix(core): SC2162 2023-10-10 21:28:42 +02:00
purple
b7d16d3fde feat(core): Update fallback version to latest, 2023-10-10 21:27:41 +02:00
purple
9a693b571b fix(core): Updating extensions with public folders would remove all folders in public/extensions/. 2023-10-10 20:35:56 +02:00
purple
09d7e21fb1 feat(core): Update fallback version to latest. 2023-10-07 20:55:22 +02:00
purple
e3e1612615 fix(blueprint.sh): Finally get route removal working in -remove. 2023-10-01 15:40:32 +02:00
purple
27727b8a97 feat(assets, blueprint.sh): Update defaultExtensionLogo1, defaultExtensionLogo2, defaultExtensionLogo3, defaultExtensionLogo4, defaultExtensionLogo5, defaultExtensionLogo6.
Add defaultExtensionLogo7, defaultExtensionLogo8, defaultExtensionLogo9.
Update icon rolling to allow for 9 placeholder icons instead of 6.
2023-10-01 15:13:54 +02:00
purple
bbf98659ea fix(blueprint.sh): Make sure that not all extension routes become comments. 2023-10-01 15:01:05 +02:00
purple
17ce287e0b fix(blueprint.sh): Description field in -init used [INFO] instead of [INPUT] 2023-10-01 14:55:17 +02:00
purple
51f860b4fe fix(blueprint.sh): Correctly remove routes when removing extensions. 2023-10-01 14:52:10 +02:00
purple
ee057495ac fix(blueprint.sh): Extension installation crashed when providing no icon. 2023-10-01 14:39:28 +02:00
purple
a1e42cf37a feat(blueprint.sh): Try new way of removing admin routes when uninstalling extensions. 2023-10-01 14:29:33 +02:00
purple
aa54ad9a2a feat(blueprint.sh): Improve readability and add comments. 2023-10-01 14:25:10 +02:00
purple
cf90ee9b55 Remove extension route removal for now. 2023-09-30 17:33:38 +02:00
purple
64ab445c54 Attempt at fixing route removal. 2023-09-30 16:33:59 +02:00
purple
0506ee76ea "blueprint -install example.blueprint" will no longer cause a "not found" error. 2023-09-29 17:19:27 +02:00
purple
ff88db53e7 Stop misplaced "YN" string from ruining everything 2023-09-24 16:45:02 +02:00
purple
9e681ace33 Silence rm output on -wipe 2023-09-24 16:40:32 +02:00
purple
c3a36ac6fe Link filesystems when installing and mute route:cache output. 2023-09-24 15:58:26 +02:00
purple
3b4b1d67da Fix -wipe not wiping hidden files. 2023-09-24 11:20:37 +02:00
purple
f14e148307 Add "onboarding modal" template. 2023-09-23 17:31:39 +02:00
purple
e35390f633 Add shortcuts for dev commands and add new -wipe command. 2023-09-23 17:14:04 +02:00
purple
cdd2314092 Add "dashboard overlay" template. 2023-09-23 16:34:02 +02:00
purple
f6c3b98cd2 Add "theme" template. 2023-09-23 16:19:28 +02:00
purple
0f5706646e Fix bug regarding stacked -init answers and make templates work. 2023-09-23 16:07:49 +02:00
purple
b9cb4bc640 Create template file tree. 2023-09-23 15:46:10 +02:00
purple
9719547db9 Add template option to -init, doesn't do anything yet. 2023-09-23 15:36:32 +02:00
purple
b97f9d3023 Update fallback version to latest. 2023-09-19 20:10:00 +02:00
purple
c0954e9958 Add more telemetry messages. 2023-09-19 19:30:46 +02:00
purple
7af4762d46 Update "updating route cache" message log and mute output. 2023-09-13 14:55:15 +02:00
purple
aef3f8bef1 Clear route cache every time after changing them. 2023-09-12 19:55:48 +02:00
purple
fdabfb2399 Fix dependency error caused by code formatting, 2023-09-11 16:32:55 +02:00
purple
4820111540 Make new missing dependencies log functional. 2023-09-11 16:29:38 +02:00
purple
7538050826 Test better "missing dependencies" layout. 2023-09-11 16:23:49 +02:00
purple
08a7d5e541 Put dependency names between quotes for better readability. 2023-09-10 14:31:13 +02:00
purple
2b951c36eb Move backwards-compatible ExtensionLibrary back to Services/Helpers/ 2023-09-07 18:26:27 +02:00
purple
bffc7e02ba Reset terminal color after running custom extension installation script. 2023-09-07 18:22:41 +02:00
purple
465d7c32fc Fix wrong file path for BlueprintPlaceholderService. 2023-09-07 16:32:29 +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
f422110247 Improve readability on some if statements and add new string validations for installing extensions. 2023-09-06 17:54:23 +02:00
purple
1fe19cfd0e Fix adding rejected -init answers to the final string injected into conf.yml. 2023-09-06 17:30:34 +02:00
purple
0c8be71f95 Some characters were detected as "yes" when confirming upgrade warnings. 2023-09-06 15:00:07 +02:00
purple
3f8a4d1546 Add comment about .blueprint unarchiving in blueprint.sh. 2023-09-05 18:46:43 +02:00
purple
f30f5ff4f4 Update fallback version to latest. 2023-09-03 22:56:30 +02:00
purple
4d9485a034 Fix double checking of "unzip" dependency and add printDebug.sh tool. 2023-09-03 14:12:36 +02:00
purple
3eb0be9082 Check for "curl", "sed" and "php" as well. 2023-09-02 18:36:56 +02:00
purple
46f9c632dc Add "zip" and "unzip" as required internal dependencies. 2023-09-02 18:30:09 +02:00
purple
cb3ad3f731 Attempt at fixing broken upgrade due to unexpected script exits. 2023-08-31 18:33:19 +02:00
purple
7e92b24aa8 Fix installation script not running with latest changes. 2023-08-31 18:29:00 +02:00
purple
ceba097f60 Didn't make a correct if statement, somehow. 2023-08-31 18:23:40 +02:00
purple
f82478852f Attempt at fixing syntax error caused by unfinished command. 2023-08-31 18:21:07 +02:00
purple
3c1c6ed911 Improve installation folder variable changing. 2023-08-31 18:19:27 +02:00
purple
29ce62ff32 Allow easy changing of the Blueprint folder variable. 2023-08-31 18:13:44 +02:00
purple
79d1290c78 Attempt at fixing upgrading for non-default panel locations. 2023-08-31 18:00:27 +02:00
purple
c70581256b Installations with a non-default Pterodactyl installation folder are now able to use upgrade. 2023-08-31 17:46:19 +02:00
purple
c9622eaca8 Extension icons are no longer required. 2023-08-31 17:19:50 +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
ce19a77128 Move "check for docker installation" below version variables. 2023-08-27 16:01:36 +02:00
purple
722794fac3 Remove "remove database migrations (maybe)" text from blueprint.sh 2023-08-25 13:01:37 +02:00
purple
62724c9169 Database migrations on extension install has been improved 2023-08-23 21:42:34 +02:00
purple
d2c715d14b Upgrade fallback version to latest 2023-08-21 13:43:35 +02:00
purple
8f227d316f Try to find the conf.yml file before importing it into Blueprint. 2023-08-20 14:33:02 +02:00
purple
bb76e3bc8a Sanitize database migrations variable. 2023-08-20 10:46:52 +02:00
purple
8a3e1def4d Improve dependency checking. 2023-08-18 18:29:01 +02:00
purple
99dab8a3c0 Improve database migrations choice menu for Blueprint installation. 2023-08-17 11:44:09 +02:00
purple
2d0dec0306 Require a supported version of node to use Blueprint 2023-08-17 11:37:53 +02:00
purple
7d6adc155c Improve y/n questions by defaulting to the recommended answer when no input is given. 2023-08-16 18:45:50 +02:00
purple
7d86ec08fd Update "disabled" and "enabled" color scheme for developer command help. 2023-08-15 12:58:36 +02:00
purple
90d1fc474a Fix "-help" not showing correctly.
Includes a recode for help
2023-08-15 12:44:10 +02:00
purple
9eeeb6e9ba Clean up core and make it more readable. 2023-08-15 12:23:40 +02:00
purple
2322ec99f9 Show error when developer mode is not turned on for dev commands.
I also made unknown command a fatal error.
2023-08-15 12:10:30 +02:00
purple
694b820422 Prompt users to use -help when running an unknown command. 2023-08-15 12:05:59 +02:00
Ahwxorg
915c672c98
fix: rename --runinstall to --rerun-install 2023-08-14 13:28:15 +02:00
purple
83b80059fc
Undo minor formatting tweaks as this is intentional 2023-08-12 08:51:03 +02:00
Ahwxorg
1af65e42f2
Update blueprint.shfix(blueprint.sh) automatically display a help menu if someone tries to run an undefined/invalid command 2023-08-12 00:04:45 +02:00
Ahwxorg
ebc3ab0c1c
fix(blueprint.sh): minor formatting tweaks 2023-08-12 00:00:23 +02:00
purple
dee6349b78 Replace folder variable on telemetry.sh and updateAdminCacheReminder.sh 2023-08-11 21:54:25 +02:00
purple
82cb456dfd Reroll admin cache refresh reminder class name after (extension) installation. 2023-08-11 21:50:34 +02:00
purple
30dda95fc1 Add new function that generates a random classname for the admin cache reminder overlay. 2023-08-11 21:39:46 +02:00
purple
5b435aa183 Redo the -help command. 2023-08-11 16:11:53 +02:00
purple
374f7a7eee Add new assets: installWithBlueprintDarkGradient, defaultExtensionLogo5 and defaultExtensionLogo6. 2023-08-11 14:52:43 +02:00
purple
90ba1ae5e1 Do not allow extensions to be installed from other paths as it will lead into unexpected errors. 2023-08-10 11:40:26 +02:00
purple
cb0f86d090 Notify the user when the command they are trying to execute does not exist. 2023-08-09 12:57:18 +02:00
purple
1eec603c7d Developer commands no longer run without developer mode enabled. 2023-08-07 15:53:49 +02:00
purple
5a5154aeb9 Developer commands are now hidden when developer mode is not enabled. 2023-08-07 15:50:54 +02:00
purple
b65a485079 Logging will now still be possible after a failed upgrade/missing library, colors are not applied to those logs. 2023-08-06 13:41:56 +02:00
purple
8719d0d4bd Check for missing Blueprint libraries 2023-08-06 11:48:48 +02:00
purple
3f94763ea5 Fix incorrect path for chown. 2023-08-05 20:49:35 +02:00
purple
89c8f6e33f Require development files for exporting 2023-08-04 12:47:25 +02:00
purple
3ca3adca2a Require development files before building 2023-08-04 12:46:57 +02:00
purple
63a7a2f01b Update fallback version to latest. 2023-08-02 18:21:07 +02:00
purple
78940981f6 Another attempt at making chmod silent.
I've been able to get a simple theme working on the previous Blueprint commit, so that is pretty cool.
2023-08-02 14:28:38 +02:00
purple
0c5b6de6a0 Fix wrong path for -init placeholder icons, another fix for dashboard css and silence chmod output 2023-08-02 13:57:13 +02:00
purple
1d07c3a0a9 Dashboard css is now copied to resources/scripts/css 2023-08-02 13:46:05 +02:00
purple
5b2e62431a Dashboard css wasn't working because of a typo. 2023-08-02 13:32:54 +02:00
purple
c316d091d0 Change the filename of custom extension css for both the admin and client panel. 2023-08-02 10:32:04 +02:00
purple
fa4f2d7677 Update fallback version to latest. 2023-07-31 17:45:56 +02:00
purple
661a07f879 -remove is no longer experimental 2023-07-31 12:51:35 +02:00
purple
31f0917e08 Create function for checking dependencies. 2023-07-31 11:14:32 +02:00
purple
9e2fdee9a9 Add confirmation for removing extensions. 2023-07-31 11:10:39 +02:00
purple
1ba0ce77bd Mute duplicate mkdir logs, silence unzip and quote conf.yml options.
Also -remove works now! The quoted variables are for added security. :)
2023-07-30 22:22:08 +02:00
purple
7a32ee9bab Fix "unmatched }" on admin routes. 2023-07-30 21:11:46 +02:00
purple
c87989d366 Routes wouldn't build correctly, this is now fixed. 2023-07-30 21:02:48 +02:00
purple
486dad1804 Add begin and end string to admin routes, improve extension removal. 2023-07-30 18:22:10 +02:00
purple
6f734f4cca Begin work on -remove command. 2023-07-30 13:28:03 +02:00
purple
0328d36cf1 Add ahwxorg to contributors and move dependency checking to -install and installation script.
Thank you ahwxorg for contributing to Blueprint!
2023-07-30 12:13:53 +02:00
Ahwxorg
6b5ce812f0
feat(blueprint.sh): add checks to see if dependencies are installed 2023-07-30 09:46:15 +02:00
purple
560c9a1fc0 Improve installation instructions and check for the correct NodeJS version. 2023-07-29 21:56:05 +02:00
purple
a1c6d39687 Update README.md and build panel upon installation.
Yarn is now required and Byte will be worked on later.
2023-07-29 12:29:18 +02:00
purple
d4089ac475 Import Byte into blueprint.sh
Byte is probably not going to be released this update, I'm sorry. I need to think about how to implement it in Blueprint, I have a lot of ideas, just don't know where to start.
2023-07-29 11:02:49 +02:00
purple
9cf0883299 Say hello to Byte, only remove placeholder files if needed and fix recovering blueprint.sh after failed upgrade. 2023-07-28 22:12:59 +02:00
purple
4d670f53be Rebuild panel on extension installation if required. 2023-07-28 18:57:04 +02:00
purple
0b8cfd9d77 Move client css to /resources/scripts 2023-07-28 18:24:22 +02:00
purple
84dee8772c Add dashboard_css. 2023-07-28 14:04:46 +02:00
purple
a939916ffc Copy paste extension placeholder image from .blueprint/assets instead of including all of them. 2023-07-27 11:49:15 +02:00
purple
c631da4ff9 Improve non-default folder installations. 2023-07-26 09:24:13 +02:00
purple
bb86229500 Add better support for panels installed in other locations. 2023-07-25 22:42:32 +02:00
purple
027c9d0262 Update fallback version to latest. 2023-07-24 16:03:45 +02:00
purple
08c26c0191 Add dashboard_wrapper below content. 2023-07-23 18:35:37 +02:00
purple
75d4c94351 Attempt at making dashboard_wrapper useful 2023-07-23 18:27:09 +02:00
purple
865d71ec2e Forgot to add -e to echo when adding the newline.
I'm also experimenting with making the wrapper work correctly.
2023-07-23 18:20:01 +02:00
purple
b73bd9c96b Add a linebreak before identifier:stop 2023-07-23 17:54:13 +02:00
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