| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/
|
|
|
| |
Let mod_muc support floating point values for "min_message_interval" and
"min_presence_interval", as documented in the guide.
|
|\
| |
| | |
Fix sending of last published PEP items to newly-available resources
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When a remote subscriber becomes available, send him the last published
PEP items, as we do for local subscribers.
However, the current implementation depends on a running ejabberd_c2s
process of the publisher to send items to remote subscribers. So, for
those, the behavior is always like it is for local subscribers when
"ignore_pep_from_offline" is set to "true".
|
| |
| |
| |
| |
| | |
When a client becomes available, don't send the last published PEP items
of all his peers to all his other peers, but only to that client.
|
| |
| |
| |
| | |
This doesn't change the behavior, but avoids some code duplication.
|
| |
| |
| |
| |
| |
| | |
A while back, mod_pubsub was modified to address EJAB-1456. However,
the change was only partially applied to mod_pubsub_odbc. This commit
adds the remaining part.
|
|/ |
|
| |
|
|\
| |
| | |
New option: disable_sasl_mechanisms
|
| |
| |
| |
| |
| |
| |
| | |
The new "disable_sasl_mechanisms" option allows for restricting the list
of SASL mechanisms offered to the client.
Closes #339.
|
|/
|
|
|
|
|
|
| |
When multiple resources have the same (highest) priority, the session
manager routes messages sent to their bare JID to each of these
resources. When another resource has a lower priority but receives
carbon copies, make sure it won't receive multiple copies of such
messages.
|
|\
| |
| | |
Return an empty <vCard/> element in an IQ-result when no vCard exists.
|
| |
| |
| |
| |
| |
| |
| |
| | |
According to XEP-0054, if no vCard exists, the server MUST return a stanza
error (which SHOULD be <item-not-found/>) or an IQ-result containing an
empty <vCard/> element.
Signed-off-by: Gu Feng <flygoast@126.com>
|
| | |
|
|\ \ |
|
| |/ |
|
|/
|
|
| |
This reverts commit 436f0832c1d7cdd98c6629977d41700e5aa7e589.
|
|
|
|
|
|
| |
If "starttls_required: true" is specified for c2s connections,
authentication mechanisms shouldn't be offered before negotiating the
TLS connection.
|
|\
| |
| | |
Use 'request' record definition from header file
|
| |
| |
| |
| | |
This fixes a 'badrecord' crash in mod_http_fileserver.
|
| | |
|
|/
|
|
|
|
| |
Terminate the ejabberd_c2s process immediately once stanza queue
overflow is detected. This makes sure the FSM won't process additional
stanzas before terminating if the recipient is flooded.
|
| |
|
|
|
|
|
| |
Don't allow clients to circumvent the "starttls_required" option by
enabling XMPP stream compression.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Don't offer the CSI stream feature when mod_client_state isn't actually
configured to filter stanzas. This makes sure clients won't send CSI
tags that end up being ignored.
|
|
|
|
|
| |
The c2s_post_auth_features hook can be used to extend the list of stream
features offered after authentication.
|
|
|
|
|
| |
Invisible presence isn't supported anymore, so the corresponding
ejabberd_c2s #state fields were unused.
|
|
|
|
|
|
| |
The "ldap_deref_aliases" option has accidentally been renamed to
"deref_aliases". Revert that change (but accept both names for a
while), so that the option name now matches the documentation again.
|
|
|
|
|
|
|
| |
If "resend_on_timeout" is set to "if_offline", resend unacknowledged
stanzas only if no other resource is online when the session times out.
In other words, allow for sending them to offline storage, but nowhere
else.
|
| |
|
|\
| |
| | |
XEP-0198: Remove unused function clause
|
| |
| |
| |
| |
| | |
In the 'wait_for_resume' state, #state.mgmt_pending_since is always
initialized. fsm_next_state/2 takes care of that.
|
| |
| |
| |
| |
| |
| |
| |
| | |
When Stream Management is enabled and a gen_tcp:send/2 call fails, go
into the 'wait_for_resume' state immediately. This makes sure that
gen_tcp:send/2 won't be called again, which might avoid an Erlang issue
where gen_tcp:send/2 apparently hangs despite 'send_timeout' (and
'send_timeout_close') being set.
|
|/
|
|
| |
Don't force the fsm_next_state/2 caller to check for 'mgmt_timeout = 0'.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
compatible with mod_admin_extra.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Make sure persistent rooms are stored to the database. Without this
change, a room got lost if the 'persistent' flag was handed over to
mod_muc:create_room/5 and the server was then restartet before any
activity took place in that room.
|