Giter Site home page Giter Site logo

Comments (1)

RadCod3 avatar RadCod3 commented on June 16, 2024

Hi, I've been working on this and managed to figure out how to add a file to Nextcloud targets. However, I needed some clarifications.

Here is the change I made: RadCod3@59167b3

This modification enables the addition of a file to a Nextcloud target by checking if it has the warning file and adding it if it doesn't. I observed that when connecting a different Joplin client to the sync remote, the console shows the delta algorithm finding 4 new items. These items in the Nextcloud include the warning file, one for a note, one for a notebook (?), and the info.json file. The sync fetches all four of these files, but the warning file doesn't appear in the notes section of the Joplin app. I believe this is what we need, but I'm curious as to why it was filtered. Could it be related to the file not having a footer with id, parent_id, etc.?

Regarding what to add to the warning file, how does the following look?

THIS WAS CREATED AUTOMATICALLY BY JOPLIN. 

# **PLEASE DO NOT EDIT ANY FILES CREATED BY JOPLIN USING THE NEXTCLOUD TEXT EDITOR AS IT CORRUPTS THE FILES.**

FOR MORE INFORMATION ABOUT THIS ISSUE, PLEASE REFER TO THE FOLLOWING LINK: 
[ Nextcloud sync: Very easy to cause data corruption with Nextcloud's rich text editor #9887 ]
(https://github.com/laurent22/joplin/issues/9887)

from joplin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.