2036 Commits

Author SHA1 Message Date
Remy Sharp
cc6160271d Merge branch 'master' of github.com:remy/jsbin 2013-07-15 20:02:30 +01:00
Tom Ashworth
cfbe0332ba Reset the loop counters before every render. 2013-07-15 15:58:50 +01:00
Remy Sharp
276f0adcbb 3.4.5 v3.4.5 2013-07-15 15:51:06 +01:00
Remy Sharp
47c0167c1e Merge branch 'master' of github.com:remy/jsbin 2013-07-15 15:51:00 +01:00
Remy Sharp
a69ec4cb9f jshint tidy 2013-07-15 15:50:51 +01:00
Remy Sharp
e52af727f1 Merge pull request #708 from remy/fix/loop-protection-702
Fix loop protection
2013-07-15 07:50:05 -07:00
Tom Ashworth
b35d186cda Use 100ms timeout on infinite loop protection, and don't mess with HTML or CSS. 2013-07-15 15:40:43 +01:00
Tom Ashworth
cac74a4861 Merge branch 'master' into fix/loop-protection-702 2013-07-15 15:24:02 +01:00
Tom Ashworth
42dc3a388b Make render.js its own module. 2013-07-15 15:19:58 +01:00
Remy Sharp
87ebd146b6 Merge pull request #706 from remy/fix/console-falsey-values-698
Fix console not logging falsey values in array.
2013-07-15 07:16:19 -07:00
Remy Sharp
9d409475d2 Merge pull request #705 from remy/fix/runner-window-undefined-679
Fix attaching runnerWindow in firefox.
2013-07-15 06:53:28 -07:00
Remy Sharp
d1edef8c82 Made 2 minute guide even more obvious... 2013-07-15 14:25:10 +01:00
Tom Ashworth
cd0049e984 Fix console not logging falsey values in array. 2013-07-15 12:55:48 +01:00
Tom Ashworth
dcc1776089 Fix spelling. 2013-07-15 12:49:55 +01:00
Tom Ashworth
349bff066a Fix attaching runnerWindow in firefox. 2013-07-15 12:42:08 +01:00
Remy Sharp
97b9059f75 3.4.4 v3.4.4 2013-07-14 12:05:15 +01:00
Remy Sharp
cad1f7c5b8 break runner up in to modules so they can be tested, and fixed loop detect to reset on beginning of loop 2013-07-14 12:00:32 +01:00
Remy Sharp
04018fae13 3.4.3 v3.4.3 2013-07-14 10:44:08 +01:00
Remy Sharp
7cfcaf4ac8 Merge pull request #696 from waltervascarvalho/master
Updating Libraries: Ember.js + Handlebars.js
2013-07-14 01:56:21 -07:00
Remy Sharp
574661894f Merge pull request #699 from remy/fix/infinite-loops
Fix infinite loops
2013-07-14 01:56:07 -07:00
Remy Sharp
a34680e3dd removed loop test file - need to move to dep 2013-07-14 09:55:55 +01:00
Remy Sharp
33bade3d2f Remove all but active iframe on runner. Fixes #687
The old code was expecting a single irame to exist. Because it was only listening to the window.onload, we could render many times but only a single load event would fire. So code changed to search for all iframes, and remove all from the DOM except for 'sandbox.active'.
2013-07-13 23:46:45 +01:00
Remy Sharp
b4e3db625e Prevent infinite loops in jsbin editor.
This is done by rewriting loop code with a test to see how many times the test has been called.

In general, JS is going to run pretty quick, so an infinite loop can rack up 100,000 iterations pretty quickly. If we hit that limit, we break out of the loop and console.error (note: I'd like to echo this back to the user in the UI somehow - probably the linter notice).

This way the code continues, it's a little slow, but it *doesn't* crash the browser.
2013-07-13 23:44:32 +01:00
Walter Carvalho
69b0040655 Updated Libraries
* Ember.js
*	Now auto-loading v1.0.0-rc.3 of handlebars.js by default, as it is a dependency.
*		http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0-rc.3/handlebars.js
* 	Now loading v1.0.0-rc.6 of ember.min.js
*		http://cdnjs.cloudflare.com/ajax/libs/ember.js/1.0.0-rc.6/ember.min.js
* Handlebars.js
*	Now loading v1.0.0-rc.3
*		http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0-rc.3/handlebars.js
2013-07-11 23:37:04 +01:00
Remy Sharp
c39e92ca2b Adding more stuff to roadmap that's been sitting in my head 2013-07-05 22:41:00 +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
7d1afb8b0f Release v3.4.2. v3.4.2 2013-07-04 13:30:39 +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
Remy Sharp
83eab90c79 Merge pull request #675 from remy/fix/github-login
Redo github logic to fix incorrect linking.
2013-07-04 05:28:32 -07: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
e30f4623c8 Release v3.4.1. v3.4.1 2013-07-04 11:31:39 +01:00
Remy Sharp
2b51860a8d Merge pull request #657 from remy/fix/avatar-as-menu-655
UI: Change avatar to menu
2013-07-04 03:26:16 -07: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
Remy Sharp
7bc57bddfd Merge pull request #646 from remy/feature/github-login-521
github login support, with export to gist.
2013-07-04 03:16:41 -07: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
9e7eba1ec7 Release v3.4.0. v3.4.0 2013-07-04 11:01:52 +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
Tom Ashworth
df431523ca Allow all origins in runner & live.
This is a precursor to possibly allowing the runner to be distributed as a
standalone without JS Bin's chrome.
2013-07-04 10:51:28 +01: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
Remy Sharp
12b68b781a Merge pull request #671 from Daniel-Hug/master
index.html cleanup & minor fixes
2013-07-04 02:27:02 -07:00
Remy Sharp
20d8add86d Merge pull request #673 from remy/feature/ssl
Support SSL
2013-07-03 09:17:55 -07:00
Tom Ashworth
0fe84eafe8 Move runner to dynamix render and add build script. 2013-07-03 16:40:11 +01:00
Tom Ashworth
694fdf0be4 Remove paths from my machine. 2013-07-03 14:58:58 +01:00
Tom Ashworth
a8d1a67a6b Update nginx conf docs. 2013-07-03 14:51:52 +01:00