Skip to content

v0.5.8

Choose a tag to compare

@github-actions github-actions released this 19 Nov 09:31
· 24 commits to main since this release

Quota Manager v0.5.8.

Install on the gateway laptop:

sudo apt install ./quota-manager_0.5.8_all.deb

Or, with the apt repository configured (see README):

sudo apt-get update && sudo apt-get install quota-manager

Other distros:

# Fedora / RHEL family
sudo dnf install ./quota-manager-0.5.8-1.noarch.rpm

# Arch / Manjaro
sudo pacman -U quota-manager-0.5.8-1-any.pkg.tar.zst

# Any other systemd distro
tar xzf quota-manager-0.5.8.tar.gz && cd quota-manager-0.5.8 && sudo ./install.sh

The package configures the network stack, installs the Python
dependencies into /opt/quota-manager/.venv, wires the
quota-gateway systemd service and starts it. See the README for
the post-install router steps (disable DHCP, disable IPv6/RA).


Added:

  • Guest vouchers. Administrators can create one-use guest vouchers with an optional expiry, review their status and revoke unused codes. A guest on the waiting page can enter a voucher to receive the allowance assigned to that code. Pending guests now show as "Pending approval" in the dashboard instead of looking like a quota cut. Contributed by @compnew2006.
  • The dashboard now says why a person or device has no internet: not assigned a quota yet, paused by the admin, monthly quota used up, or daily limit reached. Cut devices and people are highlighted in the list, and a person with only some devices cut shows "2/3 cut".
  • New devices that are waiting for a quota show as "Unassigned" instead of "Blocked", and the quota dropdown shows "Disabled (0 GB - unassigned)" instead of misleadingly showing "Auto".

Changed:

  • Preparing for the project's new name (Netrex): the update check now looks for new releases under the new project address first and under the current one as a fallback, so updates keep arriving before, during and after the move. Nothing changes for you now.
  • On Debian/Ubuntu, if your gateway still gets updates from the old apt address, it now switches to the new address by itself as soon as the new one is online, so apt update keeps working after the move. Nothing to do by hand.

Fixed:

  • A new device that joined the network (0 GB, waiting for a quota) stayed cut even after "Unlimited usage" was switched on. Unlimited now opens it immediately. Reported by @Y3bs.
  • Switching Internet access on for a device or person that is still waiting for a quota now takes effect at once: they join the shared pool. Before, the switch flipped back and looked broken.
  • Installing on systems whose package manager has no internet during installation (Arch / CachyOS) no longer prints a wall of connection errors: the installer notices in two seconds and finishes the setup in the background. If that quick check is wrong (a slow connection, or a custom pip mirror instead of pypi.org), the installer still tries the normal download before reporting a problem.