9001 / 9001/copyparty

Open file hook

Ouverte
#1,375 0 commentaires 2 réactions 1 personne assignée Réclamée par @9001 Voir sur GitHub
enhancement
Langage dominant
Python
Étoiles
46.6k
Forks
1.9k
Merge moyen
10 j 16 h
PR mergées (30 j)
5

Description

**is your feature request related to a problem? Please describe.**
I would like to open certain files in external programs,
like for example a docx in a onlyoffice document server,
or a jupyter notebook in jupyter, or a web-viewer for 3D models.
Or a WARC-replayer for web archives

**Describe the idea / solution you'd like**
When opening a file from the webui,
copyparty could invoke a hook,
which would then run some code -
likely requiring to make a share url of some sort to allow the external program to edit it.
Getting some sort of returned url and instructing the webui to open it in a tab.

I'm not sure how this would work with webdav or sftp and whatnot, maybe it'd be fine, as long as there are proper file-locks, but I'm not really sure if there are, there would have to be some way of marking file as busy, so the other interfaces won't try to write to it or something to that effect.

Related:
#423

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.