summaryrefslogtreecommitdiff
path: root/src/ejabberd_auth_mnesia.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2022Badlop2022-02-111-1/+1
|
* Update newest copyright year to 2021 (#3464)Badlop2021-01-271-1/+1
|
* Old passwd scram tuples do not conform to current records definitionsBadlop2020-12-181-2/+2
|
* Improve auth_mnesia:transformPaweł Chmielowski2020-12-101-2/+3
|
* Improve handling of old scram data in auth_mnesiaPaweł Chmielowski2020-12-101-4/+17
|
* Add hash to scramed password stored in mnesia by earlier versionPaweł Chmielowski2020-12-081-0/+3
|
* Allow to use different hash for storing scram passwordsPaweł Chmielowski2020-12-081-1/+1
|
* Use include_lib() to include headers from dependencies (#3369)Stu Tomlinson2020-09-031-1/+1
|
* Update copyright to 2020 (#3149)Badlop2020-01-281-1/+1
|
* Correctly handle unicode in log messagesEvgeny Khramtsov2019-09-231-1/+1
|
* Fix typos using codespellEvgeny Khramtsov2019-07-161-1/+1
|
* Use new ets_cache API in ejabberd_authEvgeny Khramtsov2019-06-301-7/+7
|
* Use new configuration validatorEvgeny Khramtsov2019-06-141-8/+4
|
* Update copyright to 2019 (#2756)Badlop2019-01-081-1/+1
|
* Get rid of ejabberd.hrl headerEvgeniy Khramtsov2018-06-141-1/+1
| | | | | | | | | The header consisted of too many unrelated stuff and macros misuse. Some stuff is moved into scram.hrl and type_compat.hrl. All macros have been replaced with the corresponding function calls. TODO: probably type_compat.hrl is not even needed anymore since we support only Erlang >= OTP 17.5
* Update copyright datesEvgeniy Khramtsov2018-01-051-1/+1
|
* Add SQL_INSERT macro and update SQL queries to use server_host fieldAlexey Shchepin2017-11-021-1/+0
|
* Make it possible to convert to SQL for any current db_typeEvgeniy Khramtsov2017-10-251-27/+2
| | | | It is now possible to run `export` command even when the current `db_type` is not `sql`
* Fix clustering table reg_users_counter (#1889)Christophe Romain2017-08-021-0/+2
|
* Fix use_cache/1 callbackEvgeniy Khramtsov2017-05-151-3/+7
|
* Use cache for authentication backendsEvgeniy Khramtsov2017-05-111-326/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`.
* Don't re-define validation functions in multiple placesEvgeniy Khramtsov2017-04-281-11/+2
|
* Improve Mnesia tables creation and transformationEvgeniy Khramtsov2017-04-231-93/+65
|
* Rename aux.erl as misc.erlChristophe Romain2017-04-111-9/+9
| | | | Thanks Microsoft Windows to not support some filenames
* Deprecate jlib.erl in favor of aux.erlEvgeniy Khramtsov2017-03-301-9/+9
| | | | | Since the main goal of jlib.erl is lost, all auxiliary functions are now moved to aux.erl, and the whole jlib.erl is now deprecated.
* Start/stop auth modules when host is added/deletedEvgeniy Khramtsov2017-02-231-1/+4
|
* Support scrammed passwords in ejabberdctl import_prosody (#1549)Badlop2017-02-201-1/+1
|
* Apply SASLprep before storing/converting passwordsEvgeniy Khramtsov2017-02-121-10/+33
| | | | Fixes #996 and #1295
* Update copyright date automatically (#1442)Badlop2017-01-021-1/+1
|
* Improve handling of mnesia schemaChristophe Romain2016-11-301-2/+2
|
* Fix xref issue injected by fbfbb96Christophe Romain2016-11-221-6/+9
|
* Improve ODBC importChristophe Romain2016-11-221-12/+5
|
* Get rid of compile warnings for random/crypto modules on R19Evgeniy Khramtsov2016-10-181-1/+1
|
* ejabberd_auth*: Fix indentationHolger Weiss2016-05-241-40/+37
|
* Update more SQL queriesAlexey Shchepin2016-05-051-5/+18
|
* Get rid of "internal" DB type. This also fixes #1092Evgeniy Khramtsov2016-04-271-0/+498