Skip to content
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

[Feature] Update collection from the web-ui #1683

Open
Abrynos opened this issue Jan 20, 2025 · 1 comment
Open

[Feature] Update collection from the web-ui #1683

Abrynos opened this issue Jan 20, 2025 · 1 comment
Labels
feature webui built-in WebUI

Comments

@Abrynos
Copy link

Abrynos commented Jan 20, 2025

Use-Case:

Sometimes I'm on a non-synchronized device (such as a work laptop) and don't have my phone on me. It also happens that in this scenario I might learn new information about someone, which I want to add to my contact information. In such scenario I'd like to be able to use the web-ui to re-upload an existing collection (after downloading and manually editing the vCard entries) without having to manually delete the collection first (and then uploading it, paying attention to the href).


Implementatoin:

My first idea is a new button in the "Edit Collection" view that opens a file-picker and a confirmation dialog afterwards, though I'm open for other suggestions.


I'm willing to contribute the code for this feature if you're willing to accept a merge request for it.
(In such case, since I don't know the codebase yet, I'd appreciate a small pointer towards the files/folders I need to take a look at)

Thank you in advance for considering the inclusion of this feature.

@pbiering pbiering added feature webui built-in WebUI labels Jan 20, 2025
@pbiering
Copy link
Collaborator

Technically it's an overwrite of an existing collection (which requires permit_overwrite_collection = True or O permissions in rights).

Implementationwise one has to check existing javascript client to execute required DAV calls.

Code extension on server side should be hopefully not required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature webui built-in WebUI
Projects
None yet
Development

No branches or pull requests

2 participants