franciskafieh / obsidian-list-modified

🪨 The advanced and adaptive changelog for Obsidian. Links all modified files meeting certain criteria to a timed (daily, weekly, monthly) note.
109 stars 7 forks source link

[BUG] Exclusion rule is not applied #119

Open Elaws opened 5 days ago

Elaws commented 5 days ago

Describe the bug

Desktop (Windows 11) and mobile (Android) are synced through SyncTrayzor/Syncthing. I would like to exclude temporary files created by syncthing (all of them have "~syncthing" in their name), but the exclusion rule I created (with "~syncthing") is not applied. I reinstalled the plugin with isDesktopOnly set to true, used the Clear tracked files but to no effect : temporary syncthing files are tracked by List Modified as soon as some modification is made on mobile. The bug happens only when modifications of a note are made on Obsidian mobile (and not on Obsidian desktop).

Expected behaviour

Files with "~syncthing" in their name shouldn't be tracked.

My setup

Steps to reproduce bug

  1. Have a desktop (Windows 11) and an Android device paired through Syncthing (Syncthing app on Android, SyncTrayzor 1.28.0 on Windows).
  2. In List Modified settings, add "syncthing" as Excluded names in the Criteria section.
  3. On Android, modify one of your note (here, it's Workbench.md).
  4. ~syncthing~Workbench.md.tmp will appear in the LIST DELETED log (see picture below).

image

Additional information

Since I installed List Modified, many conflicts like what follows arise :

image

Three little modifications have been made to 3 notes, on Obsidian desktop, which led to that conflict. This is not easily reproducible, I tried twice more to make 3 little edits to 3 different notes, without any sync problem.

technotherion commented 1 day ago

Hello, I am also using "Excluded Names" with the new update and am also finding that my exclusions are still showing up.

Also related to syncing, I have a lot of conflicted files that get called "(xxx's conflicted copy)" etc. First, I deleted the entries from the deleted log that contained the word "conflicted". I then attempted to add "conflicted" to the excluded names and then pressed "force update the log note". The deleted files with "conflicted" in the title still reappear onto my deleted list.