19 Commits

Author SHA1 Message Date
Maledong
0d6798d22d docs (Controller.md): Add new feat description (#3066)
Due to https://github.com/eggjs/egg-multipart/pull/19, we have to
add this new feature into Egg's main doc in controller.md to notify
clients.
2018-09-30 19:42:11 +08:00
Yiyu He
b55b303edd
test: test on travis with node 10 (#2461) 2018-07-17 11:08:21 +08:00
Yiyu He
448d0945c0
deps: upgrade all plugins to adapt egg@2 (#1653) 2017-11-13 01:49:15 -06:00
Haoliang Gao
13587667ac fix(loader): loadPlugin can be extended (#836) 2017-05-04 12:19:34 +08:00
Haoliang Gao
1a027ad727 test: use assert instead of should (#837) 2017-05-03 22:37:51 +08:00
Yiyu He
743874d875 refactor: [BREAKING CHANGE] remove userservice and userrole (#527) 2017-03-07 14:18:29 +08:00
fengmk2
a296351927 refactor: [BREAKING_CHANGE] remove default validate plugin (#526)
It's hard to find a default validate plugin to satisfy everyone

https://github.com/eggjs/egg/issues/517
2017-03-07 01:25:26 +08:00
Haoliang Gao
3ba38b1faf feat: [BREAKING_CHANGE] reimplement view, use egg-view plugin (#402) 2017-02-23 14:31:59 +08:00
Yiyu He
49f14db04c refactor: remove ctx.jsonp and add egg-jsonp plugin (#299) 2017-01-23 15:38:18 +08:00
TZ | 天猪
d96302973c test: dep -> dependencies (#270) 2017-01-18 15:46:57 +08:00
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
5dafb5838e feat: close return promise (#128)
logger should close stream when app close
2016-10-26 15:45:04 +08:00
fengmk2
2b0dbd3079 refactor: change accept to getter (#68) 2016-08-31 10:46:04 +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
03d054a999 test: fix default plugins test (#37) 2016-08-06 00:18:37 +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