Rebecca Law
dff60175a4
Add jobs.notifications_delivered and jobs.notifications_failed counts to the jobs table.
2016-05-23 15:44:57 +01:00
Rebecca Law
a436ff32a1
Merge pull request #338 from alphagov/only-update-status-when-sending
...
Only update status when status is sending.
2016-05-23 10:31:28 +01:00
Rebecca Law
cf2723bdc9
If the sms client provider sends more than one delivery receipt only take the update for the the first one.
...
Only update the notification.status if status = sending.
2016-05-20 17:04:56 +01:00
Rebecca Law
2b27ca9187
Merge pull request #335 from alphagov/fix-history-data
...
Data migration script to fix templates_history.updated_at.
2016-05-20 16:02:23 +01:00
Rebecca Law
e0864dfdb5
Data migration script to fix templates_history.updated_at.
...
There was a bug that was not setting the updated_at for the history table.
2016-05-20 15:56:07 +01:00
Rebecca Law
a8c79bf80d
Merge pull request #334 from alphagov/case-insensitive-email
...
Make the get_user_by_email_address case insensitive.
2016-05-20 15:55:38 +01:00
Leo Hemsted
436992adaa
Merge pull request #333 from alphagov/notification_statistics_endpoint
...
notification_statistics endpoint
2016-05-20 15:39:08 +01:00
Leo Hemsted
81e5eb2c0a
return all zeros when NotificationStatistics dont exist
2016-05-20 15:24:57 +01:00
Rebecca Law
0f9a019945
Make the get_user_by_email_address case insenstive.
2016-05-20 13:43:31 +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
Leo Hemsted
0ad050043c
new /notification/statistics endpoint
2016-05-20 09:48:06 +01:00
NIcholas Staples
297f8aac6e
Merge pull request #332 from alphagov/json_template_dates
...
Update template json to return created_at and updated_at. Also fixed …
2016-05-20 09:43:48 +01:00
Nicholas Staples
1797d9360b
Update template json to return created_at and updated_at. Also fixed a bug where updated_at was not being added to the templates_history model.
2016-05-19 17:02:55 +01:00
NIcholas Staples
e0f6b4e571
Merge pull request #327 from alphagov/add_job_row_number
...
Added job row number to the notification for csv jobs. All tests pass…
2016-05-19 14:33:21 +01:00
Martyn Inglis
b550ee1e8f
Lowercasing the instance name to ensure that matches across AWS builds
2016-05-19 14:33:14 +01:00
Martyn Inglis
5f7292f92c
Renamed the instance keys
2016-05-19 14:07:02 +01:00
minglis
36cf00df4e
Merge pull request #329 from alphagov/adding-nodowntime-scripts
...
Adding nodowntime scripts
2016-05-19 13:58:29 +01:00
Adam Shimali
17f7ba952c
Merge pull request #328 from alphagov/mmg-response-status
...
Added additional outcome status codes to mmg responses.
2016-05-19 13:06:48 +01:00
Martyn Inglis
312c6c56f8
Wire in nodowntime scripts
2016-05-19 11:38:22 +01:00
Martyn Inglis
41512435e3
Adding nodowntime scripts as used in the admin app
...
Adapted to look up instance name from instance Tags
Allows app to choose correct ELB to de/register with
Delivery apps exit with code 0 earlier in the process
2016-05-19 11:37:23 +01:00
Adam Shimali
955005d7fe
Added additional outcome status codes to mmg responses.
2016-05-19 11:27:22 +01:00
Nicholas Staples
0fe0c1d2b4
Added job row number to the notification for csv jobs. All tests passing.
2016-05-19 10:46:03 +01:00
Martyn Inglis
c7c023d996
Wait until deployed on all travis deploys
2016-05-19 10:28:15 +01:00
NIcholas Staples
03df991b38
Merge pull request #326 from alphagov/test_task_bug
...
Fix test to check for decrypted dictionary value.
2016-05-18 16:22:45 +01:00
Nicholas Staples
c46216dd96
Fix test to check for decrypted dictionary value.
2016-05-18 14:28:19 +01:00
NIcholas Staples
a606f2c97e
Merge pull request #301 from alphagov/server_commands
...
Add server_commands and update readme.md
2016-05-18 13:59:26 +01:00
Nicholas Staples
15607c0977
Add server_commands and update readme.md
...
Update command to search for services from the user.
2016-05-18 12:20:56 +01:00
NIcholas Staples
55ed143889
Merge pull request #325 from alphagov/remove_subject_uniqueness
...
Removed template subject uniqueness
2016-05-18 11:31:32 +01:00
Nicholas Staples
6e7383de33
Removed template subject uniqueness
2016-05-18 10:00:09 +01:00
Rebecca Law
9407273381
Merge pull request #321 from alphagov/email-failures
...
Email failures
2016-05-17 15:59:52 +01:00
Rebecca Law
d0da4e1ef2
Merge branch 'master' into email-failures
2016-05-17 15:41:00 +01:00
Rebecca Law
281a93b32d
Update ses callback to interpret hard and soft bounces.
...
If the notification has a status == sending then update the status otherwise do not update the status.
In other words do not change the status more than once.
2016-05-17 15:38:49 +01:00
Adam Shimali
d5c4af957c
Merge pull request #320 from alphagov/fix-reply-to
...
Was incorrectly setting from not reply to
2016-05-17 14:50:08 +01:00
Adam Shimali
e1685d6a45
Was incorrectly setting from not reply to
2016-05-17 14:31:33 +01:00
Chris Hill-Scott
9a195dbac2
Merge pull request #319 from alphagov/utils-bump
...
Bump utils version
2016-05-17 14:03:04 +01:00
Rebecca Law
4762aef1aa
Merge pull request #318 from alphagov/tech-failures
...
New notification status types
2016-05-17 13:50:57 +01:00
Chris Hill-Scott
0cd01f831c
Bump utils version
...
Includes:
- https://github.com/alphagov/notifications-utils/pull/33
Ensure email header is full width
- https://github.com/alphagov/notifications-utils/pull/32
Handle CSV files with blank column headers
2016-05-17 13:24:08 +01:00
Adam Shimali
f432ca33c5
Merge pull request #317 from alphagov/send-using-reply-to
...
Send using reply to
2016-05-17 13:06:52 +01:00
Rebecca Law
191a79f27b
Add new failure status for notifications.
2016-05-17 13:06:08 +01:00
Adam Shimali
3812dac3fe
Missing mock
2016-05-17 12:49:37 +01:00
Adam Shimali
642fb6f68b
Process job for email uses reply to if present
2016-05-17 12:41:13 +01:00
Rebecca Law
8be3997bcf
Merge branch 'master' into tech-failures
2016-05-17 12:05:48 +01:00
Rebecca Law
49db4e81d5
Add new notification status types for technical_failure, temporary_failure, permanent_failure
2016-05-17 11:46:28 +01:00
Adam Shimali
91c92ad524
Merge pull request #316 from alphagov/save-reply-to
...
[WIP] save reply to email address on service
2016-05-17 11:40:32 +01:00
Adam Shimali
682ea55d9e
[WIP] save reply to email address on service
2016-05-17 10:56:02 +01:00
Rebecca Law
74df271739
Merge pull request #313 from alphagov/fix-missing-created_by_id
...
There is a problem where columns on the templates table were not set.
2016-05-16 17:51:50 +01:00
Rebecca Law
992f9d78f9
There is a problem where columns on the templates table were not set.
...
It is also discovered that columns that have a default value and use the version mixin must set the value when creating the db object before the insert otherwise the history table will be missing the default value.
Updated the templates_history.created_by_id with a value where missing, using the current version of the template for this value.
Update templates_history.archived to false. This is okay as we do not yet have a way to set this value to true.
Removed the versions attribute from the TemplateSchema, there is not a need for this column.
2016-05-16 16:16:14 +01:00
minglis
3c751d94a4
Merge pull request #309 from alphagov/statsd-integration
...
Statsd integration
2016-05-16 12:29:14 +01:00
Rebecca Law
5a38aa5819
Merge pull request #310 from alphagov/add-template-version
...
Add template version for jobs and notifications
2016-05-16 12:20:46 +01:00