Routes
+------------------------------------------------+
| Request | +---------------+
| || | -----> | Settings |
| \/ Auth | +---------------+
| +--------------------------------------------+ |
| | || | |
| | \/ | |
| | +------------+ Model +------------+ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* NEW: Add explanations for more disconnect scenarios | |
* NEW: export sessioninfos so plugins can access it | |
* NEW: pass pad in postAceInit hook | |
* NEW: Add trustProxy setting. ALlows to make ep use X-forwarded-for as remoteAddress | |
* NEW: userLeave hook (UNDOCUMENTED) | |
* NEW: Plural macro for translations | |
* NEW: backlinks to main page in Admin pages | |
* NEW: New translations from translatewiki.net | |
* SECURITY FIX: Filter author data sent to clients | |
* FIX: Never keep processing a changeset if it's corrupted |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# v1.2 release | |
To complete these great news, we also released v1.1.6 today, introducing new patches and some exciting new features: | |
* Customizable robots.txt | |
* Customizable app title (finally you can name your epl instance!) | |
* eejs render arguments are now passed on to eejs hooks through the newly introduced `renderContext` argument. | |
* Plugin-specific settings in settings.json (finally allowing for things like a google analytics plugin) | |
* Serve admin dashboard at /admin (still very limited, though) | |
* Modify your settings.json through the newly created UI at /admin/settings | |
* Fix: Import <ol>'s as <ol>'s and not as <ul>'s! | |
* Added solaris compatibility (bin/installDeps.sh was broken on solaris) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http') | |
Number.prototype.times = function(fn) { | |
for(var i=1; i <= this; i++) process.nextTick(fn.bind(null, i)) | |
return this | |
} | |
var finished=0; | |
function finish(i) { | |
finished++; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/node/handler/APIHandler.js:101: res.send({code: 3, message: "no such api version", data: null}); | |
src/node/handler/APIHandler.js:119: res.send({code: 3, message: "no such function", data: null}); | |
src/node/handler/APIHandler.js:126: res.send({code: 4, message: "no or wrong API Key", data: null}); | |
src/node/handler/APIHandler.js:172: res.send({code: 0, message: "ok", data: data}); | |
src/node/handler/APIHandler.js:177: res.send({code: 1, message: err.message, data: null}); | |
src/node/handler/APIHandler.js:182: res.send({code: 2, message: "internal error", data: null}); | |
src/node/handler/ExportHandler.js:59: res.send(text.text ? text.text : null); | |
src/node/handler/ExportHandler.js:64: res.send(pad.text()); | |
src/node/handler/ExportHandler.js:79: res.send(dokuwiki); | |
src/node/handler/ExportHandler.js:111: res.send(html); |
[diff algorithm]
server ↔ Socket.io → *changeset* → Client controller → *new contents* → Editor
\ / \ /
`← *changeset* ←´ `← *onchange:contents* ←´
or just
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Fork](http://help.github.com/fork-a-repo/) this repo, [clone](http://git-scm.com/docs/git-clone) your fork, create a [feature branch](https://www.google.com/search?q=git+feature+branches), [commit](http://git-scm.com/docs/git-commit), [push](http://git-scm.com/docs/git-push) and submit a [pull request](http://help.github.com/send-pull-requests/). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var exec = require('child_process').spawn; | |
var node = exec('node', process.argv.splice(2), {stdio: 'inherit'}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function contrast(c1, c2) { | |
v1 = Math.min(Math.min(c1.r, c1.g),c1.b) + Math.max(Math.max(c1.r, c1.g),c1.b) / 2; | |
v2 = Math.min(Math.min(c2.r, c2.g),c2.b) + Math.max(Math.max(c2.r, c2.g),c2.b) / 2; | |
return Math.abs(v1-v2); | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:ASTEROIDS.watch('enemiesKilled', function(prop, old, newval) {return newval+4;});void(0); |
NewerOlder