833 Commits

Author SHA1 Message Date
Remy Sharp
8564e0701e Move php to own directory 2012-06-22 12:09:42 +01:00
Remy Sharp
82376e483a Move php to own directory 2012-06-22 12:09:14 +01:00
Remy Sharp
51454ed140 removed "or email" to avoid confusion for now 2012-06-22 09:17:57 +02:00
Remy Sharp
c16b8f3c00 Simple API for processors 2012-06-21 12:50:34 +01:00
Remy Sharp
52f4e2785e Console message remove 2012-06-21 12:50:27 +01:00
Remy Sharp
36d7331d81 Simpler UI for login and reg 2012-06-21 12:50:19 +01:00
Remy Sharp
e39b56f6bd Fixed focus issue in Opera 2012-06-20 13:41:50 +01:00
Remy Sharp
12f03623cd Fixed the busted log in layout in FF & Opera 2012-06-20 12:06:49 +01:00
Remy Sharp
664fc113a1 Few lint passes 2012-06-20 12:06:17 +01:00
Remy Sharp
7199f5c161 Sod, sethome should have been relative. 2012-06-19 23:28:34 +01:00
Remy Sharp
bd83d9ba51 Tidying up some of the url mess in #182 - include the revision *IF* there's a code_id 2012-06-19 23:22:08 +01:00
Aron Carroll
f6886097ad Auto increment now works in Firefox and Opera. Fixes #182
Firefox was not sending the _csrf cookie when the save request was
made unless the version number was included in the url string. Not
100% sure why it's a very odd behaviour but this caused the request to
fail due to an invalid CSRF validation.

The solution was to always include the revision number in the url,
and the update was made to the $code_id in the PHP app. However this
issue was introduced with changes in commit 601caf48 and may have
broken other functionality.
2012-06-19 20:35:50 +01:00
Remy Sharp
3824905284 Make sure the background of the control bar is a solid colour 2012-06-19 13:13:58 +01:00
Remy Sharp
0d2633376b Fixed constructor 2012-06-19 13:13:40 +01:00
Remy Sharp
b9834d60ba Removed the starting point for auto-inc
lol - came from live server :)
2012-06-19 13:13:32 +01:00
Remy Sharp
2628d14e70 initial sqlite support - only tested saving, but it works - IT WORKS! 2012-06-19 01:29:45 +01:00
Remy Sharp
6df376f9b3 quiet boy... 2012-06-19 01:29:20 +01:00
Remy Sharp
267e53a596 Cleaner test for console #181 2012-06-18 17:31:34 +01:00
Remy Sharp
1028e21a16 Few simple changes for IE8 #181 2012-06-18 17:08:59 +01:00
Remy Sharp
09b8905f1e Capture logging from all sources 2012-06-18 07:39:00 +01:00
Remy Sharp
4d2b5b13ae Cleaner support for mobile - easier to drag panels too 2012-06-17 22:51:57 +01:00
Remy Sharp
bba6106fb7 Redundant string 2012-06-17 22:31:27 +01:00
Remy Sharp
9ab4b2bdb2 Fixed panel width restore in Firefox and Opera 2012-06-17 22:31:17 +01:00
Remy Sharp
be5eff39d6 Make sure target new also worked with mouse->move->up menu 2012-06-17 21:50:21 +01:00
Remy Sharp
dafb3fb1cc Upgrade way libraries work - much easier to add new libraries now. Also supports add, not replace with smart insertion 2012-06-17 12:23:41 +01:00
Remy Sharp
36571e5c90 Put mobile support back in using custom mirror 2012-06-17 12:23:15 +01:00
Remy Sharp
db0ad000de Updated todo 2012-06-17 09:48:19 +01:00
Remy Sharp
80177733e4 Jade and Stylus preprocessors. Smarter preprocessors too. 2012-06-17 09:48:11 +01:00
Remy Sharp
f476ef5342 Stop browser from scrolling out the app 2012-06-17 09:47:24 +01:00
Remy Sharp
d26e262d0f Get The Dude back in relative hosted versions of JS Bin 2012-06-16 18:58:22 +01:00
Remy Sharp
938a3e1128 Fixed path to included scripts 2012-06-16 18:49:02 +01:00
Remy Sharp
0fdf06f5df Initial support for preprocessors
Note that this only adds them as supported. Need to add UI and logic to
read database stored settings to load in the correct processor.

To use now - run the following in the browser's console:

// Use LESS in place of CSS
jsbin.panels.panels.css.processor = jsbin.processors.less();

// Use CoffeeScript in place of JavaScript
jsbin.panels.panels.javascript.processor =
jsbin.processors.coffeescript();
2012-06-16 18:46:44 +01:00
Remy Sharp
c94277427d Preprocessors - coffeescript & less - more to come! 2012-06-16 18:44:44 +01:00
Remy Sharp
4712e2810a File bug => send feedback, exposed /quiet url 2012-06-16 18:44:23 +01:00
Remy Sharp
0fa7f87e5d Switch to render methods - this gives us the "processed" output 2012-06-16 18:43:15 +01:00
Remy Sharp
6b36c00c23 Remonde mobileCodeMirror - it supports mobile now - sweet! 2012-06-16 18:42:58 +01:00
Remy Sharp
ad4982ffdf Moving depreciated files 2012-06-16 18:42:35 +01:00
Remy Sharp
fa871cf7da Add spike hook for the CSS 2012-06-16 09:56:24 +02:00
Remy Sharp
38c1682bdc Merge branch 'feature/node' of github.com:remy/jsbin into feature/node 2012-06-15 09:50:21 +01:00
Aron Carroll
c030ee1857 Now appending spike scripts using events 2012-06-10 14:43:21 +01:00
Aron Carroll
a5cd69c46a Add "created" and "updated" events to BinHandler
It's possible these events should be triggered on the model level but
this works nicely at the moment. Also removed the spike.ping code
from the BinHandler.
2012-06-10 14:17:30 +01:00
Aron Carroll
d407301f79 Add utils.extend() for extending objects 2012-06-10 14:08:30 +01:00
Aron Carroll
66f8d28dd8 Move the spike code into BinHandler and remove old handlers.js 2012-06-10 14:07:02 +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
Aron Carroll
592a23b6c3 Add a handle serve command to the makefile
Will optionally load config.node.json if it exists. Run using:

    $ make serve
2012-06-10 13:47:16 +01:00
Aron Carroll
b4edf514f0 Ignore all config files that are not config.default.json 2012-06-10 13:46:41 +01:00
Aron Carroll
164b56531c Merge branch 'feature/node' into 'feature/spike'
Conflicts:
	lib/app.js
	lib/handlers.js
	package.json
2012-06-10 12:24:02 +01:00
Remy Sharp
a5f81a64ea Don't need this rule as the file requested will be real 2012-06-09 09:44:39 +01:00
Remy Sharp
8350c54d82 Removed hard coded /3/ in rewritebase 2012-06-09 09:31:16 +01:00
Remy Sharp
b12ee6d447 Changed jsbin.js include depending on production or dev
This way it means we don't need a route for the production version of
the script and it hits the real file.
2012-06-09 09:29:52 +01:00