allotropia / nextcloud_files_libreoffice_edit

Nextcloud App to edit files directly with LibreOffice (via WebDav)
https://apps.nextcloud.com/apps/fileslibreofficeedit
GNU Affero General Public License v3.0
12 stars 5 forks source link

Multiple password popups #30

Open roelofz opened 8 months ago

roelofz commented 8 months ago

Hi,

How does this work? I installed the app in Nextcloud, I can see the pull down menu: open with, then a lot of password prompts appear (with and without user name, with username Nextcloud username applied and password) resulting in not opening the file. So where did I go wrong?

roelofz commented 2 months ago

This app is no longer maintained?

alkanex-xyz commented 2 months ago

It works fine... In my case the prompts are created from libreoffice. It needs credentials to read the file...

The first one ist for the masterpassword of the libreoffice password storage. The second one is for the credentials to login to nextcloud if you didn't provide a masterpassword

roelofz commented 2 months ago

Good you are looking with me into this. I think the requirements are missing in the description of the app. I get multiple prompts for my Nextcloud password (server dns name is mentioned in the popup), being sure using the right username/password.

This may be related to 2Fa or to network (webdav) rquirements or something else. So this needs more directions in order to make it usable for a broader audience.

alkanex-xyz commented 1 month ago

I'm not a dev or contributor. Write some explanation for the parts that are unclear in your opinion and ask @smehrbrodt to add them in the store.

roelofz commented 1 month ago

I assumed you are not the dev, still cool you answer. If I knew the requirements, I would add them, so I think it starts there. What to do next after installing nextcloud and installing this app? The client requirements are described, but it looks there are also server requirements, as my setup is not working on a local network. I am using AIO, so the docker version of Necxtcloud (fool proof install of all features).

roelofz commented 3 weeks ago

Is the maintainer of this app still available?

smehrbrodt commented 3 weeks ago

Yes. As you can see in the source, all that this app does is to redirect to vnd.libreoffice.command:ofe|u|<nextcloud_webdav_url>.

Everything else is not part of this app. Password popups are from LibreOffice, so issues need to be filed there if necessary. Feel free to improve documentation though through a PR.

roelofz commented 3 weeks ago

I see the code, but... I can not determine if some code is missing, causing this or this is an issue of libreoffice. I would help in improving the documentation if I knew how. I created an app password, implemented that in LO, but it keeps failing, puzzling.... it looks like this feature is seldom used in combination with 2FA, at least I can not find any info on it. So it looks like a needle in a haystack getting this too work.

If anyone knows how to set this right, I will be happy to document it in a PR.