Skip to content

Helios 0.95.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 15:20
· 388 commits to main since this release

Added

  • Linux: each release ships .deb (Debian 12, Ubuntu 22.04 and later) and .rpm (Fedora, RHEL 10 and its rebuilds) packages in three that install side by side: helios-cli (the helios command), helios (the desktop, in /opt/helios, with helios-gui on the PATH and Helios in the desktop's menu) and helios-node (the headless node). The desktop and the node each require helios-cli of the same version; upgrading the 0.94.0 helios-node, which held /usr/bin/helios itself, hands the command over to helios-cli. All need glibc 2.35.
  • The Library's left panel is an explorer showing one way in at a time, chosen in a switch at its top: the virtual Folders (the default, each folder with its photos and those below it; a click browses it), the Physical folders on each disk, Albums, Keywords, Dates (years, months and days of capture, with their counts) and Imports. Each window keeps its own mode. The library.vfolder.* commands now run from the window too, scripts and agents included, and each change is one step Undo takes back.
  • Backups keep virtual folders whole (keep_folders_together in the backup strategy, on by default): a folder's copies go to the first support with room for all of it, a folder too big for any support splits by sub-folder and only then by photo, and the report lists each split (splits). The temporary support also empties folder by folder, once all of a folder's photos are safe elsewhere; with the setting off, copies and frees go photo by photo as before, and a RAW+JPEG pair is never parted.
  • A PC that does not listen now gets backup copies through the NAS it calls in at: the ping finds it reachable through the NAS (reachable_via, shown in nodes.list), so the backup places copies on its supports. Calling in and asking a link through a NAS are bound to each node's own certificate: a node paired with the NAS can no longer wait under another node's identity. A PC follows the listening nodes it knows while it runs, not only those known when it started.
  • Backups reach a PC that does not listen: when a copy's target node cannot be dialed, a listening node it calls in at (a NAS, nodes.listen.set) brokers the link. The target opens a short-lived listener of its own and the copy goes there directly, over TLS with the certificate pinned at pairing; when that dial fails (NAT, a firewall), the copy goes through the listening node's live relay, which stores nothing. Each copy records the route it took (direct, brokered or relay), shown on the node in nodes.list; a refused link gives its reason.
  • Every node, the headless one included, takes catalogue snapshots, each a backup item of its own: the strategy's catalogue rule (by default one copy on a protected support, one on a normal one) places it on local disks and other nodes' supports, under Helios Backup/.catalogue/, verified on receipt, the newest five of a node kept per support. Restoring another node's snapshot brings back the library, never that node's settings, secrets or identity. The health check offers the last snapshot when the catalogue is missing or damaged.
  • A headless node takes its own catalogue snapshots on a schedule ([catalogue] snapshot_every, daily by default, at low priority) and answers the library.catalogue.snapshot, snapshots and restore commands. A restore can fetch a paired node's snapshot over the object link, verified on receipt, and restores library-wide only, as the desktop now does: the node keeps its settings, secrets and identity. Snapshots kept per backup disk is a setting of its own (catalogue.snapshotsKeptPerSupport, 5 by default).
  • Nodes can share bus facts: a fact kind declared crossable (off by default, separate from relayable, which stays between the processes of one machine) crosses to a linked node over a new bus channel of the node link, beside its control and object channels, over the local, SSH and TLS drivers. A fact taken in carries the origin node:<vault id>, set by the link from the node it paired with, never by the peer; a node not paired both ways is refused the channel. No Helios fact is crossable yet.
  • A linked node's jobs show on this one: an import or a backup running on the NAS appears in the PC's jobs centre and in its Activity, its title followed by the node's name (Import 300 photos (NAS)), read-only (it is cancelled on its own node). Its progress crosses merged, at most 100 updates a second per link. The file a job is on, its log, the items it failed on and its error text are private: they reach only a node granted private data (nodes.grant.set), the rest of the job crossing without them.
  • Nodes link to each other by themselves: a node with a vault now serves the bus channel and dials it to every node it knows, keeps one link per pair, dials a node that went away again after a growing wait (1 s up to a minute), and closes every link when it stops. Progress facts about one job are merged and capped per link, with counts of what was held back in the inspect entity bus_links. nodes.hello lists the node's crossable bus points and their versions, kept on the peer's record by a ping.
  • Nodes see each other's facts: decisions waiting, proposed and answered, library decisions, exports written and imports ended now cross to a linked node over the bus channel, read-only, each with the origin node:<vault id> of the node it came from. Facts that carry private data (an import's files, an export's path, who answered a decision) reach only a node granted it with nodes.grant.set {id, private: true}, or every linked node once the new setting Settings › Developer › Nodes' private data (nodes.private_without_grant, off by default) is on; a fact withheld is not sent later.
  • A node joins the library once. The library keeps its member nodes (each one's certificate and addresses) and shares them through the library exchange: a second computer that enrols the NAS joins the library the NAS belongs to, and the computers already in it learn the new one and link with it without being paired by hand (nodes.members lists them). Removing a member (nodes.remove) reaches every node: each one forgets it, with its link and grants, and refuses its exchanges and its later writes.
  • Two members of the library that learned each other through it link their buses on their certificates alone, with no pairing by hand: facts marked crossable now reach every member.
  • A node may now cancel a job or answer a decision on another node it is linked with, when that node allows it: nodes.grant.set {id, requests: ["helios.job.cancel", "helios.decision.answer"]} on the NAS lets the PC do so, and nodes.list shows what was granted. Only these two requests cross; anything else is refused, and so is a request the target did not grant, with a plain reason (not granted, unknown request, node offline, job not found, decision already answered). In the jobs centre, a NAS job shows a Cancel button only when the NAS granted the PC its cancel; otherwise it stays read-only.
  • The Library explorer's virtual folders: a folder whose photos are all on disks or nodes not at hand is greyed, with the plugs or struck cloud symbol and the reason in its tip; photos dropped onto a folder go into it and a folder dropped onto another moves below it (one undo step each, refused into itself); the tree is read again after an undo or a redo; and the library.explorer command switches the explorer's mode for agents and scenarios.
  • Paired nodes of one library now also replicate virtual folders (the folders, their photos, renames, moves and removals), the free fields (title, description, creator, copyright, rotation), and merge keywords, colour labels and album members as add-wins sets: two nodes adding at once both keep their addition, and a removal only removes what it saw. Losing a node loses none of it.
  • Paired nodes of one library now replicate the person's marks and collections: ratings, picks, rejects, colour labels, keywords and albums travel between nodes, last writer per field (a tie goes to the same node everywhere), only the changes since each node's last exchange. Losing a node loses none of them. Concurrent edits of the same field are kept as conflicts for a later review. Replication backs off while nothing changes and waits while the machine is busy.
  • The Library keeps a tree of virtual folders of its own. An import places each photo in the folder mirroring the one it came from, a library made before gets the same tree once when it opens, and a photo can be in several folders without copying a file. The library.vfolder.* commands list, create, rename, move, delete and fill them, each undone, and the search key vfolder: (or in:) finds the photos of a folder and those below it (vfolder:= for its own only).
  • A backup rule can say which files of a RAW+JPEG pair each of its levels copies: every file (the default), the RAW only, or the JPEG only, set apart for the minimum and the target (contents in the rule). A JPEG-only photo's JPEG is always copied, being its only original. A card is now judged safe to format by each photo's own rule: it stays unsafe while any file that rule asks for is short of its copies, and a JPEG the rule asks no copy of counts as kept by its Library copy, counted apart on the card (kept_single).
  • A camera JPEG is now dated by its EXIF capture time and camera, like a raw, so a RAW+JPEG pair renamed apart is found as one photo by its capture time (within half a second, same camera): at import, where it is placed whole in one folder, and by "Pair RAW+JPEG Files".
  • Helios nodes now form one library: a node joins once, by its enrolment file, and library changes (marks, keywords, albums, folders, versions, stacks) replicate between members, signed and checked, even between two computers that only reach each other through the NAS. Add a node from File › Add a node…; Storage › Nodes lists nodes and members by state. The desktop also comes as .rpm and .deb packages.
  • Every library write is now signed by the node that made it, with its TLS key, and each node checks the signature against the certificate the library's membership pins for that writer, whoever relays the write. A member can pass on the other members' writes but can no longer make one up in their name: a write with a bad or missing signature is refused (code: signature) and not applied. Writes from nodes that predate signing are still taken until their writer is known to sign. This changes the library exchange's format (sig on each change, certificates and refused beside the changes).
  • Settings › Storage › Nodes lists the nodes the library knows (a NAS, another computer), each with its state and whether it listens. "Add a node…" (also in the File menu, or by dropping an enrolment file on any Helios window) opens a full-page form: choose the node's enrolment file, check its name, addresses and certificate fingerprint, then Add. The node is added in the background; a refusal is shown with its reason.

Changed

  • File and folder choosers name their task in their title ("Choose an enrolment file") and their filter by what it holds; the setup's library folder is chosen by its field's Browse (the init.chooseFolder command is gone). A linked node's job shows the node as a symbol before its title, named in its tooltip, instead of in brackets.
  • Storage › Nodes shows each node's state as an icon (online, offline, asleep, refused, not reached yet), its words in the tooltip and for screen readers.

Fixed

  • A member of the library can no longer act as another member. Over TLS, a node's vault id is bound to the certificate the library pins for it: an exchange, an object request or a bus link that claims another member's vault id is refused with a plain reason (identity). A write relayed through another node keeps its original writer and is taken only if that writer is a current member and the relaying node holds it.
  • Paired nodes of one library: a virtual folder made just after another was deleted no longer takes over the deleted folder's place on the other nodes (it could receive photos meant for the deleted one). A mark now wins by when it was made, not by when its node next exchanged: each node keeps a hybrid logical clock, so a later edit wins even when it travels first. Deletions and removals are forgotten once every node of the library has seen them, instead of piling up, and a node taken out of the library can no longer bring anything back.
  • A library member can no longer slip in a node nobody enrolled: membership now rests on admission records, each signed by the admitting member and never overwritten, in a chain back to the library's founder, and a removal record wins over any admission. A node no chain reaches is refused with its writes and links; member documents still carry names and addresses but no longer make a member.
  • The Library's context menu shows "Fit Camera Look" instead of the command's whole description on two lines.
  • A debug report hides the virtual folder a search names (vfolder:), like an album name.
  • A node removed from the library is now taken out of the library exchange on every node its removal reaches, not only where it was registered by hand: deletions stop waiting for its acknowledgement and are cleaned up. Deletions now wait for every current member of the library, including one that has not written anything yet. An exchange from a removed node is refused with one code, removed. A relayed change that is refused is no longer counted as acknowledged.
  • Dropping a tab onto a detached panel's window adds it to that window's tabs again.