Commit Graph

16 Commits

Author SHA1 Message Date
Adam Shimali
b5cdf86b40 User registration now creates user via api.
Verification flow is still to be completed.

Foreign key constraint on verify codes to user table removed.
2016-01-19 22:49:46 +00:00
Nicholas Staples
3b1d521c10 Tests added for dao. 2016-01-15 15:15:35 +00:00
Rebecca Law
7478f8a0f3 Make Users.email_address unique 2015-12-17 14:57: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
Rebecca Law
4b01335703 110067722: Create the model and dao for services.
This commit creates the data model for services and user_to_service.
The dao is also created to insert, get, activate, and unrestrict the service.
2015-12-15 10:31:27 +00:00
Rebecca Law
6373455204 Update migration scripts to match the data model 2015-12-11 10:29:23 +00:00
Rebecca Law
b5c65525af 109526036: Migration script for new table 2015-12-10 15:13:13 +00:00
Rebecca Law
29c74b0da5 Add indexes to users. 2015-12-09 13:20:30 +00:00
Rebecca Law
27572ddb08 Add indexes for the users table 2015-12-09 13:20:00 +00:00
Rebecca Law
9c0a4529c1 Remove unique constraint on users.name 2015-12-09 13:13:48 +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
Rebecca Law
d372ee4d83 fix name of migration file. 2015-11-27 09:57:55 +00:00
Rebecca Law
9e27ef964a Make users.name unique. 2015-11-26 11:53:49 +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