-
Behnam:
We plan to add support for simple blocking extension in the future. Thank you for your interest in this extension. Expressing it is one of the ways to make us reconsider future development plans.
However, please do not submit patches with code that is not yours. We need the source code original author consent before we can accept a patch, especially that this code is available under a license which is incompatible with our license.
-
Thanks for your answer.
I should say that the source of the code on the github is under GPLV3[[https://github.com/kontalk/tigase-extension/blob/master/LICENSE]] and I almost modified all the code and rewrite it(their code is a modified version of privacy plugin of the tigase server code [I don't know they have this permision to re-licence their code from AGPLv3 to GPLv3 because of this usage]), and redistribute it under GPLv3, and as I know due to wikipedia[[http://en.wikipedia.org/wiki/Affero_General_Public_License]] "GPLv3 and AGPLv3(due to this link [[http://tigase.net/content/tigase-xmpp-server]] tigase is under AGPLv3) each include clases (in section 13 of each license) that together achieve a form of mutual compatibility for the two licenses".
So I think the merge request for this file hasn't any licence violation. any how if there is a problem, I can contact to the github owner that any relicening is allowed or not.
-
Wojciech, we simply have to implement it on our own without looking at the referenced code.
Behnam, thank you for your comments about licensing. We have to look at it ourselves. We generally have no objections about people using or modifying our code as long as the original ownership information is preserved and license is violated. In this particular case it not that clear but I do not see any problem either. However, I prefer not to use somebody else code without his clear consent.
-
Hello,
I've attached my original BlockingCommand.java code. I therefore accept the source disclaimer for this file to be included in Tigase, wherever you will include my version or Behnam's.
Behnam, you're free to use code from Kontalk as long as you publish it back in a public repository of yours or sending a patch to the project (as per GPL terms).
Type |
New Feature
|
Priority |
Normal
|
Assignee | |
RedmineID |
2819
|
Version |
tigase-server-7.1.0
|
Estimation |
0
|
As I see the source code, tigase doesn't support Blocking Command (XEP-0191[[http://xmpp.org/extensions/xep-0191.html]]). I know blocking can be done by privacy lists, but I think this is mutch simpler for users.
So I used [[https://github.com/kontalk/tigase-extension/blob/master/src/main/java/org/kontalk/xmppserver/BlockingCommand.java]] as my base code and write a blocking command plugin. I tested it, and I think it worked well. I think if you are agree, add this feature to tigase.
BlockingCommand.java