mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Fix typos
This commit is contained in:
parent
0f2d36dc53
commit
adf0f87e99
10
CHANGELOG.md
10
CHANGELOG.md
@ -213,7 +213,7 @@ Translations:
|
|||||||
- Fix problem with leaving old data when updating shared rosters
|
- Fix problem with leaving old data when updating shared rosters
|
||||||
- Fix edge case that caused failure of resuming old sessions with
|
- Fix edge case that caused failure of resuming old sessions with
|
||||||
stream management.
|
stream management.
|
||||||
- Fix crash when room that was started with loging enabled was later
|
- Fix crash when room that was started with logging enabled was later
|
||||||
changed to logging disabled
|
changed to logging disabled
|
||||||
- Increase default shaper limits (this should help with delays for
|
- Increase default shaper limits (this should help with delays for
|
||||||
clients that are using jingle)
|
clients that are using jingle)
|
||||||
@ -278,7 +278,7 @@ Translations:
|
|||||||
for all backends not only SQL
|
for all backends not only SQL
|
||||||
- Add infrastructure for having module documentation directly
|
- Add infrastructure for having module documentation directly
|
||||||
in individual module source code
|
in individual module source code
|
||||||
- Generate man page automaticaly
|
- Generate man page automatically
|
||||||
- Implement copy feature in mod_carboncopy
|
- Implement copy feature in mod_carboncopy
|
||||||
|
|
||||||
* Fixes
|
* Fixes
|
||||||
@ -286,7 +286,7 @@ Translations:
|
|||||||
- Fix handling of result in xmlrpc module
|
- Fix handling of result in xmlrpc module
|
||||||
- Make webadmin work even when accessed through not declared domain
|
- Make webadmin work even when accessed through not declared domain
|
||||||
- Better error reporting in xmlrpc
|
- Better error reporting in xmlrpc
|
||||||
- Limit ammount of results returned by disco queries to pubsub nodes
|
- Limit amount of results returned by disco queries to pubsub nodes
|
||||||
- Improve validation of configured JWT keys
|
- Improve validation of configured JWT keys
|
||||||
- Fix race condition in Redis/SQL startup
|
- Fix race condition in Redis/SQL startup
|
||||||
- Fix loading order of third party modules
|
- Fix loading order of third party modules
|
||||||
@ -387,7 +387,7 @@ Translations:
|
|||||||
- Improve handling of unexpected iq in mod_muc_room
|
- Improve handling of unexpected iq in mod_muc_room
|
||||||
- Attach mod_muc_room processes to a supervisor
|
- Attach mod_muc_room processes to a supervisor
|
||||||
- Restore room when receiving message or generic iq for not started room
|
- Restore room when receiving message or generic iq for not started room
|
||||||
- Distribute routing of MUC messages accross all CPU cores
|
- Distribute routing of MUC messages across all CPU cores
|
||||||
|
|
||||||
* PubSub
|
* PubSub
|
||||||
- Fix pending nodes retrieval for SQL backend
|
- Fix pending nodes retrieval for SQL backend
|
||||||
@ -421,7 +421,7 @@ Translations:
|
|||||||
- Make static hooks analyzer working again
|
- Make static hooks analyzer working again
|
||||||
|
|
||||||
* MUC
|
* MUC
|
||||||
- Service admins are allowed to recreate room even if archiv is nonempty
|
- Service admins are allowed to recreate room even if archive is nonempty
|
||||||
- New option user_mucsub_from_muc_archive
|
- New option user_mucsub_from_muc_archive
|
||||||
- Avoid late arrival of get_disco_item response
|
- Avoid late arrival of get_disco_item response
|
||||||
- Handle get_subscribed_rooms call from mod_muc_room pid
|
- Handle get_subscribed_rooms call from mod_muc_room pid
|
||||||
|
@ -19,7 +19,7 @@ init(State) ->
|
|||||||
{example, "rebar3 configure-deps"}, % How to use the plugin
|
{example, "rebar3 configure-deps"}, % How to use the plugin
|
||||||
{opts, []}, % list of options understood by the plugin
|
{opts, []}, % list of options understood by the plugin
|
||||||
{short_desc, "Explicitly run ./configure for dependencies"},
|
{short_desc, "Explicitly run ./configure for dependencies"},
|
||||||
{desc, "A rebar plugin to allow explicitly running ./configure on depdendencies. Useful if dependencies might change prior to compilation when configure is run."}
|
{desc, "A rebar plugin to allow explicitly running ./configure on dependencies. Useful if dependencies might change prior to compilation when configure is run."}
|
||||||
]),
|
]),
|
||||||
{ok, rebar_state:add_provider(State, Provider)}.
|
{ok, rebar_state:add_provider(State, Provider)}.
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ YAML is indentation sensitive, so make sure you respect indentation, or otherwis
|
|||||||
.sp .5v
|
.sp .5v
|
||||||
.RE
|
.RE
|
||||||
.sp
|
.sp
|
||||||
Logically, configuration options are splitted into 3 main categories: \fIModules\fR, \fIListeners\fR and everything else called \fITop Level\fR options\&. Thus this document is splitted into 3 main chapters describing each category separately\&. So, the contents of ejabberd\&.yml will typically look like this:
|
Logically, configuration options are split into 3 main categories: \fIModules\fR, \fIListeners\fR and everything else called \fITop Level\fR options\&. Thus this document is split into 3 main chapters describing each category separately\&. So, the contents of ejabberd\&.yml will typically look like this:
|
||||||
.sp
|
.sp
|
||||||
.if n \{\
|
.if n \{\
|
||||||
.RS 4
|
.RS 4
|
||||||
@ -443,7 +443,7 @@ The option defines in what format the users passwords are stored:
|
|||||||
.PP
|
.PP
|
||||||
\fBauth_scram_hash\fR: \fIsha | sha256 | sha512\fR
|
\fBauth_scram_hash\fR: \fIsha | sha256 | sha512\fR
|
||||||
.RS 4
|
.RS 4
|
||||||
Hash algorith that should be used to store password in SCRAM format\&. You shouldn\(cqt change this if you already have passwords generated with a different algorithm \- users that have such passwords will not be able to authenticate\&. The default value is
|
Hash algorithm that should be used to store password in SCRAM format\&. You shouldn\(cqt change this if you already have passwords generated with a different algorithm \- users that have such passwords will not be able to authenticate\&. The default value is
|
||||||
\fIsha\fR\&.
|
\fIsha\fR\&.
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
@ -525,7 +525,7 @@ Whether to enable or disable TLS compression for c2s connections\&. The default
|
|||||||
Path to a file of CA root certificates\&. The default is to use system defined file if possible\&.
|
Path to a file of CA root certificates\&. The default is to use system defined file if possible\&.
|
||||||
.RE
|
.RE
|
||||||
.sp
|
.sp
|
||||||
For server conections, this \fIca_file\fR option is overriden by the s2s_cafile option\&.
|
For server connections, this \fIca_file\fR option is overridden by the s2s_cafile option\&.
|
||||||
.PP
|
.PP
|
||||||
\fBcache_life_time\fR: \fItimeout()\fR
|
\fBcache_life_time\fR: \fItimeout()\fR
|
||||||
.RS 4
|
.RS 4
|
||||||
@ -2066,7 +2066,7 @@ The module depends on \fImod_vcard\fR, \fImod_vcard_xupdate\fR and \fImod_pubsub
|
|||||||
.PP
|
.PP
|
||||||
\fBconvert\fR: \fI{From: To}\fR
|
\fBconvert\fR: \fI{From: To}\fR
|
||||||
.RS 4
|
.RS 4
|
||||||
Defines image convertion rules: the format in
|
Defines image conversion rules: the format in
|
||||||
\fIFrom\fR
|
\fIFrom\fR
|
||||||
will be converted to format in
|
will be converted to format in
|
||||||
\fITo\fR\&. The value of
|
\fITo\fR\&. The value of
|
||||||
@ -2091,7 +2091,7 @@ convert:
|
|||||||
.PP
|
.PP
|
||||||
\fBrate_limit\fR: \fINumber\fR
|
\fBrate_limit\fR: \fINumber\fR
|
||||||
.RS 4
|
.RS 4
|
||||||
Limit any given JID by the number of avatars it is able to convert per minute\&. This is to protect the server from image convertion DoS\&. The default value is
|
Limit any given JID by the number of avatars it is able to convert per minute\&. This is to protect the server from image conversion DoS\&. The default value is
|
||||||
\fI10\fR\&.
|
\fI10\fR\&.
|
||||||
.RE
|
.RE
|
||||||
.RE
|
.RE
|
||||||
@ -5414,7 +5414,7 @@ plugin handles the default behaviour and follows standard XEP\-0060 implementati
|
|||||||
.IP \(bu 2.3
|
.IP \(bu 2.3
|
||||||
.\}
|
.\}
|
||||||
\fIpep\fR
|
\fIpep\fR
|
||||||
plugin adds extention to handle Personal Eventing Protocol (XEP\-0163) to the PubSub engine\&. Adding pep allows to handle PEP automatically\&.
|
plugin adds extension to handle Personal Eventing Protocol (XEP\-0163) to the PubSub engine\&. Adding pep allows to handle PEP automatically\&.
|
||||||
.RE
|
.RE
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
|
@ -231,9 +231,9 @@ man_header(Lang) ->
|
|||||||
"indentation, or otherwise you will get pretty cryptic "
|
"indentation, or otherwise you will get pretty cryptic "
|
||||||
"configuration errors.")),
|
"configuration errors.")),
|
||||||
io_lib:nl(),
|
io_lib:nl(),
|
||||||
tr(Lang, ?T("Logically, configuration options are splitted into 3 main categories: "
|
tr(Lang, ?T("Logically, configuration options are split into 3 main categories: "
|
||||||
"'Modules', 'Listeners' and everything else called 'Top Level' options. "
|
"'Modules', 'Listeners' and everything else called 'Top Level' options. "
|
||||||
"Thus this document is splitted into 3 main chapters describing each "
|
"Thus this document is split into 3 main chapters describing each "
|
||||||
"category separately. So, the contents of ejabberd.yml will typically "
|
"category separately. So, the contents of ejabberd.yml will typically "
|
||||||
"look like this:")),
|
"look like this:")),
|
||||||
io_lib:nl(),
|
io_lib:nl(),
|
||||||
|
@ -387,7 +387,7 @@ doc() ->
|
|||||||
{auth_scram_hash,
|
{auth_scram_hash,
|
||||||
#{value => "sha | sha256 | sha512",
|
#{value => "sha | sha256 | sha512",
|
||||||
desc =>
|
desc =>
|
||||||
?T("Hash algorith that should be used to store password in SCRAM format. "
|
?T("Hash algorithm that should be used to store password in SCRAM format. "
|
||||||
"You shouldn't change this if you already have passwords generated with "
|
"You shouldn't change this if you already have passwords generated with "
|
||||||
"a different algorithm - users that have such passwords will not be able "
|
"a different algorithm - users that have such passwords will not be able "
|
||||||
"to authenticate. The default value is 'sha'.")}},
|
"to authenticate. The default value is 'sha'.")}},
|
||||||
@ -449,7 +449,7 @@ doc() ->
|
|||||||
desc =>
|
desc =>
|
||||||
[?T("Path to a file of CA root certificates. "
|
[?T("Path to a file of CA root certificates. "
|
||||||
"The default is to use system defined file if possible."), "",
|
"The default is to use system defined file if possible."), "",
|
||||||
?T("For server conections, this 'ca_file' option is overriden by the http://../toplevel/#s2s-cafile[s2s_cafile] option."), ""
|
?T("For server connections, this 'ca_file' option is overridden by the http://../toplevel/#s2s-cafile[s2s_cafile] option."), ""
|
||||||
]}},
|
]}},
|
||||||
{captcha_cmd,
|
{captcha_cmd,
|
||||||
#{value => ?T("Path"),
|
#{value => ?T("Path"),
|
||||||
|
@ -387,7 +387,7 @@ start_connection(From, To, Opts) ->
|
|||||||
MaxS2SConnectionsNumber,
|
MaxS2SConnectionsNumber,
|
||||||
MaxS2SConnectionsNumberPerNode, Opts);
|
MaxS2SConnectionsNumberPerNode, Opts);
|
||||||
true ->
|
true ->
|
||||||
%% We choose a connexion from the pool of opened ones.
|
%% We choose a connection from the pool of opened ones.
|
||||||
{ok, choose_connection(From, L)}
|
{ok, choose_connection(From, L)}
|
||||||
end
|
end
|
||||||
end.
|
end.
|
||||||
|
@ -1857,11 +1857,11 @@ build_elements_pages_list(Size, PageNumber, PageSize) ->
|
|||||||
?C(<<" [", (integer_to_binary(PageNumber))/binary, "] ">>)).
|
?C(<<" [", (integer_to_binary(PageNumber))/binary, "] ">>)).
|
||||||
|
|
||||||
calculate_pages_number(Size, PageSize) ->
|
calculate_pages_number(Size, PageSize) ->
|
||||||
Remainer = case Size rem PageSize of
|
Remainder = case Size rem PageSize of
|
||||||
0 -> 0;
|
0 -> 0;
|
||||||
_ -> 1
|
_ -> 1
|
||||||
end,
|
end,
|
||||||
case (Size div PageSize) + Remainer of
|
case (Size div PageSize) + Remainder of
|
||||||
1 -> 0;
|
1 -> 0;
|
||||||
Res -> Res
|
Res -> Res
|
||||||
end.
|
end.
|
||||||
|
@ -695,7 +695,7 @@ get_commands_spec() ->
|
|||||||
args_example = [<<"group3">>, <<"myserver.com">>],
|
args_example = [<<"group3">>, <<"myserver.com">>],
|
||||||
args_desc = ["Group identifier", "Group server name"],
|
args_desc = ["Group identifier", "Group server name"],
|
||||||
result_example = [{<<"name">>, "Group 3"}, {<<"displayed_groups">>, "group1"}],
|
result_example = [{<<"name">>, "Group 3"}, {<<"displayed_groups">>, "group1"}],
|
||||||
result_desc = "List of group informations, as key and value",
|
result_desc = "List of group information, as key and value",
|
||||||
result = {informations, {list, {information, {tuple, [{key, string}, {value, string}]}}}}},
|
result = {informations, {list, {information, {tuple, [{key, string}, {value, string}]}}}}},
|
||||||
#ejabberd_commands{name = srg_get_members, tags = [shared_roster_group],
|
#ejabberd_commands{name = srg_get_members, tags = [shared_roster_group],
|
||||||
desc = "Get members of a Shared Roster Group",
|
desc = "Get members of a Shared Roster Group",
|
||||||
|
@ -475,7 +475,7 @@ mod_doc() ->
|
|||||||
[{convert,
|
[{convert,
|
||||||
#{value => "{From: To}",
|
#{value => "{From: To}",
|
||||||
desc =>
|
desc =>
|
||||||
?T("Defines image convertion rules: the format in 'From' "
|
?T("Defines image conversion rules: the format in 'From' "
|
||||||
"will be converted to format in 'To'. The value of 'From' "
|
"will be converted to format in 'To'. The value of 'From' "
|
||||||
"can also be 'default', which is match-all rule. NOTE: "
|
"can also be 'default', which is match-all rule. NOTE: "
|
||||||
"the list of supported formats is detected at compile time "
|
"the list of supported formats is detected at compile time "
|
||||||
@ -489,4 +489,4 @@ mod_doc() ->
|
|||||||
desc =>
|
desc =>
|
||||||
?T("Limit any given JID by the number of avatars it is able "
|
?T("Limit any given JID by the number of avatars it is able "
|
||||||
"to convert per minute. This is to protect the server from "
|
"to convert per minute. This is to protect the server from "
|
||||||
"image convertion DoS. The default value is '10'.")}}]}.
|
"image conversion DoS. The default value is '10'.")}}]}.
|
||||||
|
@ -4474,7 +4474,7 @@ mod_doc() ->
|
|||||||
"to the 'create' stanza element."),
|
"to the 'create' stanza element."),
|
||||||
?T("- 'flat' plugin handles the default behaviour and "
|
?T("- 'flat' plugin handles the default behaviour and "
|
||||||
"follows standard XEP-0060 implementation."),
|
"follows standard XEP-0060 implementation."),
|
||||||
?T("- 'pep' plugin adds extention to handle Personal "
|
?T("- 'pep' plugin adds extension to handle Personal "
|
||||||
"Eventing Protocol (XEP-0163) to the PubSub engine. "
|
"Eventing Protocol (XEP-0163) to the PubSub engine. "
|
||||||
"Adding pep allows to handle PEP automatically.")]}},
|
"Adding pep allows to handle PEP automatically.")]}},
|
||||||
{vcard,
|
{vcard,
|
||||||
|
@ -268,7 +268,7 @@ c2s_handle_info(State, {timeout, _, Timeout}) when Timeout == ack_timeout;
|
|||||||
Timeout == pending_timeout ->
|
Timeout == pending_timeout ->
|
||||||
%% Late arrival of an already cancelled timer: we just ignore it.
|
%% Late arrival of an already cancelled timer: we just ignore it.
|
||||||
%% This might happen because misc:cancel_timer/1 doesn't guarantee
|
%% This might happen because misc:cancel_timer/1 doesn't guarantee
|
||||||
%% timer cancelation in the case when p1_server is used.
|
%% timer cancellation in the case when p1_server is used.
|
||||||
{stop, State};
|
{stop, State};
|
||||||
c2s_handle_info(State, _) ->
|
c2s_handle_info(State, _) ->
|
||||||
State.
|
State.
|
||||||
|
@ -76,7 +76,7 @@ init_per_group(Group, Config) ->
|
|||||||
%% All backends enabled
|
%% All backends enabled
|
||||||
do_init_per_group(Group, Config);
|
do_init_per_group(Group, Config);
|
||||||
Backends ->
|
Backends ->
|
||||||
%% Skipped backends that were not explicitely enabled
|
%% Skipped backends that were not explicitly enabled
|
||||||
case lists:member(Group, Backends) of
|
case lists:member(Group, Backends) of
|
||||||
true ->
|
true ->
|
||||||
do_init_per_group(Group, Config);
|
do_init_per_group(Group, Config);
|
||||||
|
@ -39,7 +39,7 @@ certs = $dir/certs # Where the issued certs are kept
|
|||||||
crl_dir = $dir/crl # Where the issued crl are kept
|
crl_dir = $dir/crl # Where the issued crl are kept
|
||||||
database = $dir/index.txt # database index file.
|
database = $dir/index.txt # database index file.
|
||||||
#unique_subject = no # Set to 'no' to allow creation of
|
#unique_subject = no # Set to 'no' to allow creation of
|
||||||
# several ctificates with same subject.
|
# several certificates with same subject.
|
||||||
new_certs_dir = $dir/newcerts # default place for new certs.
|
new_certs_dir = $dir/newcerts # default place for new certs.
|
||||||
|
|
||||||
certificate = $dir/cacert.pem # The CA certificate
|
certificate = $dir/cacert.pem # The CA certificate
|
||||||
@ -50,7 +50,7 @@ crl = $dir/crl.pem # The current CRL
|
|||||||
private_key = $dir/private/cakey.pem# The private key
|
private_key = $dir/private/cakey.pem# The private key
|
||||||
RANDFILE = $dir/private/.rand # private random number file
|
RANDFILE = $dir/private/.rand # private random number file
|
||||||
|
|
||||||
x509_extensions = usr_cert # The extentions to add to the cert
|
x509_extensions = usr_cert # The extensions to add to the cert
|
||||||
|
|
||||||
# Comment out the following two lines for the "traditional"
|
# Comment out the following two lines for the "traditional"
|
||||||
# (and highly broken) format.
|
# (and highly broken) format.
|
||||||
@ -102,7 +102,7 @@ default_bits = 1024
|
|||||||
default_keyfile = privkey.pem
|
default_keyfile = privkey.pem
|
||||||
distinguished_name = req_distinguished_name
|
distinguished_name = req_distinguished_name
|
||||||
attributes = req_attributes
|
attributes = req_attributes
|
||||||
x509_extensions = v3_ca # The extentions to add to the self signed cert
|
x509_extensions = v3_ca # The extensions to add to the self signed cert
|
||||||
|
|
||||||
# Passwords for private keys if not present they will be prompted for
|
# Passwords for private keys if not present they will be prompted for
|
||||||
# input_password = secret
|
# input_password = secret
|
||||||
|
@ -47,7 +47,7 @@ defmodule Ejabberd.ConfigTest do
|
|||||||
assert is_function(register_hook.fun)
|
assert is_function(register_hook.fun)
|
||||||
end
|
end
|
||||||
|
|
||||||
# TODO: When enalbed, this test causes the evaluation of a different config file, so
|
# TODO: When enabled, this test causes the evaluation of a different config file, so
|
||||||
# the other tests, that uses the store, are compromised because the data is different.
|
# the other tests, that uses the store, are compromised because the data is different.
|
||||||
# So, until a good way is found, this test should remain disabed.
|
# So, until a good way is found, this test should remain disabed.
|
||||||
#
|
#
|
||||||
|
@ -454,7 +454,7 @@ recv_archived_messages(Config, From, To, QID, Range) ->
|
|||||||
MyJID = my_jid(Config),
|
MyJID = my_jid(Config),
|
||||||
lists:foreach(
|
lists:foreach(
|
||||||
fun(N) ->
|
fun(N) ->
|
||||||
ct:comment("Retreiving ~pth message in range ~p",
|
ct:comment("Retrieving ~pth message in range ~p",
|
||||||
[N, Range]),
|
[N, Range]),
|
||||||
Body = xmpp:mk_text(integer_to_binary(N)),
|
Body = xmpp:mk_text(integer_to_binary(N)),
|
||||||
#message{to = MyJID,
|
#message{to = MyJID,
|
||||||
|
@ -191,7 +191,7 @@ service_disco_items(Config) ->
|
|||||||
|
|
||||||
service_vcard(Config) ->
|
service_vcard(Config) ->
|
||||||
MUC = muc_jid(Config),
|
MUC = muc_jid(Config),
|
||||||
ct:comment("Retreiving vCard from ~s", [jid:encode(MUC)]),
|
ct:comment("Retrieving vCard from ~s", [jid:encode(MUC)]),
|
||||||
VCard = mod_muc_opt:vcard(?config(server, Config)),
|
VCard = mod_muc_opt:vcard(?config(server, Config)),
|
||||||
#iq{type = result, sub_els = [VCard]} =
|
#iq{type = result, sub_els = [VCard]} =
|
||||||
send_recv(Config, #iq{type = get, to = MUC, sub_els = [#vcard_temp{}]}),
|
send_recv(Config, #iq{type = get, to = MUC, sub_els = [#vcard_temp{}]}),
|
||||||
@ -1474,7 +1474,7 @@ config_voice_request_interval_slave(Config) ->
|
|||||||
denied = get_event(Config),
|
denied = get_event(Config),
|
||||||
ct:comment("Requesting voice again"),
|
ct:comment("Requesting voice again"),
|
||||||
send(Config, #message{to = Room, sub_els = [X]}),
|
send(Config, #message{to = Room, sub_els = [X]}),
|
||||||
ct:comment("Receving voice request error because we're sending to fast"),
|
ct:comment("Receiving voice request error because we're sending to fast"),
|
||||||
#message{from = Room, type = error} = Err = recv_message(Config),
|
#message{from = Room, type = error} = Err = recv_message(Config),
|
||||||
#stanza_error{reason = 'resource-constraint'} = xmpp:get_error(Err),
|
#stanza_error{reason = 'resource-constraint'} = xmpp:get_error(Err),
|
||||||
ct:comment("Waiting for 5 seconds"),
|
ct:comment("Waiting for 5 seconds"),
|
||||||
@ -1872,7 +1872,7 @@ set_vcard(Config, VCard) ->
|
|||||||
|
|
||||||
get_vcard(Config) ->
|
get_vcard(Config) ->
|
||||||
Room = muc_room_jid(Config),
|
Room = muc_room_jid(Config),
|
||||||
ct:comment("Retreiving vCard from ~s", [jid:encode(Room)]),
|
ct:comment("Retrieving vCard from ~s", [jid:encode(Room)]),
|
||||||
case send_recv(Config, #iq{type = get, to = Room,
|
case send_recv(Config, #iq{type = get, to = Room,
|
||||||
sub_els = [#vcard_temp{}]}) of
|
sub_els = [#vcard_temp{}]}) of
|
||||||
#iq{type = result, sub_els = [VCard]} ->
|
#iq{type = result, sub_els = [VCard]} ->
|
||||||
|
@ -48,7 +48,7 @@ feature_enabled(Config) ->
|
|||||||
|
|
||||||
service_vcard(Config) ->
|
service_vcard(Config) ->
|
||||||
JID = proxy_jid(Config),
|
JID = proxy_jid(Config),
|
||||||
ct:comment("Retreiving vCard from ~s", [jid:encode(JID)]),
|
ct:comment("Retrieving vCard from ~s", [jid:encode(JID)]),
|
||||||
VCard = mod_proxy65_opt:vcard(?config(server, Config)),
|
VCard = mod_proxy65_opt:vcard(?config(server, Config)),
|
||||||
#iq{type = result, sub_els = [VCard]} =
|
#iq{type = result, sub_els = [VCard]} =
|
||||||
send_recv(Config, #iq{type = get, to = JID, sub_els = [#vcard_temp{}]}),
|
send_recv(Config, #iq{type = get, to = JID, sub_els = [#vcard_temp{}]}),
|
||||||
|
@ -87,7 +87,7 @@ test_features(Config) ->
|
|||||||
|
|
||||||
test_vcard(Config) ->
|
test_vcard(Config) ->
|
||||||
JID = pubsub_jid(Config),
|
JID = pubsub_jid(Config),
|
||||||
ct:comment("Retreiving vCard from ~s", [jid:encode(JID)]),
|
ct:comment("Retrieving vCard from ~s", [jid:encode(JID)]),
|
||||||
VCard = mod_pubsub_opt:vcard(?config(server, Config)),
|
VCard = mod_pubsub_opt:vcard(?config(server, Config)),
|
||||||
#iq{type = result, sub_els = [VCard]} =
|
#iq{type = result, sub_els = [VCard]} =
|
||||||
send_recv(Config, #iq{type = get, to = JID, sub_els = [#vcard_temp{}]}),
|
send_recv(Config, #iq{type = get, to = JID, sub_els = [#vcard_temp{}]}),
|
||||||
|
@ -55,7 +55,7 @@ feature_enabled(Config) ->
|
|||||||
|
|
||||||
service_vcard(Config) ->
|
service_vcard(Config) ->
|
||||||
Upload = upload_jid(Config),
|
Upload = upload_jid(Config),
|
||||||
ct:comment("Retreiving vCard from ~s", [jid:encode(Upload)]),
|
ct:comment("Retrieving vCard from ~s", [jid:encode(Upload)]),
|
||||||
VCard = mod_http_upload_opt:vcard(?config(server, Config)),
|
VCard = mod_http_upload_opt:vcard(?config(server, Config)),
|
||||||
#iq{type = result, sub_els = [VCard]} =
|
#iq{type = result, sub_els = [VCard]} =
|
||||||
send_recv(Config, #iq{type = get, to = Upload, sub_els = [#vcard_temp{}]}),
|
send_recv(Config, #iq{type = get, to = Upload, sub_els = [#vcard_temp{}]}),
|
||||||
|
@ -90,7 +90,7 @@ get_set(Config) ->
|
|||||||
|
|
||||||
service_vcard(Config) ->
|
service_vcard(Config) ->
|
||||||
JID = server_jid(Config),
|
JID = server_jid(Config),
|
||||||
ct:comment("Retreiving vCard from ~s", [jid:encode(JID)]),
|
ct:comment("Retrieving vCard from ~s", [jid:encode(JID)]),
|
||||||
VCard = mod_vcard_opt:vcard(?config(server, Config)),
|
VCard = mod_vcard_opt:vcard(?config(server, Config)),
|
||||||
#iq{type = result, sub_els = [VCard]} =
|
#iq{type = result, sub_els = [VCard]} =
|
||||||
send_recv(Config, #iq{type = get, to = JID, sub_els = [#vcard_temp{}]}),
|
send_recv(Config, #iq{type = get, to = JID, sub_els = [#vcard_temp{}]}),
|
||||||
|
@ -413,7 +413,7 @@ while (1) {
|
|||||||
my $cmd = show_commands($old_deps ? (U => "Update dependency") : (),
|
my $cmd = show_commands($old_deps ? (U => "Update dependency") : (),
|
||||||
$changed_deps ? (T => "Tag new release") : (),
|
$changed_deps ? (T => "Tag new release") : (),
|
||||||
@operations ? (A => "Apply changes") : (),
|
@operations ? (A => "Apply changes") : (),
|
||||||
R => "Refresh repositiories",
|
R => "Refresh repositories",
|
||||||
H => "What release to Hex",
|
H => "What release to Hex",
|
||||||
E => "Exit");
|
E => "Exit");
|
||||||
last if $cmd eq "E";
|
last if $cmd eq "E";
|
||||||
|
Loading…
Reference in New Issue
Block a user