aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/release_notes_2.1.0.txt5
-rw-r--r--src/ejabberd_admin.erl5
2 files changed, 10 insertions, 0 deletions
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",