Commit Graph

119 Commits

Author SHA1 Message Date
Martyn Inglis
a6f357d8b3 Logging on dependencies 2015-12-02 10:15:46 +00:00
Martyn Inglis
18faa96dbd Adding logging into start script 2015-12-02 10:06:45 +00:00
Martyn Inglis
2d50ec082e Merge branch 'master' of github.com:alphagov/notifications-admin 2015-12-02 09:59:49 +00:00
Martyn Inglis
1b116ecf85 Added aws run script to use full path to application for codedeploy 2015-12-02 09:59:30 +00:00
minglis
f3c48b9133 Merge pull request #11 from alphagov/implement_register
Implement register
2015-12-01 16:43:42 +00:00
Rebecca Law
a4cd1c644d 108536374: Change to a generic message for database errors.
Need a story to handle db exceptions in the dao layer
2015-12-01 16:41:49 +00:00
Rebecca Law
4b90c1105b remvoe unused import 2015-12-01 16:41:49 +00:00
Rebecca Law
64d2cbb927 108536366: Implement register flow
Includes validation for gov.uk email address, mobile number with +44, password at least 10 char.
Form validation errors will be added to template in a later story.
User is created when form validates.
2015-12-01 16:41:49 +00:00
Rebecca Law
5879e59f34 remove login_required for register page 2015-12-01 15:59:10 +00:00
Chris Heathcote
9f4af345d4 Merge pull request #10 from alphagov/ph-invite-faili
Adding route for text not received on invite path
2015-12-01 12:45:23 +00:00
Pete Herlihy
eb5de52f39 Adding route for text not received 2 view 2015-12-01 12:41:19 +00:00
Martyn Inglis
b3087d5628 Merge branch 'master' of github.com:alphagov/notifications-admin 2015-12-01 12:39:58 +00:00
Martyn Inglis
8c4c9fed78 Updated deploy route for application 2015-12-01 12:39:48 +00:00
Rebecca Law
9bb683bb21 Merge branch 'master' of github.com:alphagov/notifications-admin 2015-12-01 10:36:35 +00:00
Rebecca Law
e8d2a81597 108536490: Fix bug when user does not exist and tries to sign in 2015-12-01 10:35:49 +00:00
Chris Heathcote
00efed12ec Merge pull request #9 from alphagov/ph-title
Updates to the page titles, removed hello world things.
2015-12-01 10:24:35 +00:00
Rebecca Law
0a20d0dddf Merge pull request #8 from alphagov/implement_login
Implement login
2015-12-01 10:12:23 +00:00
Rebecca Law
de0efcb508 108536490: Add test that post with bad password when account is locked results in 401 2015-12-01 10:00:07 +00:00
Rebecca Law
edfc1d6efc 108536490: Implement User.is_active()
If the state of the user is inactive the user.is_active() returns false.
2015-12-01 10:00:07 +00:00
Rebecca Law
3b27db98ff 108536490: Implement locked out function.
User is locked if they fail to login 10 times or more.
2015-12-01 10:00:07 +00:00
Rebecca Law
ff9e98907e 108536490: Update encryption for password 2015-12-01 10:00:07 +00:00
Rebecca Law
3f017b30f2 108536490: add the proxy_fix 2015-12-01 10:00:07 +00:00
Rebecca Law
af382885d3 108536490: Use ItsDangerousSessionInterface in the app.
Start using http://flask.pocoo.org/snippets/51/
2015-12-01 10:00:06 +00:00
Rebecca Law
6f61906fd4 108536490: Implement LoginManager for the admin app.
Also added csrf error handler, will make the session unauthorized if the csrf token is invalid.
2015-12-01 10:00:06 +00:00
Rebecca Law
48b7a7dc37 108536490: Adding the login manager and csrf token.
Still need to figure out how to override the load_user method, currently it is not working.
2015-12-01 10:00:06 +00:00
Rebecca Law
7f96ef5a25 108536490: Initial effort to implement log in
Add endpoint for post to /sign-in
Initialise role data
2015-12-01 10:00:06 +00:00
Pete Herlihy
e1817038a7 Removed the hello world route from the index 2015-12-01 09:57:24 +00:00
Pete Herlihy
2a39d3a3da Updated html title [ci skip] 2015-12-01 09:56:46 +00:00
Pete Herlihy
a541ef2164 Updated html title [ci skip] 2015-12-01 09:56:06 +00:00
Pete Herlihy
42fa80dd90 Updated html title [ci skip] 2015-12-01 09:55:37 +00:00
Pete Herlihy
bd2826f584 Updated html title [ci skip] 2015-12-01 09:54:58 +00:00
Rebecca Law
4d2b9c7fc2 Merge pull request #7 from alphagov/login-errors
Login errors
2015-12-01 09:53:25 +00:00
Pete Herlihy
257d205f9a Updated html title [ci skip] 2015-12-01 09:53:14 +00:00
Pete Herlihy
45f5ad5c30 Updated html title [ci skip] 2015-12-01 09:52:31 +00:00
Pete Herlihy
eb9a4e680a Remove the hello world page [ci skip] 2015-12-01 09:51:42 +00:00
Pete Herlihy
f336eee18b Updated the title tag to be useful [ci skip] 2015-12-01 09:50:20 +00:00
Chris Heathcote
85e575dda8 Merge pull request #6 from alphagov/ph-notification-page-bu
Fixed broken return path to job from notification page
2015-11-30 16:43:33 +00:00
Chris Heathcote
1e08c9b1a8 Added two-factor resending to sign in flow.
Assumes user will have to get an admin to update phone number if lost.
2015-11-30 16:41:05 +00:00
Pete Herlihy
cd2285d78b Fixed broken return path to job from notification page 2015-11-30 16:38:29 +00:00
Chris Heathcote
b2ca6343a7 Merged from master 2015-11-30 16:36:07 +00:00
Chris Heathcote
9e5386b133 Merge pull request #5 from alphagov/ph-admin-pages
Added the shell admin pages to the app
2015-11-30 16:34:16 +00:00
Pete Herlihy
b9c5c374e9 Added routes the new admin page shells
/user-profile
/manage-users
/service-settings
/api-keys
2015-11-30 16:28:17 +00:00
Pete Herlihy
911642e407 Updated the URL from _ to - on check email page [ci skip] 2015-11-30 16:25:38 +00:00
Pete Herlihy
ed39494d5d Updated the URL from _ to - on check sms page [ci skip] 2015-11-30 16:25:16 +00:00
Pete Herlihy
d6b2ec83d8 Updated the URL from _ to - on send email page 2015-11-30 16:24:24 +00:00
Pete Herlihy
2a70bbe276 Updated the URL from _ to - on send sms page 2015-11-30 16:23:41 +00:00
Pete Herlihy
e488abadd2 Updated the dashboard with links to the admin type pages [ci skip] 2015-11-30 16:22:35 +00:00
Chris Heathcote
021ace9a87 Added text to the register screen
Prewar users they’ll need access to their email account and mobile
phone when registering.
2015-11-30 16:22:26 +00:00
Pete Herlihy
9b1b6e567b Added the shell API keys page [ci skip] 2015-11-30 16:20:45 +00:00
Chris Heathcote
48f722b3b9 Added forgot password / create new password screens
Create new password would be sent in an email to the user.
2015-11-30 16:19:59 +00:00