zulip/zerver
Steve Howell 233ce4360f Handle realm_name in fetch_initial_state_data/apply_events.
Instead of having home() set page_params.realm_name directly from
the user_profile object, have fetch_initial_state_data() set it.
This is more consistent with how we treat other data, and it protects
us against a race condition where realm name updates arrive during
the DB fetching.

(imported from commit 545e3bd73f150438126e3f941e9bebc7aa1d0614)
2014-01-29 13:37:58 -05:00
..
fixtures Use our own fenced code preprocessor, fixing output mismatches 2014-01-28 15:35:32 -05:00
lib Handle realm_name in fetch_initial_state_data/apply_events. 2014-01-29 13:37:58 -05:00
management Fix command line help for ./manage.py show_admins 2014-01-28 17:40:00 -05:00
migrations [schema] at a `deactivated` field to Stream. 2014-01-29 12:41:20 -05:00
templatetags Add a custom template filter for formatting displaying lists of items in emails. 2013-10-25 19:11:40 -04:00
tests/frontend Fix the Admin page not working for newly-knighted users. 2014-01-29 12:41:22 -05:00
views Handle realm_name in fetch_initial_state_data/apply_events. 2014-01-29 13:37:58 -05:00
worker Split out zerver/lib/notifications.py from actions.py. 2014-01-24 17:33:56 -05:00
__init__.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
context_processors.py Fix documentation for email gateway on Zulip Enterprise. 2013-12-04 16:39:39 -05:00
decorator.py Improve Backend for Github integration 2014-01-22 16:44:34 -05:00
exceptions.py Enable absolute imports for non-third-party code where it was omitted previously 2013-10-25 14:13:30 -04:00
filters.py Add api_key to filtered variables. 2013-12-12 10:31:03 -05:00
finders.py [manual] Move our deployment scripts to scripts/. 2013-10-28 10:54:48 -04:00
forms.py [manual] Allow signups for emails held by non-MIT mirror dummy accounts. 2014-01-10 21:38:59 -05:00
handlers.py Remove old email error reporting handler 2013-11-13 16:22:21 -05:00
middleware.py Blacklist a few more statsd paths 2014-01-22 10:49:49 -05:00
models.py Don't expose deactivated streams to users through clients or API. 2014-01-29 12:41:21 -05:00
openid.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
retention_policy.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
static_header.txt Change Humbug => Zulip in text/comments. 2013-08-07 10:00:07 -04:00
storage.py Enable absolute imports for non-third-party code where it was omitted previously 2013-10-25 14:13:30 -04:00
test_hooks.py Extract test_hooks.py. 2014-01-29 10:56:00 -05:00
tests.py Handle realm_name in fetch_initial_state_data/apply_events. 2014-01-29 13:37:58 -05:00
tornado_callbacks.py Rename build_offline_notification_event to build_offline_notification. 2014-01-28 13:42:50 -05:00
tornadoviews.py Add support for event queues with an included narrow. 2013-12-12 17:36:39 -05:00