27 Commits

Author SHA1 Message Date
CanbiZ
d08d3ec424 Fix: remove debug echo from post_to_api, fix dev_index arithmetic in GPU passthrough (set -e compatible) 2025-11-17 15:44:56 +01:00
CanbiZ
a7daaee5ae Refactor dev MOTD/SSH setup and journal cleanup
Moved MOTD/SSH setup for dev mode in LXC containers to run after installation and when containers are kept for debugging, improving reliability and clarity. Updated journalctl cleanup to avoid using $STD and suppress errors if systemd-journald is not initialized. Also refactored indentation in misc/api.func for consistency.
2025-11-17 15:09:36 +01:00
CanbiZ
1090081a66 remove ipv6 from api 2025-11-17 15:01:22 +01:00
4f1199a06e add testing echo 2025-11-17 14:51:46 +01:00
CanbiZ
c9d7c2f46b add exit_codes.md 2025-11-17 11:39:14 +01:00
CanbiZ
ee5fe3439d extend error messages 206,207,208,209 / 215, 216, 217, 218 / 222, 223, 231 2025-11-17 11:36:00 +01:00
CanbiZ
36f5e32d48 Inline explain_exit_code and clean diagnostics_check docs
Moved the explain_exit_code function directly into api.func, removing external dependency loading. Also cleaned up merge conflict markers and unified documentation for diagnostics_check in build.func.
2025-11-17 11:26:59 +01:00
CanbiZ
c0fc74bc9c Add detailed documentation and refactor core functions
Expanded inline documentation and section headers across misc/api.func, misc/build.func, misc/core.func, misc/error_handler.func, and misc/install.func for improved maintainability and clarity. Refactored error handling to use centralized explain_exit_code and updated API telemetry/reporting logic. Enhanced modularity and structure of utility, validation, and setup functions, and improved comments for user guidance and developer onboarding.
2025-11-17 11:17:04 +01:00
CanbiZ
af46e22bd2
Revert "feat: add centralized logging utilities" 2025-08-25 14:30:28 +02:00
CanbiZ
3c3aabd21d feat: expand logger with subshell-safe error handling 2025-08-25 14:28:16 +02:00
2c7ff229a5 Api testing 2025-06-10 08:58:04 +02:00
CanbiZ
4f3b893e7d Update api.func 2025-05-22 14:14:02 +02:00
Michel Roegl-Brunner
f99c48d760
Change all links to gite (#343) 2025-05-14 10:17:40 +02:00
CanbiZ
5d3209a50f Update api.func 2025-03-26 14:52:52 +01:00
CanbiZ
7d424933d5 revert api 2025-03-26 14:46:47 +01:00
bfbb0435fa Api 2025-03-21 15:15:45 +01:00
7ddc7d5da5 Api fix 2025-03-21 10:26:24 +01:00
CanbiZ
37e5752e5e bak api 2025-03-21 10:12:01 +01:00
CanbiZ
4268c05a9f fixes 2025-03-21 09:36:13 +01:00
90698425a2 Api update 2025-03-18 13:25:21 +01:00
1e52f338f9 Tapi 2025-03-17 10:51:40 +01:00
c09a4bc335 api 2025-03-17 10:41:02 +01:00
CanbiZ
912cda33e1 API 2025-03-14 14:14:26 +01:00
06476fbdf4 Brink api to dev back 2025-03-12 11:41:23 +01:00
89ac773c8e Brink api to dev back 2025-03-12 11:36:51 +01:00
Michel Roegl-Brunner
8679ebefa0
Remove Curl Calls from api.func 2025-03-05 18:44:43 +01:00
CanbiZ
1c2604bea0 Initial Release 2025-03-03 10:10:57 +01:00