Commit graph

738 commits

Author SHA1 Message Date
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
6368c78d00 feat core: Apply file permissions upon extension removal. 2024-02-27 14:57:21 +01:00
prplwtf
761349f953 feat core: Add SVG, GIF and WEBP support to extension icons. 2024-02-27 14:46:04 +01:00
prplwtf
f1987b11d1 feat core: Improve folder escape detection and add file permission stuff to extension installation transactions. 2024-02-27 13:03:04 +01:00
prplwtf
236981446a feat core: Route names can now be undefined. 2024-02-25 13:56:55 +01:00
prplwtf
fa39d9fc47 feat core routes: Empty -init values now get assigned default values and add admin-only route scope 2024-02-24 21:52:53 +01:00
prplwtf
055398b618 feat core routes: Add experimental "admin" scope to account routes for testing 2024-02-24 20:46:59 +01:00
prplwtf
e84a5143e1 feat core: allow alternative webserver permission configuration 2024-02-24 15:11:01 +01:00
prplwtf
c20974bbb3 feat core: update fallback version to latest 2024-02-22 22:16:33 +01:00
prplwtf
73e6bc821f merge main: prplwtf@github.com/teamblueprint/main.git 2024-02-21 12:05:34 +01:00
prplwtf
b4599ce06c fix core: -remove had incorrectly coded if statement for yes/no input 2024-02-21 12:04:52 +01:00
david1117dev
08600fa36a
Added --progress EVERYWHERE 2024-02-18 17:17:01 +01:00
david1117dev
d94632376d
Add --progress to yarn build 2024-02-18 17:01:30 +01:00
prplwtf
c4a1354fd5 fix core: forgot to update view path 2024-02-18 12:47:32 +01:00
prplwtf
1adf071d2e feat core lib-misc: update some view paths (very danger) 2024-02-17 21:38:10 +01:00
prplwtf
5c418fccf3 feat core: Change wrapper paths to their new locations. 2024-02-17 16:44:59 +01:00
prplwtf
e56f5f69a9 fix core: Apply new extension wrapper indicators onto -install 2024-02-14 17:18:23 +01:00
purple
078b31b062 feat routes core: Move the extension admin routes to a custom routes file. 2024-02-14 08:32:44 +01:00
purple
3cd6b27a22 feat core: Halt extension removal if argument one ends with ".blueprint" 2024-02-14 08:22:50 +01:00
purple
348e0a95c2 feat core: -install can now be called as -add 2024-02-14 08:21:09 +01:00
purple
d286a6bdc8 feat core: Restructure template input validation code. 2024-02-13 15:09:18 +01:00
purple
8268057d53 feat core: Clear application cache upon Blueprint installation and extension installation/removal. 2024-02-13 15:06:17 +01:00
prplwtf
e297dbd69d feat core: Add additional template placeholders for future templates and modify comments for wrapper placement. 2024-02-09 13:04:47 +01:00
prplwtf
d644d2e0af feat core: Modify argument parsed to -install by -build. 2024-02-08 18:45:14 +01:00
prplwtf
9ba5698a4c feat core: Improve code readability and speed up a couple operations. 2024-02-04 15:18:41 +01:00
prplwtf
9106ead924 fix core routes: Ongoing attempts to fix routes on the server-management side on Pterodactyl and fix a bug regarding flags upon extension installation. 2024-02-03 16:41:05 +01:00
prplwtf
1afccdd191 feat core components: Add new component options 2024-01-31 22:14:11 +01:00
prplwtf
8f820f8b58 feat core: Additional optimizations. 2024-01-31 20:23:22 +01:00
prplwtf
04b596fabc feat core: Additional speed optimizations. 2024-01-31 19:36:44 +01:00
prplwtf
135742c33e fix core: Speed up core and fix issues regarding linebreaks. 2024-01-31 17:38:47 +01:00
purple
4ebefe104b fix core: stuff 2024-01-31 12:46:09 +01:00
purple
f72ec38074 feat core build-files: Rename "controller.php" to "controller.build" 2024-01-31 12:20:37 +01:00
purple
6e3820b74f feat core: Make custom navigation routes work 2024-01-31 12:14:36 +01:00
purple
3dc5c33f14 feat core: Improve current route handling a little bit and fix some tiny bugs. 2024-01-31 00:21:05 +01:00
purple
eb9f8f594c feat core: Remove some debug echo commands 2024-01-31 00:05:06 +01:00
purple
13bc8e2cf0 feat core: Additional error validation on custom navigation routes 2024-01-30 23:48:09 +01:00
purple
8115d1c603 feat core routes: Working version of Blueprint route support. 2024-01-30 23:29:21 +01:00
prplwtf
e6763420b9 fix core: still borked, but less 2024-01-30 22:35:07 +01:00
prplwtf
0c23e7ba86 fix core: Routes is still completely borked, just less borked now. 2024-01-30 21:50:33 +01:00
prplwtf
11c34244f3 feat core: Make custom navigation routes removable and inject them into routes.ts 2024-01-30 21:16:17 +01:00
prplwtf
f929c0b4b4 feat core build-files: Remove custom extension routes when updating to prevent duplicates and make subtle changes to build constructors. 2024-01-30 20:42:05 +01:00
prplwtf
0aaf680ca4 feat core: Clean up the returned values a bit and fix a missing var. 2024-01-30 20:22:35 +01:00
prplwtf
4ee7e18de2 fix core: Fix some sed issues regarding routes. 2024-01-30 20:18:00 +01:00
prplwtf
e5d7ee7926 fix core: Fix error caused by sed regex. 2024-01-30 19:56:22 +01:00
prplwtf
b17cb237af feat core build-files: Switch to one ImportConstructor instead of having two 2024-01-30 18:59:08 +01:00
prplwtf
47e2d4d0d4 feat core: Echo all output after generating route files for testing 2024-01-30 18:41:48 +01:00
prplwtf
e0d1ba2f5e feat core build-files: Rethink automatic placement a bit and try to make it work a bit. 2024-01-30 18:04:12 +01:00
prplwtf
d3fc7dc4c8 feat core resources build-files: Create the server navigation router, change minor things in blade wrappers and start working on inserting routes in core. 2024-01-30 15:13:17 +01:00
prplwtf
71a331f280 fix core: Relive the "sourcesourcesource" problem all over again. 2024-01-30 13:45:19 +01:00
prplwtf
68bbf03d92 fix core views: Fix sed range error. 2024-01-30 13:27:07 +01:00
prplwtf
891a346a8e feat core build-files views: No longer use nul characters for placeholders in build files. 2024-01-30 13:17:25 +01:00
purple
a877a487d0
feat core: remove route build file after copy route build file
:)
2024-01-29 22:00:48 +01:00
prplwtf
d43be15f66 feat core: create build file when routes 2024-01-28 22:25:06 +01:00
prplwtf
349986dffb feat core: Do stuff with variables and add error validation, not a working state yet for routes, just preperation. 2024-01-27 19:30:19 +01:00
prplwtf
b1c6d4a9d7 feat core: Detect and loop through custom routes. (not apply them yet) 2024-01-27 16:49:33 +01:00
prplwtf
172b7dadc2 feat core: Implement new default extension icons. 2024-01-23 23:26:34 +01:00
prplwtf
b4e0c761c4 fix core: blueprint icon was no longer showing on install script 2024-01-21 21:16:32 +01:00
prplwtf
26c3bb6c31 feat core: Remove importing of the (now-deleted) "bash_colors" library. 2024-01-20 14:22:47 +01:00
prplwtf
6db7c43d1a feat core: Step away from "bash_colors" internal library for the -info command. 2024-01-20 14:19:51 +01:00
purple
bff7f6cbc3 fix core: incorrect path to temp folder when removing it 2024-01-18 11:06:31 +01:00
purple
8e66ef39ff feat upgrade: move upgrade script to core 2024-01-18 11:03:13 +01:00
prplwtf
7bdd83ee66 fix core: -wipe did not exit after error 2024-01-16 21:33:37 +01:00
prplwtf
2199464f67 feat core: update log output for choosing a template 2024-01-16 19:19:49 +01:00
purple
30f9422f7b feat core: Finish migration to new log layout and update library changes. 2024-01-15 23:59:30 +01:00
prplwtf
5542b24e74 feat core: Use PRINT for even more. 2024-01-15 23:23:54 +01:00
prplwtf
e4ae89e026 feat core: Rewrite even more logs. 2024-01-15 22:09:31 +01:00
prplwtf
409cda4518 feat core: Replace even more logs with the new PRINT function 2024-01-15 21:39:39 +01:00
prplwtf
3310b20cdb feat core: Transition -install to new logging method 2024-01-15 18:34:11 +01:00
prplwtf
17749f91f0 feat core: Move over a handful of logs to the new "PRINT" format. 2024-01-15 17:40:12 +01:00
purple
10496131e8 feat core: improve logging in some places 2024-01-15 00:54:27 +01:00
purple
af970df4f2 feat core: add new log format in some more places 2024-01-15 00:52:51 +01:00
purple
55fcd8888f feat core: add new log messages and change log format in a few places 2024-01-15 00:43:11 +01:00
prplwtf
e9ad82ae00 feat core: add marketplaces extension website icon 2024-01-12 16:32:42 +01:00
purple
9b8f0ab9c3 feat core: Add React as required dependency as it is used by the Pterodactyl panel. 2024-01-09 11:29:02 +01:00
purple
e05c13d45e feat core: Add webpack to required dependencies as it is utilized when building panel assets. 2024-01-09 11:27:13 +01:00
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