Commit 39a9840f authored by Weblate's avatar Weblate

Merge remote-tracking branch 'origin/master'

parents e680b00b ac905733
......@@ -8,7 +8,7 @@ env:
# - DJANGO_VERSION=1.5a1
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq git libcairo2-dev
- sudo apt-get install -qq git libcairo2-dev libgtk2.0-dev
# command to install dependencies
install:
- pip install --use-mirrors Django==$DJANGO_VERSION GitPython south django-registration whoosh translate-toolkit lxml pygtk
......@@ -16,6 +16,9 @@ install:
- wget http://www.cairographics.org/releases/py2cairo-1.10.0.tar.bz2
- tar xf py2cairo-1.10.0.tar.bz2
- cd py2cairo-1.10.0; ./waf configure --prefix=/home/travis/virtualenv/python$TRAVIS_PYTHON_VERSION/;./waf build;./waf install; cd ..
- wget http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.24/pygtk-2.24.0.tar.bz2
- tar xf pygtk-2.24.0.tar.bz2
- cd pygtk-2.24.0; ./configure --prefix=/home/travis/virtualenv/python$TRAVIS_PYTHON_VERSION/; make; make install; cd ..
# configuration
before_script:
- cp weblate/settings_example.py weblate/settings.py
......
......@@ -70,6 +70,7 @@ def performance(request):
'production-admins',
))
# Check offloading indexing
# Translators: Indexing is postponed to cron job
checks.append((
_('Indexing offloading'),
settings.OFFLOAD_INDEXING,
......@@ -95,7 +96,7 @@ def performance(request):
default_mails = ('root@localhost', 'webmaster@localhost', 'noreply@weblate.org')
checks.append((
_('Email addresses'),
settings.SERVER_EMAIL not in default_mails and DEFAULT_FROM_EMAIL not in default_mails,
settings.SERVER_EMAIL not in default_mails and settings.DEFAULT_FROM_EMAIL not in default_mails,
'production-email',
))
return render_to_response("admin/performance.html", RequestContext(request, {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment