Commit Graph
10 Commits
Author SHA1 Message Date
hacker07 6f0055d636 Merge feature/adguard (upstream 3.0.0 + fork patches) into main 2026-09-17 20:48:52 +03:00
hacker07 15c1b1eb81 Merge upstream main (3.0.0) into feature/adguard
Upstream rewrote install.sh to 3.0.0. Re-apply the fork installer changes on
top: point at the NeoTachyon Gitea repo (REPO_HOST/OWNER/NAME), use the Gitea
API base for release resolution and support optional GITEA_USER/TOKEN auth for
the API and downloads.
2026-09-17 20:48:47 +03:00
hacker07 da508f51e6 ci: drop upstream GitHub CI workflows (backend-ci/frontend-ci/shellcheck)
These target GitHub Actions runners and do not fit the bare Gitea Actions
host runner, producing failed runs on every branch push. The build.yml
release workflow (auto-build on tags) is kept.
2026-09-17 20:34:29 +03:00
hacker07 f010dc2cf2 feat(install): support private Gitea credentials (TACHYON_GITEA_USER/TOKEN) for API and downloads
Differential ShellCheck / Differential ShellCheck (push) Failing after 16s
2026-09-17 17:10:12 +03:00
hacker07 aa27ac8a13 feat(install): support local source archive path in TACHYON_SOURCE_URL
Build packages / Setup build version (push) Failing after 3s
Build packages / Build Tachyon release packages (push) Skipped
Build packages / Create Release (push) Skipped
Differential ShellCheck / Differential ShellCheck (push) Failing after 15s
2026-09-17 14:42:55 +03:00
hacker07 4dffe584b7 feat(install): allow overriding the source archive URL (TACHYON_SOURCE_URL)
Differential ShellCheck / Differential ShellCheck (push) Failing after 15s
2026-09-17 14:42:12 +03:00
hacker07 6c4d727634 Merge feature/adguard: installer now serves from the NeoTachyon Gitea repo (source fallback)
Differential ShellCheck / Differential ShellCheck (push) Failing after 16s
2026-09-17 14:37:50 +03:00
hacker07 4f2a7661fe feat(install): install from the NeoTachyon Gitea repo with source fallback
Point the installer at https://git.rukavishnikoff.ru/hacker07/NeoTachyon and
support Gitea's GitHub-compatible API for releases. When the repository has
no published release yet, fall back to installing the backend and LuCI UI
directly from the branch source archive (tachyon/files, luci-app htdocs/root)
so the same one-liner installs the fork as-is. Repo can be overridden via
TACHYON_REPO_HOST / TACHYON_REPO_OWNER / TACHYON_REPO_NAME /
TACHYON_SOURCE_BRANCH / TACHYON_REPO_INSTALL_URL. README install/uninstall
commands now point to the Gitea raw URLs.
2026-09-17 14:37:42 +03:00
hacker07 3999fce053 Merge feature/adguard: AdGuard Home component (DNS modes, failover, section upstream)
Backend CI / Backend Runtime Checks (push) Failing after 10s
Frontend CI / Frontend Quality Checks (push) Failing after 0s
Backend CI / OpenWrt Docker E2E (push) Skipped
Differential ShellCheck / Differential ShellCheck (push) Failing after 17s
2026-09-17 14:23:08 +03:00
hacker07 617107ef15 feat(adguard): add AdGuard Home component with DNS modes, failover and section upstream
Add AdGuard Home as an installable Tachyon component (component card with
check/update/remove/rollback/enable/disable) backed by providers/adguard
(validator + runtime) and an init.d service.

Backend:
- action.uc: install/remove/enable/backup/rollback/dispatch/releases for
  'adguard' (tar.gz from AdguardTeam/AdGuardHome, OpenWrt->AdGuard arch map)
- updater.uc: adguard asset selection; updates.uc: valid_component_name and
  automatic update checks
- runtime.uc: generates AdGuardHome.yaml from UCI (upstream=single-box DNS,
  fallback_dns for failover, web UI on LAN, filters), manages the daemon
- dns/apply.uc: dns_main_mode (dnsmasq->AdGuard->sing-box chain, or AdGuard on
  :53 with dnsmasq DHCP-only)
- settings: dns_main_mode (Main DNS) + dns_adguard_failover_enabled
- sections: routed_dns_type/dns_type 'adguard' resolve via the AdGuard provider
  upstreams; validator accepts the new type
- system-info: adguard_version/installed/enabled/backup fields

Frontend:
- component card 'AdGuard Home' with enable/disable + version actions
- LuCI DNS settings tab: Main DNS selector and failover flag
- section.js: AdGuard Home routed DNS protocol option

Tests: tests/adguard_validator.sh, tests/adguard_runtime.sh
2026-09-17 14:22:13 +03:00