fix some silly typos

This commit is contained in:
Kyle Mahan 2015-03-03 16:31:42 +00:00
parent cbf7fb9c15
commit 215444a9b9
5 changed files with 17 additions and 8 deletions

4
.gitignore vendored
View file

@ -3,3 +3,7 @@
celerybeat-schedule
.sass-cache
__pycache__
celerybeat-schedule*
config.py
venv
*.egg-info

View file

@ -12,4 +12,4 @@ CELERYBEAT_SCHEDULE = {
}
}
# recommended to disable if not using -- introduces a lot of complexity
CELERY_DISABLE_RATE_LIMITS = True
CELERY_DISABLE_RATE_LIMITS = False

View file

@ -25,7 +25,7 @@ def notify(feed_id):
topic = request.args.get('hub.topic')
challenge = request.args.get('hub.challenge')
lease_seconds = request.args.get('hub.lease_seconds')
current_app.logger.debusg(
current_app.logger.debug(
'PuSH verification. feed=%r, mode=%s, topic=%s, '
'challenge=%s, lease_seconds=%s',
feed, mode, topic, challenge, lease_seconds)

View file

@ -363,7 +363,7 @@ def fetch_reply_context(entry_id, in_reply_to):
mf2py.Parser(url=proxy_url(in_reply_to)).to_dict(),
in_reply_to)
if parsed:
context = hentry_to_entry(parsed, in_reply_to)
context = hentry_to_entry(parsed, in_reply_to, False)
if context:
entry.reply_context.append(context)

View file

@ -18,6 +18,10 @@
<header>
{% if current_user.is_authenticated() %}
<span class="h-x-app" style="font-weight: bold">
<img class="u-logo" src="{{ url_for('static', filename='logo.png') }}" style="max-height: 1.5em; vertical-align: middle;" />
Woodwind
</span>
<ul id="navigation">
<li>
<a href="{{ url_for('.index') }}">Home</a>
@ -33,12 +37,13 @@
(<a href="{{ url_for('.logout') }}">Logout</a>)
</li>
</ul>
{% endif %}
<h1 class="h-x-app">
<img class="u-logo" src="{{ url_for('static', filename='logo.png') }}" style="max-height: 64px; vertical-align: middle;" />
Woodwind
</h1>
{% else %}
<h1 class="h-x-app">
<img class="u-logo" src="{{ url_for('static', filename='logo.png') }}" style="max-height: 1.5em; vertical-align: middle;" />
Woodwind
</h1>
{% endif %}
{% if not current_user.is_authenticated() %}
<form action="{{ url_for('.login') }}" method="POST">
<input type="text" name="me" placeholder="mydomain.com" />