Qownnotes: Feature request: Enable editing when sharing Nextcloud links

Created on 4 Sep 2019  路  19Comments  路  Source: pbek/QOwnNotes

Earlier this year, Nextcloud included a web-based text editor that allows parallel text editing for multiple users in real time.

To allow the editing functionality in Nextcloud, you activate a checkbox saying "allowing editing":
image

QOwnNotes already allows to share documents. What about extending this feature (see following screenshot) with a checkbox "allow editing"?

image

Feature

Most helpful comment

There now is a new release, could you please test it and report if it works for you?

And could you also please (if you care to) test the image support from https://github.com/pbek/QOwnNotes/issues/1226, there was a regression I now fixed...

All 19 comments

Seems like a good idea.

Where can I find this checkbox and what exactly does it do? I don't seem to have it on my 16.0.4 NC installation.

Is there an api documentation for it?

Are we talking about Nextcloud text? (like in https://github.com/pbek/QOwnNotes/issues/1226)

Yep, this is Nextcloud Text as in the issue you referenced.
This is an add-on you have to install in NC.
With next version 17 (will be released probably this week) or 18, it will be included in the base installation.

I haven't check API docu yet.

I have Nextcloud Text installed but I can't see the menu item

Hmm, it only works on text-based files - did you try it on .md and .txt ?

Hmm, it only works on text-based files - did you try it on .md and .txt ?

yes, I tried it on my notes... I can edit them with NC Text when left-clicking them in the Files app. But I don't see the checkbox and I have no idea what it might do.

The option to enable editing on a text file is a part of the share menu. You will need to create a shared link before getting the menu to enable editing. Like this:
image

Ah, thank you @leander091! It used a PUT request to an url like https://server/ocs/v2.php/apps/files_sharing/api/v1/shares/1111?format=json. Can it be used externally too (no cors) and do you know if there is a documentation for it?

Too bad that it seems editing the shared file without logging in causes the current version to be overwritten without creating a new version. So basically it looks like I edited the file myself instead of someone else edited it...

tricky, tricky... :smile_cat:

19.9.4

  • you can now allow note editing when sharing notes on your Nextcloud
    server with the share dialog

    • the person who receives the share link will then be able to edit your note

      with Nextcloud Text

There now is a new release, could you please test it and report if it works for you?

And could you also please (if you care to) test the image support from https://github.com/pbek/QOwnNotes/issues/1226, there was a regression I now fixed...

@pbek Wow, you are awesome. I successfully tested it. It works as I expected, I have NC 16.04. Thank you so much!!

There's only one bug missing. When I remove the checkbox for sharing, I get this error:
image

Nice :), it works as expected. Also the image support in #1226 works pretty well :).

I can also confirm the issue when removing the allow editing checkbox.

Thank you for testing! :) I'll take a look at the error, was in introduced with this release?

@pbek Nice, thanks! I don't know if this error has been introduced with this release, sorry...

19.9.5

  • fixed incorrect note share status update

There now is a new release, could you please test it and report if it works for you?

@pbek It works, nice! I like your super low response time... Good work! I'll definitely make sure my donations will at least stay on the same leve as of now :-)

Thanks a lot! 馃槂

Was this page helpful?
0 / 5 - 0 ratings

Related issues

anmsh picture anmsh  路  7Comments

alexanderino picture alexanderino  路  7Comments

radmen picture radmen  路  6Comments

wiktor2200 picture wiktor2200  路  5Comments

nikhilw picture nikhilw  路  7Comments