16 Commits

Author SHA1 Message Date
Matthew O'Riordan
a234941cf3 API can require an API key for a user (disallow anonymous) 2013-05-20 07:18:57 +02:00
Remy Sharp
be56fa0db8 If logged-in user created first revision of a bin, then they "own" the bin url - and other users will only be able to clone the url 2013-04-05 22:09:12 +01:00
Tom Ashworth
e48d568bf0 Track user query times. 2013-02-14 15:58:54 +00:00
Tom Ashworth
0cc499a7d3 add support to the owners table for panels with content, and unified the setBinOwner, setBinForUser, assignBin, et al 2013-01-09 16:50:33 +00:00
Tom Ashworth
be3ffbb4fc Add summary when bin created, saved and updated. 2013-01-07 12:36:52 +00:00
Remy Sharp
c48176d1fe Log die! 2012-07-27 14:20:54 +01:00
Aron Carroll
10b55a4dfd Now correctly upgrade the users created timestamp
This was preventing the password from being upgraded when the user
knew their email and password. This does not resolve the issue
of a user not having a password.
2012-07-23 23:02:18 +01:00
Remy Sharp
90065b9450 Update last_updated col on owners so that /rem/last always points to last active (includes db change) 2012-07-08 00:25:45 +01:00
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
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