aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Move shaper to p1_utils repoEvgeniy Khramtsov2018-07-0511-57/+38
|
* Set 'from' attribute for client connections when it is absentEvgeniy Khramtsov2018-07-041-1/+19
|
* Don't set from/to attributes in resource binding iqEvgeniy Khramtsov2018-07-041-4/+2
|
* mod_http_upload: Treat file and network errors differentlyEvgeniy Khramtsov2018-07-042-25/+31
|
* Don't ignore send() resultEvgeniy Khramtsov2018-07-031-8/+13
|
* Increase default buffer size for mod_proxy65Evgeniy Khramtsov2018-07-031-2/+2
|
* HTTP Upload: introduce new option 'external_secret'Evgeniy Khramtsov2018-07-021-16/+34
| | | | | | | | | | | | | | | | The option makes it possible to offload all HTTP Upload processing to a separate HTTP server. Both ejabberd and the HTTP server should share this secret and behave exactly as described at at https://modules.prosody.im/mod_http_upload_external.html in the 'Implementation' section. Example configuration: modules: ... mod_http_upload: ... put_url: "http://separate.http.server/upload" external_secret: "foo bar baz" ...
* Simplify the default configuration fileEvgeniy Khramtsov2018-07-011-0/+11
| | | | | | | | | | | | | | | After some discussion with the community it was decided to clean the configuration file from excessive comments and explicitly configured default values. Also, mod_mam and mod_http_upload have been added. The rationale for this is to have a clean and not bloated configuration file which doesn't scare away newcomers and which has all features from the Compliance Suite 2018 (XEP-0387) enabled by default. For further configuration an admin is encouraged to read the documentation at https://docs.ejabberd.im/admin/configuration
* Don't crash on most common gen_server:call errorsEvgeniy Khramtsov2018-07-012-2/+9
|
* Accept IP address as a return value from resolve/2 callbackEvgeniy Khramtsov2018-06-301-29/+29
|
* Replace hardcoded disco features with macrosEvgeniy Khramtsov2018-06-291-1/+1
|
* Fix misc:try_url for erlang < R20Paweł Chmielowski2018-06-291-1/+5
|
* Support both filenames and URLs in 'cssfile' option of mod_muc_logEvgeniy Khramtsov2018-06-291-7/+11
| | | | | If filename is provided, its content is inserted into the HTML page. If URL is provided, it's used as a value of 'href' HTML attribute.
* Improve URLs validationEvgeniy Khramtsov2018-06-294-14/+29
|
* HTTP Upload: increase gen_server call timeoutEvgeniy Khramtsov2018-06-291-3/+4
|
* HTTP Upload: put more info in log messagesEvgeniy Khramtsov2018-06-291-8/+8
|
* Avoid code duplication when checking presence subscriptionEvgeniy Khramtsov2018-06-283-32/+24
|
* Work-around against public_key incompatibility introduced in OTP21Evgeniy Khramtsov2018-06-271-51/+67
| | | | | | | | | The commit introduced the incompatility is https://github.com/erlang/otp/commit/304dd8f81e28ed04cde9f6f7ac1f79870da1c2cd Thanks to Stu Tomlinson for spotting the issue. Fixes #2488
* Don't check packets sent to selfEvgeniy Khramtsov2018-06-271-1/+4
|
* Use lists:foldl/3Evgeniy Khramtsov2018-06-271-7/+6
|
* Generate HTTP Upload form using xdata codecEvgeniy Khramtsov2018-06-271-9/+3
|
* 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-253-64/+10
|
* Generate SASL failures on unencrypted connections only for s2sEvgeniy Khramtsov2018-06-231-3/+3
|
* 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
|
* Restore forgotten translations from previous commitEvgeniy Khramtsov2018-06-205-6/+6
|
* Update ejabberd.potEvgeniy Khramtsov2018-06-202-4/+5
|
* Move mod_irc to ejabberd-contribEvgeniy Khramtsov2018-06-209-2469/+0
|
* 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-191-4/+16
|
* 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
|