Remy Sharp
664fc113a1
Few lint passes
2012-06-20 12:06:17 +01:00
Remy Sharp
0d2633376b
Fixed constructor
2012-06-19 13:13:40 +01:00
Remy Sharp
2628d14e70
initial sqlite support - only tested saving, but it works - IT WORKS!
2012-06-19 01:29:45 +01:00
Aron Carroll
de04505b8b
Now apply default values to the database results if null
...
This allows us to assume that the HTML, CSS and JavaScript will always
be a string.
2012-06-10 14:05:47 +01:00
Remy Sharp
d0f628acf0
JS Bin would hang if this was the user's first ever login - yoinks!
2012-05-26 10:29:09 +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
8a094f6dc9
Add sql templates for ownership table
2012-05-05 19:32:32 +01:00
Aron Carroll
f3ea6fe9e7
Now correctly checking for updated rows in mysql.js
2012-05-03 20:56:17 +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
d35c51176a
Add sql template for updating a bin panel
2012-04-22 18:59:27 +01:00
Aron Carroll
6d288d84e3
Add ability to create new bins
2012-04-20 19:06:07 +01:00
Aron Carroll
38b6728d72
Fix a couple of issues in the bin code generator
2012-04-20 17:28:29 +01:00
Aron Carroll
24a96c9567
Add code for generating a new bin id
2012-04-20 17:23:27 +01:00
Aron Carroll
fd3affab9a
Add SQL strings for creating and updating bins
2012-04-20 17:22:38 +01:00
Aron Carroll
9facbb17c2
Moved sql.js into a JSON file so it can be used by the PHP app
2012-04-20 15:15:09 +01:00
Aron Carroll
70b0ccd7b0
Add "latest" action to redirect to newest bin revision
...
Also implemented file extensions to load the raw bin source.
2012-04-19 18:15:24 +01:00
Aron Carroll
cdad54b4f7
Fix issue with MySQL not found errors
2012-04-19 16:38:28 +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