aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Deprecate misc:encode_base64/1 and misc:decode_base64/1Evgeniy Khramtsov2017-05-2310-98/+48
|
* Validate all certfiles on startupEvgeniy Khramtsov2017-05-236-21/+47
|
* Implement cache for mod_announceEvgeniy Khramtsov2017-05-224-58/+202
|
* Describe command arguments and results in mod_muc_adminBadlop2017-05-221-3/+64
|
* Don't leak with UDP socketsEvgeniy Khramtsov2017-05-221-4/+6
|
* Implement cache for mod_privateEvgeniy Khramtsov2017-05-224-68/+229
|
* Don't store messages via a single processEvgeniy Khramtsov2017-05-216-219/+106
|
* Improve mod_metricsEvgeniy Khramtsov2017-05-211-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 bugEvgeniy Khramtsov2017-05-211-10/+8
|
* Get rid of db_type warning for mod_vcard_xupdateEvgeniy Khramtsov2017-05-211-9/+1
|
* Get rid of detection of modules' db_type detectionEvgeniy Khramtsov2017-05-212-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 behaviourEvgeniy Khramtsov2017-05-214-2/+7
|
* Implement cache for mod_privacy/mod_blockingEvgeniy Khramtsov2017-05-2011-974/+706
|
* export_all is not needed herePaweł Chmielowski2017-05-191-2/+0
|
* Fix values put in args_examplesPaweł Chmielowski2017-05-192-2/+2
|
* Get rid of Mnesia transaction in get_vcard/2Evgeniy Khramtsov2017-05-181-6/+2
|
* The default 'iqdisc' is now 'no_queue'Evgeniy Khramtsov2017-05-181-1/+1
|
* Implement cache for mod_lastEvgeniy Khramtsov2017-05-184-34/+126
|
* ?SQL_UPSERT returns 'ok' on successEvgeniy Khramtsov2017-05-181-1/+1
|
* Avoid erroneous usage of ?MODULE macroEvgeniy Khramtsov2017-05-181-1/+1
|
* Fix function_clause after authentication refactoringEvgeniy Khramtsov2017-05-181-2/+4
| | | | Fixes https://github.com/processone/ejabberd-contrib/issues/213
* Clean up database code related to mod_vcard_xupdateEvgeniy Khramtsov2017-05-173-4/+11
|
* Use disc_only_copies for oauth_token Mnesia tableEvgeniy Khramtsov2017-05-171-2/+13
|
* Increase gen_mod's supervisor shutdown timeEvgeniy Khramtsov2017-05-171-1/+1
|
* Implement cache for mod_vcard and mod_vcard_xupdateEvgeniy Khramtsov2017-05-179-305/+174
|
* Add cache options to the validatorEvgeniy Khramtsov2017-05-171-1/+7
|
* Ciphers should be a binary stringEvgeniy Khramtsov2017-05-174-4/+4
|
* Get rid of unused variableEvgeniy Khramtsov2017-05-171-2/+1
|
* Implement cache for rosterEvgeniy Khramtsov2017-05-1713-613/+580
|
* Fix use_cache/1 callbackEvgeniy Khramtsov2017-05-151-3/+7
|
* Shut up dialyzer/xref if public_key:short_name_hash/1 is not availableEvgeniy Khramtsov2017-05-131-1/+9
|
* Only validate certfiles if public_key:short_name_hash/1 is availableEvgeniy Khramtsov2017-05-121-1/+4
|
* Introduce Certficate ManagerEvgeniy Khramtsov2017-05-129-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 validationEvgeniy Khramtsov2017-05-1214-77/+56
|
* Gracefully process malformed passwords during password changeEvgeniy Khramtsov2017-05-111-0/+3
|
* Gracefully process malformed passwords during registrationEvgeniy Khramtsov2017-05-111-0/+3
|
* Add 'access_remove' ACL to mod_registerEvgeniy Khramtsov2017-05-111-2/+3
|
* Rename is_user_exists -> user_existsEvgeniy Khramtsov2017-05-1115-44/+44
|
* Use cache for authentication backendsEvgeniy Khramtsov2017-05-1121-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)Badlop2017-05-101-1/+1
|
* Update comment: aux.erl was renamed to misc.erlBadlop2017-05-101-1/+1
|
* Use jid:encode/1 instead of the deprecated jid:to_string/1 (#1510)Badlop2017-05-101-3/+3
|
* Fix: update sql statement, added missing delimeter for sql queriesLamtei W2017-05-102-3/+3
|
* Added export function for mam moduleLamtei W2017-05-103-2/+48
|
* Remove forgotten 'export_all'Evgeniy Khramtsov2017-05-081-2/+0
|
* Don't list 'redis_pool_size' option multiple timesEvgeniy Khramtsov2017-05-081-2/+1
|
* Split some functions in smaller onesEvgeniy Khramtsov2017-05-081-7/+12
|
* Don't call gen_mod:get_opt() outside of modulesEvgeniy Khramtsov2017-05-088-36/+45
|
* Add type specs for Module:opt_type/1Evgeniy Khramtsov2017-05-0840-34/+258
|
* Introduce 'sql_connect_timeout' option (#1698)Evgeniy Khramtsov2017-05-051-12/+21
|