Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Restore forgotten translations from previous commit | Evgeniy Khramtsov | 2018-06-20 | 5 | -6/+6 | |
| | ||||||
* | Update ejabberd.pot | Evgeniy Khramtsov | 2018-06-20 | 2 | -4/+5 | |
| | ||||||
* | Move mod_irc to ejabberd-contrib | Evgeniy Khramtsov | 2018-06-20 | 9 | -2469/+0 | |
| | ||||||
* | mod_push: Include a static body text by default | Holger Weiss | 2018-06-19 | 1 | -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 timeout | Holger Weiss | 2018-06-19 | 1 | -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 protocol | Paweł Chmielowski | 2018-06-19 | 1 | -5/+9 | |
| | ||||||
* | Render roomname, allowinvites and allowpm in room disco#info | Evgeniy Khramtsov | 2018-06-19 | 1 | -4/+16 | |
| | ||||||
* | mod_push_mnesia: Simplify record matching | Holger Weiss | 2018-06-18 | 1 | -8/+2 | |
| | | | | Omit record fields that aren't used for matching. | |||||
* | mod_push_mnesia: Fix lookup of all host sessions | Holger Weiss | 2018-06-18 | 1 | -2/+2 | |
| | ||||||
* | mod_mam: Don't replace existing stanza ID | Holger Weiss | 2018-06-16 | 1 | -0/+2 | |
| | | | | | Preserve the original stanza ID for resent messages. This avoids storing duplicates in the MAM archive. | |||||
* | New shaper implementation | Paweł Chmielowski | 2018-06-15 | 1 | -60/+59 | |
| | ||||||
* | Make connected_users_info and user_sessions_info DB-agnostic (#2448) | Badlop | 2018-06-15 | 2 | -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 spec | Evgeniy Khramtsov | 2018-06-14 | 1 | -1/+1 | |
| |