Commit graph

1074 commits

Author SHA1 Message Date
jongleberry
a1aec3d163 Merge pull request #686 from robinpokorny/lint-js-in-markdown
Correct code style of JavaScript in Markdown
2016-03-21 12:22:44 -07:00
Robin Pokorný
340dd4f1a3 Lint JavaScript in Markdown 2016-03-16 16:50:10 +01:00
dead_horse
39f058e11c fix cookies' secure detect 2016-03-15 13:57:22 -07:00
jongleberry
bcada5bde9 readme: update URLs based on HTTP redirects
see: a25ab12116
2016-03-15 12:38:44 -07:00
Yiyu He
9ba2f9c5df Merge pull request #681 from PlasmaPower/update-error-handling-doc
Update error handling doc to use promises+async (v2.x)
2016-03-14 23:16:01 +08:00
Lee Bousfield
1d1698eb85 Update error handling doc to use promises+async 2016-03-12 20:19:55 -07:00
jongleberry
882ea7e87a Merge pull request #678 from PlasmaPower/cherrypick-to-next
Add support for headers in errors (v2.x)
2016-03-12 18:33:47 -08:00
Jonathan Ong
04a7122e22 lint: benchmarks/ 2016-03-12 18:33:02 -08:00
jongleberry
2df468b524 Merge pull request #679 from PlasmaPower/remove-unused-http
Remove unused http variable (v2.x)
2016-03-12 18:32:39 -08:00
Jonathan Ong
551715821b travis: run lint 2016-03-12 18:30:43 -08:00
Lee Bousfield
597638ded6 Remove unused http variable
ESLint now runs fine
2016-03-12 17:53:14 -07:00
Lee Bousfield
a440425dc2 Add support for headers in errors 2016-03-12 17:46:35 -07:00
Bartol Karuza
3d15c2409d JSDoc question/suggestion on optional parameters
Hi, Webstorm keeps giving me warnings on the 'redirect' method, because the JSDoc specified two input parameters, both required. There is a JSDoc standard for optional parameters. What is your view on using these in KOA documentation?
http://usejsdoc.org/tags-param.html#optional-parameters-and-default-values

closes #661
2016-03-12 14:22:42 -08:00
Jonathan Ong
d768ed83b6 docs: note stream error handling and destruction. ref: #612 2016-03-12 14:22:28 -08:00
TJ Holowaychuk
86a6f2b380 add CODE_OF_CONDUCT.md
aka dont be an asshole
2016-03-12 14:22:16 -08:00
dead_horse
a808671340 add app.silent, err.status, err.expose to doc, fixes #630 2016-03-12 14:20:46 -08:00
Prayag Verma
53a165f543 chore(license): update license year to 2016 2016-03-12 14:19:44 -08:00
Louis DeScioli
d74802dc70 Standardizes instances of removeHeader to remove 2016-03-12 14:19:27 -08:00
jongleberry
7373c7eca1 comments: remove vague TODOs
closes #576
2016-03-12 14:11:19 -08:00
Jonathan Ong
82bdb8223d travis: install wrk 2016-03-12 14:10:02 -08:00
Jonathan Ong
5d8b759e11 travis: run 'make bench'
closes #191
2016-03-12 14:09:33 -08:00
jongleberry
5d330b095f use codecov instead of coveralls 2016-03-12 14:09:06 -08:00
Jonathan Ong
dbcbc28b11 package: ⬆️ dependencies 2016-03-12 14:03:10 -08:00
jongleberry
b658fe7ca0 Merge pull request #675 from PlasmaPower/flush-headers
Add support for flushing headers
2016-03-12 13:49:02 -08:00
Lee Bousfield
6a147726bd Add support for flushing headers 2016-03-03 21:01:56 -07:00
Yiyu He
291c7c329f Merge pull request #651 from geekplux/patch-1
fix the error message
2016-01-24 13:40:42 +08:00
Xiang Gao
897ad7aca8 fix the error message 2016-01-24 12:35:03 +08:00
jongleberry
5384f10497 Merge pull request #637 from koajs/Pana-v2.x
Pana v2.x
2016-01-17 16:06:31 -08:00
pana
1e38b13a94 docs: update docs for koa v2
update readme and request, response toJSON method

update readme

update readme

update readme

update readme

update readme

update readme

update docs

update doc

pretty readme

update docs

fix then callback
2016-01-17 16:05:49 -08:00
Yanick Rochon
d134fff9e8 Fix issue when app.use() is called with empty value 2015-11-25 12:10:55 +08:00
dead_horse
69ad7ad4a5 publishConfig: update next tag 2015-11-24 15:55:51 +08:00
Yiyu He
6a5c2e529a Merge pull request #595 from nvartolomei/master
Fix param tag on Application.use method
2015-11-14 22:57:45 +08:00
Nicolae Vartolomei
61f7c6b5c5 Fix param tag on Application.use method 2015-11-14 15:46:29 +02:00
Yiyu He
667628d333 Merge pull request #592 from nswbmw/master
update examples in readme
2015-11-08 23:13:14 +08:00
nswbmw
aac3d70895 update readme 2015-11-08 13:26:50 +08:00
fengmk2
da6c63da59 Merge pull request #588 from koajs/539-babel-test
test: add a babel example
2015-11-07 12:12:40 +08:00
jongleberry
a09000357d add docs for babel 2015-11-06 09:45:53 -08:00
jongleberry
65f645d341 use babel-plugin-transform-async-to-generator 2015-11-06 09:40:44 -08:00
jongleberry
eb0bd4c2c3 test: fix use-strict typo 2015-11-06 09:38:00 -08:00
jongleberry
51b51331ba us eslint-plugin-babel for better listing 2015-11-06 09:37:35 -08:00
jongleberry
a6547bcbce ⬆️ babel and use async arrow functions 2015-11-05 08:49:20 -08:00
jongleberry
09ada29881 test: add a babel example 2015-11-05 08:47:08 -08:00
dead_horse
848a9c885b ocd 2015-11-06 00:42:14 +08:00
Yiyu He
6e76e20f43 Merge pull request #589 from frankxin/patch-1
correct a spelling error : appropriately
2015-11-05 10:50:07 +08:00
dead_horse
34e8325a39 Release 2.0.0-alpha.3 2015-11-05 10:41:00 +08:00
Yiyu He
b83405f052 Merge pull request #586 from koajs/url
ensure parseurl always working as expected
2015-11-05 10:37:11 +08:00
frank
4b5ef85f29 correct a spelling error : appropriately 2015-11-05 10:13:07 +08:00
dead_horse
08057e386a ensure parseurl always working as expected 2015-11-04 15:08:49 +08:00
jongleberry
ad6f752cff eslint: add prefer-arrow-callback 2015-11-02 11:25:12 -08:00
broucz
4b1a1da652 test: switch all functions to arrow functions
closes #553

Update test: application -> use() should throw if not a function

Fix lint

Use arrow function

Refactor test using arrow function

Remove non mandatory brackets

fix for merge

Fix: missing refactor after merge

Use arrow function for old generator
2015-11-02 11:22:05 -08:00