Adam Shimali
856b6adb56
First slice full sign in flow
2016-01-21 11:33:53 +00:00
Adam Shimali
fcedae5fe1
Merge conflicts and test fixes
2016-01-20 15:40:06 +00:00
Nicholas Staples
a9fead0d82
Merge with master.
2016-01-19 09:49:01 +00:00
Nicholas Staples
609f5f0a8d
Working service integration.
2016-01-18 17:35:28 +00:00
Chris Hill-Scott
81d4230b61
Page for adding a new service
...
This page is exactly the same as the page for adding your first service, save
the heading text.
So all this commit does is:
- set up two routes (`/add-service`, `/add-service/first`) for each of the two
journeys and change the existing journeys to use the `/add-service/first`
route
- add logic to show different heading text depending on the journey
- add a link to the new (`/add-service`) route in the service chooser dropdown
2016-01-18 11:03:25 +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
Nicholas Staples
262bbbac45
Test add service completed.
2016-01-15 16:10:24 +00:00
Nicholas Staples
3b1d521c10
Tests added for dao.
2016-01-15 15:15:35 +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
Rebecca Law
ceb78f49b4
Take out the Canadian politeness.
...
Make the error message more consistent.
Extracted common fields for the forms.
2016-01-11 12:23:08 +00:00
Nicholas Staples
7001d8261d
Fix for security hole with setting session['user_id'] before second factor of authentication has been authorised.
2016-01-07 12:43:10 +00:00
Rebecca Law
ac05f6931e
Refactor add-service form such that the dao is not exposed in the forms.
2016-01-04 15:31:50 +00:00
Rebecca Law
64812c1614
109898688: All codes are valid until one code is used, then they are all marked used.
...
Fixed the is_active() method on the Users model, if the user was pending they would come back as active, allowing a user to sign in before being active.
There is still a problem with the validate_sms_code and validate_email_code method.
2015-12-17 14:33:20 +00:00
Rebecca Law
258ae3674b
110067722: Fix code style
2015-12-15 10:32:26 +00:00
Rebecca Law
eb0cff18c5
110067722: Add form validation for duplicate service name.
2015-12-15 10:32:26 +00:00
Rebecca Law
43f2605ac4
110067722: Post add-service endpoint saves the service and maps it to the user.
2015-12-15 10:32:26 +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