Commit Graph

198 Commits

Author SHA1 Message Date
Tj Holowaychuk
7d24c2ba40 Fixed app.set() with undefined 2011-12-15 09:00:39 -08:00
Tj Holowaychuk
c30c2f8d38 typo 2011-12-09 14:32:35 -08:00
Tj Holowaychuk
43295289bf Removed app.redirect() 2011-12-06 16:04:06 -08:00
Tj Holowaychuk
17a831e32f app.path() 2011-12-06 15:36:44 -08:00
Tj Holowaychuk
87b991c076 removed "root" setting
screw it, no one will understand anyway
2011-11-24 14:27:28 -08:00
Tj Holowaychuk
5d593f26af .parent tests 2011-11-24 14:04:37 -08:00
Tj Holowaychuk
b6611c8a3b Added: emit "mount" event on the app being mounted 2011-11-24 13:24:34 -08:00
Tj Holowaychuk
aab08d774b Removed implementation of app.mounted(callback) 2011-11-24 13:20:10 -08:00
Tj Holowaychuk
321aa52384 Removed app.mounted(callback) 2011-11-24 13:19:53 -08:00
Tj Holowaychuk
1334a74ef1 misc refactoring 2011-11-24 12:50:19 -08:00
Tj Holowaychuk
6ae32fd596 docs 2011-11-24 12:22:59 -08:00
Tj Holowaychuk
4c316ba4ce refactored init middleware into its own file 2011-11-24 12:14:12 -08:00
Tj Holowaychuk
9082e74971 Added app.listen() as a shortcut for http.createServer(app).listen() 2011-11-11 17:22:25 -08:00
Tj Holowaychuk
7a7d77e7bd Removed toArray() util 2011-11-11 14:30:27 -08:00
Tj Holowaychuk
92c5284b80 fixed auto use(app.router) 2011-11-10 16:11:35 -08:00
Tj Holowaychuk
e27b224933 make sure req/res protos are app-specific 2011-11-10 11:31:38 -08:00
Tj Holowaychuk
d249868e07 no longer manipulate the req/res protos directly 2011-11-10 11:18:43 -08:00
Tj Holowaychuk
b9dee730a8 Fixed app.render() absolute path support 2011-11-10 08:22:42 -08:00
Tj Holowaychuk
66f8ca52d6 Added app.engine() tests 2011-11-08 20:14:53 -08:00
Tj Holowaychuk
2e22887f71 docs 2011-11-08 19:55:41 -08:00
Tj Holowaychuk
377056a33c Removed "charset" option 2011-11-08 19:44:16 -08:00
Tj Holowaychuk
43d9f6ea17 tweak res.redirect() mount route logic 2011-11-08 18:59:40 -08:00
Tj Holowaychuk
0f2f3d4e29 Fixed res.clearCookie(), default path to "root" setting 2011-11-08 18:25:21 -08:00
Tj Holowaychuk
62257bce18 Added app.routes, replacing app.routes.all(). Closes #811 2011-10-14 17:51:23 -07:00
Tj Holowaychuk
0ed74aa68b added an array of routes 2011-10-14 17:48:57 -07:00
Tj Holowaychuk
e0bd0d6470 Added app.get(setting). Closes #842 2011-10-14 17:37:23 -07:00
Tj Holowaychuk
965e1d63dc added sync signature for app.locals.use() 2011-10-09 13:08:20 -07:00
Tj Holowaychuk
0f6ad43e91 app.locals.use(fn) 2011-10-09 12:54:15 -07:00
Tj Holowaychuk
8d804a6c4a removed old app.locals() 2011-10-09 12:51:27 -07:00
Tj Holowaychuk
d4b08e9566 misc 2011-10-07 15:18:00 -07:00
Tj Holowaychuk
4ed92d50e0 misc refactoring 2011-10-07 15:12:24 -07:00
Tj Holowaychuk
8848004cb7 refactoring boot logic 2011-10-07 15:10:30 -07:00
Tj Holowaychuk
e1da383aed new View 2011-10-07 14:51:06 -07:00
Tj Holowaychuk
6bcf29152f misc refactoring 2011-10-07 14:25:09 -07:00
Tj Holowaychuk
8a38211bd9 re-implemented "view cache" 2011-10-07 14:16:05 -07:00
Tj Holowaychuk
cb2b9feb5f docs 2011-10-07 14:13:13 -07:00
Tj Holowaychuk
c2d5d5619b lookup callback 2011-10-07 14:12:37 -07:00
Tj Holowaychuk
76b7d6975f app.lookup() 2011-10-07 14:11:08 -07:00
Tj Holowaychuk
7e9186d1ae removed hints setting 2011-10-07 14:08:06 -07:00
Tj Holowaychuk
d1ce4c9923 req.query is always present 2011-10-07 14:04:59 -07:00
Tj Holowaychuk
0d0125fc29 removed union util 2011-10-07 13:50:59 -07:00
Tj Holowaychuk
98e2c0522f merging res.locals 2011-10-07 13:50:31 -07:00
Tj Holowaychuk
294bc8c1d7 misc refactoring 2011-10-07 13:34:03 -07:00
Tj Holowaychuk
c40c54fbee request-level render() 2011-10-07 13:27:43 -07:00
Tj Holowaychuk
cecbaf2efe removed old view.js 2011-10-07 13:22:55 -07:00
Tj Holowaychuk
e90413243e use app.engines instead of app.cache 2011-10-07 13:21:01 -07:00
Tj Holowaychuk
a9396efeaf added app.register() 2011-10-07 13:19:29 -07:00
Tj Holowaychuk
d0585bd910 application.js 2011-10-07 13:10:15 -07:00