Commit graph

678 commits

Author SHA1 Message Date
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
purple
318f783999 Applying custom css was skipped, this is now fixed. 2023-07-21 16:00:56 +02:00
purple
aac4302c36 Only skip including css on duplicate extensions 2023-07-21 15:57:30 +02:00
purple
8191990d80 Add duplicate checking to admin_css 2023-07-21 15:11:19 +02:00
purple
f7956655dd Fix telemetry id -config option. 2023-07-20 19:50:20 +02:00
purple
98dc6601fe Add admin wrapper. Behaves similarly to dashboard wrapper. 2023-07-20 17:26:09 +02:00
purple
6146d6b655 Fix wrongly colored [INFO] in blueprint.sh 2023-07-20 15:44:08 +02:00
purple
4271aa3ee1 Skip applying routes and buttons if extension has already been installed to prevent duplicates. 2023-07-20 15:36:58 +02:00
purple
6d26574d57 Make custom installation script executable before running it. 2023-07-20 13:07:22 +02:00
purple
f4051eeda9 Add new "name" placeholder. 2023-07-20 12:26:00 +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
29f576dd68
Remove -exec and add -config
-config uses a new thing I recently learned setting up my Raspberry Pi. This should make everything much simpler on the backend side of things and will be more user-friendly.

I'm also thinking of adding BP_xxx error codes, but that isn't final yet, so expect changes.

Well that was it from me again, thanks for checking out Blueprint.
2023-07-16 20:22:59 +02:00
purple
dde406c580
Update fallback version 2023-07-14 11:53:59 +02:00
purple
46f96fc2e8 Fix quit_red and insert "dashboard_wrapper" 2023-07-14 11:02:59 +02:00
purple
83a365cd46 Abort upgrading if .blueprint/dev contains files. 2023-07-14 10:39:26 +02:00
purple
b96528a066 Clean up blueprint.sh and fix wrapper.blade.php editing 2023-07-14 10:34:09 +02:00
purple
c34269aba0 Fix wrong variables for dashboard_wrapper and change placeholders in wrapper.blade.php 2023-07-13 21:27:05 +02:00
purple
6f8112dc1e Fix typo on conf.yml backup 2023-07-13 21:15:13 +02:00
purple
6eade01be3 Readd automatic blueprint.sh recovery and add basic dashboard support for extensions. 2023-07-13 10:41:44 +02:00
purple
f6ceb10055 First steps at making client-side extension support. 2023-07-12 22:15:21 +02:00
purple
4c65acd300 Use /var/www/$FOLDER paths for placeholder removal. 2023-07-12 14:32:44 +02:00
purple
f17ff844a3 Do not clear tools/tmp folder, instead only remove README.md 2023-07-12 14:27:50 +02:00
purple
6cd4c2dcf5 Backup conf.yml after while installing extensions. 2023-07-12 14:18:43 +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
fb0e2b313f Automatically clear tools/tmp folder upon installation. 2023-07-12 13:09:38 +02:00
purple
1c039a8c6f Update database migrations 2023-07-12 11:12:09 +02:00
purple
75250168fa Update README files. 2023-07-10 14:12:59 +02:00
purple
3afa256663 Add new assets. 2023-07-10 14:06:16 +02:00
purple
1e0848982b
Add additional comments to blueprint.sh 2023-07-09 07:47:40 +02:00
purple
4160d90b42
Fix mistake in README.md 2023-07-06 16:29:47 +02:00
purple
33cda8c48f Use README.md folder placeholders instead of hello.txt or .hello.txt.
These files will be automatically removed upon installation.
2023-07-06 12:27:27 +02:00
purple
71d0b5e716 Remove -collect command. 2023-07-05 09:53:50 +02:00
purple
2f7f831e38 Remove "debug" and change how -collect works. 2023-07-04 14:28:19 +02:00
purple
77ba45b6e2 Add hidden "DEBUG" logs. 2023-07-04 14:19:48 +02:00
purple
f565de0b43 Remove automatic repair for now. 2023-07-04 13:38:13 +02:00
purple
7a6bd536e1 Add -collect command for debugging. 2023-07-04 13:35:02 +02:00
purple
3ff29872f3 Update some things related to logs.
Add new [INPUT] log type and collect all logs in a file for debugging.
2023-07-04 13:25:16 +02:00
purple
a681bd6a89 Add "contributions" to README.md 2023-07-04 11:36:20 +02:00