Remy Sharp
fc73f1525d
Live now moved to "/watch"
2012-07-08 00:09:23 +01:00
Remy Sharp
4d79eae197
Merge branch 'feature/node' of github.com:remy/jsbin into feature/node
2012-07-07 23:41:53 +01:00
Aron Carroll
54f1dbc86a
Remove incorrect "not-found" error. Ticket #213
2012-07-07 20:00:27 +01:00
Remy Sharp
638aa8721d
Experimenting with tidier urls - not updating the url when panels are shown
...
Note that if no panel state is found locally, then it should show the
live and any panel with content.
2012-07-07 19:03:33 +01:00
Remy Sharp
cfce15f8a2
More TODOs
2012-07-07 19:02:04 +01:00
Remy Sharp
0705c95f0c
Fixed heading size in model info boxes
2012-07-07 19:01:54 +01:00
Remy Sharp
70b71f7e25
Stupid fix for Firefox
...
Basically because the element vanishes from under the mouse, the item
the user thought they were clicking on is no longer there, so in the
end, no link is clicked, so nothing happens. This change just defers
the menu from being hidden on the next tick - most importantly: /after/
the click has happened.
2012-07-07 17:24:11 +01:00
Remy Sharp
1a95be4a98
Reversing @aron's port logic (this broke launching the server behind a proxy)
2012-07-07 10:05:20 +01:00
Remy Sharp
8ef5a542c5
Fix error in url method
2012-07-07 10:00:48 +01:00
Remy Sharp
2e411b26c9
Don't read the port from the env - because we can't proxy with it
2012-07-07 09:56:04 +01:00
Remy Sharp
5b4df8bbc5
Merge branch 'feature/node' of github.com:remy/jsbin into feature/node
2012-07-07 09:14:46 +01:00
Remy Sharp
b1d93ba50f
Point spike scripts to static server
2012-07-07 09:14:27 +01:00
Aron Carroll
c1089ecfa6
Handle unloaded bins correctly
2012-07-07 00:10:58 +01:00
Aron Carroll
a81b86fe1e
Keep the SQL in the npm module
2012-07-07 00:07:08 +01:00
Aron Carroll
69a623952a
Remove gobo, may he rest in peace
2012-07-07 00:03:56 +01:00
Aron Carroll
689665cd56
Set default host to localhost:3000
...
It's for the good of the npm deployment honest.
2012-07-06 23:58:53 +01:00
Aron Carroll
ed926fafd5
Sort out the port assignment in app.js
2012-07-06 23:58:40 +01:00
Aron Carroll
ab08807e3a
Update package.json with commander module
2012-07-06 23:58:19 +01:00
Aron Carroll
142f9fb82b
Add a jsbin binary for the npm package
2012-07-06 23:56:36 +01:00
Aron Carroll
c06a477052
Ignore all PHP files when creating the npm module
2012-07-06 22:38:46 +01:00
Aron Carroll
68384f8507
Add a bind property to package.json
2012-07-06 22:38:26 +01:00
Aron Carroll
67af83123d
Greatly improve how redirects are handled. Closes #198
...
Referrer is now used by default unless a form specifies an alternative.
2012-07-06 22:27:52 +01:00
Aron Carroll
40ad33c178
Define the "basepath" app setting
2012-07-06 22:27:34 +01:00
Aron Carroll
81155381f2
Improve SQLite handling of bin defaults
2012-07-06 22:27:09 +01:00
Aron Carroll
e6b52f27a5
Update Bcrypt module
...
Requires old version to be removed before updating.
2012-07-06 21:51:35 +01:00
Aron Carroll
4653997543
Update session when email changes
2012-07-06 21:50:36 +01:00
Aron Carroll
4205c0e434
Fix typo in SessionHandler
2012-07-06 21:50:21 +01:00
Aron Carroll
95f0b688f6
Add app.connect() function to allow database connections
2012-07-06 21:49:29 +01:00
Aron Carroll
5df51d7c26
Remove sqlite_templates.json. Whoop!
2012-07-06 21:48:56 +01:00
Aron Carroll
6f50501c74
Update SQLite adapter to work with sql_templates.json
2012-07-06 21:48:12 +01:00
Aron Carroll
5807bbb36c
Update both SQL files for v3
2012-07-06 21:47:48 +01:00
Aron Carroll
c52a6ebebb
Send an error response if unable to render files
2012-07-06 19:15:26 +01:00
Aron Carroll
c7d282ecaa
Fix the display of the bin url on creation
2012-07-06 17:55:00 +01:00
Aron Carroll
a3e6ad471d
Use utils.inherit() to tidy up SQLite file
2012-07-06 17:47:24 +01:00
Aron Carroll
0e83bb3d40
Tidy up SQLite adapter a little more
2012-07-06 17:45:33 +01:00
Aron Carroll
064d1a5751
Using utils.inherit() in MySQL adapter
2012-07-06 17:44:29 +01:00
Aron Carroll
69e208afde
Update SQLite adapter to use sql_templates.json
...
This is completely untested. Please don't hurt me if it doesn't work!
2012-07-06 17:20:18 +01:00
Aron Carroll
29bdb842c3
Remove all instances of NOW() from the sql templates
2012-07-06 17:12:25 +01:00
Aron Carroll
1ea3f7cfae
Show flash messages when requesting email reset
2012-07-06 16:58:47 +01:00
Aron Carroll
946fdd61c1
Add flash messages to template
2012-07-06 16:58:35 +01:00
Aron Carroll
106e25650c
Add a very simple flash message middleware
2012-07-06 16:58:17 +01:00
Aron Carroll
bf529ef5f5
Email is now required on forgot password form
2012-07-06 16:30:34 +01:00
Aron Carroll
62ba03e8a1
User is now redirected to JSBin home to reset thier password
2012-07-06 16:27:15 +01:00
Aron Carroll
41547acd68
Allow helpers.url() to be called with no argument
2012-07-06 16:27:15 +01:00
Aron Carroll
cc21fda54d
Only show name error message if name param is provided
2012-07-06 16:27:15 +01:00
Aron Carroll
025ab3a68e
Pass a gravatar url into the index.html template
2012-07-06 16:27:15 +01:00
Aron Carroll
c18cd88ed3
Add utils.gravatar() for creating gravatar urls
2012-07-06 16:26:28 +01:00
Aron Carroll
ba3281ab94
Using new account route handler
2012-07-06 16:26:28 +01:00
Aron Carroll
f196a40b28
Implemented the remaining account methods
2012-07-06 16:25:02 +01:00
Aron Carroll
a181c237fa
Checking for existence of username before creating account
2012-07-06 16:24:17 +01:00