Leo Hemsted
|
96513442fe
|
notifications from test api keys dont send for real - a la research_mode
also added a bunch more tests around api keys to help ensure we're behaving in at least a consistent way
|
2016-07-05 16:29:53 +01:00 |
|
Leo Hemsted
|
eee98e3e52
|
move callback tests into separate file
also fix syntax errors
|
2016-07-05 16:20:03 +01:00 |
|
Leo Hemsted
|
01419e7894
|
store api_key_id and key_type on notification
pass through from POST /notification/<type> to the celery task
also removed a couple of asserts that can fail (based on unfrozen time comparisons)
|
2016-07-01 14:35:02 +01:00 |
|
Leo Hemsted
|
5ae7ed1acb
|
only send to team emails/phones if POST /notificaiton/<type> with team api_key
uses same restriction as a service in trial mode
|
2016-07-01 14:33:25 +01:00 |
|
Leo Hemsted
|
5cd3043fc5
|
return replaced subject back from send_notification API
|
2016-06-21 15:03:33 +01:00 |
|
Leo Hemsted
|
2b13033e85
|
add template body, version, and subject to send_notification api
|
2016-06-15 14:51:35 +01:00 |
|
Leo Hemsted
|
d0eca79417
|
move all send_notification tests to separate file
|
2016-06-15 12:27:57 +01:00 |
|
Leo Hemsted
|
a90a18541f
|
notifications/statistics returns when no stats exist for today
moved filtering from WHERE to JOIN ON so that when join suceeds but filter fails, we dont lose the service's data from the results set
|
2016-05-26 16:48:30 +01:00 |
|
Leo Hemsted
|
81e5eb2c0a
|
return all zeros when NotificationStatistics dont exist
|
2016-05-20 15:24:57 +01:00 |
|
Leo Hemsted
|
1b27c15c16
|
/notifications/statistics now takes 'day' parameter
avoids potential issues with date.today being inconsistent with user timezone
|
2016-05-20 11:31:35 +01:00 |
|
Leo Hemsted
|
f7768366a1
|
added test_notification_statistics file
put in new rest subfolder in anticipation of refactoring test_rest.py
|
2016-05-20 09:57:31 +01:00 |
|