Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | mod_http_upload_quota: Fix process name lookup | Holger Weiss | 2018-07-10 | 2 | -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 s2s | Evgeniy Khramtsov | 2018-07-10 | 1 | -8/+1 | |
|/ | ||||||
* | mod_stream_mgmt: Remove dead case clauses | Holger Weiss | 2018-07-10 | 1 | -6/+0 | |
| | ||||||
* | mod_stream_mgmt: Add descriptive text to errors | Holger Weiss | 2018-07-10 | 1 | -2/+7 | |
| | | | | Closes #2485. | |||||
* | Improve value formatting | Evgeniy Khramtsov | 2018-07-09 | 1 | -1/+1 | |
| | ||||||
* | Use ejabberd_config:get_version in ejabberdctl status | Paweł Chmielowski | 2018-07-09 | 1 | -2/+2 | |
| | ||||||
* | Better format invalid values when logging them | Evgeniy Khramtsov | 2018-07-08 | 3 | -11/+27 | |
| | ||||||
* | Better detection of duplicated routes/hosts | Evgeniy Khramtsov | 2018-07-08 | 9 | -24/+44 | |
| | ||||||
* | Reload internal room's configuration when mod_muc is reloaded | Evgeniy Khramtsov | 2018-07-08 | 4 | -8/+31 | |
| | | | | Fixes #2513 | |||||
* | fix HMAC for external_secret | Christoph Scholz | 2018-07-07 | 1 | -1/+1 | |
| | ||||||
* | Only lookup FQDN at configuration (re)loading | Evgeniy Khramtsov | 2018-07-06 | 1 | -1/+13 | |
| | ||||||
* | Move XMPP stream and SASL processing to xmpp repo | Evgeniy Khramtsov | 2018-07-06 | 20 | -4535/+57 | |
| | ||||||
* | Move move randoms module to p1_utils repo | Evgeniy Khramtsov | 2018-07-05 | 34 | -148/+57 | |
| | ||||||
* | Move shaper to p1_utils repo | Evgeniy Khramtsov | 2018-07-05 | 11 | -57/+38 | |
| | ||||||
* | Set 'from' attribute for client connections when it is absent | Evgeniy Khramtsov | 2018-07-04 | 1 | -1/+19 | |
| | ||||||
* | Don't set from/to attributes in resource binding iq | Evgeniy Khramtsov | 2018-07-04 | 1 | -4/+2 | |
| | ||||||
* | mod_http_upload: Treat file and network errors differently | Evgeniy Khramtsov | 2018-07-04 | 2 | -25/+31 | |
| | ||||||
* | Don't ignore send() result | Evgeniy Khramtsov | 2018-07-03 | 1 | -8/+13 | |
| | ||||||
* | Increase default buffer size for mod_proxy65 | Evgeniy Khramtsov | 2018-07-03 | 1 | -2/+2 | |
| | ||||||
* | HTTP Upload: introduce new option 'external_secret' | Evgeniy Khramtsov | 2018-07-02 | 1 | -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 file | Evgeniy Khramtsov | 2018-07-01 | 1 | -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 errors | Evgeniy Khramtsov | 2018-07-01 | 2 | -2/+9 | |
| | ||||||
* | Accept IP address as a return value from resolve/2 callback | Evgeniy Khramtsov | 2018-06-30 | 1 | -29/+29 | |
| | ||||||
* | Replace hardcoded disco features with macros | Evgeniy Khramtsov | 2018-06-29 | 1 | -1/+1 | |
| | ||||||
* | Fix misc:try_url for erlang < R20 | Paweł Chmielowski | 2018-06-29 | 1 | -1/+5 | |
| | ||||||
* | Support both filenames and URLs in 'cssfile' option of mod_muc_log | Evgeniy Khramtsov | 2018-06-29 | 1 | -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 validation | Evgeniy Khramtsov | 2018-06-29 | 4 | -14/+29 | |
| | ||||||
* | HTTP Upload: increase gen_server call timeout | Evgeniy Khramtsov | 2018-06-29 | 1 | -3/+4 | |
| | ||||||
* | HTTP Upload: put more info in log messages | Evgeniy Khramtsov | 2018-06-29 | 1 | -8/+8 | |
| | ||||||
* | Avoid code duplication when checking presence subscription | Evgeniy Khramtsov | 2018-06-28 | 3 | -32/+24 | |
| | ||||||
* | Work-around against public_key incompatibility introduced in OTP21 | Evgeniy Khramtsov | 2018-06-27 | 1 | -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 self | Evgeniy Khramtsov | 2018-06-27 | 1 | -1/+4 | |
| | ||||||
* | Use lists:foldl/3 | Evgeniy Khramtsov | 2018-06-27 | 1 | -7/+6 | |
| | ||||||
* | Generate HTTP Upload form using xdata codec | Evgeniy Khramtsov | 2018-06-27 | 1 | -9/+3 | |
| | ||||||
* | Do not ignore a certificate containing no domain names | Evgeniy Khramtsov | 2018-06-27 | 1 | -9/+16 | |
| | | | | Log a warning instead and assign it to an "empty" domain | |||||
* | Don't replace valid certificates with invalid ones | Evgeniy Khramtsov | 2018-06-27 | 1 | -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_upload | Evgeniy Khramtsov | 2018-06-26 | 1 | -9/+22 | |
| | ||||||
* | Support SASL PLAIN by xmpp_stream_out | Evgeniy Khramtsov | 2018-06-25 | 1 | -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_out | Evgeniy Khramtsov | 2018-06-25 | 2 | -3/+3 | |
| | ||||||
* | Introduce resolve/2 and connect_options/3 callbacks for xmpp_stream_out | Evgeniy Khramtsov | 2018-06-25 | 1 | -33/+64 | |
| | ||||||
* | Allow gen_server process registration | Evgeniy Khramtsov | 2018-06-25 | 1 | -0/+4 | |
| | ||||||
* | Allow reconnecting from disconnected state | Evgeniy Khramtsov | 2018-06-25 | 1 | -0/+11 | |
| | ||||||
* | Intercept EXIT signal | Evgeniy Khramtsov | 2018-06-25 | 1 | -0/+2 | |
| | ||||||
* | Add Resource Binding support to xmpp_stream_out | Evgeniy Khramtsov | 2018-06-25 | 1 | -5/+70 | |
| | ||||||
* | Don't use 'unsupported-version' inside SM <failed/> element | Evgeniy Khramtsov | 2018-06-25 | 1 | -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 library | Evgeniy Khramtsov | 2018-06-25 | 3 | -64/+10 | |
| | ||||||
* | Generate SASL failures on unencrypted connections only for s2s | Evgeniy Khramtsov | 2018-06-23 | 1 | -3/+3 | |
| | ||||||
* | Fix typo | Evgeniy Khramtsov | 2018-06-21 | 1 | -1/+1 | |
| | ||||||
* | Add new options for OOM watchdog | Evgeniy Khramtsov | 2018-06-21 | 2 | -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_offline | Paweł Chmielowski | 2018-06-20 | 1 | -2/+2 | |
| |