Lorena Sutherland
571f09881e
Amend name & password labels
2015-12-02 15:23:03 +00:00
Lorena Sutherland
058d7c5f96
Change password label
2015-12-02 13:57:03 +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
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
Pete Herlihy
eb5de52f39
Adding route for text not received 2 view
2015-12-01 12:41:19 +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
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
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
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
Chris Heathcote
b2ca6343a7
Merged from master
2015-11-30 16:36:07 +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
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
Chris Heathcote
b2dd3ca214
Merge branch 'master' into login-errors
...
# Conflicts:
# app/main/views/index.py
2015-11-30 16:09:43 +00:00
Chris Heathcote
96648ed58b
Added email and text message not received pages in registration flow
2015-11-30 16:08:44 +00:00
Pete Herlihy
b70c05ab8f
Added activity views to the index
2015-11-30 15:34:31 +00:00
Pete Herlihy
a33398a46a
Added email sending views to the index
2015-11-30 14:49:11 +00:00
Pete Herlihy
15a8fab7e9
Removed whitespace for code pedant thingee.
2015-11-30 14:28:52 +00:00
Pete Herlihy
13e14d057b
Adding sms sending views
2015-11-30 14:22:39 +00:00
Chris Heathcote
bbcfe8aa3f
Fixed blank lines in index.py
...
Fixed blank lines in index.py
2015-11-26 10:18:37 +00:00
Chris Heathcote
701ce482d4
Create base forms for registration and sign in
...
Created routes and forms for registration, sign in, and registration
from an invite.
Also tidied up assets folder, removed copy of fronted toolkit.
2015-11-26 10:18:37 +00:00
Rebecca Law
af9e2cf0fa
108536234: Added a dao method to get all users.
2015-11-26 09:59:23 +00:00
Rebecca Law
abe1d8ae17
108536234: created users and roles data and domain model.
...
You will need to run the /scripts/bootstrap.sh to create the database for test and the app.
2015-11-25 15:29:12 +00:00
Rebecca Law
b83d2f0d8a
Introduce config file for application
2015-11-24 09:40:14 +00:00
Rebecca Law
11d79951f3
Moved the templates into the app directory.
...
Added Manager to the app.py
2015-11-23 16:07:19 +00:00
Rebecca Law
a9fe2e6bb7
Add govuk-template-flask-skeleton
2015-11-23 13:50:37 +00:00
Rebecca Law
9ec1ba2dfa
Use absolute paths for imports
2015-11-20 16:33:11 +00:00
Rebecca Law
d6c81d581d
Start to create views
2015-11-20 16:22:44 +00:00