Remy Sharp
131d75968c
Extended /<user>/last support to /<user>/last-n
...
So /rem/last still works, but also /rem/last-1 gives me the penulimate bin I worked on.
2013-11-02 15:38:23 +00:00
Tom Ashworth
d54d4d3735
Redo github logic to fix incorrect linking.
2013-07-04 13:20:02 +01:00
Remy Sharp
0f1b36d0a6
Merge branch 'master' into fix/avatar-as-menu-655
...
Conflicts:
lib/handlers/bin.js
lib/models/user.js
2013-07-04 11:25:44 +01:00
Remy Sharp
9f33d85ccd
supply the view with the user bin count
2013-06-28 16:00:58 +01:00
Tom Ashworth
482a3daa84
Hook Github to existing user.
2013-06-24 11:14:13 +01:00
Matthew O'Riordan
a234941cf3
API can require an API key for a user (disallow anonymous)
2013-05-20 07:18:57 +02:00
Tom Ashworth
099d21b118
Remove lots of logging.
2013-05-16 14:50:12 +01:00
Tom Ashworth
6c2b145478
Support creating of bins with file-db.
2013-05-16 14:49:27 +01: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
9e45a8f3e0
Track bin query times.
2013-02-14 15:53:23 +00:00
Tom Ashworth
653622b5f9
Bins are archiveable.
2013-01-14 15:05:20 +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
Jon Linklater-Johnson
fb47266f93
Updated bin model for report abuse functionallity
2012-08-25 11:41:25 +02: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
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