Rebecca Law
8d6c61f3ad
Merge pull request #172 from alphagov/upgrade_notifications_python_client
...
notifications-python_client upgraded to 0.2.5
2016-02-12 09:46:15 +00:00
Nicholas Staples
737e490276
Fix error with invalid token causing an error.
2016-02-11 16:23:41 +00:00
Nicholas Staples
48368584d9
notifications-python_client upgraded to 0.2.5
2016-02-11 15:27:08 +00:00
Adam Shimali
90a17bc0a7
Service and job id were incorrectly in bucket name.
2016-02-04 12:06:06 +00:00
Adam Shimali
b73a5d8710
Pass selected template id to api when creating job.
...
Moved query params for original file name and template id
to session.
2016-02-01 11:28:36 +00:00
Adam Shimali
c5100ad176
Merge pull request #127 from alphagov/status_page_update
...
Status page update
2016-01-29 15:59:04 +00:00
Adam Shimali
4ea50499c3
List and individual job pages now fetch data from api.
...
Few bug fixes around job uuid.
2016-01-29 15:35:35 +00:00
Nicholas Staples
bed1116587
Status update added.
2016-01-29 14:41:07 +00:00
Adam Shimali
5196436645
Better bucket name pending possible change to uuid for service primary
...
key.
Also small bugfix around file name and original file name
2016-01-29 12:19:50 +00:00
Adam Shimali
0995cd2e3c
Uploading csv creates job via api
2016-01-29 10:30:02 +00:00
Adam Shimali
5f52c0d3d6
Inherit from flask usermixin for default implementation of
...
is_authenticated and is_anonymous
2016-01-28 15:34:02 +00:00
Nicholas Staples
c123098e14
Bug fixes.
2016-01-27 17:26:22 +00:00
Nicholas Staples
ff8a727759
Fix for updated client.
2016-01-27 17:13:56 +00:00
Nicholas Staples
2d35f5f36a
All tests passing and merged with master.
2016-01-27 16:30:33 +00:00
Nicholas Staples
6959d695d3
Working tests, hopefully all code changes done.
2016-01-27 12:22:32 +00:00
Rebecca Law
1c9b71a750
Fix bug with user model. Removed is_locked from serialized method.
2016-01-26 14:34:21 +00:00
Adam Shimali
4674bd6b68
Reintroduce some tests. A bit of cleanup of mocks.
...
User object fields made a bit clearer and simple test to
verify user added.
2016-01-23 23:14:50 +00:00
Nicholas Staples
81cd0cc7c3
Fix for updating service name.
2016-01-22 15:26:56 +00:00
Rebecca Law
fd11e863da
Fix bug with variable names
2016-01-22 11:21:30 +00:00
Adam Shimali
3e19fa50d2
Incorrect url passed to BaseApiClient which already has base_url.
...
Also added getter and setter of failed login count, although that is
yet to be synced with api.
2016-01-22 10:27:14 +00:00
Rebecca Law
64af225d2d
fix code style
2016-01-22 10:02:41 +00:00
Rebecca Law
4ea59688b8
Remove base url for the token creation.
...
Fix variable name.
2016-01-22 10:01:14 +00:00
Rebecca Law
46e0e3fd1b
Merge branch 'master' into api-keys-flow
...
Conflicts:
tests/app/main/views/test_api_keys.py
2016-01-21 15:50:00 +00:00
Rebecca Law
8737edfad1
Merge branch 'master' of github.com:alphagov/notifications-admin into api-keys-flow
...
Conflicts:
tests/app/main/views/test_api_keys.py
2016-01-21 12:31:28 +00:00
Adam Shimali
167c7b0f13
Fixed some tests. Some broken mocked tests commented out until later
2016-01-21 12:31:09 +00:00
Rebecca Law
90fca93308
Implementation of api key pages.
...
Revoke page will show the correct key name
Show api keys shows a well formatted expiry date
Fix tests for api key endpoints.
2016-01-21 12:28:05 +00:00
Adam Shimali
856b6adb56
First slice full sign in flow
2016-01-21 11:33:53 +00:00
Rebecca Law
41c775cd68
Created api_key_api_client.
...
Implementation of create, revoke and show api keys for service.
These calls work, however we still need to fix the tests.
2016-01-20 17:32:55 +00:00
Adam Shimali
ca3d3240a6
Verify activate and login user with sms and email code
2016-01-20 15:34:42 +00:00
Nicholas Staples
75d7110642
Updated to send email through the client send_email.
2016-01-20 14:45:50 +00:00
Nicholas Staples
ae781bc58d
Merge remote-tracking branch 'origin/master' into implement_send_sms_and_email
2016-01-20 11:46:57 +00:00
Nicholas Staples
2cc9dc6995
Work in progress.
2016-01-20 11:46:39 +00:00
Nicholas Staples
4a73e9315c
Implemented send_sms from client.
2016-01-20 09:46:48 +00:00
Adam Shimali
b5cdf86b40
User registration now creates user via api.
...
Verification flow is still to be completed.
Foreign key constraint on verify codes to user table removed.
2016-01-19 22:49:46 +00:00
Adam Shimali
0304838a2f
Merge pull request #88 from alphagov/integrate_template_api
...
Mapped template actions to the api and mocked tests.
2016-01-19 16:47:35 +00:00
Rebecca Law
28658c6cc4
Rename NOTIFY_API_URL to API_HOST_NAME.
...
The NOTIFY_API_URL will point to the alpha api.
2016-01-19 16:39:04 +00:00
Nicholas Staples
f6f4fe15b2
Merge with master.
2016-01-19 16:35:52 +00:00
Adam Shimali
c86b53f7f1
Add user via api
...
Leave original user object in for this slice. Remove on next
2016-01-19 16:07:44 +00:00
Nicholas Staples
cfb3f96b01
Mapped template actions to the api and mocked tests.
2016-01-19 15:54:12 +00:00
Nicholas Staples
e2f5d64695
Added get calls for service and templates, as this will be removed from client.
2016-01-19 10:23:08 +00:00
Nicholas Staples
a9fead0d82
Merge with master.
2016-01-19 09:49:01 +00:00
Nicholas Staples
3b1d521c10
Tests added for dao.
2016-01-15 15:15:35 +00:00
Martyn Inglis
67c3a5231c
Made the API call use a mobiole number with no spaces
2016-01-15 15:13:59 +00:00
Nicholas Staples
d42ee85f93
Added new notification-python-client removed check on old one, fixed tests, live service will be broken.
2016-01-14 14:55:07 +00:00
Rebecca Law
05695a1c03
Updated generate_token to use encrypt the entire url.
...
Created notify_client.sender to hold the methods to send notifications.
2016-01-11 15:18:37 +00:00
Rebecca Law
a741c128da
108537814: Implementation of 3 factor authentication.
...
The post register endpoint will send a random 5 digit code via sms and another via email.
If either code fails to send, the user will not be created and the person can register again.
The codes are saved to the session cookie, and expire in 1 hour.
Another iteration of this story will save the codes to a database.
2015-12-04 16:27:11 +00:00