Commit graph libervia-backend/src/plugins/plugin_xep_0329.py
Author SHA1 Message Date
Goffi
7ffb8efb92 core (disco), plugin XEP-0115: client use + capabilities hash improvment:
- modified a couple of method from memory to use client instead of profile
- XEP-0115: don't use unique hash for all clients anymore, as disco can be different between clients/components, and even between clients (different identity for instance).
    hash is now generated per client on each new session.
2018-03-24 10:44:37 +01:00
Goffi
76f39ca0c4 component file sharing: comments metadata:
new <comments> element is added to file metadata, it contains the URL to the comments virtual node and the count of comments (this way client knows if it make sense to request comments or not).
Fixed triggers in plugin XEP-0264 (return value was missing).
New trigger in plugin XEP-0329 to allow component to add metadata (used here for comments url).
2018-03-16 18:43:11 +01:00
Goffi
07fa89be84 component file sharing: comments handling first draft:
comments use a minimal pubsub service which create virtual nodes for each files. A pubsub request to org.salut-a-toi.file_comments/[FILE_ID] allow to handle comments in classic way.
Permissions are the same as for files (i.e. if an entity can see a file, she can comment it).
2018-03-16 17:06:35 +01:00
Goffi
2e18724e7b plugin XEP-0329: fixed extra key serialisation before sending to bridge 2018-03-14 08:10:31 +01:00
Goffi
29d9713462 plugin XEP-0234: some cleaning + added triggers to allow plugins to change parsing/generation of <file> element 2018-03-02 17:53:19 +01:00
Goffi
9a87d5c355 XEP-0329: implementation of File Information Sharing:
the plugin do an implementation for client and component.
For client, any directory from local file can be shared.
For component file are stored using new file handling mechanism from SàT.
Permission is handled, using "public" and "whitelist" for now.
2018-02-28 18:28:39 +01:00