Rebecca Law
4486a859f8
109638656: fix the login_manager.login_view
2015-12-09 10:12:21 +00:00
Rebecca Law
16618e80f9
109526520: Implement verify flow
...
When a person registers with a valid mobile number and email address,
a code will be sent to each. That person can enter the verify codes and continue to the add-service page.
2015-12-09 10:12:21 +00:00
Martyn Inglis
5040affc64
upstart puts FLASK_CONFIG into env on AWS.
...
If present then read the config file pointed at by this property to do environment specific overrides
2015-12-07 13:39:56 +00:00
Martyn Inglis
49aaa116bc
Look in environ for AWS properties
2015-12-07 12:10:04 +00:00
Martyn Inglis
7aacd9f1bd
Read config file if in AWS
2015-12-07 11:53:14 +00:00
Martyn Inglis
f7cc266546
If there is a FLASK_CONFIG set then use file at that location
2015-12-07 11:35:46 +00:00
Martyn Inglis
d5ea99ee7b
Merge branch 'master' of github.com:alphagov/notifications-admin
2015-12-07 11:30:37 +00:00
Martyn Inglis
66537fca30
Setting ENV to live and read config on non-dev environments from a file.
2015-12-07 11:30:29 +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
Chris Heathcote
15e5d8f145
Fixed flask-assets to look for css changes and rebuild
2015-12-03 16:01:21 +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
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
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
Rebecca Law
29012c78ee
Initial creation of notify-admin-frontend
2015-11-18 16:19:40 +00:00