New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync tags with ownCloud / Nextcloud tags #472

Open
Braintelligence opened this Issue Jan 9, 2017 · 8 comments

Comments

Projects
None yet
2 participants
@Braintelligence

Braintelligence commented Jan 9, 2017

Is it possible to sync the tags used by QOwnNote with the tags issued by ownCloud / Nextcloud themselves?

Sadly it seems you can't access the tag-functionality in Nextcloud, because they're kept in the sqlite database.

Syncing the tags would make a tagged note searchable without using QOwnNotes. Combined with the markdown editor you would have a solution for quick-accessing and -editing of a note on the go or at an external device.

@pbek pbek added the enhancement label Jan 9, 2017

@pbek

This comment has been minimized.

Owner

pbek commented Jan 9, 2017

Thank you for your suggestion. I don't know if there is a public api for tags and currently there are no plans to implement such a mechanism in QOwnNotes...

Which external device and application supports oC / NC tags?

@Braintelligence

This comment has been minimized.

Braintelligence commented Jan 9, 2017

I meant external device as in foreign PCs/browsers. I also do not know if the API supports tagging or not.

But if it doesn't I wouldn't understand what purpose tagging might serve if you can only view it online.

@pbek

This comment has been minimized.

Owner

pbek commented Jan 9, 2017

But if it doesn't I wouldn't understand what purpose tagging might serve if you can only view it online.

what do you mean by "online"? tags are stored in a sqlite database, that is supposed to be synced with the oC / NC sync service... (or Dropbox, etc.)

@Braintelligence

This comment has been minimized.

Braintelligence commented Jan 9, 2017

I'm talking about the Nextcloud tags in that statement.

@pbek

This comment has been minimized.

Owner

pbek commented Jan 9, 2017

QON has to work without oC / NC.

@Braintelligence

This comment has been minimized.

Braintelligence commented Jan 9, 2017

Sure, that's why I propose syncing the sqlite tags with the Nextcloud tags, if that's possible at all.

@pbek

This comment has been minimized.

Owner

pbek commented Sep 20, 2017

17.09.6

  • added the first alpha version of external note tagging support via the
    scripting engine (for Issue #323, Issue #338, Issue #379, Issue #472, Issue #530 and Issue #603)
    • as soon as a script is activated that implements the new function
      noteTaggingHook note tagging will be handled by that function
    • please install the script note-tagging.qml
      to test the basic functionality and report in Issue #530.
      • your internal tag database and your notes might get modified
      • don't use this script on your production note folder, please make a
        copy of it and test it there!
    • following features should already work via the QOwnNotes user interface
      • initially importing tags like @tag from your notes and overwriting
        your current tag assignment
        • you will not loose your tags tree, just the former assignment to notes
        • you can still move tags into other tags
        • if more than one tag has the same name in your tag tree the
          first hit will be assigned
      • adding a tag to a note will add the tag to the note text
      • removing a tag from a note will remove the tag from the note text
      • removing of tags in the tag list will remove those tags from your notes
      • renaming of tags in the tag list will rename those tags in your notes
      • bulk tagging of notes in the note list will add those tags to your notes
      • bulk removing of tags from notes in the note list will remove those
        tags from your notes
    • for more information please take a look at the scripting documentation
@pbek

This comment has been minimized.

Owner

pbek commented Sep 20, 2017

There now is a new release, could you please test it and report if it works for you with the script note-tagging.qml?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment