Skip to content

Torrentinel 0.9.7

Choose a tag to compare

@ib0ndar ib0ndar released this 04 Oct 10:33
· 28 commits to main since this release

Torrentinel 0.9.7 lets each account choose where it starts and how each collection opens.

Choose a start page under Settings → Start page: Monitor, which opens your last used collection, or Activity, which opens unread changes across all collections. It opens for the main address and for unknown addresses, so it is what you see after signing in at the main address, after the first password change, and when the home-screen app starts. Addresses of a specific page, bookmarks and Back/Forward still open that page, and /collections always opens Monitor. Signing out now returns to the main address, so the next sign-in opens the start page; when a session expires or is ended elsewhere, the address is kept so signing back in resumes there.

Each collection now has a default view: All, Unread, or Errors. Set it when creating a collection or with Edit collection, which replaces Rename and offers the name and the default view together. A collection opens in its default view from the collection list, from the main address and the Monitor link, right after it is created, and when it replaces a deleted collection. Search and sort still carry over between collections, selecting the collection that is already open keeps its current view, and changing a default never changes the view on screen. An empty Unread or Errors view now says there is nothing unread or nothing needing attention and offers Show all.

Upgrade notes: opening another collection now uses that collection's default view instead of keeping the current status filter. Startup adds users.start_page and collections.default_filter with defaults that keep today's behaviour (Monitor, and All for every collection); 0.9.6 ignores both columns, so it still runs against an upgraded database. The API adds startPage to PUT /api/settings/preferences and the signed-in user, and defaultFilter to GET, POST and PATCH /api/collections. Back up the database and application data together before upgrading.

Validation: 267 automated tests, run in CI and inside both the linux/amd64 and linux/arm64 image builds, a typechecked production build, and the npm run check:ui layout check (54 page checks, including an empty Errors view in English and Russian). Both published images passed a fresh-install browser smoke test that sets a collection's default view, checks that collection links open in it while the open collection keeps its view, chooses Activity as the start page, and confirms that the main address, an unknown address and the next sign-in after signing out open it, in addition to the earlier first-run, host-name and integrated-browser checks.

Container images are provided for linux/amd64 and linux/arm64 under bah0/torrentinel:v0.9.7 and latest.