Skip to content

Helios 0.99.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 18:59
· 74 commits to main since this release

Added

  • A drag in the Library now carries a ghost under the pointer: photos show the first thumbnail, a stack and their count; a keyword or a virtual folder shows its icon and name. The target under it answers with a symbol (add, move, tag, link, or refused), and the outline shows; the action's words, or why not, follow in a tooltip.
  • The darktable library and Lightroom catalogue importers bring keyword synonyms along: darktable's tag synonyms and Lightroom's keyword synonyms are added to the synonyms the keyword has in Helios, none removed and none twice, so importing again adds nothing. Undoing the import takes them back.
  • Keywords have synonyms: "Synonyms…" in a keyword's menu in the Keywords section (or library.keyword.synonyms) gives it other names, and its photos are found under them too (tag:hound, keyword:hound, or the word alone, finds the photos tagged Animals|Dog once "hound" is one of its synonyms). Synonyms follow a renamed or merged keyword, and Undo takes them back. Writing them to XMP sidecars comes with the metadata write-back.
  • Photos have a position, read from the file at import and editable as a group in the Metadata section's Location row. Search with gps:yes or gps:no; a position is private data.
  • A known node's addresses are now hints: it keeps a short list of the addresses it was reached at, the last that answered first. When another node links to this one from a new address, recognised by its pinned key, that address is added to the list; a ping tries the list in order and says which address answered. A node whose IP changed on the home network is found again without pairing it anew. A node recorded with one address gets it as its list at its next ping.
  • A node with a TLS port announces itself on the LAN (mDNS _helios._tcp, carrying only its id and key fingerprint), and a node hearing a known node's announce, matched by its pinned key, adds its address to that node's addresses, so a node whose IP changed is found again in seconds. Unknown nodes are ignored and pairing is unchanged. [lan] discovery = false in the config, or HELIOS_LAN_DISCOVERY=off, turns it off.
  • The node says on its bus when a node it is paired with comes online or goes offline (helios.node.peer.online, helios.node.peer.offline, with the node's name and why), so the desktop can follow the other nodes without reading the library's records.
  • A node can be made power-aware ([power] aware = true, off by default): while no desktop is connected, it defers its daily full volume pass, its library publish and its scheduled folder scan, and runs them in one batch when a desktop connects or in a nightly window ([power] window), so a NAS can power off. Backups, requests, folder changes and volume events still run at once.
  • Settings › Nodes shows what each node is: symbols for its kind (headless or desktop), its Helios version (warned when it differs), its health, and a space gauge of its safe folders, with the detail in tooltips. Each node answers a status record in nodes.hello, shown by nodes.list and published as helios.nodes.status; an older node shows as unknown. "Nothing here yet." no longer shows above a list of nodes.
  • Settings › Storage › Nodes: each node has a Details button that opens a sheet with its whole status record in words: its state, kind, version, system, health, each safe folder with its space, when it was last seen, how fast it answers, and every line of the record.
  • The Library in the main window and the Library window are now two named panel networks, Library 1 and Library 2, each with its own colour. While both are open, each Library panel shows its network's colour in its top corner, its name in the tooltip. Agents read the live networks on the bus.
  • helios photo get ID --rendition thumb.256|thumb.1024|original [--out FILE|-] reads a photo's rendition from its node, through a stream ticket. The node's new photo-access layer answers each photo of a batched ask at once (ready, coming, or unavailable and why) from the best copy its drivers offer: the cache, then a local disk, then a mounted card, an unplugged card skipped for another copy.
  • Opening a photo held only on another node now draws its 1024 px thumbnail first, rendered by the node that holds the original and sent on its own (a few hundred kilobytes instead of the whole original), while the original comes. The node renders it only when asked, never ahead, so a node at rest stays idle.

Changed

  • A renamed or merged keyword keeps its identity: the smart albums' rules, the metadata templates and the pinned and recent filters that named it name its new path in the same step, so they still find the same photos, and Undo takes them all back.
  • A keyword renamed or merged is renamed in the saved import sources too: a source that adds it to every photo it imports adds the new path, in the same step (Undo sets it back), and Activity says how many sources followed. The Rename dialog says what else the rename updates, for example "Also updates templates: 2, smart albums: 1".
  • An idle node no longer rescans every photo location every five minutes, which kept a NAS's disks too busy to power off: the full pass now runs at start and once a day, a volume plugged in or out rescans that volume only, and a watched photo folder is rescanned a few seconds after its files change (hourly when it cannot be watched). Each scan logs its scope and count.
  • A Library view's link is a drop-down in its bar: its own selection, the main view, another view, or the display you last worked in; when the view it followed closes, it follows the focus and says so. Explore and the Photo details open by default wherever the Filters are, and the Filters only filter. Agents read each display's photo in view and each panel's link on the bus.
  • The culling and capture backfills read each photo from the file the photo-access layer has at hand (the library's copy, a card's while it is plugged in, an original fetched earlier) instead of picking a copy themselves. A background run fetches nothing from another node. The run's log now says once why photos were passed over, with their count ("On Ann's card, unplugged: 3 photos", "On cloudy, not fetched for a background run: 1841 photos").
  • A library's caches (thumbnails, and the thumbnails and originals fetched from other nodes) now live in .cache/helios/ beside the catalogue, a folder that holds nothing else and can be deleted while Helios is stopped; the first start moves them from .helios/ once, safely if cut halfway. The originals' size limit is kept by one owner that never evicts a file still being written or one just handed out to be opened.
  • Compare's renders of raws and the versions strips ask the photo-access layer for the photo's original, wherever its copy is (a disk, a card, the cache, another node). A raw held only on another node shows its 1024 px thumbnail with "Fetching from …" over it, then its render once the original is here, two originals fetched at a time; one that cannot come (a card unplugged, its node offline) says why over its pane instead of "no copy of image … is present".
  • An export asks the photo-access layer for each photo's original, wherever its copy is (a disk, a card, the cache, another node), instead of opening a file it picked itself. A photo held only on another node is now exported: its original is fetched, two at a time, and cancelling the export cancels the fetch under way. A photo that cannot be read now fails alone with the layer's reason ("On Ann's card, unplugged", "On cloudy, offline"), the other photos exported.
  • A photo held on several nodes opens from any of them: when the first node holding its original is offline, or its link is cut during the fetch, the original comes from the next node that holds it, instead of failing. The photo-access layer now reaches other nodes, serving a photo's small thumbnail from the node that published it, and the desktop opens a photo from another node through it. During a node's first library exchange, its photos' thumbnails arrive between the exchange's rounds, so the Library fills while the exchange runs instead of only after it ends.
  • Opening a photo full size and warming the photos near it ask the photo-access layer for the original, wherever its copy is (a disk, a card, the cache, another node). A photo that cannot open says why over its greyed thumbnail (card unplugged, node offline) instead of an error message. A neighbour held only on another node has its original fetched ahead.
  • The Library's thumbnails come through the photo-access layer: on a cache miss the grid asks the node for each photo's thumbnail wherever its copy is (a disk here, a card, another node), by batches, instead of reading a path noted when the Library was shown. A photo with no thumbnail now says why on its cell, with the layer's symbol and words: its node offline, its card unplugged, its file unreadable, rather than the file type's placeholder alone. A photo held only on another node gets its thumbnail as soon as its cell asks, not after the next exchange with that node.
  • "Add a node…" opens as a small wizard: a sheet over the window it was asked from, which blocks that window only while the other windows keep working. Its two steps (the enrolment file, then the node) end with Add, without a summary step.

Fixed

  • An import's apply argument names a metadata template only: values sent with it as if the template were already copied in are ignored, and the import copies the template in itself. The import history keeps the values the import gave beside its choices, and an import keeps them to its end even when the template is edited meanwhile.
  • Edits made in the Library's Metadata section (title, creator, rating, flag, labels, keywords) reach the photos again: the section named no photo, and every edit was refused.
  • Photos held only on another node (a NAS) now show their pictures: the grid fetches the thumbnails of the cells in view from the node at once, and Compare fetches the original, as the darkroom does. When a picture cannot come, the cell or the pane says why with a symbol and its reason in the tooltip (fetching, node offline, fetch failed, file unreadable), logged once.
  • A node no longer reads its whole catalogue every 30 seconds while nothing changes, nor rewrites its disks' records at every volume scan; on a NAS this kept the disks busy, so it never powered off when idle. The link watch now publishes only after the library was written to, logs each such round with its counts and duration, and shows it in the node's running jobs.
  • A node reached by the link watch is said online as soon as its ping answers, before the library exchange it opens, so the Library no longer receives a node's photos before hearing that the node is online.
  • The desktop's thumbnail cache no longer treats the node's folder of fetched thumbnails (nodes/, beside its own) as its own. It counted those thumbnails against its size limit, evicted them, and deleted the partial file of a fetch in flight, so thumbnails fetched from other nodes could vanish or arrive truncated without a word. The cache now lists only its own folders, and a file it fails to remove, or a fetched thumbnail the node fails to keep, is logged.
  • The image viewport's render threads end with their viewport: dropping it now waits for the render in flight instead of leaving the thread running. A render still compiling a GPU shader when the process exited could crash the process at exit (seen as a calibration test killed by SIGSEGV after it passed).