Open oneseedfruit opened 6 years ago
Thank you for the idea. But the patch can’t be merged because:
However, you can still use your modified version.
I'm not concerned about failsafe backup or history version backup.
My main concern is that when using ATWiki, if I modified anything in the TiddlyWiki, then save it, it will just overwrite the file. If I accidentally deleted a tiddler and saved it, then it'll be gone just like that because ATWiki will just overwrite the file.
What I added is, if I modify the wiki and save it, it will create and extra copy of the same TiddlyWiki html file and put it in the designated directory, right upon saving. This is similar to the backup feature in TiddlyDesktop.
Why don’t you use a git/svn repository to store the documents? After editing, commit with one more check. This should prevent any accidental content delete.
But that would make ATWiki unsuited to be used on its own as a quick note-taking client as it requires 2 separate software to be used safely, not to mention the need to maintain a git repository.
And it is also a hassle to take notes quickly, since every save needs to be done in 2 steps:
Also, the need to maintain a git repository just for it.
So every change no matter how big or small, or even the really trivial ones like correcting a spelling error, would require 2 steps.
Aside from TiddlyDesktop, TiddlyServer too, creates a copy of the original file as backup upon saving.
That’s reasonable. Working on it.
I think #1 backup on saving is important.
(I used Visual Studio 2017 and I also threw in a different version of ObjectListView while working on it. Please check and fix them should there be incompatibilities.)