aboutsummaryrefslogtreecommitdiff
path: root/src/ejabberd_admin.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use the new 'note' field to annotate changes in 20.01..21.03Badlop2021-05-051-0/+2
|
* Update newest copyright year to 2021 (#3464)Badlop2021-01-271-1/+1
|
* Document that only ejabberdctl can join and leave a local node (#3049)Badlop2020-06-091-2/+8
|
* Fix set_loglevel example argument documentationBadlop2020-04-081-1/+1
|
* ejabberd_admin: Fix *_config command result formatHolger Weiss2020-02-141-2/+2
| | | | | | | | The 'reload_config' and 'dump_config' calls are expected to yield a 'rescode' result, which means they must return 'ok' (rather than a tuple) on success. Fixes #3170.
* Update copyright to 2020 (#3149)Badlop2020-01-281-1/+1
|
* Do not use ~ts format in string that are put in xmpp payloadPaweł Chmielowski2020-01-221-5/+5
| | | | | We are expecting utf8 data here, and using that flag will convert those to unicode codepoints, which aren't handled properly later.
* Generate ejabberd.yml.5 man page from source code directlyEvgeny Khramtsov2020-01-081-1/+5
| | | | | | | Several documentation callbacks (doc/0 and mod_doc/0) are implemented and `ejabberdctl man` command is added to generate a man page. Note that the command requires a2x to be installed (which is a part of asciidoc package).
* Make convert_to_scram work with all backendsPaweł Chmielowski2019-11-271-3/+2
|
* Introduce 'gc' ejabberdctl commandEvgeny Khramtsov2019-10-251-0/+8
| | | | | The command forces garbage collection of all running Erlang processes. The return is always success.
* Fix error reporting in configuration related admin commandsEvgeny Khramtsov2019-10-191-3/+3
|
* Replace lager with built-in new logging APIEvgeny Khramtsov2019-10-181-16/+20
| | | | | | | | | | | | | | | This change requires Erlang/OTP-21.0 or higher. The commit also deprecates the following options: - log_rotate_date - log_rate_limit Furthermore, these options have no effect. The logger now fully relies on log_rotate_size, that cannot be 0 anymore. The loglevel option now accepts levels in literal formats. Those are: none, emergency, alert, critical, error, warning, notice, info, debug. Old integer values (0-5) are still supported and automatically converted into literal format.
* Correctly handle unicode in log messagesEvgeny Khramtsov2019-09-231-6/+6
|
* Remove Riak supportEvgeny Khramtsov2019-07-181-1/+1
| | | | | | | | | | Reasons: - Riak DB development is almost halted after Basho - riak-erlang-client is abandoned and doesn't work correctly with OTP22 - Riak is slow in comparison to other databases - Missing key ordering makes it impossible to implement range queries efficiently (e.g. MAM queries)
* Process unexpected messages uniformlyEvgeny Khramtsov2019-07-121-5/+7
|
* Check virtual host before running the commandEvgeny Khramtsov2019-07-081-16/+37
|
* Use new configuration validatorEvgeny Khramtsov2019-06-141-17/+43
|
* Don't check mod_register restrictions in 'register' commandEvgeny Khramtsov2019-05-281-8/+1
| | | | | The commit reverts behaviour introduced in 1f2b8adc285c6c67de75986e96d6bd1632ef97fe
* Make some standard admin command to get Mnesia infoMickael Remond2019-05-031-0/+18
|
* Don't call to mod_register when it's not loadedEvgeny Khramtsov2019-04-231-4/+11
| | | | Fixes #2828
* Add 'config' tag to the reload_config commandBadlop2019-03-271-1/+1
|
* Fix Register command to respect mod_register's Access option (#2837)Badlop2019-03-221-1/+2
|
* Update copyright to 2019 (#2756)Badlop2019-01-081-1/+1
|
* Add import_prosody explanation from docs git repoBadlop2018-08-071-0/+2
|
* Move mod_irc to ejabberd-contribEvgeniy Khramtsov2018-06-201-1/+0
|
* Get rid of ejabberd.hrl headerEvgeniy Khramtsov2018-06-141-7/+6
| | | | | | | | | 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
|
* Move ejabberdctl ACME commands to other locationEvgeniy Khramtsov2017-11-171-63/+0
|
* Remove some unused variable warnings, replace lists:join with string joinKonstantinos Kallas2017-08-251-1/+1
|
* More whitespace changesKonstantinos Kallas2017-08-221-37/+37
|
* Whitespace changeKonstantinos Kallas2017-08-221-25/+25
|
* Merge remove_account_option branchKonstantinos Kallas2017-08-191-14/+7
|\
| * Remove the new account option from get certificate. There is no reason for ↵Konstantinos Kallas2017-08-111-14/+7
| | | | | | | | having this
* | Add support to revoke a certificate by providing the pemKonstantinos Kallas2017-08-121-4/+10
| | | | | | | | This is important so that a user can revoke a certificate that is not acquired or logged from our acme client
* | Move the ca_url to the config fileKonstantinos Kallas2017-08-121-3/+3
|/
* Support getting certificates for domains not specified in the configuration fileKonstantinos Kallas2017-08-101-10/+16
|
* Implement renew_certificate commandKonstantinos Kallas2017-08-081-1/+9
| | | | This command renews the certificates for all domains that already have a certificate that has expired or is close to expiring. It is meant to be run automatically more often than the renewal process because if the certificates are valid nothing happens
* Improve return format of get_certificates commandKonstantinos Kallas2017-08-021-4/+5
|
* Support certificate revocationKonstantinos Kallas2017-07-271-0/+9
|
* Pretty print list-certificatesKonstantinos Kallas2017-07-181-4/+1
|
* Add a stub for the list-certificates commandKonstantinos Kallas2017-07-171-0/+20
|
* Remove httpdir from some function arguments as we now use the built in ↵Konstantinos Kallas2017-07-171-6/+5
| | | | ejabberd http server for authorizations
* Add support for command get_certificates, very crudeKonstantinos Kallas2017-07-031-50/+72
|
* Add missing ,Paweł Chmielowski2017-06-091-1/+1
|
* Improve export2sql explanation; remove obsolete and duplicated commandBadlop2017-06-091-0/+1
|
* Fix values put in args_examplesPaweł Chmielowski2017-05-191-1/+1
|
* Use cache for authentication backendsEvgeniy Khramtsov2017-05-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`.
* Store options using p1_options moduleEvgeniy Khramtsov2017-04-271-1/+1
|
* Add clear_cache admin commandEvgeniy Khramtsov2017-04-221-1/+10
|
* Invalidate access permissions on configuration reloadEvgeniy Khramtsov2017-02-271-4/+1
|