20 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
61db8cd38e Monitoring spikes, db method calls and errors. 2013-02-14 15:30:33 +00:00
Tom Ashworth
653622b5f9 Bins are archiveable. 2013-01-14 15:05:20 +00:00
Tom Ashworth
aaeb535906 Check DB adapter before allowing it to be used. 2013-01-11 09:53:33 +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
cd2dff7202 Chunk the owners table to populate it slowly. 2013-01-09 10:23:37 +00:00
Tom Ashworth
20cc16186a Population tool. 2013-01-08 11:00:24 +00:00
Jon Linklater-Johnson
cfa3aa3b6d Flag abuse was missing 5626d3942ad99acaa810e426557239ec8dc2495a - so I cherry-picked it back in and resolved the conflict 2012-08-25 19:36:20 +01:00
Aron Carroll
17f176a324 Add Store#upgradeUserKey() method 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
61693f984d Add support for fetching user bins to the store 2012-05-18 15:49:47 +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
8b90176308 Add user methods to the store and MySQL adapter 2012-05-05 19:35:11 +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
cd333a15f6 Add a very basic store object
This is designed to have very light getter/setter methods that can
easily be implemented using any persistence layer. Currently there
is a MySQL layer. This may grow unwieldy in the future in which case
it should be easy to move to a ORM or whatnot.
2012-04-19 14:43:55 +01:00