zulip/zerver/lib
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
..
bugdown Allow up to three twitter previews per message 2014-01-29 11:00:41 -05:00
__init__.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
actions.py Handle realm_name in fetch_initial_state_data/apply_events. 2014-01-29 13:37:58 -05:00
alert_words.py Clean up some unused imports. 2013-11-04 11:51:17 -05:00
avatar.py Allow overriding the default avatar image 2013-11-18 11:48:53 -05:00
bulk_create.py [schema] Add a bit for whether inactive users are mirror dummies. 2014-01-09 11:08:35 -05:00
cache.py Rename update_stream_cache() to flush_stream(). 2014-01-28 17:40:01 -05:00
cache_helpers.py Support filling memcached caches with no messages. 2013-11-13 12:07:16 -05:00
ccache.py Clean up some unused imports. 2013-11-04 11:51:17 -05:00
context_managers.py Use os.path directly rather than sometimes importing it separately. 2013-10-28 15:44:13 -04:00
create_user.py [schema] Add a bit for whether inactive users are mirror dummies. 2014-01-09 11:08:35 -05:00
db.py Do query time tracking at the psycopg2 level instead of the Django level 2014-01-14 11:47:12 -05:00
debug.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
digest.py Don't expose deactivated streams to users through clients or API. 2014-01-29 12:41:21 -05:00
email_mirror.py Split out zerver/lib/notifications.py from actions.py. 2014-01-24 17:33:56 -05:00
event_queue.py Don't log exceptions that we know aren't bugs when adding events to event queues 2014-01-03 14:40:55 -05:00
html_diff.py Make built-in bots come from settings.py, and allow localserver-specific ones 2013-11-01 14:13:05 -04:00
initial_password.py Only create initial passwords for local dev setups 2013-11-12 22:42:05 -05:00
logging_util.py Enable absolute imports for non-third-party code where it was omitted previously 2013-10-25 14:13:30 -04:00
mandrill_client.py [schema] Add ScheduledJob table, and update mandrill related code 2013-11-13 16:41:36 -05:00
mention.py Clean up some unused imports. 2013-11-04 11:51:17 -05:00
narrow.py Add support for event queues with an included narrow. 2013-12-12 17:36:39 -05:00
notifications.py Split out zerver/lib/notifications.py from actions.py. 2014-01-24 17:33:56 -05:00
parallel.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
push_notifications.py Handle duplicate GCM registrations by dropping the old ones. 2014-01-23 19:21:28 -05:00
query.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
queue.py Simplify callback protocol for register_json_consumer(). 2013-10-31 13:18:11 -04:00
rate_limiter.py [schema] Support for authenticating Deployments via the API. 2013-10-25 14:13:30 -04:00
response.py Have rest_dispatch return JSON when exceptions are thrown. 2013-12-13 17:38:20 -05:00
rest.py Report json format 500 errors from all json format views. 2013-12-19 16:48:51 -05:00
socket.py [socket] Use socket req ids that contain queue ids 2014-01-23 16:28:58 -05:00
statistics.py Add tool to query our usage stats as of a given date. 2013-12-17 15:34:44 -05:00
test_helpers.py Add tests for stream deletion. 2014-01-29 13:09:50 -05:00
test_runner.py Switch to DiscoverRunner from DjangoTestSuiteRunner 2014-01-29 11:34:31 -05:00
timeout.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
timestamp.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
tornado_ioloop_logging.py Support Tornado 3 2014-01-10 21:39:06 -05:00
unminify.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
upload.py Clean up some unused imports. 2013-11-04 11:51:17 -05:00
user_agent.py Add script to parse user agents with historical data set. 2013-12-13 11:26:36 -05:00
utils.py Move to a common random token generation function instead of several one-offs. 2013-08-09 14:59:26 -04:00
validator.py Add blank line to check_list (cosmetic). 2013-12-18 12:47:32 -05:00