Leo Hemsted
8d7ced798e
Merge branch 'master' into pyup-update-monotonic-1.3-to-1.4
2017-11-02 11:51:52 +00:00
Leo Hemsted
d469d22084
Merge pull request #1345 from alphagov/pyup-update-marshmallow-2.13.6-to-2.14.0
...
Update marshmallow to 2.14.0
2017-11-02 11:51:15 +00:00
Rebecca Law
f1ea586534
Merge pull request #1361 from alphagov/remove-notificaiton_statistics
...
Remove NotificationStatistics
2017-11-02 11:46:55 +00:00
Rebecca Law
f5e79302cd
Remove NotificationStatistics
...
NotificationStatistics was added as a spike but didn't work out as expected. This is finally removing all that unused code.
I'll drop the table in the next PR
2017-11-01 15:02:50 +00:00
Rebecca Law
ea1b6d1b31
Merge pull request #1354 from alphagov/sms_sender_id-for-post-notfications
...
SMS sender id for post notifications
2017-11-01 11:34:17 +00:00
Rebecca Law
830619194e
Renamed some tests.
...
Fix some imports.
Added test for a function
2017-11-01 11:01:20 +00:00
Sakis
c38db8b72e
Merge pull request #1360 from alphagov/makefile-update
...
Explicitly target environment on cf-push
2017-10-31 16:59:53 +00:00
Athanasios Voutsadakis
2e65417dc2
Explicitly target environment on cf-push
2017-10-31 16:51:49 +00:00
Rebecca Law
bd51dc9e73
Merge pull request #1359 from alphagov/update-utils
...
Update utils with a bug fix for addresses in LetterDVLA template
2017-10-31 15:33:16 +00:00
Rebecca Law
c8a210afd1
Added a command to re-run the build_dvla_file for a given job id.
...
There was an instance where the file failed to create because the address in the personalisation had punctuation which caused the address lines to merge into one.
Utils has been updated to fix that problem, this task will allow us to re-run the task so that the notifications can be sent.
2017-10-31 15:20:14 +00:00
Rebecca Law
f01c088f2f
Update utils with a fix for address formats for letters.
2017-10-31 15:03:12 +00:00
Chris Waszczuk
1c0da94c6c
Merge pull request #1357 from gov-cjwaszczuk/master
...
Allow updating auth type
2017-10-31 10:46:03 +00:00
chrisw
a95d6e8b2e
allow updating auth type
2017-10-31 10:36:53 +00:00
pyup-bot
437ef72047
Update monotonic from 1.3 to 1.4
2017-10-30 19:17:40 +00:00
Leo Hemsted
8cb74f5f90
Merge pull request #1352 from alphagov/auth-type
...
Add auth_type column to user and invited user
2017-10-30 17:10:26 +00:00
Rebecca Law
d671adc1eb
Fix codestyle
2017-10-30 16:51:27 +00:00
Sakis
ee44c2e380
Merge pull request #1347 from alphagov/add-delivery-receipts-app
...
Add worker-receipts app
2017-10-30 15:32:28 +00:00
Rebecca Law
b1b231ba90
Merge branch 'master' into sms_sender_id-for-post-notfications
2017-10-30 15:20:39 +00:00
Rebecca Law
db6668eb61
Added the notification_to_sms_sender mapping table to the purge notifications query
2017-10-30 15:17:01 +00:00
Athanasios Voutsadakis
603a5d31e3
Merge branch 'master' into add-delivery-receipts-app
2017-10-30 15:16:53 +00:00
Rebecca Law
0887910b1b
Get the sms sender from the notificaiton_sms_sender mapping table if that does not exist get the default sms sender to pass on to the sms provider.
2017-10-30 14:55:44 +00:00
Richard Chapman
50f6cddc5a
Merge pull request #1353 from alphagov/add-task-for-ses-results-queue
...
Retry in only certain scenarios
2017-10-30 14:02:44 +00:00
Richard Chapman
d85a71758c
Retry in only certain scenarios
...
Instead of retrying if there are genuine errors, only retry if there are
errors which are unexpected as otherwise the retries will happen and
fail for the same reason e.g. that the message has changed format and
will require a code update.
- Updated process_ses_results to only retry if there in an unknown
exception
- Update test and assert that there is a retry there is a unknown
exception
2017-10-30 13:43:23 +00:00
Rebecca Law
4eec11b633
Added an optional parameter in the form for POST /v2/notifications/sms and /service/<service_id>/send-notification to pass in the SMS sender id.
...
The send_sms_to_provider still needs to use the SMS sender being passed in to the POST.
As part of https://www.pivotaltracker.com/story/show/152106587
2017-10-30 13:36:49 +00:00
Leo Hemsted
7c8586f959
add auth_type to schemas to enable updating in endpoints
2017-10-30 12:29:01 +00:00
Leo Hemsted
0ab89116ee
use server_default in alembic to ensure zero-downtimeness
...
we can back-fill data, however, between alembic running and the api
updating to the new code, it'll still try and create new users without
adding the auth_type, because that won't be referenced in the model yet.
Instead of using a python-level default, a postgres-level
server_default will make postgres set every row to sms_auth if it's not
defined in the application.
2017-10-30 11:59:35 +00:00
Leo Hemsted
6acea8323b
fixup! add auth type table, currently contains sms_auth and email_auth
2017-10-30 11:59:32 +00:00
Leo Hemsted
c39ec90727
add auth type table, currently contains sms_auth and email_auth
2017-10-30 11:11:37 +00:00
Venus Bailey
dd4554fad2
Merge pull request #1342 from alphagov/vb-free-sms-limit-history
...
Free sms limit by service and year
2017-10-30 10:14:21 +00:00
venusbb
b648c2e632
Merge branch 'master' of https://github.com/alphagov/notifications-api into vb-free-sms-limit-history
2017-10-30 09:34:23 +00:00
Athanasios Voutsadakis
9b41aa83d4
Merge branch 'master' into add-delivery-receipts-app
2017-10-27 16:32:42 +01:00
Rebecca Law
f66b7f0a5d
Merge pull request #1350 from alphagov/update-page-counts-for-letters
...
Update page count when processing response file for letters
2017-10-27 16:21:28 +01:00
Rebecca Law
ca10c72fe6
Fix typo
2017-10-27 16:00:07 +01:00
kentsanggds
ab66296b3c
Merge pull request #1349 from alphagov/ken-add-service-email-reply-to
...
Add notification email reply_to script
2017-10-27 15:39:24 +01:00
Ken Tsang
8a4c8802ef
Add notification email reply_to script
2017-10-27 15:11:35 +01:00
Athanasios Voutsadakis
3a0507ded8
Merge branch 'master' into add-delivery-receipts-app
2017-10-27 15:08:47 +01:00
Leo Hemsted
830b26313e
Merge pull request #1346 from alphagov/email-auth
...
add new email_auth service permission
2017-10-27 14:51:34 +01:00
Leo Hemsted
46f5896b3b
add new email_auth service permission
2017-10-27 14:28:20 +01:00
Rebecca Law
76c8b15f59
Update the billable units with the page count from the response file for letter notifications.
2017-10-27 13:53:55 +01:00
Athanasios Voutsadakis
131495125e
Add worker-receipts app
2017-10-27 12:05:15 +01:00
venusbb
6f02ee516c
Merge branch 'master' of https://github.com/alphagov/notifications-api into vb-free-sms-limit-history
2017-10-27 10:47:20 +01:00
Rebecca Law
43843eb5d1
Merge pull request #1344 from alphagov/notification_to_sms_sender
...
Create a new table to map a notification to a SMS sender.
2017-10-27 09:51:27 +01:00
pyup-bot
3966efb109
Update marshmallow from 2.13.6 to 2.14.0
2017-10-27 01:03:34 +01:00
venusbb
c991df3209
Merge branch 'master' of https://github.com/alphagov/notifications-api into vb-free-sms-limit-history
2017-10-26 20:47:18 +01:00
venusbb
eca93a5a24
added a new end point current-year and tests
2017-10-26 17:21:35 +01:00
Rebecca Law
b048b2c3bf
DB update script for new table
2017-10-26 16:40:38 +01:00
Rebecca Law
c9909a4216
Merge pull request #1343 from alphagov/improve-get-services
...
Improve get services
2017-10-26 15:28:56 +01:00
Rebecca Law
4f65ca5447
Create a new table to map a notification to a SMS sender.
...
There is also some minor db model updates here so that the python db model match the db
2017-10-26 15:25:38 +01:00
venusbb
8dd86d433e
Merge branch 'master' of https://github.com/alphagov/notifications-api into vb-free-sms-limit-history
2017-10-26 15:02:41 +01:00
Richard Chapman
91b721da4b
Merge pull request #1340 from alphagov/add-task-for-ses-results-queue
...
Add task for SES results queue
2017-10-26 13:40:07 +01:00