Commit Graph

11001 Commits

Author SHA1 Message Date
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
Adam Shimali
eeffd4c6e2 Merge pull request #28 from alphagov/verify_user_password
Added user verify password endpoint.
2016-01-20 17:07:23 +00:00
Rebecca Law
98c73e5bff Correction to url name 2016-01-20 16:34:30 +00:00
Nicholas Staples
0ec69b89ee Added user verify password endpoint. 2016-01-20 16:25:18 +00:00
Adam Shimali
1fd3c9139f Merge pull request #27 from alphagov/get-api-keys-for-service
Get api keys for service
2016-01-20 16:25:15 +00:00
Adam Shimali
82049f5dc2 Merge pull request #26 from alphagov/add_cors_policy
Added cors response.
2016-01-20 16:24:25 +00:00
Rebecca Law
dada8bb75e Fix test so that the order of the list does not matter 2016-01-20 16:12:11 +00:00
Adam Shimali
c15fdbe197 Fixed formatting 2016-01-20 15:51:13 +00:00
Rebecca Law
3e141e05cb Added tests for get api endpoint 2016-01-20 15:41:19 +00:00
Nicholas Staples
92697d2671 Addedcors response. 2016-01-20 15:28:39 +00:00
Rebecca Law
9eb856b86e Get api_keys for service endpoint 2016-01-20 15:24:13 +00:00
Chris Hill-Scott
76c228a550 Merge pull request #25 from alphagov/fix_revoke_endpoint
Update api-key/revoke endpoint to expire the key for the service.
2016-01-20 15:20:19 +00:00
Rebecca Law
2689d908c1 Update api-key/revoke endpoint to expire the key for the service.
Previously we assumed there was only one api key that was valid.
2016-01-20 14:48:44 +00:00
Nicholas Staples
50c3f3dc55 Bump of requirement version. 2016-01-20 14:28:17 +00:00
NIcholas Staples
4a3fae7580 Merge pull request #23 from alphagov/allow-multiple-api-keys
Allow multiple api keys
2016-01-20 14:13:29 +00:00
Rebecca Law
cbc3a1fa0e Merge pull request #24 from alphagov/add_notification_email_endpoint
Added send_email endpoint.
2016-01-20 13:58:08 +00:00
Nicholas Staples
4739f3fbd2 Added send_email endpoint. 2016-01-20 13:14:23 +00:00
Rebecca Law
27a381c3e9 Allow services to have multiple api keys.
/service/<service_id>/api-key/renew has been renamed to /service/<service_id>/api-key
/service/<service_id>/api-key now creates a token and no longer expires the existing api key.
Moved test for this endpoint to it's own file.
2016-01-20 10:57:46 +00:00
Rebecca Law
1db57dca8c Allow for multiple api keys for a service. 2016-01-19 18:25:21 +00:00
Martyn Inglis
811e7c1bec Bumped API client version 2016-01-19 17:23:07 +00:00
Martyn Inglis
7c23a08786 Bumped API client version 2016-01-19 17:21:06 +00:00
Adam Shimali
f18071084e Merge pull request #18 from alphagov/proxy-to-alpha
Proxy to alpha
2016-01-19 16:02:42 +00:00
Rebecca Law
d20e9fe349 Merge pull request #22 from alphagov/fix-status-checks
Removed Status endpoints from requiring Auth tokens
2016-01-19 15:34:56 +00:00
Martyn Inglis
fa30782d70 Removed Status endpoints from requiring Auth tokens
- auth tests now use service endpoints

- one test commented out and needs reworked
2016-01-19 15:32:33 +00:00
Rebecca Law
8c43ccac7e Merge pull request #21 from alphagov/aws-upgrades
Added AWS files to
2016-01-19 15:01:04 +00:00
minglis
9d7b49e969 Merge pull request #20 from alphagov/create-admin-client-token
Remove config that is no longer used
2016-01-19 14:52:55 +00:00
Martyn Inglis
742a567036 Added AWS files to
- upgrade database
- use credstash for secret overrides
2016-01-19 14:50:42 +00:00
Rebecca Law
15578cfdb7 Remove config that is no longer used 2016-01-19 14:21:03 +00:00
Martyn Inglis
7ecede46e5 Merge branch 'master' into proxy-to-alpha
Conflicts:
	config.py
2016-01-19 14:11:20 +00:00
Adam Shimali
6141a11e7f Merge pull request #19 from alphagov/create-admin-client-token
Authentication for admin client api calls where a user and service is…
2016-01-19 14:08:42 +00:00
Rebecca Law
d15e68238d Authentication for admin client api calls where a user and service is not required. 2016-01-19 14:01:26 +00:00
Martyn Inglis
a56c7f59d3 Fixed test that had a clash on user ids 2016-01-19 13:59:45 +00:00
Martyn Inglis
346bc9feac Merge branch 'master' into proxy-to-alpha 2016-01-19 13:49:54 +00:00
Martyn Inglis
7b756567af Updated tests for fetch notifications by id, not simply fetch all 2016-01-19 13:45:57 +00:00
NIcholas Staples
571661ceb0 Merge pull request #17 from alphagov/create-api-keys
Replace Tokens with Api keys
2016-01-19 13:14:28 +00:00
Rebecca Law
15b2d414cc Updates from review comments:
Update api_key relationship.
Check that id in dict exists before deleting it
2016-01-19 13:11:22 +00:00
Rebecca Law
43d54b6ad3 Update the down revision to the version 0006 file. 2016-01-19 12:17:01 +00:00