141 Commits

Author SHA1 Message Date
welefen
2c8c5ea9c4 Add cookie test 2016-08-03 14:26:56 +08:00
lichengyin
0f6b53fd63 Fix: fix get post data when item value is false or 0, fix #266 2016-02-22 09:42:37 +08:00
lichengyin
0245186611 feature: support trim for validate data 2016-01-21 19:34:25 +08:00
lichengyin
61a6f7a21a Fix: fix test error on Node.js 0.12 2016-01-20 12:07:43 +08:00
lichengyin
7e178563aa add think_adapter file, separate from think.js 2016-01-11 11:49:59 +08:00
lichengyin
dc214e473c add test cases 2016-01-09 13:09:47 +08:00
lichengyin
c4618a38fd add test cases 2016-01-09 12:37:55 +08:00
lichengyin
44034d18d9 add test cases 2016-01-09 11:32:44 +08:00
lichengyin
d35b53e2d7 fix not exec logic when is rest api, fix #234 2016-01-08 10:09:46 +08:00
lichengyin
6e9e3bd504 refactoring think.validate 2016-01-06 17:22:41 +08:00
lichengyin
a008be8f8f optimise think.validate 2016-01-05 18:23:55 +08:00
lichengyin
de5151c34a change think.cli type to string 2016-01-05 16:26:31 +08:00
lichengyin
2e8b363dda fix test error 2016-01-04 13:18:22 +08:00
lichengyin
1117cec81f rename parseFilename method to basename 2016-01-04 09:42:19 +08:00
lichengyin
100a4dfc85 upgrade Babel to 6 2016-01-02 15:11:43 +08:00
lichengyin
31c209701f fix test error on windows 2015-12-29 16:24:00 +08:00
lichengyin
616723e102 optimise think.lookClass support sub controller 2015-12-29 14:52:23 +08:00
lichengyin
45d344b06b update test case 2015-12-29 11:06:58 +08:00
lichengyin
945ffb01c7 remove think.mode_mini 2015-12-29 10:59:26 +08:00
lichengyin
8f341c6de7 optimise think.route method 2015-12-28 18:44:10 +08:00
lichengyin
01347dcc0d optimise exec method 2015-12-27 21:12:04 +08:00
lichengyin
75555a7b72 replace thinkCache.MIDDLEWARE with thinkData.middleware 2015-12-25 18:23:48 +08:00
lichengyin
9be83eab65 move thinkCache.ALIAS to thinkData.alias, thinkCache.ALIAS_EXPORT to thinkData.export 2015-12-25 14:48:22 +08:00
lichengyin
d6c554ef74 optimize think.config 2015-12-24 20:40:47 +08:00
lichengyin
1a89b994f0 optimise think.hook, move hook data to thinkData.hook 2015-12-24 19:32:31 +08:00
lichengyin
edba52f7eb remove subdomain & check csrf middleware for default hook config 2015-12-23 18:19:10 +08:00
lichengyin
a8f6de4af0 add think.hook.exec & think.middleware.exec method 2015-12-23 09:09:00 +08:00
lichengyin
9f9b0532c8 http object not inherit EventEmitter 2015-12-22 16:25:12 +08:00
lichengyin
3251317575 optimize http 2015-12-22 11:09:49 +08:00
lichengyin
da4754508c fix windows test error 2015-12-17 15:50:11 +08:00
lichengyin
5f81d073fc fix windows test error 2015-12-17 15:48:13 +08:00
lichengyin
aba4bd4ef9 fix windows test error 2015-12-17 15:44:42 +08:00
lichengyin
ebb85e4f1a avoid http._file changed when change file data 2015-12-17 10:28:06 +08:00
lichengyin
24c8db4b1c fix parse query error when pathname has encode chars 2015-12-17 10:13:32 +08:00
lichengyin
a3142be6dc fix parseConfig error when has adapter config 2015-12-04 15:33:39 +08:00
lichengyin
d9195a2261 refactoring core/http 2015-12-01 17:49:03 +08:00
lichengyin
ac7c8e76c1 fix required* error when validate, fix #210 2015-11-26 14:12:24 +08:00
lichengyin
a3973e9ff0 change module/controller/action when invoke another action 2015-11-18 13:00:45 +08:00
lichengyin
fa923e6343 fix think.npm test error 2015-11-14 22:14:48 +08:00
lichengyin
14c14187d7 optimize get socket instance 2015-11-11 10:59:25 +08:00
lichengyin
c25f8f68d6 refactoring app exec method 2015-11-10 11:54:25 +08:00
lichengyin
afa2b170c4 update test case 2015-11-08 08:44:19 +08:00
lichengyin
aa84bfd48c rename middleware route to parse_route 2015-11-07 22:16:33 +08:00
lichengyin
28b7d59276 refactory adapter 2015-11-07 20:39:16 +08:00
lichengyin
ade5397a14 fix test case error 2015-11-06 09:25:35 +08:00
lichengyin
46bbf75204 add think.parallelLimit test case 2015-11-05 09:33:35 +08:00
lichengyin
2e48cd5f59 optimize cache config 2015-11-04 10:42:00 +08:00
lichengyin
a280aac849 add think.mergeConfig test case 2015-11-04 09:32:08 +08:00
lichengyin
89a8096fd0 fix hook test error 2015-11-02 13:25:28 +08:00
lichengyin
88ca914266 remove deny_ip middleware, use vender think-ip-filter middleware instead 2015-11-01 13:25:52 +08:00