Commit Graph

1211 Commits

Author SHA1 Message Date
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
Lorena Sutherland
851026970c Amend text 2015-12-07 11:16:14 +00:00
Lorena Sutherland
f91f5b5f02 Add line break to label 2015-12-07 10:04:51 +00:00
minglis
67af17d48e Merge pull request #15 from alphagov/3fa
3 Factor authentication
2015-12-04 16:27:55 +00:00
Rebecca Law
7c7d0701dd Use a dev api token 2015-12-04 16:27:11 +00:00
Rebecca Law
2935485977 108537814: Set session expiry to 1 hour 2015-12-04 16:27:11 +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
minglis
abd344fc57 Merge pull request #12 from alphagov/blacklist_password
Blacklist password
2015-12-04 15:53:13 +00:00
Rebecca Law
0c41605a2e Merge pull request #16 from lolylena/master
Text changes in register and sign-up flows
2015-12-04 15:50:54 +00:00
Lorena Sutherland
e9c9b8c271 Amend text 2015-12-04 15:12:48 +00:00
Lorena Sutherland
619df26690 Amend text 2015-12-04 15:08:41 +00:00
Lorena Sutherland
30f55321b2 Amend text 2015-12-04 15:07:21 +00:00
Lorena Sutherland
aadad35d71 Amend text and add password prompt 2015-12-04 15:05:51 +00:00
Lorena Sutherland
e8839c3300 Amend text 2015-12-04 15:02:00 +00:00
Lorena Sutherland
3c99eb2d3a Amend text 2015-12-04 14:57:16 +00:00
Lorena Sutherland
dc313a601c Amend text 2015-12-04 14:56:23 +00:00
Lorena Sutherland
9be1612c09 Amend text 2015-12-04 14:54:40 +00:00
Lorena Sutherland
7836241f48 Amend text 2015-12-04 14:50:23 +00:00
Lorena Sutherland
b2cae0d162 Amend text 2015-12-04 14:46:01 +00:00
Lorena Sutherland
0af88bb99f Amend intro text & delete email/phone prompts 2015-12-04 12:53:25 +00:00
Lorena Sutherland
7c3ff23ee2 Amend intro text and add password prompt 2015-12-04 12:51:06 +00:00
Lorena Sutherland
8ade276c3c Amend intro and sign-in text 2015-12-04 12:49:38 +00:00
Lorena Sutherland
437e4f52bd Amend intro and sign-in text 2015-12-04 12:47:23 +00:00
Rebecca Law
94124b2aa7 Merge pull request #14 from alphagov/phase-banner
Added beta phase banner
2015-12-03 16:08:18 +00:00
Chris Heathcote
15e5d8f145 Fixed flask-assets to look for css changes and rebuild 2015-12-03 16:01:21 +00:00
Chris Heathcote
da80013ec9 Adding beta phase banner 2015-12-03 16:01:00 +00:00
Rebecca Law
6db865e62b Merge pull request #13 from lolylena/master
Text changes in register flow
2015-12-03 14:18:26 +00:00
Martyn Inglis
4bb25dfdb1 Pep8 appeased 2015-12-03 09:40:28 +00:00
Martyn Inglis
0977877dcd AWS codedeploy start / stop scripts (upstart) and wsgi start script 2015-12-03 09:38:02 +00:00
Lorena Sutherland
ff1c35e7a0 Amend line of text 2015-12-02 16:03:31 +00:00
Lorena Sutherland
47a7b79b21 Amend heading text
New heading corresponds to design pattern for confirming accounts
2015-12-02 15:44:07 +00:00
Lorena Sutherland
71f9be2b7e Amend line of text 2015-12-02 15:33:24 +00:00
Lorena Sutherland
f4140ea49b Amend line of text 2015-12-02 15:32:21 +00:00
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
Lorena Sutherland
f6967a8f23 Amend line of text 2015-12-02 11:56:59 +00:00
Martyn Inglis
b1cad3f8f8 background the flask app. not for production consumption 2015-12-02 10:47:08 +00:00
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
Rebecca Law
9d9b80bab7 Login user after they register 2015-12-01 16:45:11 +00:00
Rebecca Law
3b96b6e5ca 108536374: Implement a validator to exclude passwords on a blacklist 2015-12-01 16:45:11 +00:00
Rebecca Law
9e2cf2fa4c 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:45:11 +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