aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add ability to modify version stringPaweł Chmielowski2018-06-071-3/+10
|
* Omit 'xmlns' field from 'feature_csi' recordHolger Weiss2018-06-041-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 largeHolger Weiss2018-06-041-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 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-011-0/+1
| | | | 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
* Support for roomconfig_lang/roominfo_langEvgeniy Khramtsov2018-05-302-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 fieldsEvgeniy Khramtsov2018-05-291-1/+3
| | | | Thanks to Jonas Wielicki for spotting this
* 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
|
* 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"
* 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-145-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
* 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-111-10/+69
| | | | Fixes #2411
* Relax check for valid command name in access_persmissionsPaweł Chmielowski2018-05-111-1/+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
|
* Bypass account creation error when password is empty, caused by extauthBadlop2018-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
* Make trusted_proxied ejabberd_http option accept ip masksPaweł Chmielowski2018-05-041-3/+22
|
* Teach acl ip matching about ipv4 mapped ipv6 addressesPaweł Chmielowski2018-05-041-7/+19
|
* ejabberd_auth: Don't use cache if it's disabledHolger Weiss2018-05-031-2/+4
| | | | | Don't let the check whether a user exists use the cache if caching was disabled in the configuration.
* mod_blocking: Use #block_item{} recordHolger Weiss2018-05-021-6/+9
|
* Add validator for 'accept_interval' listening optionEvgeniy Khramtsov2018-04-309-37/+27
|
* misc: Catch all Base64 decoding errorsHolger Weiss2018-04-241-1/+1
|
* mod_http_upload: Add MIME type for M4A filesHolger Weiss2018-04-241-0/+1
|
* PubSub purge_node must use a transaction (#2231)Christophe Romain2018-04-241-1/+1
|
* Introduce new mod_muc option: access_registerEvgeniy Khramtsov2018-04-241-14/+31
| | | | | | The option is an ACL rule defining who is able to register nicknames within the conference service. The default is `all` (for backward compatibility).
* Get rid of useless memory/disk usage warningsEvgeniy Khramtsov2018-04-241-15/+1
|
* Fix get_affiliation/2Evgeniy Khramtsov2018-04-241-3/+5
|