summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2022-11-04 11:34:45 +0100
committerBadlop <badlop@process-one.net>2022-11-04 16:17:39 +0100
commitb73a9234d901aa2db1c443e8dd2390c2a1d9ffda (patch)
tree15d299f3de2dab2b9bfeff6f502347a8297f900a
parentAdd DOAP script to Makefile (diff)
Add some missing RFCs and remove problematic leading 0 in xep versions
-rw-r--r--src/ejabberd.erl3
-rw-r--r--src/ejabberd_auth.erl2
-rw-r--r--src/ejabberd_c2s.erl4
-rw-r--r--src/ejabberd_websocket.erl1
-rw-r--r--src/mod_delegation.erl2
-rw-r--r--src/mod_muc.erl1
-rw-r--r--src/mod_privilege.erl2
-rw-r--r--src/mod_vcard.erl1
8 files changed, 14 insertions, 2 deletions
diff --git a/src/ejabberd.erl b/src/ejabberd.erl
index 048eb7d9..3a5fc972 100644
--- a/src/ejabberd.erl
+++ b/src/ejabberd.erl
@@ -27,6 +27,8 @@
-author('alexey@process-one.net').
-compile({no_auto_import, [{halt, 0}]}).
+-protocol({rfc, 6122}).
+-protocol({rfc, 7590}).
-protocol({xep, 4, '2.9'}).
-protocol({xep, 86, '1.0'}).
-protocol({xep, 106, '1.1'}).
@@ -36,6 +38,7 @@
-protocol({xep, 216, '1.0'}).
-protocol({xep, 243, '1.0'}).
-protocol({xep, 270, '1.0'}).
+-protocol({xep, 368, '1.1.0'}).
-export([start/0, stop/0, halt/0, start_app/1, start_app/2,
get_pid_file/0, check_apps/0, module_name/1, is_loaded/0]).
diff --git a/src/ejabberd_auth.erl b/src/ejabberd_auth.erl
index c64c508d..b1faa247 100644
--- a/src/ejabberd_auth.erl
+++ b/src/ejabberd_auth.erl
@@ -28,6 +28,8 @@
-author('alexey@process-one.net').
+-protocol({rfc, 5802}).
+
%% External exports
-export([start_link/0, host_up/1, host_down/1, config_reloaded/0,
set_password/3, check_password/4,
diff --git a/src/ejabberd_c2s.erl b/src/ejabberd_c2s.erl
index ec5c610e..6e0b116a 100644
--- a/src/ejabberd_c2s.erl
+++ b/src/ejabberd_c2s.erl
@@ -22,6 +22,10 @@
-module(ejabberd_c2s).
-behaviour(xmpp_stream_in).
-behaviour(ejabberd_listener).
+
+-protocol({rfc, 3920}).
+-protocol({rfc, 3921}).
+-protocol({rfc, 6120}).
-protocol({rfc, 6121}).
%% ejabberd_listener callbacks
diff --git a/src/ejabberd_websocket.erl b/src/ejabberd_websocket.erl
index 96624233..212dffae 100644
--- a/src/ejabberd_websocket.erl
+++ b/src/ejabberd_websocket.erl
@@ -38,6 +38,7 @@
-module(ejabberd_websocket).
-protocol({rfc, 6455}).
+-protocol({rfc, 7395}).
-author('ecestari@process-one.net').
diff --git a/src/mod_delegation.erl b/src/mod_delegation.erl
index 19a1adcc..f517651d 100644
--- a/src/mod_delegation.erl
+++ b/src/mod_delegation.erl
@@ -25,7 +25,7 @@
-author('amuhar3@gmail.com').
--protocol({xep, 0355, '0.4.1'}).
+-protocol({xep, 355, '0.4.1'}).
-behaviour(gen_server).
-behaviour(gen_mod).
diff --git a/src/mod_muc.erl b/src/mod_muc.erl
index c1c1c7f2..4491693b 100644
--- a/src/mod_muc.erl
+++ b/src/mod_muc.erl
@@ -25,6 +25,7 @@
-module(mod_muc).
-author('alexey@process-one.net').
-protocol({xep, 45, '1.25'}).
+-protocol({xep, 249, '1.2'}).
-ifndef(GEN_SERVER).
-define(GEN_SERVER, gen_server).
-endif.
diff --git a/src/mod_privilege.erl b/src/mod_privilege.erl
index 9c8c9462..32d6067d 100644
--- a/src/mod_privilege.erl
+++ b/src/mod_privilege.erl
@@ -25,7 +25,7 @@
-author('amuhar3@gmail.com').
--protocol({xep, 0356, '0.2.1'}).
+-protocol({xep, 356, '0.2.1'}).
-behaviour(gen_server).
-behaviour(gen_mod).
diff --git a/src/mod_vcard.erl b/src/mod_vcard.erl
index 3ac97b30..99f4125f 100644
--- a/src/mod_vcard.erl
+++ b/src/mod_vcard.erl
@@ -29,6 +29,7 @@
-protocol({xep, 54, '1.2'}).
-protocol({xep, 55, '1.3'}).
+-protocol({xep, 153, '1.1'}).
-behaviour(gen_server).
-behaviour(gen_mod).