zulip/zephyr
Tim Abbott b1f75e8d3f Clean up notifications.received_messages.
This is trying to make the logic flow clear -- e.g. we check once, at
the beginning, for whether the message is notifiable, and the checks
for whether the various notification settings are enabled are more
parallel.

(imported from commit a68c71a53055191bc16682a85f739ed8e40ddeae)
2013-05-09 10:35:49 -04:00
..
fixtures Add tests for pivotal tracker integration 2013-04-19 13:46:41 -04:00
lib Only register a Tornado rabbitmq handler if we're using rabbitmq. 2013-05-09 10:35:49 -04:00
management Log which missedmessage events are received 2013-05-09 10:35:48 -04:00
migrations [schema] Add database fields for offline email notifications and timestamp 2013-05-09 10:35:48 -04:00
static Clean up notifications.received_messages. 2013-05-09 10:35:49 -04:00
tests Always-open composebox. 2013-05-09 10:35:46 -04:00
__init__.py Initial Django commit: basic account, zephyr stream, narrowing, etc. 2012-08-28 12:44:51 -04:00
context_processors.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
decorator.py decorators: Replace POST with REQ everywhere. 2013-05-09 10:35:49 -04:00
filters.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
forms.py Add a comment to emphasise why we shouldn't break the HomepageForm. 2013-04-24 12:03:42 -07:00
handlers.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
middleware.py Fix typo and send proper dbtime to statsd 2013-05-01 17:24:38 -04:00
models.py [schema] Add database fields for offline email notifications and timestamp 2013-05-09 10:35:48 -04:00
openid.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
retention_policy.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
tests.py Update settings backend tests to handle new frontent config options 2013-05-09 10:35:48 -04:00
tornado_callbacks.py Send notification with missed message to users if they received a PM while offline 2013-05-09 10:35:48 -04:00
tornadoviews.py decorators: Replace POST with REQ everywhere. 2013-05-09 10:35:49 -04:00
views.py decorators: Replace POST with REQ everywhere. 2013-05-09 10:35:49 -04:00