Rebecca Law
f283379646
Defend against status code 00 or 0 from mmg
2016-04-20 11:07:21 +01:00
Rebecca Law
41ce691704
Update to processing the the response from MMG
...
MMG changed the datatype and the status codes they send us for the delivery receipts.
This PR accounts for that change.
2016-04-20 09:45:13 +01:00
Adam Shimali
6ef8bb5ada
Merge pull request #236 from alphagov/record-service-history
...
A slightly manual way of recording history.
2016-04-19 17:18:19 +01:00
Adam Shimali
8ea8bba612
Fix migration downgrade
2016-04-19 17:13:26 +01:00
Adam Shimali
a6a18c1a6f
This approach uses part of sqlalchemy example history_meta code
...
adapted to recording inserts and updates.
This removes need to manually create history tables.
Our code still remains in control of when history records are
created.
2016-04-19 17:13:26 +01:00
NIcholas Staples
16553af133
Merge pull request #238 from alphagov/add_page_size_parameter
...
Added page_size parameter for notifications api. All tests passing.
2016-04-19 14:46:54 +01:00
Nicholas Staples
31978bd987
Added page_size parameter for notifications api. All tests passing.
...
Add page_size and total parameters to all calls for notifications.
2016-04-19 11:26:21 +01:00
NIcholas Staples
58ab831df9
Merge pull request #229 from alphagov/process_email_subject_placeholders
...
Character count added and tests passing.
2016-04-18 16:16:10 +01:00
NIcholas Staples
d59cf0133c
Merge pull request #235 from alphagov/mmg_bug_fix
...
Added multi parameter for sending messages.
2016-04-18 16:16:00 +01:00
Rebecca Law
bcb031259c
Revert "Update master with all the staging changes for aws deployments."
...
This reverts commit bfb59811f4 .
2016-04-18 14:07:54 +01:00
Nicholas Staples
15c4fb47f7
Added multi parameter for sending messages.
2016-04-18 09:55:56 +01:00
Rebecca Law
a96d2b5e4a
Merge pull request #232 from alphagov/aws-fixup
...
Update master with all the staging changes for aws deployments.
2016-04-15 16:42:42 +01:00
Nicholas Staples
f681d40366
Character count added and tests passing.
...
Remove sql restriction for count to not be null.
2016-04-15 16:31:13 +01:00
Rebecca Law
bfb59811f4
Update master with all the staging changes for aws deployments.
2016-04-15 16:10:11 +01:00
Rebecca Law
966a662513
Merge branch 'master' of github.com:alphagov/notifications-api
2016-04-15 14:51:35 +01:00
Rebecca Law
86104f7e56
Fix deployment group names
2016-04-15 14:51:12 +01:00
Chris Hill-Scott
a6f78ecdbd
Merge pull request #225 from alphagov/unlink-govuk
...
Stop GOV.UK becoming a link in email clients
2016-04-15 13:34:06 +01:00
Chris Hill-Scott
02f903b44c
Stop GOV.UK becoming a link in email clients
...
Implements (and depends on)
https://github.com/alphagov/notifications-utils/pull/24
Works for:
- emails we send to users, eg invite, forgot password
- email templates that users have created
2016-04-15 12:33:58 +01:00
Rebecca Law
9eb895a98b
Merge pull request #226 from alphagov/simplify-jwt
...
Simplify jwt
2016-04-15 12:05:15 +01:00
Rebecca Law
c9761cd58a
remove unused import
2016-04-15 10:59:00 +01:00
Rebecca Law
282a62e636
Use the new version of the notifications-python-client. This version no longer adds the req and pay to the claims of the jwt.
...
The change is backward compatible so an older client that sends a jwt with the extra claims will pass authentication.
Once all the clients have been updated to not include the extra claims some updates to exclude them from the method signatures will happen as well.
2016-04-14 18:12:33 +01:00
NIcholas Staples
b9ca7c239a
Merge pull request #221 from alphagov/process_email_subject_placeholders
...
Working placeholders in subject with upgraded notifications-utils.
2016-04-13 16:04:42 +01:00
Nicholas Staples
1b76646170
Working placeholders in subject with upgraded notifications-utils.
...
Fix test.
2016-04-13 15:53:27 +01:00
NIcholas Staples
3c4c9c18dc
Merge pull request #219 from alphagov/fix_delete_successful_bug
...
Fixed bug with deleting the 'delivered' notifications.
2016-04-13 12:54:38 +01:00
Nicholas Staples
7fa33a52a9
Fixed bug with deleting the 'delivered' notifications.
2016-04-13 12:49:38 +01:00
Rebecca Law
cf883ed339
Merge pull request #217 from alphagov/update_uuid_all_db_models
...
Update uuid all db models
2016-04-13 11:59:40 +01:00
Chris Hill-Scott
19b3a53499
Merge pull request #218 from alphagov/order-templates-updated
...
Order templates by last updated date
2016-04-12 15:26:20 +01:00
Chris Hill-Scott
29b9e50952
Order templates by last updated date
...
The template you want to send/edit is probably one of the ones you
recently sent from or edited.
https://www.pivotaltracker.com/story/show/117159263
2016-04-11 17:39:49 +01:00
Nicholas Staples
90f0505a3d
Update limit to message_limit.
...
Further db changes and updates.
Remove traceback print out.
Fix bug in passing template id to a task.
2016-04-11 16:53:40 +01:00
Nicholas Staples
c4b316bde6
Rebased migrations, all tests working.
2016-04-08 13:34:54 +01:00
Rebecca Law
2abdad8d20
Merge pull request #215 from alphagov/fix-configs
...
Fix configs
2016-04-08 11:12:04 +01:00
Rebecca Law
14ecc78224
Merge branch 'master' into fix-configs
2016-04-08 11:04:52 +01:00
Rebecca Law
203d9f1e42
Fix mmg_api_key config
2016-04-08 11:04:24 +01:00
Rebecca Law
f17acf6d6c
Merge pull request #212 from alphagov/fix-configs
...
Fix bucket name for all environments
2016-04-08 10:40:58 +01:00
Rebecca Law
39f7aa0820
Fix bucket name for all environments
2016-04-08 10:28:25 +01:00
Rebecca Law
33b68d8b57
Merge pull request #206 from alphagov/use-app-hosted-crown
...
Use version of crown logo hosted by admin app
2016-04-08 10:13:03 +01:00
Rebecca Law
cb6e7768ab
Merge pull request #211 from alphagov/fix-configs
...
Add live and staging config for MMG_API_KEY
2016-04-08 10:12:02 +01:00
Rebecca Law
3813d33e2b
Add live and staging config for MMG_API_KEY
2016-04-08 10:00:06 +01:00
NIcholas Staples
2024469eb7
Merge pull request #209 from alphagov/uploaded_csv_location_change
...
Updated to retrieve csv upload from new bucket.
2016-04-07 15:08:21 +01:00
Nicholas Staples
143d1b0db8
Updated to retrieve csv upload from new bucket.
...
Fix test errors.
2016-04-07 14:10:30 +01:00
Rebecca Law
74700334e6
Merge pull request #207 from alphagov/integrate_MMG
...
Integrate mmg
2016-04-07 10:58:36 +01:00
Rebecca Law
fb04b36cba
Fix **kwargs
2016-04-07 10:53:59 +01:00
Rebecca Law
b4473a2825
Merge branch 'master' into integrate_MMG
2016-04-07 10:44:13 +01:00
Rebecca Law
c132bbf46e
Rename NOTIFY_FROM_NUMBER to MMG_FROM_NUMBER, there should be a separate short code per provider.
2016-04-07 10:18:46 +01:00
Adam Shimali
66e0f225a9
Merge pull request #205 from alphagov/fix-for-stats-window
...
Fix for date range required for template stats
2016-04-07 10:01:33 +01:00
Chris Hill-Scott
98c92fa04e
Use version of crown logo hosted by admin app
...
Implements and depends on:
https://github.com/alphagov/notifications-utils/pull/19
Depends on this admin app deploy:
https://github.com/alphagov/notifications-admin/pull/410
2016-04-07 10:01:05 +01:00
Adam Shimali
4ed2e7f8f2
Fix for misunderstanding about date range required for templates
...
stats.
It should always be last n days, whether or not there is data.
2016-04-07 09:30:02 +01:00
Rebecca Law
340f8ceaf6
Update mmg send_sms to include cid and request headers
...
Use mmg to send_sms
2016-04-06 17:35:14 +01:00
Rebecca Law
90194cbbb8
Remove the abstract ClientResponses class. Refactor aws_ses not to require the class.
...
All three client now use a response_map for the delivery receipt processing.
2016-04-06 16:34:45 +01:00
Rebecca Law
323b2ff537
Use MMG client for send-sms
2016-04-06 15:56:34 +01:00