Yiyu He
0757655cfe
feat: BaseContextClass add logger ( #816 )
...
- move BaseContextClass to egg
- add BaseContextLogger
2017-04-28 17:01:43 +08:00
TZ | 天猪
5befb0b1f0
feat: remove egg logger local config ( #695 )
2017-04-14 10:52:29 +08:00
Haoliang Gao
7ab37915af
test: test for closing logger ( #667 )
2017-03-28 13:11:56 +08:00
Yiyu He
8c77e59078
feat: warn if some confused configurations exist in config ( #637 )
2017-03-24 18:07:32 +08:00
TZ | 天猪
c1464fbecb
docs: more detail for mysql dynamic create ( #540 )
2017-03-10 19:45:56 +08:00
Haoliang Gao
da3c26a212
test: fix development test ( #546 )
2017-03-10 17:27:27 +08:00
Haoliang Gao
59a3669661
feat: ignore types when dump ( #518 )
2017-03-07 19:54:35 +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
fengmk2
1777bb89c5
test: add qs security test cases ( #491 )
2017-03-02 01:41:49 +08:00
fengmk2
b28ce766fa
test: disable error log to stderr ( #453 )
2017-02-25 22:07:55 +08:00
Yiyu He
4eaf3fb3bb
feat: throw if config.keys not exists when access app.keys ( #443 )
2017-02-25 01:53:13 +08:00
fengmk2
80a06fcd07
feat: extend runInBackground on application ( #442 )
...
use mz-modules/sleep instead of ko-sleep
2017-02-24 12:56:52 +08:00
Haoliang Gao
3ba38b1faf
feat: [BREAKING_CHANGE] reimplement view, use egg-view plugin ( #402 )
2017-02-23 14:31:59 +08:00
Shawn
ed97533227
fix: close gracefully ( #419 )
2017-02-22 14:17:23 +08:00
Yiyu He
54a3e3c8cd
feat: log error when cookie value's length exceed the limit ( #418 )
2017-02-21 20:33:05 +08:00
TZ | 天猪
bf518dbc1d
fix: deprecate warning when inspect & toJSON ( #408 )
2017-02-18 23:35:17 +08:00
Haoliang Gao
8f0609fdd1
docs: should listen egg-ready using messenger ( #406 )
2017-02-18 09:11:17 +08:00
fengmk2
0de9f35892
fix: keep unhandledRejectionError err object stack ( #390 )
2017-02-16 10:45:33 +08:00
Yiyu He
06b40280db
feat: dump config both after loaded and ready ( #377 )
2017-02-15 11:03:32 +08:00
Haoliang Gao
0bbfa7b6a8
docs: add resource page ( #364 )
...
Closes https://github.com/eggjs/egg/issues/287
2017-02-13 17:51:26 +08:00
Yiyu He
c6914e0ef4
feat: view base promise to support async function ( #343 )
2017-02-09 19:07:51 +08:00
fengmk2
70eb04f9a8
test: add class style controller tests ( #336 )
2017-02-09 01:48:53 +08:00
fengmk2
61f8907660
test: improve coverage to 100% ( #333 )
...
* test: remove all skip tests
2017-02-08 17:02:25 +08:00
fengmk2
08bc84e1b8
feat: remove overrideMethod middleware ( #324 )
...
It's not safe it enable by default in egg
2017-02-07 22:04:18 +08:00
Haoliang Gao
0ee445134d
feat: remove worker client, use app.cluster ( #282 )
...
Closes https://github.com/eggjs/egg/issues/278
2017-02-07 21:35:01 +08:00
Haoliang Gao
df4f04ef48
chore(scripts): deploy document by travis ( #325 )
...
Use nodejs rewrite doc tools, and support auto publish gh-pages on travis.
Only run publishing when commit to master branch.
Closes https://github.com/eggjs/egg/issues/86
2017-02-07 19:32:35 +08:00
fengmk2
85e3c8f97f
docs: add httpclient tracer demo and docs ( #313 )
...
https://github.com/eggjs/egg/issues/235
2017-02-07 18:06:52 +08:00
Shawn
1642f5ee6e
feat: close cluster clients before app close ( #310 )
2017-02-07 17:59:46 +08:00
Haoliang Gao
8d98e4ff03
refactor: use app.beforeClose ( #306 )
...
* refactor: using onClose
* f
* f
* f
2017-01-26 16:58:15 +08:00
Haoliang Gao
41cc411be4
feat: move ctx.runtime to egg-instrument ( #302 )
...
Ref https://github.com/eggjs/egg/issues/301
2017-01-25 00:35:10 +08:00
Yiyu He
49f14db04c
refactor: remove ctx.jsonp and add egg-jsonp plugin ( #299 )
2017-01-23 15:38:18 +08:00
Yiyu He
e022a102f1
test: fix cookie test cases ( #296 )
2017-01-22 17:21:41 +08:00
Haoliang Gao
737e82ad03
feat: move clusterPort to egg-cluster ( #281 )
...
Ref https://github.com/eggjs/egg-cluster/pull/12
2017-01-20 20:53:59 +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
Yiyu He
43eec23962
docs: serverEnv => env ( #239 )
2017-01-11 23:33:32 +08:00
Yiyu He
e4843f1ede
feat: delegate configurations in app ( #233 )
2017-01-11 23:31:53 +08:00
Yiyu He
13ed9ebc76
refactor: remove ctx.getCookie, ctx.setCookie and ctx.deleteCookie ( #240 )
2017-01-11 23:26:41 +08:00
zōng yǔ
00b7eb3926
feat: add cluster-client ( #191 )
2017-01-10 00:48:15 +08:00
fengmk2
06295b833d
docs: add core/httpclient document ( #197 )
2017-01-09 18:30:26 +08:00
Haoliang Gao
583c6fa424
refactor: use logger.close, .end is deprecated ( #171 )
2016-12-30 00:51:52 +08:00
Yiyu He
912fd2adfe
deps: egg-cookies@2 ( #155 )
2016-11-23 02:06:54 +08:00
Haoliang Gao
c736ac9e8b
feat: use appInfo.root in config ( #147 )
2016-11-09 20:37:06 +08:00
zōng yǔ
ea71515a60
test: refactor workclient test cases ( #145 )
...
close egg#130
2016-11-08 21:30:40 +08:00
fengmk2
5045131f03
feat: add a dns cache httpclient ( #146 )
...
* feat: add a dns cache httpclient
Usage:
```js
// enable on urllib config
exports.urllib = {
enableDNSCache: true,
};
```
* test: add config.urllib on urllib.test.js
2016-11-08 11:02:40 +08:00
Haoliang Gao
5178b2706a
feat: warn when agent send message before started ( #143 )
...
Closes eggjs/egg#118
2016-11-04 14:23:25 +08:00
Haoliang Gao
a65f472a4e
feat: [BREAKING_CHANGE] refactor Messenger ( #141 )
...
- broadcast is changed, it will send to all process
- send is changed, it won't emit message
Closes eggjs/egg#28
2016-11-03 17:51:37 +08:00
Haoliang Gao
cd99a1f06a
feat: add getLogger to app and ctx ( #136 )
...
it can be override with custom function
Closes eggjs/egg#36
2016-11-02 13:57:28 +08:00
fengmk2
4e62112e1d
test: remove co-sleep deps
2016-11-02 10:24:53 +08:00