87 Commits

Author SHA1 Message Date
Kiho · Cham
7afc7e24b6 feat: display router when log app (#2230) 2018-03-19 10:08:37 +08:00
fengmk2
a739002315 feat: support Keep-Alive Header (#2146)
https://github.com/node-modules/agentkeepalive/issues/58
2018-02-28 18:03:56 +08:00
Yiyu He
22dfaa72e3
feat: emit request and response event (#2020) 2018-01-26 11:14:13 +08:00
Yiyu He
aa46eb26d4
fix: log cookie's key when cookie exceed limit length (#1996) 2018-01-22 10:12:23 +08:00
Khaidi Chu
40df153dd7 feat: add 400 response for broken client request to instead of empty response (#1829) 2017-12-15 13:26:08 +08:00
fengmk2
503b69b2e5 feat: dump application router json
Store on `run/router.json`
2017-11-29 15:06:07 +08:00
fengmk2
76ff783b80 fix: run dumpConfig at the last ready callback 2017-11-29 15:06:07 +08:00
TZ | 天猪
cf3de0f248 docs(unittest): use async (#1716) 2017-11-29 08:51:39 +08:00
Yiyu He
757f275a16
fix: dump async function as AsyncFunction (#1687) 2017-11-20 17:50:04 +08:00
Yiyu He
5513456e2c feat: runInBackground use location as scope name when anonymous (#1683) 2017-11-20 14:20:17 +08:00
Yiyu He
8e8869a4d7
refactor: upgrade egg-core@4 (#1631) 2017-11-08 19:29:03 -06:00
Yiyu He
9eec677757
fix: use this.options instead of this._options (#1625) 2017-11-07 23:41:30 -06:00
zōng yǔ
21425e7a9c feat: make cluster client configurable in egg (#1459) 2017-09-25 09:42:01 +08:00
hui
6eac07eb28 refactor: httpclient args tracer to be enforced (#1421) 2017-09-15 19:28:15 +08:00
AnzerWall
5a9531abbe feat: don’t force logger to use INFO level in prod (#1218) 2017-09-14 13:11:18 +08:00
hui
f7c0d85209 feat: support app.httpclient and agent.httpclient auto set tracer (#1393) 2017-09-10 11:41:34 +08:00
fengmk2
3aaee8fbea fix: should extends from egg-core BaseContextClass (#1392) 2017-09-07 21:34:47 +08:00
hyj1991
499454379b docs: curl(url, opts) add parameter introduction (#1351) (#1352) 2017-08-24 23:28:58 +08:00
Haoliang Gao
e9f93cf83d refactor: export app.HttpClient that can be overwritten (#1234) 2017-07-26 17:36:49 +08:00
fengmk2
988b8c84d0 fix: make sure config.httpclient.httpAgent.timeout >= 30000 (#1165)
distinguish options: request, httpAgent and httpsAgent on httpclient
2017-07-19 10:05:50 +08:00
fengmk2
5dc56fac04 feat: ignore any key contains "secret" (#1156) 2017-07-05 10:39:25 +08:00
Haoliang Gao
74c8a547cc feat: dump run/${type}_config_meta.json (#1155)
Show who define the property of the config

Closes https://github.com/eggjs/egg/issues/1132
2017-07-05 09:16:10 +08:00
Jackson Tian
b80bb1405c fix: don't cache the intermediate locals for application (#1146) 2017-07-04 16:36:52 +08:00
chenbin92
bfb8df58bc docs: typo (#1060) 2017-06-15 21:12:58 +08:00
fengmk2
f1b510c340 feat: add config.logger.disableConsoleAfterReady (#1001)
let app can change the logger config
2017-06-12 18:17:05 +08:00
Haoliang Gao
1b108a72a9 docs: remove api that is from egg-rest (#1022) 2017-06-09 19:37:17 +08:00
Haoliang Gao
057bc47e4c test: add doc test (#989) 2017-06-09 10:38:24 +08:00
Yiyu He
5b6fe2b187 feat: use lru to aovid oom in dns cache httpclient (#961) 2017-05-27 18:31:46 +08:00
Yu Qi
fac3e0c730 refactor: rename private method name to symbol (#904) 2017-05-13 21:32:34 +08:00
Rwing
bd6681a509 chore: typo eggg=>egg (#881) 2017-05-10 18:59:21 +08:00
Haoliang Gao
13587667ac fix(loader): loadPlugin can be extended (#836) 2017-05-04 12:19:34 +08:00
Yiyu He
0757655cfe feat: BaseContextClass add logger (#816)
- move BaseContextClass to egg
- add BaseContextLogger
2017-04-28 17:01:43 +08:00
Yiyu He
d6be949973 chore: remove chinese commnets (#749) 2017-04-13 23:35:13 +08:00
fengmk2
39b2d8d868 Release 1.1.0 (#740) 2017-04-11 16:13:12 +08:00
fengmk2
c33523db3e feat: export context base classes on Application (#737) 2017-04-11 00:11:50 +08:00
Yiyu He
b8fc4e460e deps: use extend2 instead of extend (#674) 2017-03-29 14:21:31 +08:00
Yiyu He
8c77e59078 feat: warn if some confused configurations exist in config (#637) 2017-03-24 18:07:32 +08:00
zōng yǔ
984d732088 refactor: app.cluster auto bind this (#570) 2017-03-18 23:38:49 +08:00
fengmk2
d0882837c3 feat: show warning message with call stack (#549) 2017-03-11 13:09:55 +08:00
Haoliang Gao
59a3669661 feat: ignore types when dump (#518) 2017-03-07 19:54:35 +08:00
Haoliang Gao
2fb89df413 feat: remove default customEgg (#487)
If customEgg is not specified, master will lookup egg from node_modules
by default
2017-03-02 21:40:55 +08:00
TZ | 天猪
73095e2c04 docs: fix view plugin config at quickstart (#482) 2017-03-01 11:19:26 +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
Yiyu He
b781db16c6 fix: listen CookieLimitExceed in app (#429) 2017-02-23 11:27:05 +08:00
Shawn
ed97533227 fix: close gracefully (#419) 2017-02-22 14:17:23 +08:00
TZ | 天猪
bf518dbc1d fix: deprecate warning when inspect & toJSON (#408) 2017-02-18 23:35:17 +08:00
fengmk2
0de9f35892 fix: keep unhandledRejectionError err object stack (#390) 2017-02-16 10:45:33 +08:00
Haoliang Gao
9e849d4055 docs: add api-doc (#369) 2017-02-15 18:25:51 +08:00