mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
Fix pubsub headers
This commit is contained in:
parent
51b9dd029b
commit
3b69d26368
@ -1,32 +1,27 @@
|
|||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : gen_pubsub_node.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose : Define pubsub plugin behaviour
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% Created : 1 Dec 2007 by Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
||||||
%%%
|
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
|
||||||
%%% The Initial Developer of the Original Code is ProcessOne.
|
|
||||||
%%% Portions created by ProcessOne are Copyright 2006-2015, ProcessOne
|
|
||||||
%%% All Rights Reserved.''
|
|
||||||
%%% This software is copyright 2006-2015, ProcessOne.
|
|
||||||
%%%
|
%%%
|
||||||
%%%
|
%%%
|
||||||
%%% @copyright 2006-2015 ProcessOne
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% @author Christophe Romain <christophe.romain@process-one.net>
|
%%%
|
||||||
%%% [http://www.process-one.net/]
|
%%% This program is free software; you can redistribute it and/or
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
%%% @end
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
%%% ====================================================================
|
%%% License, or (at your option) any later version.
|
||||||
|
%%%
|
||||||
%%% @private
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
%%% @doc <p>The module <strong>{@module}</strong> defines the PubSub node
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
%%% plugin behaviour. This behaviour is used to check that a PubSub plugin
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
%%% respects the current ejabberd PubSub plugin API.</p>
|
%%% General Public License for more details.
|
||||||
|
%%%
|
||||||
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
%%%
|
||||||
|
%%%----------------------------------------------------------------------
|
||||||
|
|
||||||
-module(gen_pubsub_node).
|
-module(gen_pubsub_node).
|
||||||
|
|
||||||
|
@ -1,32 +1,27 @@
|
|||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : gen_pubsub_nodetree.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose : Define the pubsub node tree plugin behaviour
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% Created : 1 Dec 2007 by Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
||||||
%%%
|
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
|
||||||
%%% The Initial Developer of the Original Code is ProcessOne.
|
|
||||||
%%% Portions created by ProcessOne are Copyright 2006-2015, ProcessOne
|
|
||||||
%%% All Rights Reserved.''
|
|
||||||
%%% This software is copyright 2006-2015, ProcessOne.
|
|
||||||
%%%
|
%%%
|
||||||
%%%
|
%%%
|
||||||
%%% @copyright 2006-2015 ProcessOne
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% @author Christophe Romain <christophe.romain@process-one.net>
|
%%%
|
||||||
%%% [http://www.process-one.net/]
|
%%% This program is free software; you can redistribute it and/or
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
%%% @end
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
%%% ====================================================================
|
%%% License, or (at your option) any later version.
|
||||||
|
%%%
|
||||||
%%% @private
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
%%% @doc <p>The module <strong>{@module}</strong> defines the PubSub node
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
%%% tree plugin behaviour. This behaviour is used to check that a PubSub
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
%%% node tree plugin respects the current ejabberd PubSub plugin API.</p>
|
%%% General Public License for more details.
|
||||||
|
%%%
|
||||||
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
%%%
|
||||||
|
%%%----------------------------------------------------------------------
|
||||||
|
|
||||||
-module(gen_pubsub_nodetree).
|
-module(gen_pubsub_nodetree).
|
||||||
|
|
||||||
|
@ -1,40 +1,28 @@
|
|||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : mod_pubsub.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose : Publish Subscribe service (XEP-0060)
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% Created : 1 Dec 2007 by Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
||||||
%%%
|
|
||||||
%%%
|
%%%
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
|
||||||
%%%
|
%%%
|
||||||
%%% The Initial Developer of the Original Code is ProcessOne.
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% Portions created by ProcessOne are Copyright 2006-2015, ProcessOne
|
|
||||||
%%% All Rights Reserved.''
|
|
||||||
%%% This software is copyright 2006-2015, ProcessOne.
|
|
||||||
%%%
|
%%%
|
||||||
%%% @copyright 2006-2015 ProcessOne
|
%%% This program is free software; you can redistribute it and/or
|
||||||
%%% @author Christophe Romain <christophe.romain@process-one.net>
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
%%% [http://www.process-one.net/]
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%% License, or (at your option) any later version.
|
||||||
%%% @end
|
%%%
|
||||||
%%% ====================================================================
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
%%% General Public License for more details.
|
||||||
|
%%%
|
||||||
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
%%%
|
||||||
|
%%%----------------------------------------------------------------------
|
||||||
|
|
||||||
%%% @doc The module <strong>{@module}</strong> is the core of the PubSub
|
|
||||||
%%% extension. It relies on PubSub plugins for a large part of its functions.
|
|
||||||
%%%
|
|
||||||
%%% @headerfile "pubsub.hrl"
|
|
||||||
%%%
|
|
||||||
%%% @reference See <a href="http://www.xmpp.org/extensions/xep-0060.html">XEP-0060: Pubsub</a> for
|
|
||||||
%%% the latest version of the PubSub specification.
|
|
||||||
%%% This module uses version 1.12 of the specification as a base.
|
|
||||||
%%% Most of the specification is implemented.
|
|
||||||
%%% Functions concerning configuration should be rewritten.
|
|
||||||
%%%
|
|
||||||
%%% Support for subscription-options and multi-subscribe features was
|
%%% Support for subscription-options and multi-subscribe features was
|
||||||
%%% added by Brian Cully (bjc AT kublai.com). Subscriptions and options are
|
%%% added by Brian Cully (bjc AT kublai.com). Subscriptions and options are
|
||||||
%%% stored in the pubsub_subscription table, with a link to them provided
|
%%% stored in the pubsub_subscription table, with a link to them provided
|
||||||
|
@ -1,28 +1,27 @@
|
|||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : node_buddy.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose :
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% Created : 1 Dec 2007 by Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
||||||
%%%
|
%%%
|
||||||
%%%
|
%%%
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
%%%
|
||||||
|
%%% This program is free software; you can redistribute it and/or
|
||||||
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
|
%%% License, or (at your option) any later version.
|
||||||
%%%
|
%%%
|
||||||
%%% The Initial Developer of the Original Code is ProcessOne.
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
%%% Portions created by ProcessOne are Copyright 2006-2015, ProcessOne
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
%%% All Rights Reserved.''
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
%%% This software is copyright 2006-2015, ProcessOne.
|
%%% General Public License for more details.
|
||||||
%%%
|
%%%
|
||||||
%%% @copyright 2006-2015 ProcessOne
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
%%% @author Christophe Romain <christophe.romain@process-one.net>
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
%%% [http://www.process-one.net/]
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%%
|
||||||
%%% @end
|
%%%----------------------------------------------------------------------
|
||||||
%%% ====================================================================
|
|
||||||
|
|
||||||
-module(node_buddy).
|
-module(node_buddy).
|
||||||
-behaviour(gen_pubsub_node).
|
-behaviour(gen_pubsub_node).
|
||||||
|
@ -1,28 +1,27 @@
|
|||||||
%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : node_club.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose :
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% Created : 1 Dec 2007 by Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
||||||
%%%
|
%%%
|
||||||
%%%
|
%%%
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
%%%
|
||||||
|
%%% This program is free software; you can redistribute it and/or
|
||||||
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
|
%%% License, or (at your option) any later version.
|
||||||
%%%
|
%%%
|
||||||
%%% The Initial Developer of the Original Code is ProcessOne.
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
%%% Portions created by ProcessOne are Copyright 2006-2015, ProcessOne
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
%%% All Rights Reserved.''
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
%%% This software is copyright 2006-2015, ProcessOne.
|
%%% General Public License for more details.
|
||||||
%%%
|
%%%
|
||||||
%%% @copyright 2006-2015 ProcessOne
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
%%% @author Christophe Romain <christophe.romain@process-one.net>
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
%%% [http://www.process-one.net/]
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%%
|
||||||
%%% @end
|
%%%----------------------------------------------------------------------
|
||||||
%%% ====================================================================
|
|
||||||
|
|
||||||
-module(node_club).
|
-module(node_club).
|
||||||
-behaviour(gen_pubsub_node).
|
-behaviour(gen_pubsub_node).
|
||||||
|
@ -1,21 +1,27 @@
|
|||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : node_dag.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Brian Cully <bjc@kublai.com>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose : experimental support of XEP-248
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% Created : 15 Jun 2009 by Brian Cully <bjc@kublai.com>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
||||||
%%%
|
%%%
|
||||||
%%%
|
%%%
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
%%%
|
||||||
|
%%% This program is free software; you can redistribute it and/or
|
||||||
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
|
%%% License, or (at your option) any later version.
|
||||||
%%%
|
%%%
|
||||||
%%% @author Brian Cully <bjc@kublai.com>
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
%%% @end
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
%%% ====================================================================
|
%%% General Public License for more details.
|
||||||
|
%%%
|
||||||
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
%%%
|
||||||
|
%%%----------------------------------------------------------------------
|
||||||
|
|
||||||
-module(node_dag).
|
-module(node_dag).
|
||||||
-behaviour(gen_pubsub_node).
|
-behaviour(gen_pubsub_node).
|
||||||
|
@ -1,28 +1,33 @@
|
|||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : node_dispatch.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose : Publish item to node and all child subnodes
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% Created : 1 Dec 2007 by Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
||||||
%%%
|
%%%
|
||||||
%%%
|
%%%
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
%%%
|
||||||
|
%%% This program is free software; you can redistribute it and/or
|
||||||
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
|
%%% License, or (at your option) any later version.
|
||||||
%%%
|
%%%
|
||||||
%%% The Initial Developer of the Original Code is ProcessOne.
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
%%% Portions created by ProcessOne are Copyright 2006-2015, ProcessOne
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
%%% All Rights Reserved.''
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
%%% This software is copyright 2006-2015, ProcessOne.
|
%%% General Public License for more details.
|
||||||
%%%
|
%%%
|
||||||
%%% @copyright 2006-2015 ProcessOne
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
%%% @author Christophe Romain <christophe.romain@process-one.net>
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
%%% [http://www.process-one.net/]
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%%
|
||||||
%%% @end
|
%%%----------------------------------------------------------------------
|
||||||
%%% ====================================================================
|
|
||||||
|
%%% @doc <p>The <strong>{@module}</strong> module is a PubSub plugin whose
|
||||||
|
%%% goal is to republished each published item to all its children.</p>
|
||||||
|
%%% <p>Users cannot subscribe to this node, but are supposed to subscribe to
|
||||||
|
%%% its children.</p>
|
||||||
|
%%% This module can not work with virtual nodetree
|
||||||
|
|
||||||
-module(node_dispatch).
|
-module(node_dispatch).
|
||||||
-behaviour(gen_pubsub_node).
|
-behaviour(gen_pubsub_node).
|
||||||
@ -31,12 +36,6 @@
|
|||||||
-include("pubsub.hrl").
|
-include("pubsub.hrl").
|
||||||
-include("jlib.hrl").
|
-include("jlib.hrl").
|
||||||
|
|
||||||
%%% @doc <p>The <strong>{@module}</strong> module is a PubSub plugin whose
|
|
||||||
%%% goal is to republished each published item to all its children.</p>
|
|
||||||
%%% <p>Users cannot subscribe to this node, but are supposed to subscribe to
|
|
||||||
%%% its children.</p>
|
|
||||||
%%% This module can not work with virtual nodetree
|
|
||||||
|
|
||||||
-export([init/3, terminate/2, options/0, features/0,
|
-export([init/3, terminate/2, options/0, features/0,
|
||||||
create_node_permission/6, create_node/2, delete_node/1,
|
create_node_permission/6, create_node/2, delete_node/1,
|
||||||
purge_node/2, subscribe_node/8, unsubscribe_node/4,
|
purge_node/2, subscribe_node/8, unsubscribe_node/4,
|
||||||
|
@ -1,28 +1,27 @@
|
|||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : node_flat.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose : Standard PubSub node plugin
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% Created : 1 Dec 2007 by Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
||||||
%%%
|
%%%
|
||||||
%%%
|
%%%
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
%%%
|
||||||
|
%%% This program is free software; you can redistribute it and/or
|
||||||
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
|
%%% License, or (at your option) any later version.
|
||||||
%%%
|
%%%
|
||||||
%%% The Initial Developer of the Original Code is ProcessOne.
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
%%% Portions created by ProcessOne are Copyright 2006-2015, ProcessOne
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
%%% All Rights Reserved.''
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
%%% This software is copyright 2006-2015, ProcessOne.
|
%%% General Public License for more details.
|
||||||
%%%
|
%%%
|
||||||
%%% @copyright 2006-2015 ProcessOne
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
%%% @author Christophe Romain <christophe.romain@process-one.net>
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
%%% [http://www.process-one.net/]
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%%
|
||||||
%%% @end
|
%%%----------------------------------------------------------------------
|
||||||
%%% ====================================================================
|
|
||||||
|
|
||||||
%%% @doc The module <strong>{@module}</strong> is the default PubSub plugin.
|
%%% @doc The module <strong>{@module}</strong> is the default PubSub plugin.
|
||||||
%%% <p>It is used as a default for all unknown PubSub node type. It can serve
|
%%% <p>It is used as a default for all unknown PubSub node type. It can serve
|
||||||
|
@ -1,28 +1,27 @@
|
|||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : node_flat_odbc.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose : Standard PubSub node plugin with ODBC backend
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% Created : 1 Dec 2007 by Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
||||||
%%%
|
%%%
|
||||||
%%%
|
%%%
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
%%%
|
||||||
|
%%% This program is free software; you can redistribute it and/or
|
||||||
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
|
%%% License, or (at your option) any later version.
|
||||||
%%%
|
%%%
|
||||||
%%% The Initial Developer of the Original Code is ProcessOne.
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
%%% Portions created by ProcessOne are Copyright 2006-2015, ProcessOne
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
%%% All Rights Reserved.''
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
%%% This software is copyright 2006-2015, ProcessOne.
|
%%% General Public License for more details.
|
||||||
%%%
|
%%%
|
||||||
%%% @copyright 2006-2015 ProcessOne
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
%%% @author Christophe Romain <christophe.romain@process-one.net>
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
%%% [http://www.process-one.net/]
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%%
|
||||||
%%% @end
|
%%%----------------------------------------------------------------------
|
||||||
%%% ====================================================================
|
|
||||||
|
|
||||||
%%% @doc The module <strong>{@module}</strong> is the default PubSub plugin.
|
%%% @doc The module <strong>{@module}</strong> is the default PubSub plugin.
|
||||||
%%% <p>It is used as a default for all unknown PubSub node type. It can serve
|
%%% <p>It is used as a default for all unknown PubSub node type. It can serve
|
||||||
|
@ -1,29 +1,27 @@
|
|||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : node_hometree.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose : Standard tree ordered node plugin
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% Created : 1 Dec 2007 by Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
||||||
%%%
|
%%%
|
||||||
%%%
|
%%%
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
%%%
|
||||||
|
%%% This program is free software; you can redistribute it and/or
|
||||||
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
|
%%% License, or (at your option) any later version.
|
||||||
%%%
|
%%%
|
||||||
%%% The Initial Developer of the Original Code is ProcessOne.
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
%%% Portions created by ProcessOne are Copyright 2006-2015, ProcessOne
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
%%% All Rights Reserved.''
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
%%% This software is copyright 2006-2015, ProcessOne.
|
%%% General Public License for more details.
|
||||||
%%%
|
%%%
|
||||||
%%% @copyright 2006-2015 ProcessOne
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
%%% @author Christophe Romain <christophe.romain@process-one.net>
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
%%% [http://www.process-one.net/]
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%%
|
||||||
%%% @end
|
%%%----------------------------------------------------------------------
|
||||||
%%% ====================================================================
|
|
||||||
|
|
||||||
|
|
||||||
-module(node_hometree).
|
-module(node_hometree).
|
||||||
-behaviour(gen_pubsub_node).
|
-behaviour(gen_pubsub_node).
|
||||||
|
@ -1,29 +1,27 @@
|
|||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : node_hometree_odbc.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose : Standard tree ordered node plugin with ODBC backend
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% Created : 1 Dec 2007 by Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
||||||
%%%
|
%%%
|
||||||
%%%
|
%%%
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
%%%
|
||||||
|
%%% This program is free software; you can redistribute it and/or
|
||||||
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
|
%%% License, or (at your option) any later version.
|
||||||
%%%
|
%%%
|
||||||
%%% The Initial Developer of the Original Code is ProcessOne.
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
%%% Portions created by ProcessOne are Copyright 2006-2015, ProcessOne
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
%%% All Rights Reserved.''
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
%%% This software is copyright 2006-2015, ProcessOne.
|
%%% General Public License for more details.
|
||||||
%%%
|
%%%
|
||||||
%%% @copyright 2006-2015 ProcessOne
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
%%% @author Christophe Romain <christophe.romain@process-one.net>
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
%%% [http://www.process-one.net/]
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%%
|
||||||
%%% @end
|
%%%----------------------------------------------------------------------
|
||||||
%%% ====================================================================
|
|
||||||
|
|
||||||
|
|
||||||
-module(node_hometree_odbc).
|
-module(node_hometree_odbc).
|
||||||
-behaviour(gen_pubsub_node).
|
-behaviour(gen_pubsub_node).
|
||||||
|
@ -1,31 +1,31 @@
|
|||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : node_mb.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Eric Cestari <ecestari@process-one.net>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose : PEP microglobing experimentation
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% Created : 25 Sep 2008 by Eric Cestari <ecestari@process-one.net>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
||||||
%%%
|
%%%
|
||||||
%%%
|
%%%
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
%%%
|
||||||
|
%%% This program is free software; you can redistribute it and/or
|
||||||
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
|
%%% License, or (at your option) any later version.
|
||||||
%%%
|
%%%
|
||||||
%%% The Initial Developer of the Original Code is ProcessOne.
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
%%% Portions created by ProcessOne are Copyright 2006-2015, ProcessOne
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
%%% All Rights Reserved.''
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
%%% This software is copyright 2006-2015, ProcessOne.
|
%%% General Public License for more details.
|
||||||
%%%
|
%%%
|
||||||
%%% @copyright 2006-2015 ProcessOne
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
%%% @author Eric Cestari <eric@ohmforce.com>
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
%%% @end
|
%%%
|
||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
|
|
||||||
-module(node_mb).
|
-module(node_mb).
|
||||||
-behaviour(gen_pubsub_node).
|
-behaviour(gen_pubsub_node).
|
||||||
-author('eric@ohmforce.com').
|
-author('ecestari@process-one.net').
|
||||||
|
|
||||||
-include("pubsub.hrl").
|
-include("pubsub.hrl").
|
||||||
-include("jlib.hrl").
|
-include("jlib.hrl").
|
||||||
|
@ -1,28 +1,30 @@
|
|||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : node_pep.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose : Standard PubSub PEP plugin
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% Created : 1 Dec 2007 by Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
||||||
%%%
|
%%%
|
||||||
%%%
|
%%%
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
%%%
|
||||||
|
%%% This program is free software; you can redistribute it and/or
|
||||||
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
|
%%% License, or (at your option) any later version.
|
||||||
%%%
|
%%%
|
||||||
%%% The Initial Developer of the Original Code is ProcessOne.
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
%%% Portions created by ProcessOne are Copyright 2006-2015, ProcessOne
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
%%% All Rights Reserved.''
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
%%% This software is copyright 2006-2015, ProcessOne.
|
%%% General Public License for more details.
|
||||||
%%%
|
%%%
|
||||||
%%% @copyright 2006-2015 ProcessOne
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
%%% @author Christophe Romain <christophe.romain@process-one.net>
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
%%% [http://www.process-one.net/]
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%%
|
||||||
%%% @end
|
%%%----------------------------------------------------------------------
|
||||||
%%% ====================================================================
|
|
||||||
|
%%% @doc The module <strong>{@module}</strong> is the pep PubSub plugin.
|
||||||
|
%%% <p>PubSub plugin nodes are using the {@link gen_pubsub_node} behaviour.</p>
|
||||||
|
|
||||||
-module(node_pep).
|
-module(node_pep).
|
||||||
-behaviour(gen_pubsub_node).
|
-behaviour(gen_pubsub_node).
|
||||||
@ -32,9 +34,6 @@
|
|||||||
-include("jlib.hrl").
|
-include("jlib.hrl").
|
||||||
-include("logger.hrl").
|
-include("logger.hrl").
|
||||||
|
|
||||||
%%% @doc The module <strong>{@module}</strong> is the pep PubSub plugin.
|
|
||||||
%%% <p>PubSub plugin nodes are using the {@link gen_pubsub_node} behaviour.</p>
|
|
||||||
|
|
||||||
-export([init/3, terminate/2, options/0, features/0,
|
-export([init/3, terminate/2, options/0, features/0,
|
||||||
create_node_permission/6, create_node/2, delete_node/1,
|
create_node_permission/6, create_node/2, delete_node/1,
|
||||||
purge_node/2, subscribe_node/8, unsubscribe_node/4,
|
purge_node/2, subscribe_node/8, unsubscribe_node/4,
|
||||||
|
@ -1,28 +1,30 @@
|
|||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : node_pep_odbc.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose : Standard PubSub PEP plugin with ODBC backend
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% Created : 1 Dec 2007 by Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
||||||
%%%
|
%%%
|
||||||
%%%
|
%%%
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
%%%
|
||||||
|
%%% This program is free software; you can redistribute it and/or
|
||||||
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
|
%%% License, or (at your option) any later version.
|
||||||
%%%
|
%%%
|
||||||
%%% The Initial Developer of the Original Code is ProcessOne.
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
%%% Portions created by ProcessOne are Copyright 2006-2015, ProcessOne
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
%%% All Rights Reserved.''
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
%%% This software is copyright 2006-2015, ProcessOne.
|
%%% General Public License for more details.
|
||||||
%%%
|
%%%
|
||||||
%%% @copyright 2006-2015 ProcessOne
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
%%% @author Christophe Romain <christophe.romain@process-one.net>
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
%%% [http://www.process-one.net/]
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%%
|
||||||
%%% @end
|
%%%----------------------------------------------------------------------
|
||||||
%%% ====================================================================
|
|
||||||
|
%%% @doc The module <strong>{@module}</strong> is the pep PubSub plugin.
|
||||||
|
%%% <p>PubSub plugin nodes are using the {@link gen_pubsub_node} behaviour.</p>
|
||||||
|
|
||||||
-module(node_pep_odbc).
|
-module(node_pep_odbc).
|
||||||
-behaviour(gen_pubsub_node).
|
-behaviour(gen_pubsub_node).
|
||||||
@ -32,9 +34,6 @@
|
|||||||
-include("jlib.hrl").
|
-include("jlib.hrl").
|
||||||
-include("logger.hrl").
|
-include("logger.hrl").
|
||||||
|
|
||||||
%%% @doc The module <strong>{@module}</strong> is the pep PubSub plugin.
|
|
||||||
%%% <p>PubSub plugin nodes are using the {@link gen_pubsub_node} behaviour.</p>
|
|
||||||
|
|
||||||
-export([init/3, terminate/2, options/0, features/0,
|
-export([init/3, terminate/2, options/0, features/0,
|
||||||
create_node_permission/6, create_node/2, delete_node/1,
|
create_node_permission/6, create_node/2, delete_node/1,
|
||||||
purge_node/2, subscribe_node/8, unsubscribe_node/4,
|
purge_node/2, subscribe_node/8, unsubscribe_node/4,
|
||||||
|
@ -1,28 +1,27 @@
|
|||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : node_private.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose :
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% Created : 1 Dec 2007 by Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
||||||
%%%
|
%%%
|
||||||
%%%
|
%%%
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
%%%
|
||||||
|
%%% This program is free software; you can redistribute it and/or
|
||||||
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
|
%%% License, or (at your option) any later version.
|
||||||
%%%
|
%%%
|
||||||
%%% The Initial Developer of the Original Code is ProcessOne.
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
%%% Portions created by ProcessOne are Copyright 2006-2015, ProcessOne
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
%%% All Rights Reserved.''
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
%%% This software is copyright 2006-2015, ProcessOne.
|
%%% General Public License for more details.
|
||||||
%%%
|
%%%
|
||||||
%%% @copyright 2006-2015 ProcessOne
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
%%% @author Christophe Romain <christophe.romain@process-one.net>
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
%%% [http://www.process-one.net/]
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%%
|
||||||
%%% @end
|
%%%----------------------------------------------------------------------
|
||||||
%%% ====================================================================
|
|
||||||
|
|
||||||
-module(node_private).
|
-module(node_private).
|
||||||
-behaviour(gen_pubsub_node).
|
-behaviour(gen_pubsub_node).
|
||||||
|
@ -1,28 +1,27 @@
|
|||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : node_public.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose :
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% Created : 1 Dec 2007 by Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
||||||
%%%
|
%%%
|
||||||
%%%
|
%%%
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
%%%
|
||||||
|
%%% This program is free software; you can redistribute it and/or
|
||||||
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
|
%%% License, or (at your option) any later version.
|
||||||
%%%
|
%%%
|
||||||
%%% The Initial Developer of the Original Code is ProcessOne.
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
%%% Portions created by ProcessOne are Copyright 2006-2015, ProcessOne
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
%%% All Rights Reserved.''
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
%%% This software is copyright 2006-2015, ProcessOne.
|
%%% General Public License for more details.
|
||||||
%%%
|
%%%
|
||||||
%%% @copyright 2006-2015 ProcessOne
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
%%% @author Christophe Romain <christophe.romain@process-one.net>
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
%%% [http://www.process-one.net/]
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%%
|
||||||
%%% @end
|
%%%----------------------------------------------------------------------
|
||||||
%%% ====================================================================
|
|
||||||
|
|
||||||
-module(node_public).
|
-module(node_public).
|
||||||
-behaviour(gen_pubsub_node).
|
-behaviour(gen_pubsub_node).
|
||||||
|
@ -1,21 +1,27 @@
|
|||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : nodetree_dag.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Brian Cully <bjc@kublai.com>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose : experimental support of XEP-248
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% Created : 15 Jun 2009 by Brian Cully <bjc@kublai.com>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
||||||
%%%
|
|
||||||
%%%
|
%%%
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
|
||||||
%%%
|
%%%
|
||||||
%%% @author Brian Cully <bjc@kublai.com>
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%%
|
||||||
%%% @end
|
%%% This program is free software; you can redistribute it and/or
|
||||||
%%% ====================================================================
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
|
%%% License, or (at your option) any later version.
|
||||||
|
%%%
|
||||||
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
%%% General Public License for more details.
|
||||||
|
%%%
|
||||||
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
%%%
|
||||||
|
%%%----------------------------------------------------------------------
|
||||||
|
|
||||||
-module(nodetree_dag).
|
-module(nodetree_dag).
|
||||||
-behaviour(gen_pubsub_nodetree).
|
-behaviour(gen_pubsub_nodetree).
|
||||||
|
@ -1,29 +1,27 @@
|
|||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : nodetree_tree.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose : Standard node tree plugin
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% Created : 1 Dec 2007 by Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
||||||
%%%
|
|
||||||
%%%
|
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
|
||||||
%%%
|
|
||||||
%%% The Initial Developer of the Original Code is ProcessOne.
|
|
||||||
%%% Portions created by ProcessOne are Copyright 2006-2015, ProcessOne
|
|
||||||
%%% All Rights Reserved.''
|
|
||||||
%%% This software is copyright 2006-2015, ProcessOne.
|
|
||||||
%%%
|
%%%
|
||||||
%%%
|
%%%
|
||||||
%%% @copyright 2006-2015 ProcessOne
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% @author Christophe Romain <christophe.romain@process-one.net>
|
%%%
|
||||||
%%% [http://www.process-one.net/]
|
%%% This program is free software; you can redistribute it and/or
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
%%% @end
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
%%% ====================================================================
|
%%% License, or (at your option) any later version.
|
||||||
|
%%%
|
||||||
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
%%% General Public License for more details.
|
||||||
|
%%%
|
||||||
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
%%%
|
||||||
|
%%%----------------------------------------------------------------------
|
||||||
|
|
||||||
%%% @doc The module <strong>{@module}</strong> is the default PubSub node tree plugin.
|
%%% @doc The module <strong>{@module}</strong> is the default PubSub node tree plugin.
|
||||||
%%% <p>It is used as a default for all unknown PubSub node type. It can serve
|
%%% <p>It is used as a default for all unknown PubSub node type. It can serve
|
||||||
|
@ -1,29 +1,27 @@
|
|||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : nodetree_tree_odbc.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose : Standard node tree plugin with ODBC backend
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% Created : 1 Dec 2007 by Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
||||||
%%%
|
|
||||||
%%%
|
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
|
||||||
%%%
|
|
||||||
%%% The Initial Developer of the Original Code is ProcessOne.
|
|
||||||
%%% Portions created by ProcessOne are Copyright 2006-2015, ProcessOne
|
|
||||||
%%% All Rights Reserved.''
|
|
||||||
%%% This software is copyright 2006-2015, ProcessOne.
|
|
||||||
%%%
|
%%%
|
||||||
%%%
|
%%%
|
||||||
%%% @copyright 2006-2015 ProcessOne
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% @author Christophe Romain <christophe.romain@process-one.net>
|
%%%
|
||||||
%%% [http://www.process-one.net/]
|
%%% This program is free software; you can redistribute it and/or
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
%%% @end
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
%%% ====================================================================
|
%%% License, or (at your option) any later version.
|
||||||
|
%%%
|
||||||
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
%%% General Public License for more details.
|
||||||
|
%%%
|
||||||
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
%%%
|
||||||
|
%%%----------------------------------------------------------------------
|
||||||
|
|
||||||
%%% @doc The module <strong>{@module}</strong> is the default PubSub node tree plugin.
|
%%% @doc The module <strong>{@module}</strong> is the default PubSub node tree plugin.
|
||||||
%%% <p>It is used as a default for all unknown PubSub node type. It can serve
|
%%% <p>It is used as a default for all unknown PubSub node type. It can serve
|
||||||
|
@ -1,29 +1,27 @@
|
|||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : nodetree_virtual.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose : Standard node tree plugin using no storage backend
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% Created : 1 Dec 2007 by Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
||||||
%%%
|
|
||||||
%%%
|
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
|
||||||
%%%
|
|
||||||
%%% The Initial Developer of the Original Code is ProcessOne.
|
|
||||||
%%% Portions created by ProcessOne are Copyright 2006-2015, ProcessOne
|
|
||||||
%%% All Rights Reserved.''
|
|
||||||
%%% This software is copyright 2006-2015, ProcessOne.
|
|
||||||
%%%
|
%%%
|
||||||
%%%
|
%%%
|
||||||
%%% @copyright 2006-2015 ProcessOne
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% @author Christophe Romain <christophe.romain@process-one.net>
|
%%%
|
||||||
%%% [http://www.process-one.net/]
|
%%% This program is free software; you can redistribute it and/or
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
%%% @end
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
%%% ====================================================================
|
%%% License, or (at your option) any later version.
|
||||||
|
%%%
|
||||||
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
%%% General Public License for more details.
|
||||||
|
%%%
|
||||||
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
%%%
|
||||||
|
%%%----------------------------------------------------------------------
|
||||||
|
|
||||||
%%% @doc The module <strong>{@module}</strong> is the PubSub node tree plugin that
|
%%% @doc The module <strong>{@module}</strong> is the PubSub node tree plugin that
|
||||||
%%% allow virtual nodes handling. This prevent storage of nodes.
|
%%% allow virtual nodes handling. This prevent storage of nodes.
|
||||||
|
@ -1,24 +1,28 @@
|
|||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : pubsub_db_odbc.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Pablo Polvorin <pablo.polvorin@process-one.net>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose : Provide helpers for PubSub ODBC backend
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% Created : 7 Aug 2009 by Pablo Polvorin <pablo.polvorin@process-one.net>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
||||||
%%%
|
%%%
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
%%%
|
||||||
%%% The Initial Developer of the Original Code is ProcessOne.
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% Portions created by ProcessOne are Copyright 2006-2015, ProcessOne
|
|
||||||
%%% All Rights Reserved.''
|
|
||||||
%%% This software is copyright 2006-2015, ProcessOne.
|
|
||||||
%%%
|
%%%
|
||||||
%%% @author Pablo Polvorin <pablo.polvorin@process-one.net>
|
%%% This program is free software; you can redistribute it and/or
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
%%% @end
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
%%% ====================================================================
|
%%% License, or (at your option) any later version.
|
||||||
|
%%%
|
||||||
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
%%% General Public License for more details.
|
||||||
|
%%%
|
||||||
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
%%%
|
||||||
|
%%%----------------------------------------------------------------------
|
||||||
|
|
||||||
-module(pubsub_db_odbc).
|
-module(pubsub_db_odbc).
|
||||||
|
|
||||||
-author("pablo.polvorin@process-one.net").
|
-author("pablo.polvorin@process-one.net").
|
||||||
|
@ -1,29 +1,27 @@
|
|||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : pubsub_index.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose : Provide uniq integer index for pubsub node
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% Created : 30 Apr 2009 by Christophe Romain <christophe.romain@process-one.net>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
||||||
%%%
|
|
||||||
%%%
|
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
|
||||||
%%%
|
|
||||||
%%% The Initial Developer of the Original Code is ProcessOne.
|
|
||||||
%%% Portions created by ProcessOne are Copyright 2006-2015, ProcessOne
|
|
||||||
%%% All Rights Reserved.''
|
|
||||||
%%% This software is copyright 2006-2015, ProcessOne.
|
|
||||||
%%%
|
%%%
|
||||||
%%%
|
%%%
|
||||||
%%% @copyright 2006-2015 ProcessOne
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% @author Christophe Romain <christophe.romain@process-one.net>
|
%%%
|
||||||
%%% [http://www.process-one.net/]
|
%%% This program is free software; you can redistribute it and/or
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
%%% @end
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
%%% ====================================================================
|
%%% License, or (at your option) any later version.
|
||||||
|
%%%
|
||||||
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
%%% General Public License for more details.
|
||||||
|
%%%
|
||||||
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
%%%
|
||||||
|
%%%----------------------------------------------------------------------
|
||||||
|
|
||||||
%% important note:
|
%% important note:
|
||||||
%% new/1 and free/2 MUST be called inside a transaction bloc
|
%% new/1 and free/2 MUST be called inside a transaction bloc
|
||||||
|
@ -1,24 +1,27 @@
|
|||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : pubsub_subscription.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Brian Cully <bjc@kublai.com>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose : Handle pubsub subscriptions options
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% Created : 29 May 2009 by Brian Cully <bjc@kublai.com>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
||||||
%%%
|
%%%
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
%%%
|
||||||
%%% The Initial Developer of the Original Code is ProcessOne.
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% Portions created by ProcessOne are Copyright 2006-2015, ProcessOne
|
|
||||||
%%% All Rights Reserved.''
|
|
||||||
%%% This software is copyright 2006-2015, ProcessOne.
|
|
||||||
%%%
|
%%%
|
||||||
%%% @author Brian Cully <bjc@kublai.com>
|
%%% This program is free software; you can redistribute it and/or
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
%%% @end
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
%%% ====================================================================
|
%%% License, or (at your option) any later version.
|
||||||
|
%%%
|
||||||
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
%%% General Public License for more details.
|
||||||
|
%%%
|
||||||
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
%%%
|
||||||
|
%%%----------------------------------------------------------------------
|
||||||
|
|
||||||
-module(pubsub_subscription).
|
-module(pubsub_subscription).
|
||||||
|
|
||||||
|
@ -1,25 +1,28 @@
|
|||||||
%%% ====================================================================
|
%%%----------------------------------------------------------------------
|
||||||
%%% ``The contents of this file are subject to the Erlang Public License,
|
%%% File : pubsub_subscription_odbc.erl
|
||||||
%%% Version 1.1, (the "License"); you may not use this file except in
|
%%% Author : Pablo Polvorin <pablo.polvorin@process-one.net>
|
||||||
%%% compliance with the License. You should have received a copy of the
|
%%% Purpose : Handle pubsub subscriptions options with ODBC backend
|
||||||
%%% Erlang Public License along with this software. If not, it can be
|
%%% based on pubsub_subscription.erl by Brian Cully <bjc@kublai.com>
|
||||||
%%% retrieved via the world wide web at http://www.erlang.org/.
|
%%% Created : 7 Aug 2009 by Pablo Polvorin <pablo.polvorin@process-one.net>
|
||||||
%%%
|
%%%
|
||||||
%%% Software distributed under the License is distributed on an "AS IS"
|
|
||||||
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
||||||
%%% the License for the specific language governing rights and limitations
|
|
||||||
%%% under the License.
|
|
||||||
%%%
|
%%%
|
||||||
%%% The Initial Developer of the Original Code is ProcessOne.
|
%%% ejabberd, Copyright (C) 2002-2015 ProcessOne
|
||||||
%%% Portions created by ProcessOne are Copyright 2006-2015, ProcessOne
|
|
||||||
%%% All Rights Reserved.''
|
|
||||||
%%% This software is copyright 2006-2015, ProcessOne.
|
|
||||||
%%%
|
%%%
|
||||||
%%% @author Pablo Polvorin <pablo.polvorin@process-one.net>
|
%%% This program is free software; you can redistribute it and/or
|
||||||
%%% @author based on pubsub_subscription.erl by Brian Cully <bjc@kublai.com>
|
%%% modify it under the terms of the GNU General Public License as
|
||||||
%%% @version {@vsn}, {@date} {@time}
|
%%% published by the Free Software Foundation; either version 2 of the
|
||||||
%%% @end
|
%%% License, or (at your option) any later version.
|
||||||
%%% ====================================================================
|
%%%
|
||||||
|
%%% This program is distributed in the hope that it will be useful,
|
||||||
|
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
%%% General Public License for more details.
|
||||||
|
%%%
|
||||||
|
%%% You should have received a copy of the GNU General Public License along
|
||||||
|
%%% with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
%%% 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
%%%
|
||||||
|
%%%----------------------------------------------------------------------
|
||||||
|
|
||||||
-module(pubsub_subscription_odbc).
|
-module(pubsub_subscription_odbc).
|
||||||
-author("pablo.polvorin@process-one.net").
|
-author("pablo.polvorin@process-one.net").
|
||||||
|
Loading…
Reference in New Issue
Block a user