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
Remy Sharp
b537de0854
Finishing up API, to allow for read only
...
- Added allowReadOnly in config - defaults to true
- read only has CORS support
- Add handler for :rev route, and autoload the latest (needs more cleaning up)
- Allow xhr requests to both /api/x and /abcd/123 (how it originally worked)
2013-06-11 12:41:00 +01:00
Matthew O'Riordan
14b984f55c
Allow client interface to be turned on/off with ENV vars
...
Building on pull request https://github.com/remy/jsbin/pull/610 , this allows these settings to be configured as an Environment variable. This is needed for Heroku support, see pull request https://github.com/remy/jsbin/pull/607
2013-05-27 13:50:24 +01:00
Tom Ashworth
c6df7180df
Support switching off user-related menus via config.
2013-05-24 15:44:58 +01:00
Remy Sharp
c2afbe40b6
Merge branch 'api' of git://github.com/ably-forks/jsbin into ably-forks-api
2013-05-21 15:31:40 +01:00
Tom Ashworth
74cd8a4b3b
Fix issue where unprocessed data wasn't being sent.
2013-05-20 12:40:06 +01:00
Tom Ashworth
2349637630
Fix /watch by sending raw and processed over EventStream.
2013-05-20 12:37:46 +01:00
Tom Ashworth
65b787e946
Don't modify in place.
2013-05-20 11:53:51 +01:00