Commit Graph

684 Commits (1be333ca316def78078710aa914b748efa52ac6f)

Author SHA1 Message Date
Yiyu He 78c7aad2bc Merge pull request #410 from fundon/master
use harmony flag work with iojs
2015-02-05 16:31:08 +08:00
fundon 3ac33a5c44 use harmony flag work with iojs 2015-02-05 16:29:32 +08:00
Yiyu He a9e6d2ccb4 Merge pull request #409 from adamme/master
Make `npm test` work with io.js
2015-02-05 15:43:24 +08:00
Adam L e7f7db9abb Make `npm test` work with io.js 2015-02-05 15:41:41 +08:00
Jonathan Ong a6efc790a4 Revert "Add io.js support to .travis.yml"
This reverts commit 70c1905f59.
2015-02-03 15:19:17 -08:00
Rui Marinho 70c1905f59 Add io.js support to .travis.yml 2015-02-03 08:37:49 -08:00
Jonathan Ong 5b7587bb7e use Object.setPrototypeOf() instead of __proto__ 2015-02-01 16:39:44 -08:00
Jonathan Ong 963d46e46b bump supported iojs/node versions 2015-02-01 16:35:17 -08:00
fengmk2 9998696aed Merge pull request #404 from alsotang/patch-2
Update Readme.md
2015-02-01 21:20:01 +08:00
alsotang d659edf56a Update Readme.md
remove recommendation of koa-common
2015-02-01 21:17:55 +08:00
Jesús Rodríguez Rodríguez 8d1a340789 Fix typo on response.body test.
Just a small typo.
2015-01-29 15:39:06 -08:00
Jesus Rodriguez 68843e0cb3 Remove unused imports and exports 2015-01-29 15:39:06 -08:00
TJ Holowaychuk 83b2ac0ffc Merge pull request #401 from Foxandxss/patch-1
Change request's "ips" regex to match others.
2015-01-29 09:25:16 -08:00
Jesús Rodríguez Rodríguez 6c340455f8 Change request's "ips" regex to match others.
So I am in this silly quest of cloning the repo, deleting all the code on it and rewriting it again step by step to pass the tests. It is a acceptable way to learn how koa works.

Anyway, I saw that the regex used in `ips` doesn't match the others on the file, so I thought it would be good to change it.
2015-01-29 17:51:09 +01:00
dead_horse 6f5150249b upgrade dependences 2015-01-29 12:39:52 +08:00
Jonathan Ong 54a93f11ba 0.16.0 2015-01-27 12:14:56 -08:00
TJ Holowaychuk 255a39b876 refactor res.append()
OCDOCDOCD
2015-01-27 10:14:57 -08:00
TJ Holowaychuk 8ac26b1d77 Merge pull request #399 from koajs/append
Add res.append(field, val) to append headers
2015-01-27 10:13:05 -08:00
dead_horse 5a3f32dfdd Add res.append(field, val) to append headers 2015-01-26 02:20:08 +08:00
Yiyu He ceacafeb81 Merge pull request #393 from seegno/enhancement/add-support-for-node-0-11-15
Fix url.format taking into account path on node@0.11.15
2015-01-26 02:19:29 +08:00
Rui Marinho d108926f46 Fix url.format usage of path on node@0.11.15
node@0.11.15 was released with a patch that adds support for `path` to
url.format
(d312b6d15c).

However, this broke `npm install` for git+ssh urls and as such has been
reverted on io.js, making it work like on node@0.11.14 again.

913addbff5
2015-01-23 02:09:21 +00:00
Jonathan Ong abd5e79223 0.15.0 2015-01-18 22:04:13 -08:00
Julian Gruber 60fae0fa7f Merge pull request #387 from seegno/support/update-co-4-1-0
⬆️ co@^4.1.0
2015-01-03 13:56:35 +01:00
Rui Marinho 526eeadfa5 update co@4.1.0
This version includes an important fix for a memory leak.

See https://github.com/tj/co/issues/180.
2015-01-03 01:59:27 +00:00
TJ Holowaychuk f690af0f1d update license and add AUTHORS file. Closes #386
not sure if just saying "Koa contributors" is proper legalese but hey
2014-12-31 11:06:54 -08:00
Jonathan Ong 6cb5a9b9b8 n 0.11 2014-12-30 11:47:36 -08:00
Jonathan Ong e65206f99c update history.md 2014-12-27 14:18:01 -08:00
fengmk2 3e66157472 ctx.request.href: get full request url, include `protocol`, `host` and `originalUrl`
Useful on those scenes need current full request url, like `OAuth`.
2014-12-27 14:17:00 -08:00
dead_horse d58f458b8d recommend to use 0.11.13+ 2014-12-21 00:12:14 +08:00
Jonathan Ong ca1197c93e ⬆️ co@^4.0.2 2014-12-18 16:05:39 -08:00
Jonathan Ong a995afb1ef 0.14.0 2014-12-15 10:13:40 -08:00
Yiyu He 18fcf34c7c Merge pull request #377 from Horx/master
remove the 'x-powered-by' in context test since it has been removed
2014-12-08 10:25:05 +08:00
HanHor Wu a04183aae0 remove the 'x-powered-by' in context test since it has been removed 2014-12-08 09:39:51 +08:00
Guilherme Pacheco 6d09053dac Update response.md 2014-12-04 15:14:05 -08:00
TJ Holowaychuk 6ed9d68122 add screencast link
we probably should not get too crazy with links here, and maintain them in the Wiki,
but this one is really well done!
2014-12-04 01:03:46 -08:00
TJ Holowaychuk e4076ce930 remove x-powered-by. Closes #372 2014-12-04 01:01:57 -08:00
Jonathan Ong 54ca7753fd move gitter badge 2014-11-30 00:03:09 -08:00
Julian Gruber 7278fb63cd Merge pull request #371 from zensh/master
remove unnecessary "require('http')"
2014-11-29 02:50:27 +01:00
zensh 28ec7892a8 remove unnecessary "require('http')" 2014-11-29 09:42:01 +08:00
dead_horse 57eb6a10df set content-type for redirect when accpect plain 2014-11-27 09:25:44 -08:00
TJ Holowaychuk b854d00363 Merge pull request #366 from MatthewMueller/master
add: ctx.locals as a recommended namespace for passing information to the frontend
2014-11-18 08:19:19 -08:00
Matthew Mueller 6847fe68bd added: ctx.state as the recommended namespace for passing information through middleware and routes. 2014-11-18 00:54:14 -08:00
Jonathan Ong 8ddd1e08d4 update delegates and supertest 2014-11-17 18:44:28 -08:00
dead_horse 3f183a196b upgrade co@4 2014-11-17 21:21:00 +08:00
dead_horse 193eadbdb5 add the missing semicolon 2014-11-16 23:18:37 +08:00
dead_horse 286f5ad43e bump mocha 2014-11-16 21:54:29 +08:00
dead_horse eff4886cd8 ocd 2014-11-16 21:52:14 +08:00
dead_horse 508290afaf fix tj's link 2014-11-07 16:12:10 +08:00
dead_horse ae25165715 added gitter badge 2014-11-05 00:59:11 +08:00
Christoffer Hallas 860bea1eba Merge pull request #361 from yoshuawuyts/patch-1
test/application: fix quotes
2014-11-02 01:29:18 +01:00