88 Commits

Author SHA1 Message Date
TZ | 天猪
9671a354a9 feat: expose app.server (#3601) 2019-04-10 10:51:24 +08:00
Hongcai Deng
40b4ddb65b backport: add create anonymous context to agent (#3199) 2018-11-16 16:17:49 +08:00
Khaidi Chu
5e189e8146 refactor: separate dumping config object and config file (#3054) 2018-10-08 11:06:10 +08:00
TZ | 天猪
97241f3289
fix: config.allowDebugAtProd default to false (#2986) 2018-09-11 09:29:39 +08:00
Haoliang Gao
a36387f22d
feat: dump timing data for loader (#2521)
Ref https://github.com/eggjs/egg/issues/1898
2018-05-09 23:43:32 +08:00
Haoliang Gao
58695707dd
feat: add time duration for dump config (#2485) (#2491) 2018-05-03 15:10:38 +08:00
Yiyu He
8507c5e19c
fix: dumpConfig support circular json (#2395) 2018-04-15 00:37:35 +08:00
Yiyu He
49ec2fc6e1
feat: emit request and response event (#2021) 2018-01-26 11:13:40 +08:00
Yiyu He
ba9ecd4808
fix: log cookie's key when cookie exceed limit length (#1997) 2018-01-22 10:12:31 +08:00
Khaidi Chu
4f6ec61acb feat: add 400 response for broken client request to instead of empty response (#1836) 2017-12-19 11:18:24 +08:00
fengmk2
710defcc06 feat: dump application router json
Store on `run/router.json`
2017-11-29 15:04:14 +08:00
fengmk2
0854c44d5e fix: run dumpConfig at the last ready callback 2017-11-29 15:04:14 +08: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