Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Omit 'xmlns' field from 'feature_csi' record | Holger Weiss | 2018-06-04 | 2 | -2/+2 |
| | | | | | 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 | 3 | -12/+23 |
| | | | | | 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 | 2 | -1/+2 |
| | | | | 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 | ||||
* | Bump xmpp version in order to support language tags validation | Evgeniy Khramtsov | 2018-05-30 | 1 | -1/+1 |
| | |||||
* | Support for roomconfig_lang/roominfo_lang | Evgeniy Khramtsov | 2018-05-30 | 3 | -4/+15 |
| | | | | | | | | | | | 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 | ||||
* | Merge pull request #2438 from licaon-kter/patch-3 | Evgeny Khramtsov | 2018-05-28 | 1 | -0/+8 |
|\ | | | | | Add default_db in the example config | ||||
| * | Add default_db in the example config | Licaon_Kter | 2018-05-28 | 1 | -0/+8 |
|/ | | | I only found it in the docs after setting up per module db_ | ||||
* | 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 |
| | |||||
* | Merge pull request #2431 from yokomizor/fix-xmpp-commit | Evgeny Khramtsov | 2018-05-22 | 2 | -3/+3 |
|\ | | | | | Missing #block_item{} record building with mix | ||||
| * | Missing #block_item{} record building with mix | Rogério da Silva Yokomizo | 2018-05-22 | 2 | -3/+3 |
| | | | | | | | | Ref: #638f2d2 | ||||
* | | Merge pull request #2430 from yokomizor/ext_mod-export-add_sources_1 | Evgeny Khramtsov | 2018-05-22 | 1 | -1/+1 |
|\ \ | |/ |/| | Export ext_mod:add_sources/1 | ||||
| * | 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" | ||||
* | Correctly resolve upload.localhost for the test suite | Evgeniy Khramtsov | 2018-05-17 | 2 | -1/+3 |
| | |||||
* | Add tests for mod_http_upload | Evgeniy Khramtsov | 2018-05-17 | 4 | -8/+221 |
| | |||||
* | 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 | 6 | -194/+265 |
| | | | | | | | | | | | | | | | 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 | ||||
* | Handle muc_register_nick success correctly (#2415) | Badlop | 2018-05-14 | 1 | -1/+4 |
| | |||||
* | Disable thumbnails creation by default | Evgeniy Khramtsov | 2018-05-11 | 1 | -1/+1 |
| | |||||
* | Support IPv6 connections for PostgreSQL, MySQL and LDAP | Evgeniy Khramtsov | 2018-05-11 | 2 | -12/+71 |
| | | | | Fixes #2411 | ||||
* | Relax check for valid command name in access_persmissions | Paweł Chmielowski | 2018-05-11 | 1 | -1/+1 |
| | |||||
* | Use never version of moka | Paweł Chmielowski | 2018-05-09 | 1 | -3/+1 |
| | |||||
* | Stop ejabberd initialization on invalid/unknown options | Evgeniy Khramtsov | 2018-05-09 | 3 | -128/+145 |
| | | | | | | | | | | | | | Since now, ejabberd doesn't ignore unknown options and doesn't allow to have options with malformed values. The rationale for this is to avoid unexpected behaviour during runtime, i.e. to conform to "fail early" approach. Note that it's safe to reload a configuration with potentialy invalid and/or unknown options: this will not halt ejabberd, but will only prevent the configuration from loading. ***NOTE FOR PACKAGE BUILDERS*** This new behaviour should be documented in the upgrade notes. | ||||
* | Reduce IQ handler code copying | Evgeniy Khramtsov | 2018-05-09 | 5 | -124/+68 |
| | |||||
* | Fix a typo | Evgeniy Khramtsov | 2018-05-09 | 1 | -2/+2 |
| | |||||
* | Option watchdog_admins has no effect anymore | Evgeniy Khramtsov | 2018-05-08 | 1 | -8/+0 |
| | |||||
* | Bypass account creation error when password is empty, caused by extauth | Badlop | 2018-05-08 | 1 | -0/+2 |
| | |||||
* | Get rid of unused rebar instructions | Evgeniy Khramtsov | 2018-05-08 | 1 | -3/+0 |
| | |||||
* | Don't use warnings_as_errors in samerlib | Paweł Chmielowski | 2018-05-08 | 1 | -0/+2 |
| | |||||
* | Get rid of ?FUNCTION_NAME macro (it's OTP19+ feature) | Evgeniy Khramtsov | 2018-05-08 | 1 | -5/+5 |
| | |||||
* | Improve logging of external authentication failures | Evgeniy Khramtsov | 2018-05-08 | 1 | -8/+9 |
| | |||||
* | Don't stop on out-of-date requests | Evgeniy Khramtsov | 2018-05-07 | 1 | -1/+1 |
| | |||||
* | Improve robustness of external authentication backends | Evgeniy Khramtsov | 2018-05-07 | 4 | -141/+343 |
| | | | | | | | | | | | | Now all external ports are attached to supervising processes and requests are balanced in round-robin manner until the pool is exhausted. The commit also deprecates `extauth_instances` option and introduces `extauth_pool_size` option instead, with the default value of a number of logical processors (i.e. CPU cores). Fixes #2403 |