zulip/zephyr
Luke Faraone 3de93f2b2b Pass stream information in initial template.
This allows us to remove fetch_colors() entirely, and should speed up page
load a bit.

We also JSONEncoderForHTML instead of dumps so that the result is safe
to embed.

(imported from commit 013630911960e2ac1d0bae6f5df31ad342750594)
2013-02-05 15:34:37 -05:00
..
fixtures Rename zephyrs.json => messages.json in .gitignore. 2012-10-10 10:39:27 -04:00
jstemplates subscriptions: stylize invite_only streams with a lock icon. 2013-02-05 10:01:45 -05:00
lib Return in_home_view in gather_subscriptions. 2013-02-05 15:34:37 -05:00
management Add a realm_stats management command. 2013-02-02 08:24:21 -05:00
migrations [manual] South migration for Subscriptions model change. 2013-02-05 15:34:35 -05:00
static Pass stream information in initial template. 2013-02-05 15:34:37 -05:00
tests tests: update frontend tests to reflect subscription page changes. 2013-02-05 10:01:45 -05:00
__init__.py Initial Django commit: basic account, zephyr stream, narrowing, etc. 2012-08-28 12:44:51 -04:00
context_processors.py [manual] Get rid of the static-access-control mechanism 2013-01-31 15:34:12 -05:00
decorator.py middleware: Improve logging of users causing 40x errors. 2013-02-05 14:36:48 -05:00
filters.py Filter out api-key, not api_key 2013-01-25 14:20:07 -05:00
forms.py Move action functions from models.py to zephyr/lib/actions.py. 2013-01-11 16:11:03 -05:00
handlers.py Prominently display the user in Django 500 emails. 2013-01-17 09:47:10 -05:00
middleware.py middleware: Improve logging of users causing 40x errors. 2013-02-05 14:36:48 -05:00
models.py [schema] Add new boolean field in_home_view to Subscriptions 2013-02-05 15:34:03 -05:00
retention_policy.py exunge_log: Ignore default_streams entries 2012-11-30 17:24:37 -05:00
tests.py Return in_home_view in gather_subscriptions. 2013-02-05 15:34:37 -05:00
tornadoviews.py If a web client is requesting message that are too old, force a reload. 2013-01-23 11:33:07 -05:00
views.py Pass stream information in initial template. 2013-02-05 15:34:37 -05:00