aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Omit 'xmlns' field from 'feature_csi' recordHolger Weiss2018-06-042-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 largeHolger Weiss2018-06-043-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 reloadEvgeniy Khramtsov2018-06-031-25/+29
|
* Fix problem in commit 548ef7b835fbf2ad965bb4bb3a6f4e4905717002Paweł Chmielowski2018-06-011-1/+1
|
* Don't crash in bosh when we receive request with RID < prev_ridPaweł Chmielowski2018-06-011-9/+10
|
* Always display room's xdata in disco#infoEvgeniy Khramtsov2018-06-011-6/+12
|
* Display muc#roomconfig_changesubject in room's disco#infoEvgeniy Khramtsov2018-06-012-1/+2
| | | | Fixes #2449
* Send trailer and close socket explicitly on stream endEvgeniy Khramtsov2018-06-011-2/+1
|
* Improve indentationEvgeniy Khramtsov2018-05-301-12/+12
|
* Merge remote-tracking branch 'processone/pr/2446'Holger Weiss2018-05-301-10/+13
|\ | | | | | | | | * processone/pr/2446: Fix authentication for usernames containing uppercase characters
| * Fix authentication for usernames containing uppercase charactersStu Tomlinson2018-05-301-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 tableEvgeniy Khramtsov2018-05-302-33/+21
|/ | | | Fixes #2439
* Bump xmpp version in order to support language tags validationEvgeniy Khramtsov2018-05-301-1/+1
|
* Support for roomconfig_lang/roominfo_langEvgeniy Khramtsov2018-05-303-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 fieldsEvgeniy Khramtsov2018-05-291-1/+3
| | | | Thanks to Jonas Wielicki for spotting this
* Merge pull request #2438 from licaon-kter/patch-3Evgeny Khramtsov2018-05-281-0/+8
|\ | | | | Add default_db in the example config
| * Add default_db in the example configLicaon_Kter2018-05-281-0/+8
|/ | | I only found it in the docs after setting up per module db_
* Better report errors of module startupEvgeniy Khramtsov2018-05-281-19/+38
|
* Don't call Mod:function() in xmpp_stream callbacksEvgeniy Khramtsov2018-05-262-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 SQLHolger Weiss2018-05-241-2/+2
| | | | The "host" column is supposed to hold the MUC host name.
* mod_push_mnesia: Apply cosmetic changesHolger Weiss2018-05-231-17/+15
| | | | Improve the readability of the 'max_user_sessions' check.
* mod_push_sql: Check 'max_user_sessions' limitHolger Weiss2018-05-231-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_httpPaweł Chmielowski2018-05-231-0/+7
|
* Merge pull request #2431 from yokomizor/fix-xmpp-commitEvgeny Khramtsov2018-05-222-3/+3
|\ | | | | Missing #block_item{} record building with mix
| * Missing #block_item{} record building with mixRogério da Silva Yokomizo2018-05-222-3/+3
| | | | | | | | Ref: #638f2d2
* | Merge pull request #2430 from yokomizor/ext_mod-export-add_sources_1Evgeny Khramtsov2018-05-221-1/+1
|\ \ | |/ |/| Export ext_mod:add_sources/1
| * Export ext_mod:add_sources/1Rogério da Silva Yokomizo2018-05-221-1/+1
|/
* Correctly calculate remaining bytes on file uploadEvgeniy Khramtsov2018-05-191-1/+1
|
* Add support for REST API custom headersChristophe Romain2018-05-171-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 suiteEvgeniy Khramtsov2018-05-172-1/+3
|
* Add tests for mod_http_uploadEvgeniy Khramtsov2018-05-174-8/+221
|
* Fix typo file:read() -> file:open()Evgeniy Khramtsov2018-05-171-1/+1
|
* Clean state between requests in ejabberd_httpPaweł Chmielowski2018-05-151-1/+1
|
* Optimize HTTP requests memory usageEvgeniy Khramtsov2018-05-146-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)Badlop2018-05-141-1/+4
|
* Disable thumbnails creation by defaultEvgeniy Khramtsov2018-05-111-1/+1
|
* Support IPv6 connections for PostgreSQL, MySQL and LDAPEvgeniy Khramtsov2018-05-112-12/+71
| | | | Fixes #2411
* Relax check for valid command name in access_persmissionsPaweł Chmielowski2018-05-111-1/+1
|
* Use never version of mokaPaweł Chmielowski2018-05-091-3/+1
|
* Stop ejabberd initialization on invalid/unknown optionsEvgeniy Khramtsov2018-05-093-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 copyingEvgeniy Khramtsov2018-05-095-124/+68
|
* Fix a typoEvgeniy Khramtsov2018-05-091-2/+2
|
* Option watchdog_admins has no effect anymoreEvgeniy Khramtsov2018-05-081-8/+0
|
* Bypass account creation error when password is empty, caused by extauthBadlop2018-05-081-0/+2
|
* Get rid of unused rebar instructionsEvgeniy Khramtsov2018-05-081-3/+0
|
* Don't use warnings_as_errors in samerlibPaweł Chmielowski2018-05-081-0/+2
|
* Get rid of ?FUNCTION_NAME macro (it's OTP19+ feature)Evgeniy Khramtsov2018-05-081-5/+5
|
* Improve logging of external authentication failuresEvgeniy Khramtsov2018-05-081-8/+9
|
* Don't stop on out-of-date requestsEvgeniy Khramtsov2018-05-071-1/+1
|
* Improve robustness of external authentication backendsEvgeniy Khramtsov2018-05-074-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