253 Commits

Author SHA1 Message Date
lichengyin
8ffe441267 show error page when babel compile error 2015-11-12 17:17:02 +08:00
lichengyin
d0237e0405 show error when write promise 2015-11-12 13:10:41 +08:00
lichengyin
114943acf7 add think.camelCase method 2015-11-11 18:58:22 +08:00
lichengyin
14c14187d7 optimize get socket instance 2015-11-11 10:59:25 +08:00
lichengyin
cc2ccb3ac9 Update 2015-11-10 19:51:40 +08:00
lichengyin
e6a3800377 hide resource request log when log_request config is open 2015-11-10 11:54:50 +08:00
lichengyin
c25f8f68d6 refactoring app exec method 2015-11-10 11:54:25 +08:00
lichengyin
9a23777f1e optimize include cookie 2015-11-10 09:43:14 +08:00
lichengyin
54bfad6cb0 optimize get template file content 2015-11-10 09:13:28 +08:00
lichengyin
28b7d59276 refactory adapter 2015-11-07 20:39:16 +08:00
lichengyin
412b8e1338 fix url has like chinease chars, #191 2015-11-07 07:36:41 +08:00
lichengyin
a9bdea6bab rename file util/limit.js to parallel_limit.js 2015-11-06 09:39:39 +08:00
lichengyin
13721ab12a add file auto compile 2015-11-05 11:12:54 +08:00
lichengyin
1dcc036d9e optimize think.parallelLimit method 2015-11-05 09:42:07 +08:00
lichengyin
46bbf75204 add think.parallelLimit test case 2015-11-05 09:33:35 +08:00
lichengyin
24b7c6fb17 add think.limit method 2015-11-04 11:24:34 +08:00
lichengyin
8625cd4b55 optimize merge websocket config 2015-11-04 10:53:35 +08:00
lichengyin
9039f24b87 optimize cache config 2015-11-04 10:19:45 +08:00
lichengyin
7530ae3320 optimize think.session & session config 2015-11-04 09:51:09 +08:00
lichengyin
2200964ddc add think.mergeConfig method, which auto merge adapter config 2015-11-04 09:18:42 +08:00
lichengyin
94c9c46c1e fix get payload error when has third middleware to parse payload 2015-11-03 10:54:50 +08:00
lichengyin
afd104c270 delete adapter config after merge 2015-11-02 20:49:37 +08:00
lichengyin
46ad9ff0e4 add mergeConfig method for merge config with adapter config 2015-11-02 20:33:46 +08:00
lichengyin
b1994f6046 fix get session data error when session type is file 2015-11-02 13:21:22 +08:00
lichengyin
db7c33db69 fix can not change cache type in think.cache method. fix #186 2015-11-01 08:06:28 +08:00
lichengyin
5116f861d9 send object data when has error on validate parameters, fix #183 2015-10-30 22:22:00 +08:00
lichengyin
77181ff84d send status when invoke think.statusAction method 2015-10-29 14:36:55 +08:00
lichengyin
2dd15e38f9 optimize file download 2015-10-29 10:15:12 +08:00
lichengyin
80f8652cdf support where({title: null}) 2015-10-29 08:59:28 +08:00
lichengyin
ce84658390 rename hook names 2015-10-28 17:02:35 +08:00
lichengyin
6365f1a3c8 add app test case 2015-10-27 11:00:19 +08:00
lichengyin
c3a08d8ba0 add db session test case 2015-10-27 09:48:44 +08:00
lichengyin
08a1025815 add http_base test case 2015-10-27 09:19:28 +08:00
lichengyin
5a7bda18d0 add think.statusAction test case 2015-10-27 08:27:53 +08:00
lichengyin
8e1d17854d auto convert to uppercases to lowercase 2015-10-22 17:46:14 +08:00
lichengyin
845ecf37e2 refactring websocket adapter 2015-10-21 18:16:58 +08:00
lichengyin
6cbb74b966 show error stack when parse view file has error 2015-10-21 11:37:09 +08:00
lichengyin
60f11df9e5 fix _session error in http 2015-10-21 10:49:57 +08:00
lichengyin
c7d6399598 add session method to http 2015-10-20 18:23:32 +08:00
lichengyin
6ad3509663 when file is exist, require direct on think.safeRequire method 2015-10-20 17:13:19 +08:00
lichengyin
3ba20a5b24 remove getLang method, use lang method instead 2015-10-20 12:04:45 +08:00
lichengyin
a1ed320718 rename name to cookie_name in locale config 2015-10-20 10:23:14 +08:00
lichengyin
48a9242eb4 add http.locale method;get error message from locale when errmsg is not set 2015-10-19 15:54:03 +08:00
lichengyin
24990fdc37 add auto validate for logic, used in __after method 2015-10-19 14:25:53 +08:00
lichengyin
9019bc6087 add expires method for http and base controller 2015-10-18 21:45:50 +08:00
lichengyin
4c9e6afa79 remove auto get service instance when load service 2015-10-16 14:08:43 +08:00
lichengyin
a252cc436c inherit think.base when create simple adapter 2015-10-16 12:12:57 +08:00
lichengyin
b61268a18b use middleware to refactoring get http post payload, fix eslint errors 2015-10-16 09:48:31 +08:00
lichengyin
39bd6b7829 replace error message url 2015-10-15 18:23:42 +08:00
lichengyin
f4b9962833 rename hook name form_parse to payload_parse 2015-10-15 17:35:26 +08:00