Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Deprecate misc:encode_base64/1 and misc:decode_base64/1 | Evgeniy Khramtsov | 2017-05-23 | 10 | -98/+48 | |
| | ||||||
* | Validate all certfiles on startup | Evgeniy Khramtsov | 2017-05-23 | 6 | -21/+47 | |
| | ||||||
* | Implement cache for mod_announce | Evgeniy Khramtsov | 2017-05-22 | 4 | -58/+202 | |
| | ||||||
* | Describe command arguments and results in mod_muc_admin | Badlop | 2017-05-22 | 1 | -3/+64 | |
| | ||||||
* | Don't leak with UDP sockets | Evgeniy Khramtsov | 2017-05-22 | 1 | -4/+6 | |
| | ||||||
* | Implement cache for mod_private | Evgeniy Khramtsov | 2017-05-22 | 4 | -68/+229 | |
| | ||||||
* | Don't store messages via a single process | Evgeniy Khramtsov | 2017-05-21 | 6 | -219/+106 | |
| | ||||||
* | Improve mod_metrics | Evgeniy Khramtsov | 2017-05-21 | 1 | -14/+40 | |
| | | | | | | | * Do not spawn a process per event * Avoid UDP socket creation on every event * Get rid of calls to str.erl module * Add options 'ip' and 'port' | |||||
* | Get rid of a workaround against old Erlang bug | Evgeniy Khramtsov | 2017-05-21 | 1 | -10/+8 | |
| | ||||||
* | Get rid of db_type warning for mod_vcard_xupdate | Evgeniy Khramtsov | 2017-05-21 | 1 | -9/+1 | |
| | ||||||
* | Get rid of detection of modules' db_type detection | Evgeniy Khramtsov | 2017-05-21 | 2 | -13/+2 | |
| | | | | | | The detection sometimes leads to errorneous warnings. We need to improve it later. For now I just remove the detection as it doesn't fully work anyway. | |||||
* | Declare ejabberd_oauth behaviour | Evgeniy Khramtsov | 2017-05-21 | 4 | -2/+7 | |
| | ||||||
* | Implement cache for mod_privacy/mod_blocking | Evgeniy Khramtsov | 2017-05-20 | 11 | -974/+706 | |
| | ||||||
* | export_all is not needed here | Paweł Chmielowski | 2017-05-19 | 1 | -2/+0 | |
| | ||||||
* | Fix values put in args_examples | Paweł Chmielowski | 2017-05-19 | 2 | -2/+2 | |
| | ||||||
* | Get rid of Mnesia transaction in get_vcard/2 | Evgeniy Khramtsov | 2017-05-18 | 1 | -6/+2 | |
| | ||||||
* | The default 'iqdisc' is now 'no_queue' | Evgeniy Khramtsov | 2017-05-18 | 1 | -1/+1 | |
| | ||||||
* | Implement cache for mod_last | Evgeniy Khramtsov | 2017-05-18 | 4 | -34/+126 | |
| | ||||||
* | ?SQL_UPSERT returns 'ok' on success | Evgeniy Khramtsov | 2017-05-18 | 1 | -1/+1 | |
| | ||||||
* | Avoid erroneous usage of ?MODULE macro | Evgeniy Khramtsov | 2017-05-18 | 1 | -1/+1 | |
| | ||||||
* | Fix function_clause after authentication refactoring | Evgeniy Khramtsov | 2017-05-18 | 1 | -2/+4 | |
| | | | | Fixes https://github.com/processone/ejabberd-contrib/issues/213 | |||||
* | Clean up database code related to mod_vcard_xupdate | Evgeniy Khramtsov | 2017-05-17 | 3 | -4/+11 | |
| | ||||||
* | Use disc_only_copies for oauth_token Mnesia table | Evgeniy Khramtsov | 2017-05-17 | 1 | -2/+13 | |
| | ||||||
* | Increase gen_mod's supervisor shutdown time | Evgeniy Khramtsov | 2017-05-17 | 1 | -1/+1 | |
| | ||||||
* | Implement cache for mod_vcard and mod_vcard_xupdate | Evgeniy Khramtsov | 2017-05-17 | 9 | -305/+174 | |
| | ||||||
* | Add cache options to the validator | Evgeniy Khramtsov | 2017-05-17 | 1 | -1/+7 | |
| | ||||||
* | Ciphers should be a binary string | Evgeniy Khramtsov | 2017-05-17 | 4 | -4/+4 | |
| | ||||||
* | Get rid of unused variable | Evgeniy Khramtsov | 2017-05-17 | 1 | -2/+1 | |
| | ||||||
* | Implement cache for roster | Evgeniy Khramtsov | 2017-05-17 | 13 | -613/+580 | |
| | ||||||
* | Fix use_cache/1 callback | Evgeniy Khramtsov | 2017-05-15 | 1 | -3/+7 | |
| | ||||||
* | Shut up dialyzer/xref if public_key:short_name_hash/1 is not available | Evgeniy Khramtsov | 2017-05-13 | 1 | -1/+9 | |
| | ||||||
* | Only validate certfiles if public_key:short_name_hash/1 is available | Evgeniy Khramtsov | 2017-05-12 | 1 | -1/+4 | |
| | ||||||
* | Introduce Certficate Manager | Evgeniy Khramtsov | 2017-05-12 | 9 | -6/+545 | |
| | | | | | | | | | | | | | | | | | | | | The major goal is to simplify certificate management in ejabberd. Currently it requires some effort from a user to configure certficates, especially in the situation where a lot of virtual domains are hosted. The task is splitted in several sub-tasks: * Implement basic certificate validator. The validator should check all configured certificates for existence, validity, duration and so on. The validator should not perform any actions in the case of errors except logging an error message. This is actually implemented by this commit. * All certificates should be configured inside a single section (something like 'certfiles') where ejabberd should parse them, check the full-chain, find the corresponding private keys and, if needed, resort chains and split the certficates into separate files for easy to use by fast_tls. * Options like 'domain_certfile', 'c2s_certfile' or 's2s_certfile' should probably be deprecated, since the process of matching certificates with the corresponding virtual hosts should be done automatically and these options only introduce configuration errors without any meaningful purpose. | |||||
* | Check presence of some files during option validation | Evgeniy Khramtsov | 2017-05-12 | 14 | -77/+56 | |
| | ||||||
* | Gracefully process malformed passwords during password change | Evgeniy Khramtsov | 2017-05-11 | 1 | -0/+3 | |
| | ||||||
* | Gracefully process malformed passwords during registration | Evgeniy Khramtsov | 2017-05-11 | 1 | -0/+3 | |
| | ||||||
* | Add 'access_remove' ACL to mod_register | Evgeniy Khramtsov | 2017-05-11 | 1 | -2/+3 | |
| | ||||||
* | Rename is_user_exists -> user_exists | Evgeniy Khramtsov | 2017-05-11 | 15 | -44/+44 | |
| | ||||||
* | Use cache for authentication backends | Evgeniy Khramtsov | 2017-05-11 | 21 | -1657/+898 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The commit introduces the following API incompatibilities: In ejabberd_auth.erl: * dirty_get_registered_users/0 is renamed to get_users/0 * get_vh_registered_users/1 is renamed to get_users/1 * get_vh_registered_users/2 is renamed to get_users/2 * get_vh_registered_users_number/1 is renamed to count_users/1 * get_vh_registered_users_number/2 is renamed to count_users/2 In ejabberd_auth callbacks * plain_password_required/0 is replaced by plain_password_required/1 where the argument is a virtual host * store_type/0 is replaced by store_type/1 where the argument is a virtual host * set_password/3 is now an optional callback * remove_user/3 callback is no longer needed * remove_user/2 now should return `ok | {error, atom()}` * is_user_exists/2 now must only be implemented for backends with `external` store type * check_password/6 is no longer needed * check_password/4 now must only be implemented for backends with `external` store type * try_register/3 is now an optional callback and should return `ok | {error, atom()}` * dirty_get_registered_users/0 is no longer needed * get_vh_registered_users/1 is no longer needed * get_vh_registered_users/2 is renamed to get_users/2 * get_vh_registered_users_number/1 is no longer needed * get_vh_registered_users_number/2 is renamed to count_users/2 * get_password_s/2 is no longer needed * get_password/2 now must only be implemented for backends with `plain` or `scram` store type Additionally, the commit introduces two new callbacks: * use_cache/1 where the argument is a virtual host * cache_nodes/1 where the argument is a virtual host New options are also introduced: `auth_use_cache`, `auth_cache_missed`, `auth_cache_life_time` and `auth_cache_size`. | |||||
* | Use misc:atom_to_binary/1 instead of the deprecated jlib.erl (#1510) | Badlop | 2017-05-10 | 1 | -1/+1 | |
| | ||||||
* | Update comment: aux.erl was renamed to misc.erl | Badlop | 2017-05-10 | 1 | -1/+1 | |
| | ||||||
* | Use jid:encode/1 instead of the deprecated jid:to_string/1 (#1510) | Badlop | 2017-05-10 | 1 | -3/+3 | |
| | ||||||
* | Fix: update sql statement, added missing delimeter for sql queries | Lamtei W | 2017-05-10 | 2 | -3/+3 | |
| | ||||||
* | Added export function for mam module | Lamtei W | 2017-05-10 | 3 | -2/+48 | |
| | ||||||
* | Remove forgotten 'export_all' | Evgeniy Khramtsov | 2017-05-08 | 1 | -2/+0 | |
| | ||||||
* | Don't list 'redis_pool_size' option multiple times | Evgeniy Khramtsov | 2017-05-08 | 1 | -2/+1 | |
| | ||||||
* | Split some functions in smaller ones | Evgeniy Khramtsov | 2017-05-08 | 1 | -7/+12 | |
| | ||||||
* | Don't call gen_mod:get_opt() outside of modules | Evgeniy Khramtsov | 2017-05-08 | 8 | -36/+45 | |
| | ||||||
* | Add type specs for Module:opt_type/1 | Evgeniy Khramtsov | 2017-05-08 | 40 | -34/+258 | |
| | ||||||
* | Introduce 'sql_connect_timeout' option (#1698) | Evgeniy Khramtsov | 2017-05-05 | 1 | -12/+21 | |
| |