5633 Commits

Author SHA1 Message Date
CanbiZ
b9b52a6642 Remove diagnostics and storage menu options
Eliminates the diagnostics and storage options from the install_script function, consolidating the menu and redirecting the diagnostics option to settings_menu. This simplifies the script's menu structure and removes unused or deprecated functionality.
2025-09-17 15:49:12 +02:00
CanbiZ
8b34ae346b Refactor install menu and add settings submenu
Updated the install menu labels for clarity and dynamic numbering. Introduced a new settings_menu function to manage diagnostic, default, and storage settings, with conditional options based on the presence of app defaults.
2025-09-17 15:41:13 +02:00
CanbiZ
b678f8828a Fix storage variable assignment in echo_storage_summary_from_file
Corrects the logic for setting TEMPLATE_STORAGE and CONTAINER_STORAGE by checking if tpl and ct are set, respectively, and calling choose_and_set_storage_for_file if not. This ensures storage variables are properly initialized before use.
2025-09-17 15:34:04 +02:00
CanbiZ
6c9d1d0e23 Update build.func 2025-09-17 15:26:17 +02:00
CanbiZ
cfed8d6e69 Update build.func 2025-09-17 15:17:07 +02:00
CanbiZ
b622505d81 Update build.func 2025-09-17 14:58:16 +02:00
CanbiZ
8ce34b4ee0 Refactor storage selection and enforce user prompt
Unifies and refactors storage selection logic to always prompt the user for container and template storage choices unless only one option exists, as per requirement #4. Removes legacy selection functions, updates all relevant install and menu flows to use the new logic, and ensures storage settings are consistently written to vars files and environment variables. Also improves code clarity and maintains storage summary output.
2025-09-17 13:59:14 +02:00
CanbiZ
ca28e419ef Update build.func 2025-09-17 13:02:37 +02:00
CanbiZ
81329f74b1 Update build.func 2025-09-17 12:07:36 +02:00
CanbiZ
de057c727c Update build.func 2025-09-17 11:56:41 +02:00
CanbiZ
a3ee4b77fd Update alpine-install.func 2025-09-17 11:22:08 +02:00
cobaltgit
3fd2f00a91 alpine-caddy: move config creation to install step 2025-09-17 10:18:33 +01:00
cobaltgit
7e5cbc4072 alpine-caddy: add default Caddyfile and webpage 2025-09-17 10:17:55 +01:00
CanbiZ
e2306361c5 Update build.func 2025-09-17 11:17:54 +02:00
CanbiZ
d8756722bc Update build.func 2025-09-17 10:52:03 +02:00
CanbiZ
256e22d9bc
Fix API endpoint in data fetching function 2025-09-17 10:08:51 +02:00
CanbiZ
4cde83ce3c Update globaleaks-install.sh 2025-09-17 08:56:10 +02:00
CanbiZ
ee43569916 Update build.func 2025-09-16 16:14:20 +02:00
CanbiZ
108ff22a28 Update docker-vm.sh 2025-09-16 16:12:30 +02:00
CanbiZ
4736022898 Update build.func 2025-09-16 16:08:09 +02:00
CanbiZ
adf51e7086 Update error_handler.func 2025-09-16 16:02:19 +02:00
CanbiZ
79b8b32bd2 Update globaleaks-install.sh 2025-09-16 15:36:26 +02:00
CanbiZ
b980b7db48 Update build.func 2025-09-16 15:33:09 +02:00
CanbiZ
eb6c16f313 Update build.func 2025-09-16 15:13:10 +02:00
CanbiZ
094f99d4bd Update build.func 2025-09-16 15:01:39 +02:00
CanbiZ
86186a5dbd Update build.func 2025-09-16 14:50:57 +02:00
CanbiZ
47d3048115 Update build.func 2025-09-16 14:44:58 +02:00
CanbiZ
d3eecd770a Update build.func 2025-09-16 14:38:35 +02:00
CanbiZ
d55c7776ec Update build.func 2025-09-16 14:31:46 +02:00
CanbiZ
022863386e Update build.func 2025-09-16 14:30:55 +02:00
CanbiZ
28fce51699 Update build.func 2025-09-16 14:11:50 +02:00
CanbiZ
df2e4e6030 Update build.func 2025-09-16 14:10:44 +02:00
CanbiZ
6eb408569e comments over comments 2025-09-16 14:05:17 +02:00
CanbiZ
311d3b2786 Update build.func 2025-09-16 13:44:49 +02:00
CanbiZ
4c4f4ecfe6 Refactor and modernize build.func script
Refactored case statements and conditional checks to use more idiomatic and consistent Bash syntax. Replaced German comments with English, improved readability by splitting long lines, and standardized variable assignments. Enhanced maintainability by using case/esac and if/then constructs, and replaced double-bracketed conditionals with POSIX-compliant single brackets where appropriate.
2025-09-16 13:13:20 +02:00
CanbiZ
d6a1183824 Update build.func 2025-09-16 13:06:13 +02:00
CanbiZ
6ca38e23ae Expand and refactor install_script menu options
Added new preset and menu options for App Defaults, Diagnostics, and Storage Settings. Refactored the menu to be dynamically built and improved handling for each choice, including better diagnostics toggling and support for app-specific defaults. This enhances flexibility and user experience in the installation script.
2025-09-16 13:05:53 +02:00
CanbiZ
9a1f0de47e Refactor app defaults save logic and remove error handlers
Reworks the app defaults save/update logic in misc/build.func to support updating existing defaults with a diff and interactive menu, and adds robust var_* parsing and whitelisting. Removes legacy error and curl handler functions from misc/core.func, streamlining error handling and reducing code duplication.
2025-09-16 13:05:02 +02:00
CanbiZ
6e16aa01d6 Update GlobaLeaks scripts for Debian 13 (trixie) support
Changed default OS version from Debian 12 to 13 and updated the GlobaLeaks APT repository to use 'trixie' instead of 'bookworm'. Also switched apt-get commands to apt for consistency and modern usage.
2025-09-16 11:51:18 +02:00
CanbiZ
8aa95f9549 Update core.func 2025-09-16 11:44:24 +02:00
CanbiZ
7c0f758e2a Update core.func 2025-09-16 11:28:20 +02:00
CanbiZ
ca023e077e Update core.func 2025-09-16 11:19:19 +02:00
CanbiZ
773ae42241 test 2025-09-16 11:16:01 +02:00
CanbiZ
983ea68da6 Update core.func 2025-09-16 11:09:59 +02:00
CanbiZ
9d496e563b Update core.func 2025-09-16 11:02:21 +02:00
CanbiZ
d89e19db74 testing error 2025-09-16 10:56:56 +02:00
CanbiZ
cb29e50080 testing 2025-09-16 10:49:47 +02:00
CanbiZ
ba51df5bb1 testing 2025-09-16 10:41:55 +02:00
CanbiZ
67ebb3782c fixes 2025-09-16 10:26:00 +02:00
CanbiZ
61c9c5ce80 Update error_handler.func 2025-09-16 10:20:47 +02:00