diff --git a/INSTALL b/INSTALL index 7fe36075e..480aefc98 100644 --- a/INSTALL +++ b/INSTALL @@ -208,6 +208,34 @@ requires a migration. Before executing a schema/data migration, I recommend that you make a copy of your existing database. +0.8.6: Quarantine plugin refactoring (using Django's ORM) +--------------------------------------------------------- + +#. Just update your configuration if you are using the quarantine + plugin. Open *settings.py*, move the database configuration from + the ``DB_CONNECTIONS`` variable to the ``DATABASES`` variable, like + this:: + + DATABASES = { + "default" : { + # The default database configuration + }, + # ... + "amavis": { + "ENGINE" : "", + "HOST" : "", + "NAME" : "", + "USER" : "", + "PASSWORD" : "" + } + } + +#. Add the new following variable somewhere in the file:: + + DATABASE_ROUTERS = ["modoboa.extensions.amavis_quarantine.dbrouter.AmavisRouter"] + +#. Remove the deprecated ``DB_CONNECTIONS`` variable from *settings.py*. + 0.8.5: new "Sieve filters" plugin, improved admin app ----------------------------------------------------- @@ -817,16 +845,19 @@ quarantine. You can consult messages and/or release or delete them. First, you need to specify where the database that contains the quarantine is. Inside *settings.py*, add a new connection to the -``DB_CONNECTIONS`` variable like this:: +``DATABASES`` variable like this:: - DB_CONNECTIONS = { - "amavis_quarantine" : {"driver" : "mysql", - "host" : "", - "dbname" : "", - "login" : "", - "password" : ""} - } - + DATABASES = { + # Stuff before + # + "amavis": { + "ENGINE" : "", + "HOST" : "", + "NAME" : "", + "USER" : "", + "PASSWORD" : "" + } + } Replace values between ``<>`` with yours. diff --git a/doc/conf.py b/doc/conf.py index 8fa6c3c89..17d82543b 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -48,9 +48,9 @@ copyright = u'2011, Antoine Nguyen' # built documents. # # The short X.Y version. -version = '0.8.5' +version = '0.8.6' # The full version, including alpha/beta/rc tags. -release = '0.8.5' +release = '0.8.6' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.