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.
112 stars 7 forks source link

[BUG] Exclusion rule is not applied #119

Open Elaws opened 2 weeks ago

Elaws commented 2 weeks 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 week 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.

EDIT: Here's an example of what those deleted entries look like. My excluded string is the word "conflict".

- 0. PeriodicNotes/2024/Weekly/2024-W46 (debian's conflicted copy 2024-11-15 1).md
- 0. PeriodicNotes/2024/Weekly/2024-W46 (debian's conflicted copy 2024-11-15 2).md
- 0. PeriodicNotes/2024/Daily/11/2024-11-16 (conflict 2024-11-16-16-57-54).md
- 0. PeriodicNotes/2024/Daily/11/2024-11-16 (debian's conflicted copy 2024-11-16).md
- 0. PeriodicNotes/2024/Weekly/2024-W46 (debian's conflicted copy 2024-11-16).md
franciskafieh commented 3 days ago

@Elaws is your original issue fixed with 3.2.1?

Elaws commented 2 days ago

@franciskafieh : Hi, the problem is still happening with 3.2.1.

Screenshot from today :

image

franciskafieh commented 1 day ago

I will look into this sometime this week. Very busy with school right now