onyx-tasks/crates/onyx-core/src
Tristan Michael e33fb9dd0b Replace timestamp LWW with checksum-based conflict resolution
Rework sync conflict handling to stop using timestamp-based
last-write-wins and use a single Conflict action. The conflict handler
now downloads the remote file and compares SHA-256 checksums: identical
content is treated as a false conflict and skipped; when different, the
remote version wins and the local task file is recovered as a duplicate
with a new UUID and a "[RECOVERED FROM CONFLICT]" prefix. Duplicates are
inserted adjacent to the original in .listdata.json; non-task files
still use remote-wins without duplication. Removed local_wins() and its
tests, simplified action variants to a single Conflict, and updated
conflict-related tests and reporting accordingly.
2026-04-05 15:44:49 -07:00
..
config.rs Refactor workspaces to use UUID keys 2026-04-05 14:58:31 -07:00
error.rs rename onyx-core crate (formerly bevy-tasks-core) 2026-03-31 09:46:56 -07:00
lib.rs rename onyx-core crate (formerly bevy-tasks-core) 2026-03-31 09:46:56 -07:00
models.rs fix: use has_time flag for due date time tracking 2026-04-01 01:06:10 -07:00
repository.rs fix: harden core data integrity — move_task rollback, path traversal, migration safety 2026-04-02 09:37:43 -07:00
storage.rs Rename workspace metadata and add WebDAV folder browsing 2026-04-05 14:30:22 -07:00
sync.rs Replace timestamp LWW with checksum-based conflict resolution 2026-04-05 15:44:49 -07:00
webdav.rs Rename workspace and remote folders with confirmation 2026-04-05 15:10:44 -07:00