From 64976e18b39af4cdd3e572e6b13bc419ed04e94b Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 25 Aug 2009 15:23:23 +0000 Subject: [PATCH] Add command to update PubSub table of ejabberd trunk SVN. If you use ejabberd trunk SVN, run this command: ejabberdctl rename_default_nodeplugin SVN Revision: 2531 --- doc/release_notes_2.1.0.txt | 5 +++++ src/ejabberd_admin.erl | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/doc/release_notes_2.1.0.txt b/doc/release_notes_2.1.0.txt index 21cf12600..399f905e9 100644 --- a/doc/release_notes_2.1.0.txt +++ b/doc/release_notes_2.1.0.txt @@ -50,6 +50,7 @@ - Added option s2s_dns_options to define DNS timeout and retries - Added option ERL_OPTIONS to ejabberdctl.cfg - Added option FIREWALL_WINDOW to ejabberdctl.cfg +- Added option EJABBERD_PID_PATH to ejabberdctl.cfg - Deleted option user_max_messages of mod_offline - Check certfiles are readable on server start and listener start - Config file management mix file reading and sanity check @@ -147,6 +148,7 @@ no need to use root account to. - Only try to install epam if pam was enabled in configure script - Spool, config and log dirs: owner writes, group reads, others do nothing. +- Provides an example ejabberd.init file * S2S - Option to define s2s outgoing behaviour: IPv4, IPv6 and timeout @@ -213,6 +215,9 @@ - mod_offline has a new option: access_max_user_messages. The old option user_max_messages is no longer supported. +- If you upgrade from ejabberd trunk SVN, you must execute this: + $ ejabberdctl rename_default_nodeplugin + - Default installation directories changed a bit: * The Mnesia spool files that were previously stored in /var/lib/ejabberd/db/NODENAME/* diff --git a/src/ejabberd_admin.erl b/src/ejabberd_admin.erl index e2c95da91..b02d83be3 100644 --- a/src/ejabberd_admin.erl +++ b/src/ejabberd_admin.erl @@ -135,6 +135,11 @@ commands() -> desc = "Delete offline messages older than DAYS", module = ?MODULE, function = delete_old_messages, args = [{days, integer}], result = {res, rescode}}, + + #ejabberd_commands{name = rename_default_nodeplugin, tags = [mnesia], + desc = "Update PubSub table from ejabberd trunk SVN to 2.1.0", + module = mod_pubsub, function = rename_default_nodeplugin, + args = [], result = {res, rescode}}, #ejabberd_commands{name = mnesia_change_nodename, tags = [mnesia], desc = "Change the erlang node name in a backup file",