NIcholas Staples
a27f302424
Merge pull request #45 from alphagov/request_verify_code
...
Create schema for RequestVerifyCodeSchema
2016-02-01 11:00:36 +00:00
Rebecca Law
0b62005983
Move VERIFY_CODE_TYPES outside the class and use it in the schema
2016-02-01 10:54:32 +00:00
Rebecca Law
cec0d40e5b
Create schema for RequestVerifyCodeSchema
...
Previously we were using a schema that mapped onto db.Model. However, the json
in the request did not reflect the VerfiyCode db Model.
I did not add validation on the to field, we did not have that previously.
2016-02-01 10:48:33 +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
Rebecca Law
8c20c3e7be
Merge pull request #43 from alphagov/update_status_page
...
Status page updated with api version and db version.
2016-01-29 16:39:17 +00:00
Rebecca Law
a3e1ef223d
Merge pull request #42 from alphagov/schema_load_json
...
Added support for validation only of put requests.
2016-01-29 16:24:15 +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
2bd244032b
Merge pull request #41 from alphagov/fix-sms-bug
...
Fix bug with sending sms
2016-01-28 12:49:11 +00:00
NIcholas Staples
c80b2e2792
Merge pull request #40 from alphagov/reset-failed-logins
...
If failed login count > 0 and user subsequently logs in sucessfully,
2016-01-28 12:46:13 +00:00
Rebecca Law
92cec8831e
Fix bug with sending sms
2016-01-28 12:44:05 +00:00
Adam Shimali
806b3f6851
If failed login count > 0 and user subsequently logs in sucessfully,
...
then failed logins set to 0.
2016-01-28 11:58:33 +00:00
Adam Shimali
9bf11b3d40
Merge pull request #39 from alphagov/add_password_update
...
Added support for allowing password to updated from the PUT request t…
2016-01-28 11:54:26 +00:00
Rebecca Law
3b5a239e15
Update README.md
2016-01-28 11:51:52 +00:00
NIcholas Staples
3cdf5bd459
Merge pull request #38 from alphagov/create-queue-for-service
...
Create queue for service
2016-01-28 11:44:42 +00:00
Rebecca Law
4010ed61ce
Moved creating queue name to model
2016-01-28 11:42:13 +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
Rebecca Law
03989c09de
Add message id to message attributes
2016-01-28 11:09:25 +00:00
Rebecca Law
a546665188
Some code clean up.
...
Clean up the unit test.
2016-01-28 11:06:24 +00:00
Rebecca Law
42a4c8b0b1
Add sms notifications from a service to a queue.
2016-01-27 17:42:05 +00:00
Rebecca Law
daff1c3f53
Add queue name to service table.
...
Set queue name when creating the service
2016-01-27 14:18:11 +00:00
NIcholas Staples
8657c0ea40
Merge pull request #37 from alphagov/add-optional-to-address
...
Add optional to address
2016-01-27 12:23:05 +00:00
Rebecca Law
3536aef8c0
Use VerifyCodeSchema
2016-01-27 12:11:25 +00:00
Rebecca Law
ba1a496520
Update send user code to use optional to field 'to' send the sms message to.
2016-01-27 11:54:28 +00:00
Rebecca Law
5dc48f8a01
Updated send user code to use an optional to field to send emails
...
Added tests for send_user_code
2016-01-27 11:51:02 +00:00
Rebecca Law
20f71487df
Remove trailing slash from /verify/code
2016-01-26 15:32:55 +00:00
Rebecca Law
15a49baa40
Merge pull request #35 from alphagov/failed-logins
...
Record and persist failed login count on api.
2016-01-26 10:51:51 +00:00
Chris Hill-Scott
9e323b1a31
Merge pull request #36 from easternbloc/patch-1
...
Show build status
2016-01-25 17:38:46 +00:00
Ben Marvell
d0ae523f31
Show build status
2016-01-25 13:20:20 +00:00
Adam Shimali
d62b5bdce7
Record and persist failed login count on api.
2016-01-25 11:14:23 +00:00
NIcholas Staples
2c9ac187c6
Merge pull request #32 from alphagov/add_verify_code_rest
...
All tests working, second time around.
2016-01-22 15:00:08 +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
Chris Hill-Scott
02ffbb4f67
Merge pull request #34 from alphagov/get-services-by-user
...
Added user_id as a query param for get_services.
2016-01-22 14:05:10 +00:00
Rebecca Law
5a937d6e71
Added user_id as a query param for get_services.
...
Need to add this query param for the services page on the admin app.
Do not add the query param to path in the token.
2016-01-22 12:47:59 +00:00
Nicholas Staples
2c4f2c92b5
Fix for empty response 204.
2016-01-22 12:07:09 +00:00
Rebecca Law
d243d20ae4
Merge pull request #33 from alphagov/api_templates_fix
...
Templates fix with tests working.
2016-01-22 10:55:44 +00:00
Nicholas Staples
e657958af4
Templates fix with tests working.
2016-01-22 10:44:34 +00:00
Rebecca Law
cc829fee68
Merge branch 'master' of github.com:alphagov/notifications-api
2016-01-22 10:03:09 +00:00
Rebecca Law
8fa1cac1c6
Fix the user url.
...
Add test for authentication to test paths with path params
2016-01-22 09:59:02 +00:00
Chris Hill-Scott
a8dcc67c19
Merge pull request #31 from alphagov/get-api-keys-for-service
...
Add unique constraint for api_key on service_id and name
2016-01-22 09:55:14 +00:00
Nicholas Staples
6b035cd324
All tests working, second time around.
2016-01-21 17:29:24 +00:00
Rebecca Law
a6709c7e07
Merge branch 'master' into get-api-keys-for-service
2016-01-21 16:54:37 +00:00
Rebecca Law
2486c17dc9
Add unique constraint for api_key on service_id and name
2016-01-21 16:53:53 +00:00
Chris Hill-Scott
439127e897
Merge pull request #30 from alphagov/get-api-keys-for-service
...
Updated get_api_keys endpoint
2016-01-21 15:49:04 +00:00
Rebecca Law
0027b62224
Updated get_api_keys endpoint to return one or many given key_id or not.
2016-01-21 12:13:17 +00:00
NIcholas Staples
2c971abd51
Merge pull request #29 from alphagov/get-api-keys-for-service
...
Correction to url name
2016-01-20 17:18:40 +00:00