zulip/zerver
Steve Howell 8a1fb2dcd6 presence: Calculate server_timestamp slightly earlier.
We want to err on the side of server_timestamp being
old, since we may eventually use this to make responses
just include incremental changes, and we don't want a
time window (however small) when we miss presence rows.
The clients will be able to deal with duplicate data
to the extent that the time windows are overlapping.

Also, extracting the other local var here
(for `presences`) will set up a subsequent commit
where we re-format the data for clients with
slim_presence=True.
2020-02-06 17:16:22 -08:00
..
data_import import: Support importing team icon from slack. 2020-02-03 14:09:05 -08:00
lib home: Refactor logic for show_invites and show_add_streams. 2020-02-05 16:05:02 -08:00
management rate_limiter: Rename 'all' domain to 'api_by_user'. 2020-02-02 19:15:13 -08:00
migrations settings: Migrate to stream_post_policy structure. 2020-02-04 17:08:08 -08:00
openapi settings: Migrate to stream_post_policy structure. 2020-02-04 17:08:08 -08:00
templatetags openapi: Pass api_url to curl example generation. 2019-08-17 11:35:08 -07:00
tests home: Refactor logic for show_invites and show_add_streams. 2020-02-05 16:05:02 -08:00
tornado event_queue: Fix confusing event_queue.push interface. 2020-02-05 12:40:01 -08:00
views presence: Calculate server_timestamp slightly earlier. 2020-02-06 17:16:22 -08:00
webhooks webhooks/ansibletower: Update for AWX 9.1.1. 2020-02-02 20:21:03 -08:00
worker queue: Remove missedmessage_email_senders. 2020-01-31 12:13:51 -08:00
__init__.py
apps.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
context_processors.py login: Make authentication_methods data available to JavaScript. 2020-02-02 20:22:49 -08:00
decorator.py exceptions: Move default json_unauthorized string to response.py. 2020-02-05 15:40:10 -08:00
filters.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
forms.py rate_limiter: Limit the amount of password reset emails to one address. 2020-02-02 19:15:13 -08:00
logging_handlers.py version: Only let git describe match tags beginning with a digit. 2019-10-24 14:54:45 -07:00
middleware.py exceptions: RateLimited shouldn't inherit from PermissionDenied. 2020-02-02 19:15:00 -08:00
models.py settings: Migrate to stream_post_policy structure. 2020-02-04 17:08:08 -08:00
signals.py onboarding: Use delivery_email in "new login" notifications. 2019-11-14 12:19:47 -08:00