Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
39a9840f
Commit
39a9840f
authored
Dec 03, 2012
by
Weblate
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
e680b00b
ac905733
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
.travis.yml
.travis.yml
+4
-1
weblate/trans/admin_views.py
weblate/trans/admin_views.py
+2
-1
No files found.
.travis.yml
View file @
39a9840f
...
...
@@ -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
...
...
weblate/trans/admin_views.py
View file @
39a9840f
...
...
@@ -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
,
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment