github tis24dev/proxsave v0.15.1

20 hours ago

ProxSave v0.15.1

📨 Telegram pairing in the installer, non-interactive upgrade confirmations, and improved privilege-context detection

This release improves first-time setup and automation by adding an optional Telegram pairing step to the installer, enabling non-interactive upgrade confirmations, and expanding privilege-context detection so limited-privilege environments are identified once at startup and reused consistently by collectors.

  • Installer: optional Telegram pairing (CLI + TUI):

    • Added an optional Telegram pairing/verification step for centralized bot mode.
    • New TUI wizard with retry/skip behavior, identity detection, status feedback, and persistence checks.
    • CLI now shows the Server ID and runs an interactive verification loop via notify.CheckTelegramRegistration.
    • Added logging hooks to record non-blocking failures and user choices, plus extensive unit tests.
    • Updated docs (CONFIGURATION, INSTALL, CLI_REFERENCE) to document the pairing flow and installer log behavior.
  • Upgrades: non-interactive auto-confirm support:

    • The --upgrade flow can now be auto-confirmed by passing a trailing y (example: --upgrade y).
    • Introduced Args.UpgradeAutoYes and extractUpgradeAutoYesArgs to preprocess os.Args; parser updated accordingly.
    • Upgrade now skips the interactive prompt when auto-yes is enabled (with a debug log).
    • Added unit tests and updated documentation examples.
  • Privilege context: earlier detection + broader limited-privilege coverage:

    • Privilege-context detection now runs once early at startup (right after the Environment log) and emits a single INFO summary (Privilege context: ...) with full evidence in DEBUG.
    • The cached result is injected into the orchestrator so collectors reuse it for privilege-sensitive SKIP handling without re-reading /proc.
    • Extended detection beyond shifted user namespaces to cover more limited-privilege signals: container markers (systemd container, env markers, docker/podman hints, cgroup hints) and non-root EUID.
    • Updated SKIP hint wording and aligned docs/tests with the broader “limited privileges” semantics.

Overall: smoother Telegram setup, easier scripted upgrades, and more accurate, consistent behavior in containerized or otherwise constrained environments.

Changelog

Don't miss a new proxsave release

NewReleases is sending notifications on new releases.