cozy-labs / cozy-desktop

File Synchronisation for Cozy on Desktop and Laptop
https://cozy-labs.github.io/cozy-desktop/
GNU Affero General Public License v3.0
99 stars 45 forks source link

core: Allow local Cozy Note updates #2180

Closed taratatach closed 2 years ago

taratatach commented 2 years ago

Until recent changes were made to cozy-stack, changes made to the Markdown export of Cozy Notes could not be re-imported as actual Cozy Note changes and would break the note, rendering it unusable as such. Therefore, we would prevent such local changes by considering them as conflicts.

Now that local content changes made to the export can be re-imported, we can remove these protections. We updated the tests to make sure the changes are actually taken into account and don't create conflicts. They should probably be removed after a while since this is the expected behavior of local file changes.

Please make sure the following boxes are checked: