aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Generate HTTP Upload form using xdata codecEvgeniy Khramtsov2018-06-272-10/+4
|
* Do not ignore a certificate containing no domain namesEvgeniy Khramtsov2018-06-271-9/+16
| | | | Log a warning instead and assign it to an "empty" domain
* Don't replace valid certificates with invalid onesEvgeniy Khramtsov2018-06-271-37/+88
| | | | | | | | | | | When building the certificates chains, if several certificates are found matching the same domain their validity is checked: * the invalid one is ignored and the valid one is picked * if both are valid or both are invalid, then the one with sooner expiration is ignored. Fixes #2454
* Improve error formatting in mod_http_uploadEvgeniy Khramtsov2018-06-261-9/+22
|
* Support SASL PLAIN by xmpp_stream_outEvgeniy Khramtsov2018-06-251-55/+140
| | | | | | | | | Also, SASL mechanisms chaining is now supported: if several mechanisms are supported and authentication fails, next mechanism in the list is picked, until the list is exhausted. In the case of a failure, the latest SASL failure reason is returned within handle_auth_failure/3 callback.
* Don't pass sockmod to xmpp_stream_outEvgeniy Khramtsov2018-06-252-3/+3
|
* Introduce resolve/2 and connect_options/3 callbacks for xmpp_stream_outEvgeniy Khramtsov2018-06-251-33/+64
|
* Allow gen_server process registrationEvgeniy Khramtsov2018-06-251-0/+4
|
* Allow reconnecting from disconnected stateEvgeniy Khramtsov2018-06-251-0/+11
|
* Intercept EXIT signalEvgeniy Khramtsov2018-06-251-0/+2
|
* Add Resource Binding support to xmpp_stream_outEvgeniy Khramtsov2018-06-251-5/+70
|
* Don't use 'unsupported-version' inside SM <failed/> elementEvgeniy Khramtsov2018-06-251-4/+9
| | | | | | | | This error condition is defined within stream errors, however, XEP-0198 says: > This element SHOULD contain an error condition, which MUST > be one of the **stanza** error conditions defined in RFC 6120.
* Use error formatting functions from xmpp libraryEvgeniy Khramtsov2018-06-254-65/+11
|
* Generate SASL failures on unencrypted connections only for s2sEvgeniy Khramtsov2018-06-231-3/+3
|
* Fix Erlang limits in ejabberdctl.cfg.example to reflect current situationEvgeniy Khramtsov2018-06-231-6/+6
|
* Fix typoEvgeniy Khramtsov2018-06-211-1/+1
|
* Add new options for OOM watchdogEvgeniy Khramtsov2018-06-212-8/+22
| | | | | | | | | | | | | | | | | | * oom_watermark: 1..100 Start OOM watchdog only when system memory usage exceeds this value in percents. When the usage drops below the value, OOM watchdog is stopped. The default is 80 (percents). Note that once OOM watchdog is started, it performs full garbage collection periodically: this can be seen as spikes in CPU utilization and drops in RAM usage. If your system is permanently above the watermark, it may cause significant CPU overhead. * oom_queue: positive integer Only trigger OOM killer when total amount of messages in all queues of all Erlang processes is above this value. The default is 10000. Note that this value only takes effect when `oom_killer` is set to `true` (this is the default). Otherwise, only a warning will be logged.
* Guard against pres_last=undefined in mod_offlinePaweł Chmielowski2018-06-201-2/+2
|
* Remove lowercased duplicates from ejabberd.potEvgeniy Khramtsov2018-06-202-15/+5
|
* Restore forgotten translations from previous commitEvgeniy Khramtsov2018-06-206-6/+30
|
* Update ejabberd.potEvgeniy Khramtsov2018-06-205-729/+1178
|
* Move mod_irc to ejabberd-contribEvgeniy Khramtsov2018-06-2029-2594/+7
|
* Omit summary form for push testsHolger Weiss2018-06-201-2/+7
|
* mod_push: Include a static body text by defaultHolger Weiss2018-06-191-1/+1
| | | | | | | Set the 'include_body' option to a static text by default. Some app servers check for the presence of a 'last-message-body' field to distinguish between notifications generated for actual chat messages and notifications triggered by other types of traffic.
* mod_push_keepalive: Increase default timeoutHolger Weiss2018-06-191-1/+1
| | | | | Set the default session timeout to three days. This way, sessions will survive a weekend without traffic, for example.
* Fix reset_stream in websocket using pre-rfc protocolPaweł Chmielowski2018-06-191-5/+9
|
* Render roomname, allowinvites and allowpm in room disco#infoEvgeniy Khramtsov2018-06-192-5/+17
|
* mod_push_mnesia: Simplify record matchingHolger Weiss2018-06-181-8/+2
| | | | Omit record fields that aren't used for matching.
* mod_push_mnesia: Fix lookup of all host sessionsHolger Weiss2018-06-181-2/+2
|
* mod_mam: Don't replace existing stanza IDHolger Weiss2018-06-161-0/+2
| | | | | Preserve the original stanza ID for resent messages. This avoids storing duplicates in the MAM archive.
* New shaper implementationPaweł Chmielowski2018-06-151-60/+59
|
* Make connected_users_info and user_sessions_info DB-agnostic (#2448)Badlop2018-06-152-69/+47
| | | | | | | The result returned by connected_users_info command has changed, and is now similar to the result of user_sessions_info. Notice that num_active_users and process_rosteritems still require Mnesia.
* Improve type specEvgeniy Khramtsov2018-06-141-1/+1
|
* Get rid of all calls to jlib.erl moduleEvgeniy Khramtsov2018-06-141-25/+5
|
* Update mod_muc_room.hrlEvgeniy Khramtsov2018-06-141-9/+7
|
* Get rid of jlib.hrl/jlib.erlEvgeniy Khramtsov2018-06-149-1571/+4
|
* Do not check for deprecated typesEvgeniy Khramtsov2018-06-1411-77/+16
| | | | | Since we support only Erlang >= OTP-17.5, the check for old-style dict/queue/etc types is no longer needed
* Get rid of ejabberd.hrl reference from the test suiteEvgeniy Khramtsov2018-06-141-1/+0
|
* Get rid of ejabberd.hrl headerEvgeniy Khramtsov2018-06-14148-409/+283
| | | | | | | | | The header consisted of too many unrelated stuff and macros misuse. Some stuff is moved into scram.hrl and type_compat.hrl. All macros have been replaced with the corresponding function calls. TODO: probably type_compat.hrl is not even needed anymore since we support only Erlang >= OTP 17.5
* Log modules startupEvgeniy Khramtsov2018-06-141-4/+13
|
* mod_push: Omit summary for outgoing messagesHolger Weiss2018-06-132-28/+54
| | | | | | | | Don't include a urn:xmpp:push:summary form in push notifications that are triggered by outgoing messages. App servers might use the form fields to generate user-visible notifications directly (as opposed to just waking the client app). This is usually not desired for outgoing messages.
* Advertise disco#info and disco#items features in mod_discoEvgeniy Khramtsov2018-06-133-6/+12
| | | | Fixes #2470
* mod_push: Further improve handling of carbonsHolger Weiss2018-06-131-2/+3
| | | | | Also check for carbon-copied messages (with a body) in the queue of unacknowledged stanzas.
* mod_push: Also include sender/body for carbonsHolger Weiss2018-06-121-1/+1
| | | | | | If the 'include_sender' and/or 'include_body' options are specified, also include a urn:xmpp:push:summary form in push notifications that are generated for carbon-copied messages (with a body).
* Update mix depsChristophe Romain2018-06-112-10/+9
|
* Avoid lager crash on external authentication failureEvgeniy Khramtsov2018-06-082-3/+3
| | | | Fixes #2463
* Increase start-up/stop timeout in systemd unitHolger Weiss2018-06-071-0/+1
| | | | | On slow systems, it can take quite a while for "ejabberdctl started" and/or "ejabberdctl stopped" to return.
* Add ability to modify version stringPaweł Chmielowski2018-06-071-3/+10
|
* Merge pull request #2460 from imShara/patch-1Evgeny Khramtsov2018-06-061-1/+2
|\ | | | | OMEMO enable HOWTO added
| * OMEMO enable HOWTO addedimShara2018-06-061-1/+2
|/ | | Depend on #2425