summaryrefslogtreecommitdiff
path: root/src/mod_admin_extra.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright datesEvgeniy Khramtsov2018-01-051-1/+1
|
* Fix ejabberd command privacy_setPaweł Chmielowski2018-01-041-5/+4
| | | | This fixes issue #2205
* Add Id attribute in stanza built by send_message commandBadlop2017-11-231-0/+1
|
* Unregister commands when stopping node only if it's last one (#2083)Badlop2017-11-061-2/+7
|
* Fix command set_last that always returned code 1, error (#2010)Badlop2017-09-251-3/+9
|
* Fix args_examples from last commitPaweł Chmielowski2017-07-141-5/+5
|
* Describe even more command arguments and results in mod_admin_extraBadlop2017-07-141-3/+113
|
* Fix set_presence command to work in recent ejabberdBadlop2017-07-071-14/+10
|
* Fix srg_user_add/del for non-Mnesia database backends (#1780)Badlop2017-06-151-2/+2
|
* Switch access rule delete_old_users with protect_old_users (#1772)Badlop2017-06-091-4/+4
|
* Improve export2sql explanation; remove obsolete and duplicated commandBadlop2017-06-091-27/+1
|
* Fix and document push_roster_all commandBadlop2017-06-081-1/+5
|
* Implement cache for mod_privacy/mod_blockingEvgeniy Khramtsov2017-05-201-4/+1
|
* Rename is_user_exists -> user_existsEvgeniy Khramtsov2017-05-111-2/+2
|
* Use cache for authentication backendsEvgeniy Khramtsov2017-05-111-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`.
* Bug requesting non-existent data with private_get command (#1690)Badlop2017-04-261-1/+1
|
* Fix private_get command sending a proper xmlel (#1683)Badlop2017-04-201-1/+2
|
* Rename aux.erl as misc.erlChristophe Romain2017-04-111-6/+6
| | | | Thanks Microsoft Windows to not support some filenames
* Deprecate jlib.erl in favor of aux.erlEvgeniy Khramtsov2017-03-301-6/+6
| | | | | 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.
* Get rid of jid:to_string/1 and jid:from_string/1Evgeniy Khramtsov2017-02-261-10/+11
|
* Don't pass empty resource to jid:make()Evgeniy Khramtsov2017-02-251-1/+1
|
* We don't like now()Paweł Chmielowski2017-02-241-2/+2
|
* get_last now always returns tuple with UTC XEP-0082 and status (#1565)Badlop2017-02-231-18/+14
|
* Protect users from delete_old_users command using a fixed access rule (#1462)Badlop2017-02-231-40/+32
|
* Reload modules when reloading configuration fileEvgeniy Khramtsov2017-02-221-1/+4
|
* Fix some dialyzer warningsEvgeniy Khramtsov2017-02-161-1/+1
|
* Change routing APIEvgeniy Khramtsov2017-02-161-4/+5
| | | | | | | | | | | Now 'From' and 'To' arguments must be omitted in functions and structures related to routing. The commit deprecates the following functions: ejabberd_router:route/3 in favor of ejabberd_router:route/1 ejabberd_router:route_error/4 in favor of ejabberd_router:route_error/2 ejabberd_local:route_iq/4 in favor of ejabberd_local:route_iq/2 ejabberd_local:route_iq/5 in favor of ejabberd_local:route_iq/3 The format of {route, From, To, Packet} is changed in favor of {route, Packet}
* Use crypto:hash/2 functionPeter Lemenkov2017-02-131-1/+1
| | | | | | | | | | Use crypto:hash/2 function instead of ones from p1_sha. This function exists since commit erlang/otp@208f9ad3828313f6c659a501d53f5534ec1bdf2e and also implemented as NIF, so I believe it's safe to use it. Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
* Merge branch 'new_stream'Evgeniy Khramtsov2017-01-201-9/+17
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/cyrsasl.erl src/ejabberd_c2s.erl src/ejabberd_cluster.erl src/ejabberd_frontend_socket.erl src/ejabberd_node_groups.erl src/ejabberd_router.erl src/mod_bosh.erl src/mod_ip_blacklist.erl src/mod_muc_mnesia.erl src/mod_offline.erl src/mod_proxy65_sm.erl
| * Initial version of new XMPP stream behaviour (for review)Evgeniy Khramtsov2016-12-111-9/+17
| |
* | Fix problem with get_vcard command (#1447)Badlop2017-01-061-2/+2
| |
* | Specify that process_rosteritems command works only with Mnesia storageBadlop2017-01-031-1/+1
| |
* | Update copyright date automatically (#1442)Badlop2017-01-021-1/+1
| |
* | Cleanup ext_mod and fix compilation pathChristophe Romain2016-12-071-10/+7
| |
* | Fix compilation of external module with new xmpp libChristophe Romain2016-12-061-2/+13
| |
* | Remove obsolete remove_node api (use leave_cluster)Christophe Romain2016-12-051-14/+1
|/
* Cleanup admin_extra, add few functionsChristophe Romain2016-11-301-27/+160
|
* Fix typo in copyright dateChristophe Romain2016-11-231-1/+1
|
* Fix types in check_password_hashPaweł Chmielowski2016-11-151-2/+2
|
* Deprecate most of the functions from jlib.erlEvgeniy Khramtsov2016-11-131-1/+3
|
* Merge branch 'master' into xml-ngEvgeniy Khramtsov2016-11-121-51/+21
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/adhoc.erl src/cyrsasl_oauth.erl src/ejabberd_c2s.erl src/ejabberd_config.erl src/ejabberd_service.erl src/gen_mod.erl src/mod_admin_extra.erl src/mod_announce.erl src/mod_carboncopy.erl src/mod_client_state.erl src/mod_configure.erl src/mod_echo.erl src/mod_mam.erl src/mod_muc.erl src/mod_muc_room.erl src/mod_offline.erl src/mod_pubsub.erl src/mod_stats.erl src/node_flat_sql.erl src/randoms.erl
| * Support several groups separated by ; in add_rosteritem commandBadlop2016-11-041-1/+4
| |
| * Don't let "send_message" duplicate the messageHolger Weiss2016-10-101-37/+2
| | | | | | | | | | | | | | | | In the past, the "send_message" command sent a copy of the message to each resource if the message was addressed to the bare JID of a local online user. When message carbons are enabled, this creates duplicates; and with MAM enabled, each copy is archived. Therefore, "send_message" no longer creates copies of the message.
| * Support sql backend in mod_shared_roster commands (#1244)Badlop2016-08-151-4/+4
| |
| * Fix type convertion bug injected by 4ccc40b (#1229)Christophe Romain2016-08-041-2/+2
| |
| * Change name of result key for offline count to valueMickael Remond2016-07-301-1/+1
| | | | | | | | This is more user friendly and should be more consistent with other commands.
| * Preserve PID for offline sessionsHolger Weiss2016-07-231-8/+11
| | | | | | | | | | | | | | Don't set the PID to 'undefined' when a session goes offline, as this looses the information which node created the session table entry. Fixes #1196.
* | Add more tests for privacy lists and blocking commandEvgeniy Khramtsov2016-10-221-2/+4
| |
* | Improve namespace handlingEvgeniy Khramtsov2016-09-241-1/+1
| |
* | Rewrite several modules to use XML generatorEvgeniy Khramtsov2016-07-291-125/+71
|/