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
61 changes: 61 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,39 @@ release version + date and opens a fresh `[Unreleased]`.
demo entry exists, and removing it (the bin icon in the server list) throws
everything away. Adding a real server while in the demo switches to it.

- **NOVA hides the buttons your API key cannot use** — with a read-only key (the
VIEWER role), the Docker, VMs and Array tabs and the container, VM and
notification sheets no longer show Start, Stop, Restart, Update, parity check,
Archive or Delete buttons. One note in their place says "View only" and which
permission the key would need, for example DOCKER:UPDATE_ANY, with a link to
the list of permissions. A key with only some permissions keeps exactly the
buttons it may use. If NOVA cannot find out what the key may do, it shows the
buttons as before. And if the server still refuses an action, the message now
names the missing permission instead of "Forbidden resource" (#315, #316).

- **"Test" in the Add server sheet now checks the key** — it used to report
"Connected" for any key, even a wrong one. Now a key the server does not accept
fails the test, and a working key shows the Unraid and API version and whether it
is "View only" or can control Docker, VMs and so on. The API Key field has a
hint and a "Which permissions?" link to the table of what each feature needs
(#315, #316).

- **Alerts outside the app (opt-in)** — Settings → Notifications → "Alerts from
your servers" lets NOVA check your servers in the background and tell you
about new Unraid alerts and warnings, and about an array that is not started
or is degraded. It is off by default; while it is off, NOVA does nothing in
the background. Switching it on asks for permission to show notifications
(Android 13 and later). You choose how often NOVA checks (every 15 minutes to
3 hours), whether warnings count or only alerts, and whether to check on
Wi-Fi only; "Send test notification" shows that it works, and each server's
last check is listed under the switch. The checks go only to your own
servers, with the API key you saved, and a read-only key is enough. They use
only https addresses with a trusted certificate: a server that has only an
http address is not checked, and the screen says so. The demo server is never
checked. Android decides when a check runs, so an alert can come late,
sometimes by an hour or more while the phone is idle. Phones whose maker stops
background work may need a setting changed; the section links to tips (#321).

### Changed

- **Restarting a container is one step on newer servers** — on Unraid API 4.36.0
Expand All @@ -56,6 +89,11 @@ release version + date and opens a fresh `[Unreleased]`.

### Fixed

- **Resume on a paused container now works** — the Resume button in the Docker tab asked the
server to start the container, which Docker refuses for a paused one, so the container stayed
paused and the app showed an error. Resume now sends the "unpause" action; Start on a stopped
container is unchanged (#345).

- **A turned-off service no longer makes the whole server look offline** — with
VMs or Docker switched off, the pill at the top used to read "Offline" even
though the server answered. Now only a server that really cannot be reached
Expand All @@ -68,6 +106,29 @@ release version + date and opens a fresh `[Unreleased]`.
every time you open it or come back to it, so the notice is on the first
screen.

- **NOVA no longer sends your API key along when a server redirects it** — it
used to follow a redirect and take the key with it, to another address or from
https down to plain http. Now a redirect is not followed: the tab, **Test**
and the action message say "The server redirects to …" and name the address,
and you enter that address in the server's settings. This is what Unraid does
when you type an `http` address while its SSL setting is Yes or Strict: it
points to the `https` address, which is the one to enter (#354).

- **The Overview explains why it could not load and keeps its attention card** —
when every part of the Overview failed, it always said "Can't reach the server".
It now gives the same reason as the tabs, for example that the server did not
accept the key. And with Docker or VMs switched off, the "Needs attention" card
stays, because the server itself is still reachable (#217).

- **The "Needs attention" card also appears when Docker or VMs are off, and unknown
counts show a dash** — the card used to disappear whenever Docker or the VM
manager was switched off on the server, or the API key may not read them, even
though the server answered and the array needed you. It now stays. And the
Containers and Virtual machines cards show "—" instead of "0 running · all
healthy" or "0 configured" while NOVA does not know the numbers yet (not
loaded, turned off, not allowed or not reachable). A server that really has
none still shows 0 (#356).

## [0.1.48] - 2026-11-13

The Overview now tells you when something on your server needs you, and the Docker tab can search and group containers by Compose project. A new "Needs attention" card at the top of the Overview lists what needs you, most urgent first; on a healthy server it is not there, so a quiet Overview is normal. The Docker tab has a search field with a clear button, and a new "Compose" option for the Docker view (Settings, Layout) groups containers by their Compose project. The 0.1.48 beta confirmed the search, the Compose option and the quiet Overview on a real phone. Some groundwork in this release has no visible change yet (detecting the server's API version and what the API key may do, and the rules for later opt-in alerts). As in 0.1.47, NOVA does not install updates itself: "Download" opens the release file in your browser.
Expand Down
3 changes: 2 additions & 1 deletion HANDOFF.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ _Toolchain raised in the 0.1.28 cycle — see ADR-0023 (AGP-9) / ADR-0024
app/src/main/
├── graphql/io/github/nofuturekid/nova/
│ ├── schema.graphqls hand-written subset of the unraid/api generated-schema.graphql
│ ├── queries.graphql Ping, GetServerInfo/Metrics/NetworkThroughput/Display/Array/DockerContainers/Vms,
│ ├── queries.graphql GetServerInfo/Metrics/NetworkThroughput/Display/Array/DockerContainers/Vms,
│ │ notifications (overview + list), plugins, plugin ops, installed .plg, NetworkInterfaces, FetchContainerLogs
│ ├── mutations.graphql Array, Docker (start/stop/pause/unpause/update/updateAll), Vm (start/stop/pause/resume/
│ │ forceStop/reboot/reset), parityCheck, notification actions
Expand Down Expand Up @@ -260,6 +260,7 @@ JSON-scalar decision rationale (incl. why-not-String): [ADR-0007](docs/adr/0007-
- **JSON scalar → kotlin.Any via Apollo's `AnyAdapter`** — the Unraid GraphQL `JSON` scalar serialises as inline JSON values (objects/arrays/primitives), not pre-stringified text. Custom `kotlin.String` adapters crash. We map it to `kotlin.Any` with `com.apollographql.apollo.api.AnyAdapter` (public, built-in). Don't try to write your own with `reader.readAny()` — that's `@ApolloInternal`.
- **Update check** lives under `data/update/`: `UpdateRepository` polls `https://api.github.com/repos/hellwand/nova/releases` (installed versions up to 0.1.42 still carry the old `nofuturekid/nova` name and reach it through GitHub's redirect; no auth, 60 req/h rate limit fine for on-start checks), `UpdateDialog` only sends the browser to the release's APK (or the release page when it has no APK) with `ACTION_VIEW`; the app downloads and installs nothing itself and declares no `REQUEST_INSTALL_PACKAGES` in any flavor (ADR-0046). The check is compiled into both flavors and disabled at runtime when `BuildConfig.HAS_UPDATER` is false (`store`). The Settings screen exposes the "Include pre-releases" toggle + manual "Check now". Banner on MainScreen dismisses per-tag via `dismissedUpdateTag` in DataStore.
- Cleartext HTTP requires `android:usesCleartextTraffic="true"` in the manifest. LAN access against `http://192.168.x.x` needs this. The base-config in `network_security_config.xml` permits cleartext; the GitHub hosts (`api.github.com`, `github.com`, `objects.githubusercontent.com`) are pinned to HTTPS.
- **Alerts outside the app** (ADR-0048) live under `data/alerts/`: `AlertScheduler` is the only door to WorkManager and does nothing, not even ask for the instance, while the switch is off (WorkManager is initialised on demand, `NovaApp` is its `Configuration.Provider`, the automatic initializer is removed in the manifest); `AlertCheckWorker` runs `AlertCheckRunner`, which probes each checkable server through `ServerProbe` (https addresses with verified trust only, no redirects; a server without one is `NotEncrypted`; the demo entry is skipped by `isBackgroundCheckable()`), decides with the pure `evaluateAlerts` and posts through `AlertNotifier`. The per-server memory and the last-check record are in `ServerAlertState`, stored through `AlertStateStore`. The Settings section is `ui/screens/settings/AlertsSection.kt` with `AlertsViewModel` (permission flow, test notification, last-check lines); it reads only the settings store. Background work exists only while the switch is on; ADR-0017's foreground-only rule still holds for every screen stream.
- **Unraid 7.4 refuses oversized requests** (cost 1,000, depth 20, 100 aliases, 5,000 tokens). `GraphqlRequestLimitsTest` fails CI when an operation passes 70 % of any limit; numbers and sources under "Unraid 7.4 request limits (#320)" below.
- **CI `test` job (ADR-0036) can transiently fail at Gradle _configuration_** with a plugin-not-resolvable error (e.g. `com.google.devtools.ksp` not found) on a plugin-portal/registry blip — it fetches plugins fresh under PR `cache-read-only`. **Re-run the job; it is not a code defect** (see ADR-0036 "Known consequence — transient plugin-fetch in the `test` job" note; PR #163 2026-05-19).

Expand Down
Loading
Loading