18 Commits

Author SHA1 Message Date
Remy Sharp
57ce5ec7ac Allow user to use permalink /rem/last for easy device testing 2012-07-05 00:26:14 +01:00
Remy Sharp
f0624339e1 Pushing in @aron's changes from #190 2012-06-27 16:20:15 +01:00
Remy Sharp
f3ee24f7f1 Fixed conflicts 2012-06-27 16:18:30 +01:00
Aron Carroll
f48c970a0e ForgotTokenModel#createToken() returns token 2012-06-24 21:04:53 +01:00
Aron Carroll
05505d3c32 Add updateEmail() to UserModel 2012-06-22 16:09:49 +01:00
Aron Carroll
8c73544225 Implemented main password reset handlers 2012-06-22 16:09:49 +01:00
Aron Carroll
804267f0d9 Now load models with camel case names correctly 2012-06-22 16:09:49 +01:00
Aron Carroll
809c23eb0f Add new ForgotTokenModel 2012-06-22 16:09:49 +01:00
Aron Carroll
37e18fbf04 Convert all models into observable objects 2012-05-20 21:29:38 +01:00
Aron Carroll
561fa1f9ea User model now has .getBins() method 2012-05-18 15:50:07 +01:00
Aron Carroll
f6980cee25 Created bins are now assigned to user account when logged in 2012-05-09 21:57:34 +01:00
Aron Carroll
156d6d1c18 Now upgrade passwords from old JSBin accounts to new ones 2012-05-06 19:07:41 +01:00
Aron Carroll
a5811c6af9 Update "last_login" column when a user logs in 2012-05-06 18:45:48 +01:00
Aron Carroll
fa08652d35 Add a user model and update models/index.js 2012-05-05 19:36:22 +01:00
Aron Carroll
84d4292d99 Create an index file for all models
Also refactored the model modules to export a factory function rather
than returning a function itself. This seems to read a bit better.
2012-04-30 23:19:08 +01:00
Aron Carroll
20a7ea5b3c Add support for saving a bin revision
Support is still very basic but a revision can be created, streaming
is not yet supported as we are waiting on sessions.
2012-04-22 19:00:07 +01:00
Aron Carroll
83b35ca08c Move other database methods into bin model 2012-04-20 19:20:20 +01:00
Aron Carroll
9f9c228b7f Add models directory for common model objects 2012-04-20 19:05:41 +01:00