Henry Hadlow
091694415b
Add manage users page
2016-02-03 17:08:58 +00:00
Rebecca Law
a4cb35ad3b
Update service_id to a UUID from an integer.
...
This commit must go along side a commit on the notifications-api app.
There will be a breif outage until both app are deployed.
2016-02-02 14:25:31 +00:00
Adam Shimali
414e468cb0
Link to send email broken in nav
2016-01-28 14:17:13 +00:00
Adam Shimali
f8fc8e951a
If user is logged in and visits / /sign-in or /register they will
...
be redirected to choose service.
2016-01-22 17:24:14 +00:00
Nicholas Staples
a9fead0d82
Merge with master.
2016-01-19 09:49:01 +00:00
Chris Hill-Scott
f3459847f1
Move view function into own file, add test
2016-01-16 12:31:01 +00:00
Nicholas Staples
4e2019c949
Work in progress, all tests passing and implemented mocks for services_dao.
2016-01-15 17:46:09 +00:00
Chris Hill-Scott
de1c0e36c8
Add /services prefix to all service-related URLs
...
The URLs will be easier to parse if the parts are clearly labelled.
This is a precursor to making a blueprint for all service-related URLs.
2016-01-13 13:25:06 +00:00
Chris Hill-Scott
04b9c120d4
Add mocked service ID to all service-specific pages
2016-01-13 12:44:12 +00:00
Chris Hill-Scott
10af2bccf7
Extract user profile route into its own file
2016-01-12 15:30:18 +00:00
Rebecca Law
3eefce56d4
Add login_required for all endpoints where it makes sense.
...
https://www.pivotaltracker.com/story/show/111240834
2016-01-12 11:26:28 +00:00
Rebecca Law
f94966154d
Fix code style. Remove duplicate endpoints
2016-01-11 12:23:07 +00:00
Rebecca Law
6696426dbc
Add endpoints for forgot-password.
2016-01-11 12:22:39 +00:00
Chris Hill-Scott
3989d1b576
Add pages for ‘service settings’ flow
...
Adds the pages and wires them together, so that it’s possible to click
through them.
The wording is not quite English, but attempts to be an rough description of
what the consequences are for each of the four actions.
2016-01-08 14:56:14 +00:00
Chris Hill-Scott
ba48707371
Add routing and pages for managing templates
...
So that users can see what it the flow is like to:
- add new templates
- edit existing templates
2016-01-06 09:39:42 +00:00
Chris Hill-Scott
5ec1978dcb
Make data consistent from dashboard -> job
...
- adds a table of recent activity to the job page, which is shared by the
dashboard page
- uses the same filename and message template as the first job shown on the
dashboard
- sets the time of file uploads/message delivery/message sending to always
match ‘just now’
2016-01-06 09:39:42 +00:00
Chris Hill-Scott
31e6e53d46
Make data consistent from dashboard -> job
...
- adds a table of recent activity to the job page, which is shared by the
dashboard page
- uses the same filename and message template as the first job shown on the
dashboard
- sets the time of file uploads/message delivery/message sending to always
match ‘just now’
2016-01-05 13:31:54 +00:00
Chris Hill-Scott
aa0663cad8
Add messages to the current job’s history
...
This mocks out a data structure for a job’s messages, and renders this data:
- on the notification page, as a table, which links through to…
- …the page for an indidivual message
2016-01-05 13:31:53 +00:00
Rebecca Law
e9383b733e
109898688: Implement get method for email-not-received and text-not-received
2015-12-17 14:33:20 +00:00
Rebecca Law
350ccda208
110067722: Added endpoints for add-service
...
Post is not complete as of yet.
2015-12-15 10:32:25 +00:00
Chris Hill-Scott
8a34fa7e0a
Use Flask for routing
...
This commit:
- replaces links that look like buttons with forms and submit buttons
- splits the view code for SMS into its own file
- moves the routing into the Python by adding handling for `post` requests
- uses Flask’s `url_for` to generate URLs, rather than hard coding them (so that
it’s easier to change the URLs)
- chages the URLs for sending text messages
2015-12-11 09:49:38 +00:00
Chris Hill-Scott
dbc55e76b0
Add table of recipients
...
Uses an adapted version of the 'summary table' pattern from Digital Marketplace
frontend toolkit:
http://alphagov.github.io/digitalmarketplace-frontend-toolkit/summary-table.html
2015-12-11 09:49:38 +00:00
Chris Hill-Scott
1f39a0fe61
Hard code some data in the Python
...
This commit adds some stubbed data for the pages. The structure of the data
is just a proposal, but it gives the templates something to work with for now.
2015-12-11 09:48:59 +00:00
Chris Hill-Scott
2f980ab622
Move all pages into their own directory
...
There are a lot of pages. It seems like a good idea to keep them in one place,
so they don’t get mixed up with partials and layouts.
2015-12-11 09:48:52 +00:00
minglis
3b327c9986
Merge pull request #22 from alphagov/implement_two_factor
...
Implement two factor
2015-12-09 14:20:29 +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
Rebecca Law
eae2756a5e
109638656: Initial implementation for two-factor
2015-12-09 10:15:41 +00:00
Rebecca Law
69da9f8f32
109526520: render verify template with VerifyForm
2015-12-09 10:12:20 +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
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
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
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
b83d2f0d8a
Introduce config file for application
2015-11-24 09:40:14 +00:00