Merge remote-tracking branch 'upstream/master'

Conflicts:
	clients/android/NewsBlur/AndroidManifest.xml
This commit is contained in:
dosiecki 2015-06-24 18:52:15 -07:00
commit ba31352b5d
3 changed files with 19 additions and 1 deletions

View file

@ -41,6 +41,14 @@
### Prerequisites
#### What you can safely ignore
Not every program listed in the Prerequisites section is necessary to run NewsBlur.
* `Elasticsearch` is the only module that requires Java. If you can live without searching for feeds or searching for stories, then you can ignore it and NewsBlur will just spit out that you don't have a search server in the logs.
* `Jammit` is for asset compression. Don't bother using it since the alternative is to just serve every js and css file in individual files without compression. Besides, nginx gzips those files automatically if you use the built-in nginx config. Just set `DEBUG_ASSETS = True` in your local_settings.py (which is also in local_settings.py.template).
* `numpy` and `scipy` are used for the colors used all over the site. Every site's favicon is analyzed for its dominant color, and that color is what gives every site its feel. You'll see it by every story all over. I'd recommend installing it, as you can just use prebuilt packages and don't have to install from source, which is possible but not trivial.
#### Relational Database (MySQL, PostgreSQL)
You will want to have your database set up before you begin installation. Fabric can install

View file

@ -979,10 +979,20 @@ class RNewUserQueue:
logging.debug("~FRCan't activate free account, can't find user ~SB%s~SN. ~FB%s still in queue." % (user_id, count-1))
return
logging.user(user, "~FBActivating free account. %s still in queue." % (count-1))
logging.user(user, "~FBActivating free account (%s). %s still in queue." % (user.email, (count-1)))
user.profile.activate_free()
@classmethod
def activate_all(cls):
count = cls.user_count()
if not count:
logging.debug("~FBNo users to activate, sleeping...")
return
for i in range(count):
cls.activate_next()
@classmethod
def add_user(cls, user_id):
r = redis.Redis(connection_pool=settings.REDIS_FEED_POOL)

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB