Release/0.2.0 #6

Merged
IxianPixel merged 8 commits from release/0.2.0 into master 2026-11-09 10:15:21 +01:00
Owner
No description provided.
IxianPixel added this to the v0.2.0 milestone 2026-11-06 18:47:00 +01:00
IxianPixel self-assigned this 2026-11-06 18:47:00 +01:00
IxianPixel added 8 commits 2026-11-06 18:47:00 +01:00
Updated workflow for Gitflow
CI / test (push) Successful in 54s
38319e0987
Moved folders sat in each library's .jellymove-trash until removed by hand on the server. The new Trash tab lists them on either server with
size, file count, when and where they went, and empties one item, a library or everything after a confirmation.
- trash.rs: list and empty entries. Entries are referred to by an opaque ID and resolved by scanning; only real folders directly inside a trash folder can be deleted.
- Each move now gets its own trash entry folder, with a small metadata file. Fixes moves failing when the same item had been trashed before.
- Peer API: GET /trash, POST /trash/empty, and /exports/{id}/complete now records the job and destination.
- e2e tests for listing, emptying from either side, refusing paths as IDs, and moving the same item away twice.

Closes #3
The library lists now show how much space each movie and show takes on disk, counting everything a move copies, with a per-season breakdown for shows, a running total and a "Largest first" sort.

- sizes.rs: a single background worker measures one folder at a time. Listing returns cached sizes straight away and queues folders; the UI
  polls until every size has arrived.
- Cached in a new folder_sizes table (store migration v2). A size is kept while the folder's signature (mtimes of the folder and its direct
  subfolders) is unchanged, checked at most hourly and re-measured after 7 days.
- Each agent measures its own folders, so peer listings carry the peer's sizes.
- Tests for measuring, signatures, natural season order, the migration, and an e2e test covering both sides and a moved item.
Move a single season of a TV show (#4)
CI / test (push) Successful in 1m14s
484ac50508
Shows can be expanded to list their seasons, each with its size and its own Dry run / Move buttons. A season joins the same show on the other
server, so finished seasons can go to the big server while the current one stays on the fast one.

- Source exports a season from the show folder, with a manifest of just that season's folder plus the show's loose non-video files. Refuses
  seasons with no folder of their own, or whose folder holds otherseasons' episodes.
- Destination finds the show by provider ID, then name. If it already has the show, the show's own files are skipped (Job.skip_files) and
  never overwritten; otherwise they come with the season. Refuses if the season folder already exists.
- Only episode watch state is carried for a season.
- Source trashes just the season folder; after the last season, the leftover show folder joins it in the same trash entry if no videos
  remain. The chosen trash entry is saved so a re-run after a crash finishes in the same place.
- New GET /seasons (UI and peer). Fake Jellyfin gains season items.
- e2e tests: season into a new show, into an existing show, last season leaving, destination already has the season, misfiled episodes.
Update library lists when a move finishes (#1)
CI / test (push) Successful in 1m14s
2bd4489b1a
The Library now follows moves on both servers: an item shows "Moving to …" while it moves and "Moved to …" until the source's Jellyfin drops
it after its rescan; the list reloads when a move finishes and checks again every 20 s for a few minutes. The destination shows the new item
straight away.
Bump version to 0.2.0
CI / test (push) Skipped
CI / test (pull_request) Successful in 1m23s
235c2bf63f
IxianPixel scheduled this pull request to auto merge when all checks succeed 2026-11-06 18:51:10 +01:00
IxianPixel canceled auto merging this pull request when all checks succeed 2026-11-06 18:55:14 +01:00
IxianPixel requested review from Claude 2026-11-06 18:55:53 +01:00
IxianPixel removed review request for Claude 2026-11-06 18:56:03 +01:00
IxianPixel merged commit d351875daa into master 2026-11-09 10:15:21 +01:00
IxianPixel deleted branch release/0.2.0 2026-11-09 10:15:22 +01:00
Sign in to join this conversation.