aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | mod_http_upload_quota: Fix process name lookupHolger Weiss2018-07-102-6/+5
| | | | | | | | | | | | Fix mod_http_upload_quota's process name lookup for the case where a slot is requested by a JID whose domain part is not the virtual host the mod_http_upload_quota process is running on.
* | Fix regression: list SASL EXTERNAL mechanism for inbound s2sEvgeniy Khramtsov2018-07-101-8/+1
|/
* mod_stream_mgmt: Remove dead case clausesHolger Weiss2018-07-101-6/+0
|
* mod_stream_mgmt: Add descriptive text to errorsHolger Weiss2018-07-101-2/+7
| | | | Closes #2485.
* Improve value formattingEvgeniy Khramtsov2018-07-091-1/+1
|
* Use ejabberd_config:get_version in ejabberdctl statusPaweł Chmielowski2018-07-091-2/+2
|
* Better format invalid values when logging themEvgeniy Khramtsov2018-07-083-11/+27
|
* Better detection of duplicated routes/hostsEvgeniy Khramtsov2018-07-089-24/+44
|
* Reload internal room's configuration when mod_muc is reloadedEvgeniy Khramtsov2018-07-084-8/+31
| | | | Fixes #2513
* fix HMAC for external_secretChristoph Scholz2018-07-071-1/+1
|
* Only lookup FQDN at configuration (re)loadingEvgeniy Khramtsov2018-07-061-1/+13
|
* Move XMPP stream and SASL processing to xmpp repoEvgeniy Khramtsov2018-07-0620-4535/+57
|
* Move move randoms module to p1_utils repoEvgeniy Khramtsov2018-07-0534-148/+57
|
* 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
|