Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/koajs/koa

Expressive middleware for node.js using ES2017 async functions
https://github.com/koajs/koa

refactor context: move the non-delegated properties up

b88babe5ee9515fd0a68a9b6203e96b66a4ecb6a authored about 11 years ago by Jonathan Ong <[email protected]>
context: cross-reference request and response

9407d7776cedae747c91ab9913fe110164b82e8b authored about 11 years ago by Jonathan Ong <[email protected]>
bump deps

458c5ccfd2e1e700c66fad7fb73be364009eadcf authored about 11 years ago by Jonathan Ong <[email protected]>
add body.close check for HEAD requests

cb682ed9048afc91e0f2d470cdaf1ed86924d4f2 authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #89 from koajs/keygrip

add keygrip support

27d1336af50e2634b3a526fcefde6ca6d1a5e5b7 authored about 11 years ago by TJ Holowaychuk <[email protected]>
fix stream leak on HEAD. Closes #91

f3a6f6ae397ff0ab9dbbe750578f1945414b1aae authored about 11 years ago by TJ Holowaychuk <[email protected]>
ocd

f4b7f279eaa8568afbe527eb19ae2861183533c4 authored about 11 years ago by TJ Holowaychuk <[email protected]>
add app.keys support

0362c8e457a8a5fc164e51e9f74916b5d4ce9e26 authored about 11 years ago by Jonathan Ong <[email protected]>
Merge pull request #87 from koajs/original-url

this.originalUrl && this.request.originalUrl

52307eeb72bb942d6fe1831a300596a733bb7eca authored about 11 years ago by TJ Holowaychuk <[email protected]>
conditional middleware need to be `.call(this)`

just realized this since we removed the top closure. i'm not sure if
there's a better way to sol...

98548f04097978f0dad7eb1006766d0a3b4bccb5 authored about 11 years ago by Jonathan Ong <[email protected]>
this.originalUrl && this.request.originalUrl

18c2cd1dacbd332a0fa7def61cc8d61bb2c59f50 authored about 11 years ago by Jonathan Ong <[email protected]>
add .body to Response#inspect()

d23ad1a024532a9df11f4ef23a959fdf212c37bd authored about 11 years ago by TJ Holowaychuk <[email protected]>
add {request,response,context}#toJSON()

35a0c1d2bbf08ba75fc26b60ba79e555d9180fdd authored about 11 years ago by TJ Holowaychuk <[email protected]>
fix 2 test requires

d9940c19314dfc33d7c3d96dbb75de6515024c1a authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge branch 'master' of github.com:koajs/koa

db22fba86d797d87a1c000903430de0906a7d030 authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #85 from koajs/expose-proto

Expose proto

64fa0b5c2a0cc4c56de8ebbf9ce7cfdb7b30ddf9 authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge branch 'master' of github.com:koajs/koa

d247e7835c515059b4b2aa0c35cdb90f8897d06e authored about 11 years ago by TJ Holowaychuk <[email protected]>
response.etag: remove getter for now

until we figure out a good way to return both weak and strong validators

e51e85e0fcc8765aa9753cd1e73cc05a7725ca05 authored about 11 years ago by Jonathan Ong <[email protected]>
refactor res.etag= regexp

088fcfd3a6ea96699fb9821e57ba154b777bb15d authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #86 from koajs/etag-lastmodified

response.etag and response.lastModified

12dda03b839331bf86878611296f4bac6cf51065 authored about 11 years ago by TJ Holowaychuk <[email protected]>
response.etag and response.lastModified

2f74207e6c86b06037dd159899e3b0c3ac7b4954 authored about 11 years ago by Jonathan Ong <[email protected]>
expose app-specific prototypes, cleanup/fix tests

0be144211189c0ebd2ca059d7f1ee2e72b2ac6b9 authored about 11 years ago by Jonathan Ong <[email protected]>
add tests for exposing app-specific prototypes

e6cd31ce2f4fc01435cdb7a846d0df578c0d20d0 authored about 11 years ago by Jonathan Ong <[email protected]>
Makefile: add test/application

5467f98558c13340a752c575fcc45db257387b6c authored about 11 years ago by Jonathan Ong <[email protected]>
fix ctx.ip

need tests for this

93f1bce66fa801926c040189b8445eabb64cdf55 authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #83 from koajs/add/ctx-request-response

Add/ctx request response

b1e5e6c6d49c239ecbe41c069d330991b8c5a493 authored about 11 years ago by TJ Holowaychuk <[email protected]>
add koa Request / Response objects and delegation. Closes #52

c699c75c52bc96ba6c3dfc0202a55b76832d7192 authored about 11 years ago by TJ Holowaychuk <[email protected]>
ugh travis is outdated

4cc5b30fb1f85a96b052daeea877d7a8e06e751a authored about 11 years ago by Jonathan Ong <[email protected]>
docs

242ec58f9d9faa161500ef39f0aced75546f1b30 authored about 11 years ago by TJ Holowaychuk <[email protected]>
update co for object yielding

b659c7451096bd0e12c1abdb1950a36ed9a6abc5 authored about 11 years ago by TJ Holowaychuk <[email protected]>
update benchmarks in docs

d69b20b97ce31e0db7f384ef48b094d8def9891e authored about 11 years ago by TJ Holowaychuk <[email protected]>
fix benchmarks for wrk(1) 3.x

91cdfefc4f8728feb6e2e0a46c19455381e72745 authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #81 from coderhaoxin/master

correct the link

a1d7140b7b1db5094470d925c4a16a9a48ac1ada authored about 11 years ago by Jonathan Ong <[email protected]>
correct the link

49bdd1d6edddf5cfe7e52f693edefa4db85f80db authored about 11 years ago by haoxin <[email protected]>
add hello-world example

3e56d82184643f1a42a4bcff5ee5e013a25cb62e authored about 11 years ago by TJ Holowaychuk <[email protected]>
update guide docs for new middleware style

9ee6ada2d5c2f8d3faf3cee29a1b9a80f0e19ee4 authored about 11 years ago by TJ Holowaychuk <[email protected]>
ctx.redirect(): only set status code if not already a valid redirect status code

specifically 3xx codes except for 304. closes #66

ee6dce83af1c80e0b3a48fd20e4ca04a9acd5ad4 authored about 11 years ago by Jonathan Ong <[email protected]>
add ctx.query docs to clarify lack of nested object support

22c035bbea52cd40d4c3b28c3c08a42f062e9d95 authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #77 from koajs/refactor/accept-methods

replace content-negotiation accessors with 0-arity method calls

5bbe362294d7f1e292b52859c2df9e211f9467f7 authored about 11 years ago by TJ Holowaychuk <[email protected]>
remove content-negotiation accessor methods, replace with method equivalents

3dd172d032c4257912656b12cba494c2c4ec9646 authored about 11 years ago by TJ Holowaychuk <[email protected]>
remove trailer methods

less common than .auth which we removed as well but we can
add them back if it becomes a common ...

cf580dbaf3868aae34286899faf66c2d0abc2e4c authored about 11 years ago by TJ Holowaychuk <[email protected]>
remove a few redundant methods for header field values

8b64343813153c46b35403c3766d125968ffc53e authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge branch 'master' of github.com:koajs/koa

9778933e251afe64294b70fb7be7784b93b0c410 authored about 11 years ago by TJ Holowaychuk <[email protected]>
add docs for .headersSent alias

770183771e526e012a2b943414538e4226804e78 authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #74 from koajs/req-res-next

pass an optional `next` to app.callback()

1536d4df290ce38fe2449659677851bedcefbaba authored about 11 years ago by TJ Holowaychuk <[email protected]>
another negotiator 3.0 fix

836679c61020b5d775f33ea97ec7a8f749df7aa6 authored about 11 years ago by Jonathan Ong <[email protected]>
fix negotiator 3.0 change

i'm not sure if this is incorrect. people should use `accepts()`
anyways.

a129d41cc1258fa31032ce5ac0d15a1f2df3a765 authored about 11 years ago by Jonathan Ong <[email protected]>
update and loosen dependencies

pretty annoying to continuously update these. we'll start pining them
when you can actually use ...

f0ecaaff50fdd1e4db5f0c816718553d9540f496 authored about 11 years ago by Jonathan Ong <[email protected]>
pass an optional `next` to app.callback()

accb1d6a611d18773e84f8b6e076dad546f3f91f authored about 11 years ago by Jonathan Ong <[email protected]>
travis badge

01e0f838e66a7371cf1a6c936d2b26a4ce164f75 authored about 11 years ago by Jonathan Ong <[email protected]>
remove unused var

2a7b6d07bf4c0d5f3e138c3726965370e020688b authored about 11 years ago by Jonathan Ong <[email protected]>
remove closure wrap in examples thanks to compose 2.0

611dec10f2c8295b866ebab55f18ac4368312951 authored about 11 years ago by Jonathan Ong <[email protected]>
remove unnecessary closure

1bcf9b413f499118ccb5bbd8f5cd9651b8a9c596 authored about 11 years ago by Jonathan Ong <[email protected]>
remove app.context() from docs

b35929dc3a385ac994fdd69a0340a9e67499dcc3 authored about 11 years ago by TJ Holowaychuk <[email protected]>
remove app.context() for now

get away from promoting the extension of prototypes, aside
from it looking better there isnt rea...

c1bed668bdd1a6351d5fdc7b839068e6a1f2e770 authored about 11 years ago by TJ Holowaychuk <[email protected]>
Release 0.0.2

8ee8abcc3268189c3f44abfb64d42903a87c4d5e authored about 11 years ago by TJ Holowaychuk <[email protected]>
update readme middleware style

399e2ad2551d803dd763a3204ea260080650f40a authored about 11 years ago by TJ Holowaychuk <[email protected]>
add new style middleware support through @jonathanong's koa-compose patch

2d35cdff500bee091d4428c7b1bc463171490137 authored about 11 years ago by TJ Holowaychuk <[email protected]>
add cookie docs

a9ae5630514dc610fac79233d6d267cfd84b8a25 authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #60 from jonathanong/warn-context-overwrite

debug context: notify if a property is being overwritten

3c3b81b9604051f8a13e2b74fddc4cb059ae74fc authored about 11 years ago by Jonathan Ong <[email protected]>
add additional node.js aliases

f96164737756db25ab6924da8a3eeb5ff86b1029 authored about 11 years ago by Jonathan Ong <[email protected]>
statusCode alias for status

for node

fbfeffa09010e77636cbcc9ad99a8bf561af8c7c authored about 11 years ago by Jonathan Ong <[email protected]>
headersSent alias for headerSent

i like keeping things as similar to node as possible :)

6492f2ca4aab72e8f1cd18d15da21eebfb4d96bd authored about 11 years ago by Jonathan Ong <[email protected]>
only listen to stream errors if not already

cb60fb872ac404b60d692fa0ce667074066ada08 authored about 11 years ago by Jonathan Ong <[email protected]>
update co to 2.0

18109777007b3197da807a41ebc875c1b7327c6b authored about 11 years ago by TJ Holowaychuk <[email protected]>
add overriding to application/json on ctx.body=object

since it cant be anything else, but if you have middleware that transforms
the object to xml or ...

3b2c55b68b557164cf25beef1f61e29c742575c3 authored about 11 years ago by TJ Holowaychuk <[email protected]>
fix test label typo

c4d194488c703597949bf0861b8e30ae36f66057 authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #58 from jonathanong/set-body-length

set length on body override

3b7a7b5047e209a810e92452bddbe6fb2c1969f1 authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #56 from jonathanong/bind-onerror

bind .onerror to context

ada1be13bc49a5d2692dcb302e554b559aebc3ec authored about 11 years ago by Jonathan Ong <[email protected]>
Merge pull request #61 from jonathanong/onerror-condition

onerror: check existence of error

881490299c9cd7c5b99eb703a884513f245976f3 authored about 11 years ago by Jonathan Ong <[email protected]>
onerror: check existence of error

50d73e3709d9d46985bc3e0e52ebdadcc2e0d95c authored about 11 years ago by Jonathan Ong <[email protected]>
debug: notify if a property is being overwritten

df367e074993b651e18e8bc175e6d4e9173c631e authored about 11 years ago by Jonathan Ong <[email protected]>
bind .onerror to context

98a386a48557d1bbcab97849f2d206ef48115572 authored about 11 years ago by Jonathan Ong <[email protected]>
set length on body override

0e829c17ad20c7153d77f890d0e51d96e514285a authored about 11 years ago by Jonathan Ong <[email protected]>
cleanup trailing whitespace in .js files

4aa75a1164669a0be7dd7128ecd9ff5c5aeda487 authored about 11 years ago by Jonathan Ong <[email protected]>
fix wiki link

1e340e388f6d760e4d7fd65c2bda7c6eb2f14c5e authored over 11 years ago by TJ Holowaychuk <[email protected]>
fix ctx.body= content-type override check. Thanks @jonathanong

83fd83aaf89918390852bee7e0669adb5f1f5621 authored over 11 years ago by TJ Holowaychuk <[email protected]>
add ctx.body= setter

this prevents a bunch of redundant checks that middleware may need to
check response length, typ...

11913f5e4e79b6a9416f69dc07d5975785cb0b97 authored over 11 years ago by TJ Holowaychuk <[email protected]>
Merge branch 'master' of github.com:koajs/koa

c5ecbd99acd0e141582ed2d2a0c779b9da111396 authored over 11 years ago by TJ Holowaychuk <[email protected]>
add charset support to ctx.type=

04f4d72692a5132d026debc79fe080e56c13aebe authored over 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #53 from ilsken/patch-1

Fixed typo

1232b692a8959392901991b9b29a03ef0da4c84b authored over 11 years ago by TJ Holowaychuk <[email protected]>
Fixed typo

`ctx.accept` -> `ctx.accepts`

886a292a51a564ced248e32bd1a53d0ef2e09966 authored over 11 years ago by Chris Tarquini <[email protected]>
add a todo

167530a9e64f38c0de12fe1b5bdefa9722be6def authored over 11 years ago by TJ Holowaychuk <[email protected]>
change app.onerror to ignore 404s

so you can easily unwind the stack for 404s

7a268860407d723b36f75009a6dff50d3cd5adc9 authored over 11 years ago by TJ Holowaychuk <[email protected]>
docs

d7403552b953435731a2056d0d4c8bcd90981bb5 authored over 11 years ago by TJ Holowaychuk <[email protected]>
add err.expose check for response handler to expose the err.message

fc25b79b99752e361a784f3b6e60fadc40bcc79b authored over 11 years ago by TJ Holowaychuk <[email protected]>
change ctx.error() to flag as err.expose

meaning the application could respond with this message if it likes

6db24f9fac7cf11f2d5088f62ff2e472f76c7623 authored over 11 years ago by TJ Holowaychuk <[email protected]>
add ENOENT err.code support for 404

091d5010cd4762eccd246141aa932cb88031c30b authored over 11 years ago by TJ Holowaychuk <[email protected]>
fix text/plain response for 500 errors

228c38cf3ea4fe5db7b98ebb902611a507aa9b84 authored over 11 years ago by TJ Holowaychuk <[email protected]>
add socket error handling docs

28b5b85860abc403fd2bc0c01784853342a52653 authored over 11 years ago by TJ Holowaychuk <[email protected]>
remove socket error handling, use server "clientError"

92b741ac0a83d1608a5b4cd397c30a8f180cc86b authored over 11 years ago by TJ Holowaychuk <[email protected]>
remove a console.log

cf54f7d7d5589b77e086d82d9ac36650cbe5f45b authored over 11 years ago by TJ Holowaychuk <[email protected]>
add failing socket error handling test

2fe83a4e3d0db83d78f6466d54f220a254fd4058 authored over 11 years ago by TJ Holowaychuk <[email protected]>
fix socket "error" handling

always has clientError now

02ae4f787d68eab7274af63161032407018a2832 authored over 11 years ago by TJ Holowaychuk <[email protected]>
remove unnecessary .bind()

67b49cf82d1947163e083d89a262416ddd39f9fc authored over 11 years ago by TJ Holowaychuk <[email protected]>
add app "error" test

42f5aa1e619e0c830f3cbae171b8f8a468233cdc authored over 11 years ago by TJ Holowaychuk <[email protected]>
add template integration example

6a51f73524f0f1cf5be8c2a85860d0074c7f9bf7 authored over 11 years ago by TJ Holowaychuk <[email protected]>
docs

60576832df7b6456a8529dc82573e5816a1538aa authored over 11 years ago by TJ Holowaychuk <[email protected]>
docs

2733c61d0008d50a877b6bc6ce7cf181d5ae4402 authored over 11 years ago by TJ Holowaychuk <[email protected]>
add co example

1680639232cd7ed22408ced240ff5fb9e3d3cca2 authored over 11 years ago by TJ Holowaychuk <[email protected]>