Establish the self-contained tools convention and prove it on a core app: - discovery now reads containers/<app>/tools/<app>.tools.json (the tools/ subfolder); tool functions live at containers/<app>/tools/*.sh, auto-sourced by the container scan (depth 3) — no scripts/app/ entry, no array regen. - adguard migrated: its 2 Tools-tab actions (reset_password, apply_dns_updater) moved to containers/adguard/tools/ + tools/adguard.tools.json, and dropped from the central webui_tools.sh heredoc. adguard_auth.sh stays in scripts/app/ — it's a logic helper, NOT a tool (the key distinction: only DECLARED tools move). Central + per-app styles coexist (pihole etc. still central), so the remaining apps can migrate one at a time with nothing breaking. Verified: heredoc valid sans adguard, per-app merge re-adds adguard's 2 tools, scripts array dropped the moved fns. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: librelad <librelad@digitalangels.vip>
76 lines
3.6 KiB
Bash
Executable File
76 lines
3.6 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
# This file is auto-generated by generate_arrays.sh
|
|
# Do not edit manually - run './scripts/source/files/generate_arrays.sh run' to regenerate
|
|
|
|
app_scripts=(
|
|
"app/app_generate.sh"
|
|
"app/app_get_key_data.sh"
|
|
"app/app_scan_available.sh"
|
|
"app/app_status.sh"
|
|
"app/app_update_specifics.sh"
|
|
"app/auth_adapter.sh"
|
|
"app/containers/adguard/adguard_auth.sh"
|
|
"app/containers/bookstack/bookstack_auth.sh"
|
|
"app/containers/bookstack/bookstack_create_account.sh"
|
|
"app/containers/bookstack/bookstack_delete_user.sh"
|
|
"app/containers/bookstack/bookstack_list_users.sh"
|
|
"app/containers/bookstack/bookstack_reset_password.sh"
|
|
"app/containers/bookstack/bookstack_set_admin.sh"
|
|
"app/containers/crowdsec/crowdsec_alerts_list.sh"
|
|
"app/containers/crowdsec/crowdsec_console_disable.sh"
|
|
"app/containers/crowdsec/crowdsec_console_enroll.sh"
|
|
"app/containers/crowdsec/crowdsec_decisions_list.sh"
|
|
"app/containers/crowdsec/crowdsec_fix_priority.sh"
|
|
"app/containers/crowdsec/crowdsec_hub_update.sh"
|
|
"app/containers/crowdsec/crowdsec_metrics.sh"
|
|
"app/containers/crowdsec/crowdsec_status.sh"
|
|
"app/containers/crowdsec/crowdsec_unban.sh"
|
|
"app/containers/crowdsec/crowdsec_update.sh"
|
|
"app/containers/crowdsec/crowdsec_verify_firewall.sh"
|
|
"app/containers/dashy/dashy_manage_shortcuts.sh"
|
|
"app/containers/dashy/dashy_update_conf.sh"
|
|
"app/containers/focalboard/focalboard_auth.sh"
|
|
"app/containers/focalboard/focalboard_create_account.sh"
|
|
"app/containers/focalboard/focalboard_delete_user.sh"
|
|
"app/containers/focalboard/focalboard_list_users.sh"
|
|
"app/containers/focalboard/focalboard_reset_password.sh"
|
|
"app/containers/focalboard/focalboard_set_admin.sh"
|
|
"app/containers/gitea/gitea_auth.sh"
|
|
"app/containers/gitea/gitea_create_account.sh"
|
|
"app/containers/gitea/gitea_delete_user.sh"
|
|
"app/containers/gitea/gitea_list_users.sh"
|
|
"app/containers/gitea/gitea_reset_password.sh"
|
|
"app/containers/gitea/gitea_set_admin.sh"
|
|
"app/containers/gluetun/gluetun_recreate_routed.sh"
|
|
"app/containers/gluetun/gluetun_refresh_providers.sh"
|
|
"app/containers/invidious/invidious_auth.sh"
|
|
"app/containers/invidious/invidious_create_account.sh"
|
|
"app/containers/invidious/invidious_delete_user.sh"
|
|
"app/containers/invidious/invidious_list_users.sh"
|
|
"app/containers/invidious/invidious_reset_password.sh"
|
|
"app/containers/invidious/invidious_set_admin.sh"
|
|
"app/containers/mattermost/mattermost_auth.sh"
|
|
"app/containers/mattermost/mattermost_create_account.sh"
|
|
"app/containers/mattermost/mattermost_delete_user.sh"
|
|
"app/containers/mattermost/mattermost_list_users.sh"
|
|
"app/containers/mattermost/mattermost_reset_password.sh"
|
|
"app/containers/mattermost/mattermost_set_admin.sh"
|
|
"app/containers/nextcloud/nextcloud_add_trusted_domain.sh"
|
|
"app/containers/nextcloud/nextcloud_auth.sh"
|
|
"app/containers/nextcloud/nextcloud_create_account.sh"
|
|
"app/containers/nextcloud/nextcloud_delete_user.sh"
|
|
"app/containers/nextcloud/nextcloud_list_users.sh"
|
|
"app/containers/nextcloud/nextcloud_rescan_files.sh"
|
|
"app/containers/nextcloud/nextcloud_reset_password.sh"
|
|
"app/containers/nextcloud/nextcloud_set_admin.sh"
|
|
"app/containers/nextcloud/nextcloud_system_status.sh"
|
|
"app/containers/nextcloud/nextcloud_tail_logs.sh"
|
|
"app/containers/nextcloud/nextcloud_toggle_maintenance.sh"
|
|
"app/containers/owncloud/owncloud_setup_config.sh"
|
|
"app/containers/pihole/pihole_apply_dns_updater.sh"
|
|
"app/containers/traefik/traefik_auth.sh"
|
|
"app/containers/traefik/traefik_reset_password.sh"
|
|
|
|
)
|