Commit Graph

192 Commits

Author SHA1 Message Date
Pete Herlihy
65c661d8d7 Created an initial page for editing templates [ci skip] 2015-12-09 10:52:09 +00:00
Pete Herlihy
a357fea7af Added route to the edit template page [ci skip] 2015-12-09 10:50:01 +00:00
Pete Herlihy
b5f0fc3012 Added route to the manage templates page [ci skip] 2015-12-09 10:49:05 +00:00
Pete Herlihy
7f1cdd2d27 Added initial template manage page [ci skip] 2015-12-09 10:47:38 +00:00
minglis
fcf8e8644b Merge pull request #18 from alphagov/verify_flow
Verify flow
2015-12-09 10:13:06 +00:00
Rebecca Law
ae19161b32 109526520: Use Regex validator to test the code is 5 digits. 2015-12-09 10:12:21 +00:00
Rebecca Law
9923c14e73 109526520: Changed the code form fields to StringField
When the codes were IntegerFields and the code started with zero, the zero was trimmed, resulting in a failed match.
2015-12-09 10:12:21 +00:00
Rebecca Law
bef2258803 109526520: Add custom validators for the VerifyForm
If the email_code or sms_code entered does not pass check password, then add errors to the form.
2015-12-09 10:12:21 +00:00
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
Rebecca Law
56db1ad400 109526520: fix code style 2015-12-09 10:12:21 +00:00
Rebecca Law
6d47c01117 109526520: Implememt verify post method. 2015-12-09 10:12:20 +00:00
Rebecca Law
69da9f8f32 109526520: render verify template with VerifyForm 2015-12-09 10:12:20 +00:00
Rebecca Law
ab36653f24 Merge pull request #20 from alphagov/phase-banner
Added CSS to make the phase banner work and stick in the right position
2015-12-08 14:59:21 +00:00
Chris Heathcote
7df62585a7 Added CSS to make the phase banner work and stick in the right position 2015-12-08 14:17:40 +00:00
Rebecca Law
229935c050 Remove test for temp_create_user, removed in previous commit. 2015-12-08 13:04:20 +00:00
Rebecca Law
60ed0c541b Remove the temporary endpoint to create users. 2015-12-08 09:03:48 +00:00
Rebecca Law
105ddfd616 Merge pull request #19 from alphagov/home-link
Changed main GOV.UK link depending on whether user is logged in or not
2015-12-07 16:57:08 +00:00
Chris Heathcote
12cbc04080 Changed main GOV.UK link depending on whether user is logged in or not
Goes to / for not logged in, /dashboard for logged in.
2015-12-07 16:18:05 +00:00
Martyn Inglis
f42a2d2030 Merge branch 'master' of github.com:alphagov/notifications-admin 2015-12-07 13:41:40 +00:00
Martyn Inglis
e58c00c378 Updated to reflect changes to install dependencies and property reading 2015-12-07 13:41:33 +00:00
Martyn Inglis
ce34303a3d Renamed install dependencies
- also sets FLASK_CONFIG property so as to override properties to enable DB upgrade
2015-12-07 13:41:10 +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
Chris Heathcote
ae4272bdf5 Merge pull request #17 from lolylena/master
Minor amends to text
2015-12-07 13:35:46 +00:00
Martyn Inglis
49aaa116bc Look in environ for AWS properties 2015-12-07 12:10:04 +00:00
Martyn Inglis
bec7be7abf Run as root 2015-12-07 12:05:49 +00:00
Martyn Inglis
8f33a263ca Fixed YML errors 2015-12-07 12:04:21 +00:00
Martyn Inglis
93b4cb1c2a Appspec has bad syntax 2015-12-07 11:57:37 +00:00
Martyn Inglis
7aacd9f1bd Read config file if in AWS 2015-12-07 11:53:14 +00:00
Lorena Sutherland
782d68a071 Add line break 2015-12-07 11:49:29 +00:00
Lorena Sutherland
1803fea9ab Fix bullet layout 2015-12-07 11:44:32 +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
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