9 Commits

Author SHA1 Message Date
Yiyu He
20571f6a1f feat: adjust default plugins (#251)
remove egg-rest and egg-cors and static enable by default
2017-01-13 14:48:02 +08:00
fengmk2
56d1deb17a feat: support background task on ctx (#119)
* feat: support background task on ctx

```js
ctx.runAtBackground(function* (ctx) {
  // async actions here
});
```

* fix: eslint style no-useless-escape

* chore: add license
2016-10-29 11:28:22 +08:00
Haoliang Gao
f15996e879 test: fix unstable test (#133) 2016-10-28 20:12:00 +08:00
Haoliang Gao
5dafb5838e feat: close return promise (#128)
logger should close stream when app close
2016-10-26 15:45:04 +08:00
fengmk2
ea5f34d34b test: fix security tests (#73) 2016-09-01 16:42:54 +08:00
Haoliang Gao
350d0f5aaf feat: [BREAKING_CHANGE] use egg-core (#44)
* feat: [BREAKING_CHANGE] use egg-core

* fix: miss app and config to publish

* deps: upgrade egg-rest

* deps: update using autod

* test: use supertest@2

* Release 0.1.0-beta.3

* feat: enable logrotater by default

* chore: add circleci

* refactor: rename logrotater => logrotator

* feat: remove log-reload event

* test: let examples pass test

* fix: remove more close event

* refactor: extract Symbol as a constant

* deps: upgrade egg-core

* Release 0.1.0-beta.4

* fix: use egg when customEgg is not specified
2016-08-18 15:42:20 +08:00
fengmk2
fcf907b18f feat: add inner plugins (#24)
* test: add simple benchmarks

* fix: should set X-Powered-By and X-Server-Id when controller error
2016-08-06 00:09:43 +08:00
fengmk2
4e4a484af6 refactor(core): let ctx.cookies become a getter (#22)
If app don't use cookie, they don't need a secure keys
2016-07-18 22:03:59 +08:00
fengmk2
53a9bf4f2f test: add test codes (#20)
closes #16
2016-07-18 21:16:35 +08:00