mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Turning off autocomplete for facebook feeds.
This commit is contained in:
parent
05cb8551ea
commit
a390981b93
2 changed files with 2 additions and 0 deletions
|
@ -106,6 +106,7 @@ def feed_autocomplete(request):
|
|||
|
||||
feeds = list(set([Feed.get_by_id(feed_id) for feed_id in feed_ids]))
|
||||
feeds = [feed for feed in feeds if feed and not feed.branch_from_feed]
|
||||
feeds = [feed for feed in feeds if 'facebook.com/feeds/notifications.php' not in feed.feed_address]
|
||||
if format == 'autocomplete':
|
||||
feeds = [{
|
||||
'id': feed.pk,
|
||||
|
|
1
fabfile.py
vendored
1
fabfile.py
vendored
|
@ -443,6 +443,7 @@ def pip():
|
|||
with cd(env.NEWSBLUR_PATH):
|
||||
sudo('easy_install -U pip')
|
||||
sudo('pip install --upgrade pip')
|
||||
sudo('pip install --upgrade six') # Stupid cryptography bug requires upgraded six
|
||||
sudo('pip install -r requirements.txt')
|
||||
|
||||
# PIL - Only if python-imaging didn't install through apt-get, like on Mac OS X.
|
||||
|
|
Loading…
Add table
Reference in a new issue