Mercurial > libervia-backend
comparison src/plugins/plugin_xep_0231.py @ 2527:a201194fc461
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).
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 16 Mar 2018 17:06:35 +0100 |
parents | 95c31756944c |
children |
comparison
equal
deleted
inserted
replaced
2526:35d591086974 | 2527:a201194fc461 |
---|---|
1 #!/usr/bin/env python2 | 1 #!/usr/bin/env python2 |
2 # -*- coding: utf-8 -*- | 2 # -*- coding: utf-8 -*- |
3 | 3 |
4 # SAT plugin for Jingle File Transfer (XEP-0231) | 4 # SAT plugin for Bit of Binary handling (XEP-0231) |
5 # Copyright (C) 2009-2018 Jérôme Poisson (goffi@goffi.org) | 5 # Copyright (C) 2009-2018 Jérôme Poisson (goffi@goffi.org) |
6 | 6 |
7 # This program is free software: you can redistribute it and/or modify | 7 # This program is free software: you can redistribute it and/or modify |
8 # it under the terms of the GNU Affero General Public License as published by | 8 # it under the terms of the GNU Affero General Public License as published by |
9 # the Free Software Foundation, either version 3 of the License, or | 9 # the Free Software Foundation, either version 3 of the License, or |