aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Support floating point message/presence intervalsHolger Weiss2014-11-151-11/+13
|/ | | | | Let mod_muc support floating point values for "min_message_interval" and "min_presence_interval", as documented in the guide.
* Merge pull request #345 from weiss/last-pep-itemsEvgeny Khramtsov2014-11-144-53/+114
|\ | | | | Fix sending of last published PEP items to newly-available resources
| * Send last PEP items to remote subscribersHolger Weiss2014-11-142-16/+34
| | | | | | | | | | | | | | | | | | | | 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".
| * Don't broadcast last published PEP itemsHolger Weiss2014-11-144-11/+57
| | | | | | | | | | 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.
| * Move routing of last PEP items into new functionHolger Weiss2014-11-142-65/+50
| | | | | | | | This doesn't change the behavior, but avoids some code duplication.
| * ODBC: Sync last item notifications with mod_pubsubHolger Weiss2014-11-141-2/+14
| | | | | | | | | | | | 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.
* | Use correct type for initial c2s #state.user valueHolger Weiss2014-11-141-1/+1
|/
* Fix kick_user commandMatthias Rieber2014-11-101-1/+1
|
* Merge pull request #340 from weiss/disable-mechanismsEvgeny Khramtsov2014-11-101-3/+25
|\ | | | | New option: disable_sasl_mechanisms
| * New option: disable_sasl_mechanismsHolger Weiss2014-11-101-3/+25
| | | | | | | | | | | | | | The new "disable_sasl_mechanisms" option allows for restricting the list of SASL mechanisms offered to the client. Closes #339.
* | Avoid duplicates of carbon copiesHolger Weiss2014-11-051-6/+14
|/ | | | | | | | 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.
* Merge pull request #328 from flygoast/masterEvgeny Khramtsov2014-10-291-0/+5
|\ | | | | Return an empty <vCard/> element in an IQ-result when no vCard exists.
| * Return an empty <vCard/> element in an IQ-result when no vCard exists.Gu Feng2014-10-251-0/+5
| | | | | | | | | | | | | | | | 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>
* | Add new option: store_empty_bodyEvgeniy Khramtsov2014-10-271-4/+19
| |
* | Merge branch 'master' of github.com:processone/ejabberdEvgeniy Khramtsov2014-10-271-1/+6
|\ \
| * | Accept trailing whitespace in Base64 stringsHolger Weiss2014-10-251-1/+6
| |/
* / Revert "fix mod_offline to store only chat messages with body xml element"Evgeniy Khramtsov2014-10-271-2/+1
|/ | | | This reverts commit 436f0832c1d7cdd98c6629977d41700e5aa7e589.
* Don't advertise auth mechanisms too earlyHolger Weiss2014-10-231-13/+19
| | | | | | If "starttls_required: true" is specified for c2s connections, authentication mechanisms shouldn't be offered before negotiating the TLS connection.
* Merge pull request #321 from weiss/fix-http-request-recordEvgeny Khramtsov2014-10-211-6/+1
|\ | | | | Use 'request' record definition from header file
| * Use 'request' record definition from header fileHolger Weiss2014-10-161-6/+1
| | | | | | | | This fixes a 'badrecord' crash in mod_http_fileserver.
* | fix odbc keepalive interval bugliudan2014-10-211-1/+1
| |
* | XEP-0198: Abort immediately on queue overflowHolger Weiss2014-10-171-7/+13
|/ | | | | | 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.
* XEP-0198: Set #state.conn field on session resumeHolger Weiss2014-10-121-1/+2
|
* Make sure "starttls_required" can't be bypassedHolger Weiss2014-10-121-2/+2
| | | | | Don't allow clients to circumvent the "starttls_required" option by enabling XMPP stream compression.
* Fix list unblocking when Riak is used as a backendEvgeniy Khramtsov2014-10-101-1/+2
|
* Fix format of an XML-RPC responseEvgeniy Khramtsov2014-10-041-1/+1
|
* Switch to P1 implementation of XML-RPCEvgeniy Khramtsov2014-10-041-10/+18
|
* Process XML-RPC requests via p1_xml and ejabberd_httpEvgeniy Khramtsov2014-10-043-28/+44
|
* Make directory creation more robustEvgeniy Khramtsov2014-10-021-10/+1
|
* Offer CSI stream feature only if configuredHolger Weiss2014-09-252-14/+23
| | | | | | 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.
* Add new hook: c2s_post_auth_featuresHolger Weiss2014-09-251-0/+2
| | | | | The c2s_post_auth_features hook can be used to extend the list of stream features offered after authentication.
* Remove invisible presence fields from c2s #stateHolger Weiss2014-09-251-35/+9
| | | | | Invisible presence isn't supported anymore, so the corresponding ejabberd_c2s #state fields were unused.
* Rename deref_aliases back to ldap_deref_aliasesHolger Weiss2014-09-231-7/+22
| | | | | | 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.
* XEP-0198: Support "resend_on_timeout: if_offline"Holger Weiss2014-09-161-2/+14
| | | | | | | 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.
* Support XEP-0352: Client State IndicationHolger Weiss2014-09-112-8/+184
|
* Merge pull request #296 from weiss/remove-unused-clauseEvgeny Khramtsov2014-09-071-5/+0
|\ | | | | XEP-0198: Remove unused function clause
| * XEP-0198: Remove unused function clauseHolger Weiss2014-09-061-5/+0
| | | | | | | | | | In the 'wait_for_resume' state, #state.mgmt_pending_since is always initialized. fsm_next_state/2 takes care of that.
* | XEP-0198: Change state on gen_tcp:send/2 failureHolger Weiss2014-09-061-5/+13
| | | | | | | | | | | | | | | | 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.
* | XEP-0198: Let fsm_next_state/2 check timeout valueHolger Weiss2014-09-061-5/+4
|/ | | | Don't force the fsm_next_state/2 caller to check for 'mgmt_timeout = 0'.
* Make sure x:data form possesses 'type' attributeEvgeniy Khramtsov2014-09-031-1/+2
|
* Fix privacy checks of presence probesEvgeniy Khramtsov2014-09-011-1/+1
|
* Automatically remove IPs from ban, add the documentationEvgeniy Khramtsov2014-08-273-69/+192
|
* Remove useless -include()Evgeniy Khramtsov2014-08-271-2/+0
|
* Ban the IP if there are too many failed authenticationsEvgeniy Khramtsov2014-08-271-26/+21
|
* Add mod_fail2banEvgeniy Khramtsov2014-08-272-25/+107
|
* Fix a comment in ejabberd_hooksHolger Weiss2014-08-261-1/+1
|
* Fix return value of mod_shared_roster:delete_group. Current one is not ↵vesvalo2014-08-211-1/+4
| | | | compatible with mod_admin_extra.
* fix 404 on pep first publishing with odbcvesvalo2014-08-211-1/+1
|
* Allow for "max_ack_queue: infinity", as documentedHolger Weiss2014-08-201-3/+2
|
* Store persistent MUC room during creationHolger Weiss2014-08-191-0/+7
| | | | | | | 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.