51 Commits

Author SHA1 Message Date
lichengyin
4c9def1ccf fea: use query string to parse payload when content type is empty 2016-02-24 09:54:32 +08:00
lichengyin
4480cc1f86 Fix: fix test case error 2016-02-22 16:37:37 +08:00
lichengyin
2d664f74b1 opt: only use query string to parse payload when content type is application/x-www-form-urlencoded 2016-01-28 14:32:38 +08:00
lichengyin
44034d18d9 add test cases 2016-01-09 11:32:44 +08:00
lichengyin
1e1545fbc5 rename check_csrf to csrf 2016-01-08 13:45:32 +08:00
lichengyin
100a4dfc85 upgrade Babel to 6 2016-01-02 15:11:43 +08:00
lichengyin
12c30f0107 fix path sep error on windows 2015-12-29 15:25:03 +08:00
lichengyin
4d3b401ff1 localte_template middleware support sub controller 2015-12-29 14:30:24 +08:00
lichengyin
945ffb01c7 remove think.mode_mini 2015-12-29 10:59:26 +08:00
lichengyin
5678b23656 move middlewares to src/middleware path 2015-12-28 16:24:02 +08:00
lichengyin
1764f8def3 move middleware to src/middleware 2015-12-28 16:06:36 +08:00
lichengyin
0bc1d1c773 move parse_form_payload to src/middleware 2015-12-28 11:51:26 +08:00
lichengyin
c5040236b6 move output_resource middleware to src/middleware 2015-12-28 09:50:45 +08:00
lichengyin
3d0f08480f move rewite_pathname to src/middleware path 2015-12-28 09:32:43 +08:00
lichengyin
99561bb412 move subdomain_deploy middleware to src/middleware path 2015-12-27 21:20:32 +08:00
lichengyin
edba52f7eb remove subdomain & check csrf middleware for default hook config 2015-12-23 18:19:10 +08:00
lichengyin
3b4fa77ce2 fix windows test error 2015-12-17 16:33:47 +08:00
lichengyin
ad3bf3fa06 fix windows test error 2015-12-17 16:26:42 +08:00
lichengyin
04b67b8f53 fix windows test error 2015-12-17 16:25:25 +08:00
lichengyin
2b15e4279a fix windows test error 2015-12-17 16:24:30 +08:00
lichengyin
24c8db4b1c fix parse query error when pathname has encode chars 2015-12-17 10:13:32 +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
366fd64be4 remove read_html_cache & write_html_cache middleware, add vender middleware think-html-cache 2015-11-04 09:21:00 +08:00
lichengyin
d61a0af865 allow action has - char 2015-11-02 17:15:31 +08:00
lichengyin
88ca914266 remove deny_ip middleware, use vender think-ip-filter middleware instead 2015-11-01 13:25:52 +08:00
lichengyin
ce84658390 rename hook names 2015-10-28 17:02:35 +08:00
lichengyin
c7d6399598 add session method to http 2015-10-20 18:23:32 +08:00
lichengyin
425cceaa38 break up config to multi single configs 2015-09-05 20:11:02 +08:00
lichengyin
6e4f52582c add theme,lang for http object 2015-08-31 18:52:59 +08:00
lichengyin
d06bdf3e9d return think.prevent in think.statusAction method 2015-08-27 13:59:42 +08:00
lichengyin
8032c22f24 add 400 statusAction for invalid controller or action name 2015-08-27 13:45:45 +08:00
maxzhang
c939571096 check csrf middleware 2015-08-25 21:41:51 +08:00
welefen
7783825e15 support i18n for template 2015-08-18 15:40:12 +08:00
welefen
e4db397176 optimize parse http pathname 2015-08-13 15:16:30 +08:00
welefen
2bfcc84202 add model/_base.js test case 2015-08-04 11:03:27 +08:00
welefen
e004fe4d36 add route middleware test case 2015-07-29 17:13:00 +08:00
welefen
b9346370fc fix test errors on linux 2015-07-25 22:38:39 +08:00
welefen
1e3f05086a optimize test 2015-07-24 21:10:34 +08:00
welefen
00b4ba4470 update test case 2015-07-17 15:23:46 +08:00
welefen
01aea34705 add middleware/write_html_cache.js test case 2015-07-17 14:23:30 +08:00
welefen
1f36a00326 add middleware/resource.js test case 2015-07-16 19:27:27 +08:00
welefen
676f791fd0 add middleware/resource.js test case 2015-07-16 19:21:59 +08:00
welefen
7bde1810ff add middleware/resource.js test case 2015-07-16 19:10:01 +08:00
welefen
981220b9a6 add read_html_cache middleware test case 2015-07-16 16:59:40 +08:00
welefen
c11ff991d3 add parse_template middleware test case 2015-07-16 14:42:15 +08:00
welefen
1cd01f6627 add lodate_template middleware test case 2015-07-16 13:58:27 +08:00
welefen
40a7a201e1 add lodate_template middleware test case 2015-07-16 11:40:18 +08:00
welefen
3f3fbab87d add deny_ip middleware test case 2015-07-15 16:27:16 +08:00
welefen
41d2bfe9f1 update test case 2015-07-15 15:23:37 +08:00