plugin comp file sharing: files can now be uploaded/downloaded via HTTP:

plugin XEP-0363 can now be used by components, and file sharing uses it.
The new `public_id` file metadata is used to serve files.
Files uploaded are put in the `/uploads` path.
This commit is contained in:
Goffi 2020-05-29 21:55:45 +02:00
commit 5a14c5aebd

View file

@ -35,6 +35,7 @@ PLUGIN_INFO = {
C.PI_NAME: "File Upload",
C.PI_IMPORT_NAME: "UPLOAD",
C.PI_TYPE: C.PLUG_TYPE_MISC,
C.PI_MODES: C.PLUG_MODE_BOTH,
C.PI_MAIN: "UploadPlugin",
C.PI_HANDLER: "no",
C.PI_DESCRIPTION: _("""File upload management"""),