Commit Graph
100 Commits
Author SHA1 Message Date
Nicholas Staples dd9a7f09c5 Twilio config variables removed. 2016-06-13 08:39:33 +01:00
Nicholas Staples 8a1f4de217 Task added to update 'sending' notifications after 72 hours, set task to temporary-failure. 2016-06-08 15:25:57 +01:00
Nicholas Staples bbd64b088b Added migration to add rate. Tested worked locally. 2016-06-08 10:34:09 +01:00
Nicholas Staples 903c479d7a Update log messages so they don't produce an error on the utils logger. 2016-06-07 11:59:13 +01:00
Nicholas Staples fe7d894420 Replaced mmg from number and firetext from number with single from number.
Fix merge mistake.

Fix tests from merge.

Update config to include correct staging and live names.
2016-06-06 16:41:33 +01:00
Nicholas Staples 276ca15919 Provider stats only updated if the provider successfully sends the message. 2016-06-01 12:43:26 +01:00
Nicholas Staples 79dfc360f2 Notification not created in send_sms or send_email when service is in restricted mode. 2016-05-31 14:55:06 +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 0fe0c1d2b4 Added job row number to the notification for csv jobs. All tests passing. 2016-05-19 10:46:03 +01:00
Nicholas Staples c46216dd96 Fix test to check for decrypted dictionary value. 2016-05-18 14:28:19 +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 6e7383de33 Removed template subject uniqueness 2016-05-18 10:00:09 +01:00
Nicholas Staples 03f15d6af9 Update now to utcnow. All tests passing. 2016-05-11 10:56:24 +01:00
Nicholas Staples 083d3d75ae Add user details to template schema dump. 2016-05-10 14:55:59 +01:00
Nicholas Staples b28474d74c Get all versions for a template endpoint added. 2016-05-09 15:59:34 +01:00
Nicholas Staples 9b3d4a6087 Template history endpoint added. All tests passing.
Code quality fix.
2016-05-06 15:47:13 +01:00
Nicholas Staples d40d9f76d4 Purge functional tests command added with passing test.
Code quality fix.
2016-05-06 11:16:30 +01:00
Nicholas Staples f465066a69 Group by Notification Statistics added and all tests working.
Fixed tests for upgraded client.
2016-05-05 11:04:20 +01:00
Nicholas Staples 09d3ae27b6 Update created_by to work like other relationship fields. 2016-04-29 12:24:43 +01:00
Nicholas Staples f71dbe9c0f Message limit added and all tests passing. 2016-04-29 10:36:59 +01:00
Nicholas Staples bedc20d0ff Fragment count endpoint added and all tests working. 2016-04-28 12:01:57 +01:00
Nicholas Staples e6cc3b1724 Added functionality to archive a template.
Renamed migration file.
2016-04-26 10:11:18 +01:00
Nicholas Staples cec582e73d Fix migration. 2016-04-25 13:57:55 +01:00
Nicholas Staples b56e324a4c Working tests and provider stats table.
Fix for tests and import error.

Added tests and updated for code review comments.
2016-04-25 12:20:06 +01:00
Nicholas Staples 3b1423a2ea Provider Statistics added.
Rates command added with a test.

Updated to include added migration.
2016-04-21 13:47:04 +01:00
Nicholas Staples bee23281fc Updated text send to user for the authorization code. 2016-04-20 12:02:17 +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 15c4fb47f7 Added multi parameter for sending messages. 2016-04-18 09:55:56 +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
Nicholas Staples 1b76646170 Working placeholders in subject with upgraded notifications-utils.
Fix test.
2016-04-13 15:53:27 +01:00
Nicholas Staples 7fa33a52a9 Fixed bug with deleting the 'delivered' notifications. 2016-04-13 12:49:38 +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
Nicholas Staples 143d1b0db8 Updated to retrieve csv upload from new bucket.
Fix test errors.
2016-04-07 14:10:30 +01:00
Nicholas Staples 4cc0028b01 Remove csv after process job is finished.
Fixed new tests.
2016-04-05 14:55:03 +01:00
Nicholas Staples 4d15409781 Successful notifications are deleted after a week now. All tests passing. 2016-04-05 11:07:21 +01:00
Nicholas Staples fac34aff10 Added functionality to allow filtering by multiple arguments.
Removed commented out code.
2016-04-04 13:21:51 +01:00
Nicholas Staples 514d490d2f No limit for live services. 2016-04-01 11:12:44 +01:00
Nicholas Staples 3a59c75257 Transaction management added for one example. All tests passing. 2016-03-23 16:30:47 +00:00
Nicholas Staples 090babaaeb Added endpoint for removing user from service, all tests passing. 2016-03-22 13:14:23 +00:00
Nicholas Staples 327f169575 Filtering added and tests working. 2016-03-21 12:37:34 +00:00
Nicholas Staples f41d01780a whoops test fixes. 2016-03-16 17:01:58 +00:00
Nicholas Staples c3a15f9f30 Fix pagination bug and swapped file name with original file name. 2016-03-16 16:47:18 +00:00
Nicholas Staples 16882961ad Added check for job in notifications json dump. 2016-03-15 14:57:15 +00:00
Nicholas Staples 356083e8ac Update schemas to return more details about the job and template for notifications. 2016-03-15 14:24:10 +00:00
Nicholas Staples b409e4459d Duplicate service name check added and all tests passing. 2016-03-10 10:34:46 +00:00
Nicholas Staples c80753bb75 Fix url for user service permissions. 2016-03-03 09:59:21 +00:00
Nicholas Staples 9acc528988 Update migration to fix bug. 2016-03-02 16:25:15 +00:00
Nicholas Staples ebec54cb80 Permission enums corrected, all tests passing. 2016-03-02 15:34:26 +00:00
Nicholas Staples 01f616eeac Fix all tests. 2016-03-02 11:10:52 +00:00
Nicholas Staples 6f689a187e Merge remote-tracking branch 'origin/master' into update_permission_endpoints 2016-03-02 10:44:38 +00:00
Nicholas Staples bd898a4526 Upgrade and downgrade now works.
Fix bug with repeated upgrade and downgrade.

Fix script revision number.
2016-03-02 10:44:20 +00:00
Nicholas Staples 47c4368007 Merge with master. 2016-03-01 17:18:46 +00:00
Nicholas Staples a2f021efad Fix git review. 2016-03-01 14:22:46 +00:00
Nicholas Staples 918d40cc9d Functionality added and all tests working. 2016-03-01 14:21:28 +00:00
Nicholas Staples 7d43b4265f Merge and fix conflicts. 2016-03-01 11:59:50 +00:00
Nicholas Staples 22f550dd34 Add missing file. 2016-03-01 11:45:54 +00:00
Nicholas Staples 47ac0b8a98 Fixed some tests. 2016-02-29 18:32:25 +00:00
Nicholas Staples 8ad13b6356 Manage template permission added. All tests passing. 2016-02-29 15:21:35 +00:00
Nicholas Staples 873f31cad0 Merge remote-tracking branch 'origin/master' into create_permissions_on_service_creation 2016-02-29 13:48:38 +00:00
Nicholas Staples fa77d7d83e Add default permissions for existing services. 2016-02-29 12:59:38 +00:00
Nicholas Staples 0f9bdc4cd9 Merge remote-tracking branch 'origin/master' into create_permissions_on_service_creation 2016-02-29 11:51:47 +00:00
Nicholas Staples 2cf2b51cd9 Fix for git commit review. 2016-02-29 11:50:43 +00:00
Nicholas Staples 9b73b0d9f8 Default permissions added on service creation. All tests working. 2016-02-26 17:11:30 +00:00
Nicholas Staples 75b9f77f92 user permissions now returned with the user object and all tests passing. 2016-02-26 15:57:24 +00:00
Nicholas Staples 16e1ecb134 Working permissions and all tests passing.
Remove print statements.

Fix for review comments.
2016-02-26 15:00:29 +00:00
Nicholas Staples c8bb96b883 Fixes added. 2016-02-22 13:02:09 +00:00
Nicholas Staples 180caf3ce6 Merge with master
.
2016-02-22 11:07:37 +00:00
Nicholas Staples 0396148853 Permissions added. 2016-02-19 14:47:45 +00:00
Nicholas Staples 20650a91e0 Update to config to pull out from email address. 2016-02-16 11:10:02 +00:00
Nicholas Staples 1eb18e7f07 Code review fix. 2016-02-12 14:08:48 +00:00
Nicholas Staples 918c561726 Code added to now check service id matches the authorization token service for sending an sms. 2016-02-12 11:13:54 +00:00
Nicholas Staples 4865622128 Merge remote-tracking branch 'origin/master' into validate_template_for_a_service 2016-02-12 10:22:17 +00:00
Nicholas Staples 1b25a3c762 Removed alpha client imports. 2016-02-09 16:13:48 +00:00
Nicholas Staples 09d2f0d79d Fix tests. 2016-02-09 16:04:49 +00:00
Nicholas Staples 68b6444eed Comment added for missing code. 2016-02-09 16:02:38 +00:00
Nicholas Staples bd947d0743 Merge remote-tracking branch 'origin/master' into remove_alpha_client_from_api 2016-02-09 15:54:21 +00:00
Nicholas Staples 38e30034d1 updated environment variables. 2016-02-09 14:07:43 +00:00
Nicholas Staples 2fda7ee59b Alpha client removed from code. Tests fixed but will wait till other notifications jobs are done before creating a pull request. 2016-02-09 11:38:57 +00:00
Nicholas Staples 409857fba6 Now done. 2016-02-08 09:43:19 +00:00
Nicholas Staples 4ecdc9e420 Bug fixed for posting the correct type of notification to the aws queue. 2016-02-08 09:41:10 +00:00
Nicholas Staples cc5dad3744 Update queues with a prefix. 2016-02-05 11:12:59 +00:00
Nicholas Staples 6286646d7f Fix for review comments. 2016-02-03 15:53:16 +00:00
Nicholas Staples 8fd15b44eb Missed a couple of places where we should push to the queue. 2016-02-03 13:52:09 +00:00
Nicholas Staples aba1cd2ed5 Sqs queues now populated from all create_notification api calls. Marshmallow schemas added for notification. 2016-02-03 13:16:19 +00:00
Nicholas Staples 238e8942af Fix for pull request comment. 2016-02-02 11:06:22 +00:00
Nicholas Staples d4b95efb6f Remove unused file. 2016-02-01 12:00:02 +00:00
Nicholas Staples cd5a91d4c8 version file has been updated to include a travis commit and time of build. 2016-02-01 11:37:22 +00:00
Nicholas Staples d56bb82d1d Code style fix. 2016-02-01 10:25:09 +00:00
Nicholas Staples 47351b2009 Added exception handling for 500 error messages. 2016-02-01 10:19:17 +00:00
Nicholas Staples 99b849171f Status page updated with api version and db version. 2016-01-29 12:51:33 +00:00
Nicholas Staples 2451f7e53d Added support for validation only of put requests. 2016-01-29 11:11:00 +00:00
Nicholas Staples 66c1d858ac Added support for allowing password to updated from the PUT request to the user rest endpoint. 2016-01-28 11:41:21 +00:00
Nicholas Staples e1c8360fd1 Test fix. 2016-01-22 14:58:03 +00:00
Nicholas Staples 209173551f Merge fix. 2016-01-22 14:52:07 +00:00
Nicholas Staples 11c7795396 Merged with master. 2016-01-22 14:46:03 +00:00
Nicholas Staples a9fe6ad469 Working code and tests. 2016-01-22 14:43:30 +00:00
Nicholas Staples 2c4f2c92b5 Fix for empty response 204. 2016-01-22 12:07:09 +00:00
Nicholas Staples e657958af4 Templates fix with tests working. 2016-01-22 10:44:34 +00:00
Nicholas Staples 6b035cd324 All tests working, second time around. 2016-01-21 17:29:24 +00:00