-
released this
2026-10-31 01:28:07 +00:00 | 20 commits to main since this releaseFixed
- Needed-activity suggestions now speak the nursery's units and dates. A sow
names the species' own vessel — the container its preferred propagation
method records, so tray species suggest trays and tube species tubes —
falling back to the house default only where no preference exists; and a
tray-bound sow counts trays like the seed activity does, at ~200 seedlings
per tray, so a 150-plant shortfall is one tray, not 150 of them. A
freshly sown tray no longer invites prick-out on day one: the stock's age
comes from its sow date when the log knows it, and the anchoring count's
date is a floor only for stock the log never saw sown — a count six
months old no longer graduates seed sown today (the "sown 183 days ago"
suggestion). The session's own recorded work is no longer counted twice
(the stock ledger already folds it in as it commits, so the extra
per-session netting added it a second time). A prick-out suggestion now
carries both sides of the tray/plant line: "1 tray → 200 × Forestry
Tube", pre-filling trays-used as well as the seedling count.
Changed
- The needed-activities table reads as numbers instead of prose: the free-text
"Why" column is gone, replaced by "Planned" (the species' plan total for the
season) and "Existing" (its whole living pipeline in seedlings, trays
converted) beside the "Qty" column (formerly "Move"). - A suggestion's Add button records the activity straight into the session —
one click, posting the suggested move as-is — instead of pre-filling the
add-activity form. The form below the list is still there for exceptions
(a different vessel, a smaller count, a note), and the list re-derives on
reload so a recorded move takes its row with it.
Removed
- Discard suggestions, for now: failed stock is no longer mixed into the
needed-activities list — it will be surfaced somewhere better later.
Disposals are still recordable from the inventory screens.
Security
- Fixed a stored cross-site scripting bug in the delete-confirm dialogs: a
species, container, rack type, seed treatment, propagation method, season
or site name containing quote characters could run script in the browser
of anyone who clicked Delete on it, including admins. Names now travel in
a data attribute, out of the confirm string. - Writes now require a cross-site request forgery token — a cookie every
form and fetch echoes back — so another site can no longer make a
signed-in browser post a delete or a password change. Pages need
JavaScript for it, which they already did. - The plantings report's
from/tofilters are parsed as dates at the
door; a value that isn't one is dropped instead of being echoed into
links and the export's download filename. deploy.shchecks every vendor download against a pinned SHA-256 before
installing it, so a compromised mirror fails loudly here rather than
shipping hostile JavaScript to every browser.- New passwords must be at least eight characters, everywhere they are set:
self-service, admin reset, reset-by-email and the command line. - The Content-Security-Policy header now keeps scripts, styles, objects,
base URLs and form targets on this app, rather than only refusing to be
framed. - Dependency bumps for RustSec advisories: rustls, rustls-webpki,
webpki-roots, tokio, ctutils, chacha20 and spin.
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
- Needed-activity suggestions now speak the nursery's units and dates. A sow