623 Commits

Author SHA1 Message Date
lichengyin
f0047ae1f0 fix error in nunjucks template 2015-12-25 17:30:04 +08:00
lichengyin
34d2a86e52 log error when parse post data error in development env, fix #227 2015-12-25 12:11:25 +08:00
lichengyin
a2a1757df5 only set root_path for nunjucks template when templateFile startWith root_path 2015-12-24 17:37:09 +08:00
lichengyin
3fd9231cd0 support multi host for mongo 2015-12-24 17:36:38 +08:00
lichengyin
08502e35d3 fix parse rest resource id 2015-12-15 09:17:18 +08:00
lichengyin
2f8a4b2070 clear bootstrap files cache before load 2015-12-07 11:57:23 +08:00
lichengyin
639aae0aa8 fix parseConfig error when has adapter config 2015-12-07 10:38:13 +08:00
lichengyin
344b91271a fix error when use alias in countSelect method 2015-12-07 10:36:30 +08:00
lichengyin
8685b12bb6 open auto escape in nunjucks 2015-12-07 10:34:48 +08:00
lichengyin
39bfa0352c fix test error 2015-12-07 10:34:32 +08:00
akira_cn
ba781ecbbd 修复update的时候因为误删了id字段导致不能关联更新的bug 2015-12-05 00:47:00 +08:00
akira_cn
65132441c4 cache adapter的bug修复 2015-12-03 21:03:31 +08:00
lichengyin
e1a39519a6 fix auto reload fail in windows 2015-12-02 16:59:08 +08:00
lichengyin
c85e023074 update 2015-11-27 13:23:38 +08:00
lichengyin
016fe36ad8 fix paranllelLimit memory leak when use single data 2015-11-27 12:25:09 +08:00
lichengyin
dcebaebfc2 improve test case 2015-11-27 10:17:54 +08:00
lichengyin
ef8580ee96 remove unnecessary lines 2015-11-27 09:20:29 +08:00
lichengyin
53b072fbab remove auto reload file log 2015-11-27 09:19:25 +08:00
lichengyin
9e98ab4e1f remove cache key in relation model 2015-11-26 14:58:28 +08:00
lichengyin
60af7a9491 fix set session fail without await, fix #211 2015-11-26 14:48:25 +08:00
lichengyin
ac7c8e76c1 fix required* error when validate, fix #210 2015-11-26 14:12:24 +08:00
lichengyin
94be8bb32c allow empty when check value 2015-11-26 13:46:41 +08:00
lichengyin
ea5293b78f fix countSelect error when set sql cache, fix #208 2015-11-26 11:06:45 +08:00
lichengyin
c1dcdef05d get table indexes for sqlite 2015-11-26 11:01:23 +08:00
lichengyin
33cb59de97 enable jade compile cache on production env 2015-11-26 09:13:05 +08:00
lichengyin
c914e8458c only enable db.log_sql on development env 2015-11-26 09:11:57 +08:00
lichengyin
e9f6a9d8da optimize post relation data 2015-11-25 12:49:44 +08:00
lichengyin
e75e82d7aa think.srcPath => this.srcPath in auto_reload file 2015-11-24 20:29:06 +08:00
lichengyin
d034550a3a fix error in relation with post action 2015-11-24 20:28:22 +08:00
lichengyin
bbd468ea41 remove name lowercase when get config fix #207 2015-11-22 16:56:21 +08:00
lichengyin
1d1a99efe2 remove name lowercase when get config 2015-11-22 16:55:19 +08:00
lichengyin
c807086323 return it when parent is undefined in _load method 2015-11-20 15:14:14 +08:00
lichengyin
dd7ada73b4 fix jade test error 2015-11-20 11:52:06 +08:00
Rekey Luo
98376ffb22 使用配置的方式确定是否开始complie缓存 2015-11-20 11:42:00 +08:00
Rekey Luo
66a0c66802 生产环境开启 jade compile 缓存 2015-11-20 11:20:40 +08:00
lichengyin
25cddaf608 merge parser config value to config 2015-11-19 10:38:58 +08:00
lichengyin
eadc05f667 add from config fro db session 2015-11-19 10:13:42 +08:00
lichengyin
32c5b1f36f support options for watch-compile 2015-11-19 09:48:26 +08:00
lichengyin
a3973e9ff0 change module/controller/action when invoke another action 2015-11-18 13:00:45 +08:00
lichengyin
6d7625af2a replace think.co.wrap with think.co 2015-11-18 11:33:42 +08:00
lichengyin
4d4596ef3b close socket when has error Connection lost: The server closed the connection. 2015-11-16 09:44:37 +08:00
lichengyin
0512537d84 logic rules allow object 2015-11-15 08:59:07 +08:00
lichengyin
70df8aea50 logic rules support object 2015-11-15 08:04:55 +08:00
lichengyin
2d525760bf fix multi sql connect when differrent query 2015-11-15 07:55:42 +08:00
lichengyin
014d8de104 fix adapter error when use db session 2015-11-15 07:48:02 +08:00
lichengyin
1073b9d93c fix countSelect error when count is zero 2015-11-14 22:24:57 +08:00
lichengyin
697db4ae23 change think.npm install path, add --save options 2015-11-14 22:08:02 +08:00
lichengyin
1e888852ce clear route cache before reload 2015-11-14 21:59:11 +08:00
lichengyin
fe27a00983 fix load sys module method error in some platforms 2015-11-14 15:24:57 +08:00
lichengyin
5c2bdc47d7 use view root_path for nunjucks root path 2015-11-14 12:53:50 +08:00