Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright year to 2022 | Badlop | 2022-02-11 | 1 | -1/+1 |
| | |||||
* | Update newest copyright year to 2021 (#3464) | Badlop | 2021-01-27 | 1 | -1/+1 |
| | |||||
* | Old passwd scram tuples do not conform to current records definitions | Badlop | 2020-12-18 | 1 | -2/+2 |
| | |||||
* | Improve auth_mnesia:transform | Paweł Chmielowski | 2020-12-10 | 1 | -2/+3 |
| | |||||
* | Improve handling of old scram data in auth_mnesia | Paweł Chmielowski | 2020-12-10 | 1 | -4/+17 |
| | |||||
* | Add hash to scramed password stored in mnesia by earlier version | Paweł Chmielowski | 2020-12-08 | 1 | -0/+3 |
| | |||||
* | Allow to use different hash for storing scram passwords | Paweł Chmielowski | 2020-12-08 | 1 | -1/+1 |
| | |||||
* | Use include_lib() to include headers from dependencies (#3369) | Stu Tomlinson | 2020-09-03 | 1 | -1/+1 |
| | |||||
* | Update copyright to 2020 (#3149) | Badlop | 2020-01-28 | 1 | -1/+1 |
| | |||||
* | Correctly handle unicode in log messages | Evgeny Khramtsov | 2019-09-23 | 1 | -1/+1 |
| | |||||
* | Fix typos using codespell | Evgeny Khramtsov | 2019-07-16 | 1 | -1/+1 |
| | |||||
* | Use new ets_cache API in ejabberd_auth | Evgeny Khramtsov | 2019-06-30 | 1 | -7/+7 |
| | |||||
* | Use new configuration validator | Evgeny Khramtsov | 2019-06-14 | 1 | -8/+4 |
| | |||||
* | Update copyright to 2019 (#2756) | Badlop | 2019-01-08 | 1 | -1/+1 |
| | |||||
* | Get rid of ejabberd.hrl header | Evgeniy Khramtsov | 2018-06-14 | 1 | -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 dates | Evgeniy Khramtsov | 2018-01-05 | 1 | -1/+1 |
| | |||||
* | Add SQL_INSERT macro and update SQL queries to use server_host field | Alexey Shchepin | 2017-11-02 | 1 | -1/+0 |
| | |||||
* | Make it possible to convert to SQL for any current db_type | Evgeniy Khramtsov | 2017-10-25 | 1 | -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 Romain | 2017-08-02 | 1 | -0/+2 |
| | |||||
* | Fix use_cache/1 callback | Evgeniy Khramtsov | 2017-05-15 | 1 | -3/+7 |
| | |||||
* | Use cache for authentication backends | Evgeniy Khramtsov | 2017-05-11 | 1 | -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 places | Evgeniy Khramtsov | 2017-04-28 | 1 | -11/+2 |
| | |||||
* | Improve Mnesia tables creation and transformation | Evgeniy Khramtsov | 2017-04-23 | 1 | -93/+65 |
| | |||||
* | Rename aux.erl as misc.erl | Christophe Romain | 2017-04-11 | 1 | -9/+9 |
| | | | | Thanks Microsoft Windows to not support some filenames | ||||
* | Deprecate jlib.erl in favor of aux.erl | Evgeniy Khramtsov | 2017-03-30 | 1 | -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/deleted | Evgeniy Khramtsov | 2017-02-23 | 1 | -1/+4 |
| | |||||
* | Support scrammed passwords in ejabberdctl import_prosody (#1549) | Badlop | 2017-02-20 | 1 | -1/+1 |
| | |||||
* | Apply SASLprep before storing/converting passwords | Evgeniy Khramtsov | 2017-02-12 | 1 | -10/+33 |
| | | | | Fixes #996 and #1295 | ||||
* | Update copyright date automatically (#1442) | Badlop | 2017-01-02 | 1 | -1/+1 |
| | |||||
* | Improve handling of mnesia schema | Christophe Romain | 2016-11-30 | 1 | -2/+2 |
| | |||||
* | Fix xref issue injected by fbfbb96 | Christophe Romain | 2016-11-22 | 1 | -6/+9 |
| | |||||
* | Improve ODBC import | Christophe Romain | 2016-11-22 | 1 | -12/+5 |
| | |||||
* | Get rid of compile warnings for random/crypto modules on R19 | Evgeniy Khramtsov | 2016-10-18 | 1 | -1/+1 |
| | |||||
* | ejabberd_auth*: Fix indentation | Holger Weiss | 2016-05-24 | 1 | -40/+37 |
| | |||||
* | Update more SQL queries | Alexey Shchepin | 2016-05-05 | 1 | -5/+18 |
| | |||||
* | Get rid of "internal" DB type. This also fixes #1092 | Evgeniy Khramtsov | 2016-04-27 | 1 | -0/+498 |