Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Get rid of all calls to jlib.erl module | Evgeniy Khramtsov | 2018-06-14 | 1 | -25/+5 |
| | |||||
* | Get rid of jlib.hrl/jlib.erl | Evgeniy Khramtsov | 2018-06-14 | 1 | -1002/+0 |
| | |||||
* | Do not check for deprecated types | Evgeniy Khramtsov | 2018-06-14 | 6 | -21/+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 header | Evgeniy Khramtsov | 2018-06-14 | 143 | -368/+250 |
| | | | | | | | | | 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 startup | Evgeniy Khramtsov | 2018-06-14 | 1 | -4/+13 |
| | |||||
* | mod_push: Omit summary for outgoing messages | Holger Weiss | 2018-06-13 | 2 | -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_disco | Evgeniy Khramtsov | 2018-06-13 | 3 | -6/+12 |
| | | | | Fixes #2470 | ||||
* | mod_push: Further improve handling of carbons | Holger Weiss | 2018-06-13 | 1 | -2/+3 |
| | | | | | Also check for carbon-copied messages (with a body) in the queue of unacknowledged stanzas. | ||||
* | mod_push: Also include sender/body for carbons | Holger Weiss | 2018-06-12 | 1 | -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). | ||||
* | Avoid lager crash on external authentication failure | Evgeniy Khramtsov | 2018-06-08 | 2 | -3/+3 |
| | | | | Fixes #2463 | ||||
* | Add ability to modify version string | Paweł Chmielowski | 2018-06-07 | 1 | -3/+10 |
| | |||||
* | Omit 'xmlns' field from 'feature_csi' record | Holger Weiss | 2018-06-04 | 1 | -1/+1 |
| | | | | | The 'xmpp' library has been updated to omit the 'xmlns' field from the 'feature_csi' record. | ||||
* | Return detailed error if HTTP upload is too large | Holger Weiss | 2018-06-04 | 1 | -8/+16 |
| | | | | | If the file size specified in an HTTP upload slot request exceeds the the configured maximum size, include the limit with the stanza error. | ||||
* | Also format gracefully errors returned during module reload | Evgeniy Khramtsov | 2018-06-03 | 1 | -25/+29 |
| | |||||
* | Fix problem in commit 548ef7b835fbf2ad965bb4bb3a6f4e4905717002 | Paweł Chmielowski | 2018-06-01 | 1 | -1/+1 |
| | |||||
* | Don't crash in bosh when we receive request with RID < prev_rid | Paweł Chmielowski | 2018-06-01 | 1 | -9/+10 |
| | |||||
* | Always display room's xdata in disco#info | Evgeniy Khramtsov | 2018-06-01 | 1 | -6/+12 |
| | |||||
* | Display muc#roomconfig_changesubject in room's disco#info | Evgeniy Khramtsov | 2018-06-01 | 1 | -0/+1 |
| | | | | Fixes #2449 | ||||
* | Send trailer and close socket explicitly on stream end | Evgeniy Khramtsov | 2018-06-01 | 1 | -2/+1 |
| | |||||
* | Improve indentation | Evgeniy Khramtsov | 2018-05-30 | 1 | -12/+12 |
| | |||||
* | Merge remote-tracking branch 'processone/pr/2446' | Holger Weiss | 2018-05-30 | 1 | -10/+13 |
|\ | | | | | | | | | * processone/pr/2446: Fix authentication for usernames containing uppercase characters | ||||
| * | Fix authentication for usernames containing uppercase characters | Stu Tomlinson | 2018-05-30 | 1 | -10/+13 |
| | | | | | | | | | | | | | | Applies to authentication methods that compare User (normalized) and AuthzId (was not being normalized). These are external, ldap & pam. Fixes #2280 | ||||
* | | Get rid of direct calls to 'session' Mnesia table | Evgeniy Khramtsov | 2018-05-30 | 2 | -33/+21 |
|/ | | | | Fixes #2439 | ||||
* | Support for roomconfig_lang/roominfo_lang | Evgeniy Khramtsov | 2018-05-30 | 2 | -3/+13 |
| | | | | | | | | | | | Now room owners are able to set a preferred language for the discussions in the room, so other users can discover rooms based on the language they wish to talk. TODO: the language format should conform to RFC 5646. This check should be implemented in 'xmpp' library. Fixes #2436 | ||||
* | Use 'list-multi' type for XEP-0157 xdata fields | Evgeniy Khramtsov | 2018-05-29 | 1 | -1/+3 |
| | | | | Thanks to Jonas Wielicki for spotting this | ||||
* | Better report errors of module startup | Evgeniy Khramtsov | 2018-05-28 | 1 | -19/+38 |
| | |||||
* | Don't call Mod:function() in xmpp_stream callbacks | Evgeniy Khramtsov | 2018-05-26 | 2 | -190/+247 |
| | | | | | | If a callback function is not defined by the `Mod` then a call to code_server process is performed. Under heavy load this may cause code_server to get overloaded. We now avoid this. | ||||
* | mod_muc_sql: Fix export to SQL | Holger Weiss | 2018-05-24 | 1 | -2/+2 |
| | | | | The "host" column is supposed to hold the MUC host name. | ||||
* | mod_push_mnesia: Apply cosmetic changes | Holger Weiss | 2018-05-23 | 1 | -17/+15 |
| | | | | Improve the readability of the 'max_user_sessions' check. | ||||
* | mod_push_sql: Check 'max_user_sessions' limit | Holger Weiss | 2018-05-23 | 1 | -0/+20 |
| | | | | | Remove the oldest push session(s) of a user if the number of enabled sessions exceeds the 'max_user_sessions' limit. | ||||
* | Handle "Expect: 100-continue" request header in ejabberd_http | Paweł Chmielowski | 2018-05-23 | 1 | -0/+7 |
| | |||||
* | Export ext_mod:add_sources/1 | Rogério da Silva Yokomizo | 2018-05-22 | 1 | -1/+1 |
| | |||||
* | Correctly calculate remaining bytes on file upload | Evgeniy Khramtsov | 2018-05-19 | 1 | -1/+1 |
| | |||||
* | Add support for REST API custom headers | Christophe Romain | 2018-05-17 | 1 | -10/+29 |
| | | | | | | ext_api_headers can be defined as a single string. Headers are separated by comma. Definition MUST NOT contain spaces. Example "X-MyHead:test,X-Token:082748" | ||||
* | Fix typo file:read() -> file:open() | Evgeniy Khramtsov | 2018-05-17 | 1 | -1/+1 |
| | |||||
* | Clean state between requests in ejabberd_http | Paweł Chmielowski | 2018-05-15 | 1 | -1/+1 |
| | |||||
* | Optimize HTTP requests memory usage | Evgeniy Khramtsov | 2018-05-14 | 5 | -193/+261 |
| | | | | | | | | | | | | | | | Due to historical reasons, ejabberd loads the whole file/data into the memory when serving an HTTP request. This is now improved: 1) For GET requests ejabberd uses sendfile(2) if the underlying connection is HTTP and falls back to read/write loop with 64kb buffer for HTTPS connections. This type of requests are handled by mod_http_fileserver, mod_http_upload, ejabberd_captcha, etc 2) POST requests are now limited to 20Mb and are fully downloaded into the memory for further processing (by ejabberd_web_admin, mod_bosh, etc) 3) PUT requests (e.g. for mod_http_upload) are handled by read/write loop with 64kb buffer |