mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-19 05:58:34 +02:00
fix: do not try to fill the 'Until date' field if the ARmessage is None. (which is true when no message has been defined yet).
fix: no symlink anymore for extensions' templates directory. wip: documention update.
This commit is contained in:
@@ -7,6 +7,7 @@ Requirements
|
||||
- Python version 2.6+
|
||||
- Django version 1.2+ (http://docs.djangoproject.com/en/dev/intro/install/#intro-install)
|
||||
- south version 0.7+ (http://south.aeracode.org/)
|
||||
- ckeditor version 3.4.1+ (http://ckeditor.com/)
|
||||
|
||||
How to install
|
||||
--------------
|
||||
@@ -46,6 +47,20 @@ First, decompress the new tarball at the same location than your
|
||||
current installation. Then, check if the new version you're installing
|
||||
requires a migration::
|
||||
|
||||
0.8.1 -> 0.8.2 : ckeditor integration.
|
||||
|
||||
* Download the latest release of ckeditor and extract it into
|
||||
<modoboa_dir>/static/js/. It should create a new folder named
|
||||
'ckeditor'.
|
||||
|
||||
* Update your config file. First, update the following variables::
|
||||
|
||||
MEDIA_ROOT = os.path.join(MODOBOA_DIR, '/static')
|
||||
MEDIA_URL = '/static/'
|
||||
|
||||
* Then, delete the following variables: STATIC_ROOTDIR and
|
||||
TEMPLATE_CONTEXT_PROCESSORS.
|
||||
|
||||
0.8 -> 0.8.1 : project renamed.
|
||||
|
||||
* First, rename your mailng folder to modoboa and copy all the
|
||||
|
||||
@@ -43,7 +43,8 @@ def autoreply(request):
|
||||
mimetype="application/json")
|
||||
|
||||
form = ARmessageForm(instance=arm)
|
||||
form.fields['untildate'].initial = arm.untildate
|
||||
if arm is not None:
|
||||
form.fields['untildate'].initial = arm.untildate
|
||||
return _render(request, "postfix_autoreply/autoreply.html", {
|
||||
"form" : form
|
||||
})
|
||||
|
||||
@@ -9,7 +9,7 @@ def usage():
|
||||
sys.exit(1)
|
||||
|
||||
def update_extension(name, extdir, state):
|
||||
for d in ['templates', 'scripts']:
|
||||
for d in ['scripts']:
|
||||
if not os.path.isdir("%s/%s" % (extdir, d)):
|
||||
continue
|
||||
cmd = state == "on" \
|
||||
|
||||
Reference in New Issue
Block a user