Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ sudo NUT_UPS_NAME="myups" NUT_ADMIN_PASS="securepass" AUTO=1 bash scripts/setup.
| `NUT_MONITOR_PASS` | _(auto-gen)_ | NUT monitor password |
| `NUT_LISTEN_ADDR` | `0.0.0.0` | NUT listen address |
| `NUT_LISTEN_PORT` | `3493` | NUT listen port |
| `NUTWATCH_REF` | `v1.2.0` | NutWatch release tag |
| `NUTWATCH_REF` | `v1.3.0` | NutWatch release tag |
Comment thread
coderabbitai[bot] marked this conversation as resolved.
| `NUTWATCH_URL_PREFIX` | _(unset)_ | Override tarball URL for local testing |

After install, the app is fully open (no login). Create the first admin with `manage.py create-admin <username>` (run from the NutWatch install directory, e.g. `venv/bin/python manage.py create-admin admin`) to turn on session login and per-user API keys — or create it from the dashboard's first-run Setup page.
Expand Down Expand Up @@ -584,7 +584,7 @@ COMMUNITY_SCRIPTS_URL=https://my-mirror.example.com bash vm/nut-vm.sh

| Variable | Default | Description |
|----------|---------|-------------|
| `NUTWATCH_REF` | `v1.2.0` | Git tag for release download URL |
| `NUTWATCH_REF` | `v1.3.0` | Git tag for release download URL |
| `NUTWATCH_URL_PREFIX` | _(unset)_ | Override URL for testing local builds |

---
Expand Down
6 changes: 3 additions & 3 deletions scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# AUTO=1 bash scripts/setup.sh # non-interactive, defaults/auto-generated passwords
#
# Shared environment variables:
# NUTWATCH_REF — NutWatch release tag (default: v1.2.0)
# NUTWATCH_REF — NutWatch release tag (default: v1.3.0)
# NUTWATCH_URL_PREFIX — override tarball URL for local testing
#
# NutWatch is fully open (no login) until an admin account is created, either
Expand All @@ -36,7 +36,7 @@ set -euo pipefail
# Constants
#===============================================================================

NUTWATCH_REF="${NUTWATCH_REF:-v1.2.0}"
NUTWATCH_REF="${NUTWATCH_REF:-v1.3.0}"
NUTWATCH_RELEASES_URL="https://github.com/JuanCF/nutwatch/releases/download/${NUTWATCH_REF}"
NUTWATCH_TARBALL_URL="${NUTWATCH_URL_PREFIX:-${NUTWATCH_RELEASES_URL}}/nutwatch.tar.gz"

Expand Down Expand Up @@ -703,7 +703,7 @@ main() {
echo ""
echo "Environment variables:"
echo " AUTO=1 — non-interactive mode (fresh install only)"
echo " NUTWATCH_REF — release tag (default: v1.2.0)"
echo " NUTWATCH_REF — release tag (default: v1.3.0)"
echo ""
echo "NutWatch is open (no login) until an admin account is created via the"
echo "dashboard's Setup page or 'manage.py create-admin' in the install dir."
Expand Down
4 changes: 2 additions & 2 deletions src/frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nutwatch-frontend",
"private": true,
"version": "1.2.0",
"version": "1.3.0",
Comment thread
coderabbitai[bot] marked this conversation as resolved.
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/src/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export const CONFIG_FILENAMES = ['ups.conf', 'upsd.conf', 'upsmon.conf', 'upsd.u

export const READONLY_CONFIG = 'upsd.users';

export const APP_VERSION = 'v1.2.0';
export const APP_VERSION = 'v1.3.0';

export const MAX_LOG_LINES = 1000;

Expand Down
2 changes: 1 addition & 1 deletion vm/nut-vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ readonly UBUNTU_IMG_NAME="ubuntu-24.04-minimal-cloudimg-amd64.img"
readonly IMG_CACHE_DIR="/var/lib/vz/template/cache"
readonly NUT_DEFAULT_PORT=3493
readonly SCRIPT_VERSION="1.0.0"
readonly NUTWATCH_REF="${NUTWATCH_REF:-v1.2.0}"
readonly NUTWATCH_REF="${NUTWATCH_REF:-v1.3.0}"
readonly NUTWATCH_RELEASES_URL="https://github.com/JuanCF/nutwatch/releases/download/${NUTWATCH_REF}"

# UPS Vendor IDs
Expand Down
Loading