Remy Sharp
bde67cf321
revert
2013-07-30 18:35:36 +01:00
Remy Sharp
25e2c7c4d6
prevents crash when bin is not found
2013-07-30 18:33:00 +01:00
Remy Sharp
05745d18cb
prevent jsbin from crashing when ping is undefined
2013-07-29 07:37:29 +01:00
Remy Sharp
3579f9a73e
fricking typo - thanks @aron
2013-07-28 23:25:36 +01:00
Remy Sharp
482556fb9c
Fixed jsbin crashing when no accept header - seemed AppEngine was coming in and bombing jsbin...
2013-07-28 09:14:39 +01:00
Remy Sharp
dd6ea259a1
allow switching to concat only view of scripts - this can be removed eventually
2013-07-24 22:51:25 +01:00
Remy Sharp
542b2cdc9d
dynamic method of switching to debug in production
2013-07-24 21:48:22 +01:00
Remy Sharp
724c188db6
if no email from github, use empty string, not null
2013-07-20 12:47:25 +01:00
Remy Sharp
4702a4c962
return error to user notice when github auth fails
2013-07-20 12:44:17 +01:00
Remy Sharp
2fca1a3fc6
helper url for issues
2013-07-16 15:36:19 +01:00
Remy Sharp
4f2c953e5d
mysql was not returning the bin number - just true or false
2013-07-04 18:51:53 +01:00
Remy Sharp
636d4fffa2
Merge branch 'master' of github.com:remy/jsbin
2013-07-04 18:39:32 +01:00
Remy Sharp
605a1910a8
Fixed server exploding - too few parameters given
...
MySQL was expecting the github data, but not being pass it - and it was causing the node process to crash and restart - mayhem.
2013-07-04 18:37:52 +01:00
Remy Sharp
852f687901
Merge pull request #678 from remy/fix/github-login
...
Add better errors for user to github login.
2013-07-04 07:22:32 -07:00
Tom Ashworth
0729bf0fd4
Add better errors for user to github login.
2013-07-04 15:19:50 +01:00
Remy Sharp
75ba12aad5
Merge branch 'master' of github.com:remy/jsbin
2013-07-04 13:29:20 +01:00
Remy Sharp
0b90449ad3
expose the bin counter
2013-07-04 13:29:04 +01:00
Tom Ashworth
f5a4972317
Remove some logging.
2013-07-04 13:23:11 +01: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
Tom Ashworth
746dd02d20
Merge branch 'master' into feature/github-login-521
...
Conflicts:
lib/app.js
2013-07-04 11:14:28 +01:00
Remy Sharp
40b7700b18
Merge pull request #652 from remy/fix/xss-651
...
Prevent XSS to main jsbin window by running all live rendering inside of run.jsbin.com (also supports local installs). Also exposes a feature to allow embeddable runner *only* allowing users to create their own UI to inject code.
2013-07-04 02:56:42 -07:00
Remy Sharp
c00b8119f2
Merge pull request #672 from remy/fix/spikes
...
Spikes: revision following in event streams
2013-07-04 02:38:41 -07:00
Tom Ashworth
0fe84eafe8
Move runner to dynamix render and add build script.
2013-07-03 16:40:11 +01:00
Remy Sharp
9f33d85ccd
supply the view with the user bin count
2013-06-28 16:00:58 +01:00
Remy Sharp
9c9846becd
add getUserBinCount to db adapters
2013-06-28 15:59:39 +01:00
Tom Ashworth
8940755fba
Info and notifications for github login.
2013-06-26 14:39:42 +01:00
Tom Ashworth
e5aabef6db
Allow info, error and notifications from the server (flash).
2013-06-26 14:26:52 +01:00
Tom Ashworth
e484278835
Redirect gist.jsbin to correct gist URL.
2013-06-26 13:43:28 +01:00
Tom Ashworth
72a4ec11a7
Fix creating users.
2013-06-25 10:43:02 +01:00
Tom Ashworth
86d79e5156
Export as gist (anonymous or user's).
2013-06-24 15:52:52 +01:00
Tom Ashworth
5453789141
Update github token when GH user logs in.
2013-06-24 15:50:14 +01:00
Tom Ashworth
8ce74097f3
Increase Github token scope.
2013-06-24 15:48:29 +01:00
Tom Ashworth
dace31ca4d
Allow logged out github users to log in.
2013-06-24 14:13:03 +01:00
Tom Ashworth
f372814e18
Hide link Github account when linked.
2013-06-24 12:19:06 +01:00
Tom Ashworth
237bc1bc43
Inform user if matching account already exists.
2013-06-24 11:40:15 +01:00
Tom Ashworth
482a3daa84
Hook Github to existing user.
2013-06-24 11:14:13 +01:00
Tom Ashworth
3eb1196338
Include url in stream log.
2013-06-21 11:51:59 +01:00
Tom Ashworth
bce6739172
Restore codecasting and revision bumping.
2013-06-21 11:24:58 +01:00
Tom Ashworth
23bd4a8136
Render stream now follows revisions.
2013-06-20 11:19:33 +01:00
Tom Ashworth
2ee90c4ea8
Clean and document the updateUserSpikes method.
2013-06-19 16:29:55 +01:00
Tom Ashworth
dda1b6bc63
Fix bug where falsey data was passed to makeEvent.
2013-06-19 15:20:15 +01:00
Tom Ashworth
ad569a0b56
Clean up server side spike code, inlude a test (!)
2013-06-19 14:49:04 +01:00
Tom Ashworth
bb041bface
Redirect insecure connections.
2013-06-19 10:36:14 +01:00
Tom Ashworth
568b5a8da0
Detect SSL and alter URLs to match.
2013-06-18 16:24:39 +01:00
Tom Ashworth
2d5195bbc9
Support creating a new user with gihub, but sessions are broken.
2013-06-18 13:44:55 +01:00
Tom Ashworth
2556feb74c
Create and log in new github user if no matching account.
2013-06-17 17:40:19 +01:00
Tom Ashworth
aeee052d79
Add github buttons and routes.
2013-06-17 16:54:58 +01:00
Remy Sharp
7959680227
fixed up the CORS support for the API
2013-06-12 11:03:18 +01:00
Remy Sharp
e34b4a97dd
Merge branch 'ably-forks-api'
2013-06-11 12:43:10 +01:00