Commit Graph
798 Commits
Author SHA1 Message Date
vorotamoroz d784799969 Improve postponed conflict resolution handling
Keep unresolved conflicts visible after Not now, reopen them only on explicit requests, and clear stale warning and dialogue state when a replicated resolution arrives. Add typed provisional English messages, revision-tree regressions, specifications, and a focused Real Obsidian E2E.
2026-07-23 02:00:24 +00:00
vorotamoroz f24c543dd3 Persist displayed branches through conflict operations 2026-07-22 16:01:57 +00:00
vorotamoroz 87152244d7 Reprocess stored documents after reflection filters change 2026-07-22 06:23:16 +00:00
vorotamoroz aad0e56f09 Preserve legacy settings across same-profile upgrades 2026-07-22 06:21:54 +00:00
Andrew Leech a3a09df3c8 fix(storage): floor write-option timestamps in Obsidian adapters
Obsidian's mobile storage layer forwards mtime/ctime to Capacitor's
Filesystem.setTimes, whose native binding casts the value to a Java Long.
A non-integer (float) timestamp makes that cast throw (ClassCastException:
Double cannot be cast to Long), which crashes the app on launch as soon as
such a document is replicated in.

Float timestamps can reach the database from any client that stores
fs.Stats.mtimeMs without flooring. Coerce mtime/ctime to integer ms at the
Obsidian vault and storage adapter write boundary, so a float already
present in the mesh can't crash the app regardless of where it came from.

The truly central choke point is dbToStorage in livesync-commonlib; a
matching guard there would cover the CLI and webapp too. This change
protects the platform that actually crashes.

Claude-Session: https://claude.ai/code/session_0123E9jVQrsgu3zb82Csuwhi
2026-07-22 14:08:21 +10:00
Andrew Leech 4393a49cba fix(cli): floor watch-mode stat timestamps to integer ms
CLIWatchAdapter._toNodeFile passed chokidar's raw stats.ctimeMs/mtimeMs
straight through. On Linux those carry sub-millisecond precision (e.g.
1778511180024.462), so watch-mode file changes wrote non-integer
timestamps into the database.

The earlier floor fix (3f7bb047) covered the scan/stat adapters but missed
this watch path, which is the one the daemon actually uses at runtime.
Mobile clients then crash on such a document because Capacitor's
Filesystem.setTimes casts the value to a Java Long (ClassCastException:
Double cannot be cast to Long).

Floor ctimeMs/mtimeMs here, with a null guard so a partial stat still
falls back to Date.now(). Adds a regression test that a fractional stat is
floored.

Claude-Session: https://claude.ai/code/session_0123E9jVQrsgu3zb82Csuwhi
2026-07-22 14:08:21 +10:00
vorotamoroz fc74638642 Use rooted Commonlib storage in the CLI 2026-07-22 00:17:03 +00:00
vorotamoroz 1ef8c88139 Complete Commonlib rc.6 integration and setup workflows 2026-07-21 15:00:28 +00:00
vorotamoroz e005f9eb13 Prepare the 1.0 beta release lifecycle 2026-07-21 07:15:55 +00:00
vorotamoroz f195b9be0c Serialise startup compatibility dialogues 2026-07-21 03:39:12 +00:00
vorotamoroz 3eda3316c5 Re-evaluate optional features for 1.0 2026-07-21 01:53:13 +00:00
vorotamoroz ed7471fba5 Validate custom HTTP request bodies 2026-07-20 23:37:04 +00:00
vorotamoroz 104eeadb4b Reduce Community lint type-safety warnings 2026-07-20 18:08:09 +00:00
vorotamoroz 499f9e93e5 Generate current Setup URIs through Commonlib 2026-07-20 15:59:59 +00:00
vorotamoroz c49536acc9 Unify P2P disconnect labels 2026-07-20 15:18:02 +00:00
vorotamoroz 6484a43e2f Keep P2P consumers on the current transport 2026-07-20 15:06:05 +00:00
vorotamoroz 893c08ad2a Create remote profiles during onboarding 2026-07-20 14:33:09 +00:00
vorotamoroz 40a4987b0b Reserve setup initialisation before enabling settings 2026-07-20 14:20:10 +00:00
vorotamoroz 4cbe5679e1 Retire obsolete browser Harness 2026-07-20 13:22:22 +00:00
vorotamoroz 80d1416a81 Align host settings with the 1.0 lifecycle 2026-07-20 13:20:48 +00:00
vorotamoroz 52e7bd25da feat: restore opt-in first-run onboarding 2026-07-20 11:28:41 +00:00
vorotamoroz f70779c352 feat: restore opt-in review harness 2026-07-20 10:50:08 +00:00
vorotamoroz 71f1b63b9a test: recover review harness controller contract 2026-07-20 10:14:01 +00:00
vorotamoroz 0a31d30c6c test: recover review harness vault fixture 2026-07-20 09:56:18 +00:00
vorotamoroz f0ec046cf4 Require explicit review for restored Vaults 2026-07-19 07:05:22 +00:00
vorotamoroz d28282edad Group Obsidian startup notices by operation 2026-07-19 07:04:54 +00:00
vorotamoroz ed3f81e9f9 Prepare the 1.0 compatibility review flow 2026-07-19 04:34:08 +00:00
vorotamoroz 52138bf7a5 Prefer focused Commonlib entry points 2026-07-18 18:16:16 +00:00
vorotamoroz ff01ca551a Harden lint validation and browser shims 2026-07-18 17:21:43 +00:00
vorotamoroz 81d27a932f Route application diagnostics through owned log paths 2026-07-18 16:53:20 +00:00
vorotamoroz 6cc06bf20f test: guard TypeScript modifier inspection 2026-07-17 19:40:43 +00:00
vorotamoroz d0be2968c2 ci: stabilise package boundary validation 2026-07-17 19:22:00 +00:00
vorotamoroz 7b7801b029 test: verify the packaged Commonlib boundary 2026-07-17 17:50:56 +00:00
vorotamoroz 97964fddf1 refactor: inject CLI I/O and diagnostics 2026-07-17 16:01:48 +00:00
vorotamoroz 1b4a0d76dd fix: remove remaining Svelte state warnings 2026-07-17 15:37:20 +00:00
vorotamoroz f6b03dc811 refactor: make Svelte prop lifetimes explicit 2026-07-17 15:04:01 +00:00
vorotamoroz 6e00b8195a fix: remove ineffective trash setting toggle 2026-07-17 14:55:30 +00:00
vorotamoroz 326bf77183 refactor: align platform APIs with community review 2026-07-17 14:47:27 +00:00
vorotamoroz 298738fc67 fix: keep packaged dialogs inside mobile safe areas 2026-07-17 13:28:58 +00:00
vorotamoroz a721d3b602 refactor: consume Commonlib as a package 2026-07-17 11:13:16 +00:00
github-actions[bot] 85fc62d61c Releasing 0.25.83 2026-07-16 12:28:26 +00:00
Ouyang Xingyuan 8e0d5581f7 test: cover the non-bulk newest resolution entry point
Reason:
- The non-bulk notice regression test should exercise the real resolve-by-newest call path.

Changes:
- Resolve a mocked conflict through `_anyResolveConflictByNewest` and assert that its success notice remains visible.
2026-07-16 21:18:16 +09:00
Ouyang Xingyuan 32e992db93 fix: scope merge notice suppression to bulk resolution
Reason:
- Bulk newest resolution should not display one success notice per file, while non-bulk resolution must retain its existing notice.

Changes:
- Pass an explicit notice flag only through the bulk resolution path.
- Cover bulk suppression, non-bulk notices, and ten-file progress updates.
2026-07-16 21:18:16 +09:00
Ouyang Xingyuan 3103dc4f52 fix: suppress bulk conflict resolution notice spam
Bulk newest-revision conflict resolution created one notice per resolved file
and updated progress for nine out of every ten files.

Keep per-file bulk resolution success messages in the log without displaying
notices, update notice-level progress once every ten files, and cover both
behaviours with unit tests.
2026-07-16 21:18:16 +09:00
vorotamoroz 943b2a3bd4 Point at merged commonlib rename guard 2026-07-16 20:48:12 +09:00
vorotamoroz 918d3b5547 fix: guard case-only rename recovery 2026-07-16 20:48:12 +09:00
metrovoc 869a893c19 fix: synchronise case-only file renames safely 2026-07-16 20:48:12 +09:00
vorotamoroz ba7ea27d0c feat: distinguish remote operation and request activity 2026-07-16 20:13:10 +09:00
vorotamoroz 9f9758bc12 fix: align chunk reads with remote delivery
Consume commonlib's delivery lifecycle, classify finite replication entry points, and document why the five-minute inactivity fuse is only a leak safety valve. Record the remote-activity counter correction and preserve continuous replication's unbounded live channel.
2026-07-16 20:13:10 +09:00
github-actions[bot] 962589a40f Releasing 0.25.82 2026-07-15 14:00:29 +00:00