aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-09-12 07:18:03 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-09-12 07:18:03 +0200
commitcbda6dd40acf7c611be893354c8357cbd2cb404e (patch)
treebd8b642f2ea2d50ce824dbc7e337010674fa59e9
parentMerge branch 'master' of bitbucket.org:cedricbonhomme/pyaggr3g470r (diff)
downloadnewspipe-cbda6dd40acf7c611be893354c8357cbd2cb404e.tar.gz
newspipe-cbda6dd40acf7c611be893354c8357cbd2cb404e.tar.bz2
newspipe-cbda6dd40acf7c611be893354c8357cbd2cb404e.zip
Removed gravatar extension.
-rw-r--r--pyaggr3g470r/__init__.py5
-rw-r--r--pyaggr3g470r/templates/admin/user.html3
-rw-r--r--pyaggr3g470r/templates/management.html3
-rw-r--r--requirements.txt1
4 files changed, 0 insertions, 12 deletions
diff --git a/pyaggr3g470r/__init__.py b/pyaggr3g470r/__init__.py
index a1ab31bf..f3f784f4 100644
--- a/pyaggr3g470r/__init__.py
+++ b/pyaggr3g470r/__init__.py
@@ -6,7 +6,6 @@ from flask import Flask
from flask.ext.sqlalchemy import SQLAlchemy
from flask.ext.babel import Babel
from flask.ext.babel import format_datetime
-from flask.ext.gravatar import Gravatar
import conf
@@ -42,10 +41,6 @@ babel = Babel(app)
app.jinja_env.filters['datetime'] = format_datetime
-# Gravatar
-gravatar = Gravatar(app, size=100, rating='g', default='retro',
- force_default=False, use_ssl=False, base_url=None)
-
# Views
from flask.ext.restful import Api
api = Api(app)
diff --git a/pyaggr3g470r/templates/admin/user.html b/pyaggr3g470r/templates/admin/user.html
index 8f911b92..046093e1 100644
--- a/pyaggr3g470r/templates/admin/user.html
+++ b/pyaggr3g470r/templates/admin/user.html
@@ -12,9 +12,6 @@
<p>{{ _('Member since') }} {{ user.date_created | datetime }}.</p>
<p>{{ _('Last seen:') }} {{ user.last_seen | datetime }}.</p>
</div>
- <div class="col-md-6">
- <img src="{{ user.email | gravatar }}" />
- </div>
</div>
</div>
<div class="jumbotron">
diff --git a/pyaggr3g470r/templates/management.html b/pyaggr3g470r/templates/management.html
index f8b7b8a0..fa6e66ef 100644
--- a/pyaggr3g470r/templates/management.html
+++ b/pyaggr3g470r/templates/management.html
@@ -18,9 +18,6 @@
<p>{{ _('Member since') }} {{ user.date_created | datetime }}.</p>
<p>{{ _('Last seen:') }} {{ user.last_seen | datetime }}.</p>
</div>
- <div class="col-md-6">
- <img src="{{ user.email | gravatar }}" />
- </div>
</div>
<div class="row">
<div class="col-md-12">
diff --git a/requirements.txt b/requirements.txt
index df37a92d..0a357c37 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -12,7 +12,6 @@ Flask-Principal
Flask-WTF
Flask-RESTful
Flask-Babel
-Flask-Gravatar
Flask-SSLify
WTForms
python-postmark
bgstack15