oc1057: federated shares out follow their item (#1057, v0.6.385) #1068

Merged
Cordy merged 34 commits from oc1057 into main 2026-11-02 10:33:51 +00:00
Owner

Closes #1057 on release.

  • Federated (OCM) shares out of a Personal folder get the #835 lifecycle: item id plus the path-reuse guard on every method, follow on rename/move inside Personal, a move-out confirm, pause/resume/end with Deleted files, SHARE_UNSHARED on end (with sharedSecret, signed as the share's sending domain, background sender, nothing sent while OCM is off), re-point paused on owner transfer, freeze for departed owners.
  • The ledger is record-level; the peer guard only accepts or declines from pending, and only from the share's own server.
  • Shares made before this release were recorded on a wrong path: they are refused until the start stamp runs, then ended as wrong-path, and the other server is told.
  • UI: rows in the move/delete/restore/purge confirms, Federated › You shared states, Shares states, the transfer dialog, Departed users counts, bells.
  • Docs: CHANGELOG v0.6.385, chart, federation-ocm, sharing, admin-policy, users-access, deployment, data-protection-operators, OCM.md, ARCHITECTURE.

Waves reviewed, research-backed decisions applied (research-1057, research-1057-1056-followups), final review plus focused re-reviews. Merged with v0.6.384, including interaction tests with #1055.

Closes #1057 on release. - Federated (OCM) shares out of a Personal folder get the #835 lifecycle: item id plus the path-reuse guard on every method, follow on rename/move inside Personal, a move-out confirm, pause/resume/end with Deleted files, SHARE_UNSHARED on end (with `sharedSecret`, signed as the share's sending domain, background sender, nothing sent while OCM is off), re-point paused on owner transfer, freeze for departed owners. - The ledger is record-level; the peer guard only accepts or declines from pending, and only from the share's own server. - Shares made before this release were recorded on a wrong path: they are refused until the start stamp runs, then ended as `wrong-path`, and the other server is told. - UI: rows in the move/delete/restore/purge confirms, Federated › You shared states, Shares states, the transfer dialog, Departed users counts, bells. - Docs: CHANGELOG v0.6.385, chart, federation-ocm, sharing, admin-policy, users-access, deployment, data-protection-operators, OCM.md, ARCHITECTURE. Waves reviewed, research-backed decisions applied (research-1057, research-1057-1056-followups), final review plus focused re-reviews. Merged with v0.6.384, including interaction tests with #1055.
Merge v0.6.384 (#1063, #1055) into oc1057; ships as v0.6.385 (#1057)
All checks were successful
ci / test-and-build (pull_request) Successful in 44m43s
8d895beb7a
Conflicts: CHANGELOG (v0.6.385 on top of v0.6.384), chart appVersion
v0.6.385, main.go (the trash's personal entry hook is the personal and
federated halves composed, then the item hooks; composeShareHooks with
the federated hooks, then withItemHooks), the wiring tests, reuseOpts
(Flat and NoTrash), deployment.md and sharing.md (both kept; the old
"OCM shares do not follow a rename" line dropped). Handler.backendOf of
#1055 and #1057 collided; one kept (context, error). #1057's v0.6.387 /
v0.6.386 renumbered to v0.6.385 / v0.6.384. Interaction tests of a
renamed, deleted and moved-out item with tags, a star and a federated
share (posix and s3).
Cordy merged commit f13e167756 into main 2026-11-02 10:33:51 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#1068
No description provided.