515 Commits

Author SHA1 Message Date
leeight
e4339228dc Quick fix #417 2016-08-05 23:06:32 +08:00
welefen
2c8c5ea9c4 Add cookie test 2016-08-03 14:26:56 +08:00
welefen
8d7e89de11 Fix error on transaction 2016-08-03 09:28:06 +08:00
lichengyin
460c5b4b90 Add try when has error on mysql socket, fix #371 2016-06-17 15:49:04 +08:00
lichengyin
2d1d122dec Fix parse sql error when field has _, such as: _id 2016-06-03 18:55:29 +08:00
lichengyin
9964f6d3f0 Fix error when table field is keyword in increment & decrement method, fix #351 2016-05-11 08:23:57 +08:00
lichengyin
2bae4c12bb Support set item value in logic validation 2016-05-05 10:10:42 +08:00
lichengyin
c29a049667 Add beforeDelete(),beforeSelect(),beforeFind() for model, fix #327 2016-04-26 10:58:01 +08:00
lichengyin
da2f3b0ec0 Add test case 2016-03-29 16:24:35 +08:00
lichengyin
0c36e478e4 Fix test case error 2016-03-25 13:25:41 +08:00
lichengyin
17d8562a12 Fix test case error 2016-03-23 17:46:08 +08:00
lichengyin
c825f7faa2 Fix logic validate when item dependency rule not set 2016-03-21 17:50:31 +08:00
lichengyin
6db6d4ebfb Fix get error insertIds in addMany method, fix #298 2016-03-21 16:57:32 +08:00
lichengyin
f50163a4fe Fix validate different when value is empty, fix #297 2016-03-20 13:36:15 +08:00
lichengyin
8f447d493a remove default value when get table schema 2016-03-17 18:36:04 +08:00
lichengyin
cad631547f Fix test error 2016-03-16 20:33:21 +08:00
lichengyin
8d5ad98849 Fix: fix parseGroup error when has expression 2016-03-14 11:47:50 +08:00
lichengyin
0085f450b6 Fix: support field schema with sub schema, fix #276 2016-02-29 17:13:36 +08:00
lichengyin
48b885a594 Fix: fix parse join when table name has keyword 2016-02-24 16:14:10 +08:00
lichengyin
4c9def1ccf fea: use query string to parse payload when content type is empty 2016-02-24 09:54:32 +08:00
lichengyin
33918c4016 Fix: fix limit 1 for find method 2016-02-23 10:10:41 +08:00
lichengyin
4480cc1f86 Fix: fix test case error 2016-02-22 16:37:37 +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
2cce1d77b8 fix: check template content empty before cached 2016-02-03 09:56:00 +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
6f3bc9f270 test: add model default value test case 2016-01-27 18:19:01 +08:00
lichengyin
631cbaf353 feature: use async render method in nunjucks template 2016-01-22 15:42:22 +08:00
lichengyin
0245186611 feature: support trim for validate data 2016-01-21 19:34:25 +08:00
lichengyin
735f6a7524 feature: support default value for model when update 2016-01-21 19:28:34 +08:00
lichengyin
d8b294edfc feature: add global think, JSON, eval for nunjucks template 2016-01-21 11:44:33 +08:00
lichengyin
61a6f7a21a Fix: fix test error on Node.js 0.12 2016-01-20 12:07:43 +08:00
lichengyin
a7a7533a78 Fix: fix sqlite already use name key for config, replace to database 2016-01-20 10:27:13 +08:00
lichengyin
8c754c5986 fix: fix test error on windows 2016-01-19 09:06:37 +08:00
lichengyin
2e8bb7be8b Fix: fix extend options.where error when options.where is string 2016-01-18 17:09:24 +08:00
lichengyin
775c2a81b7 use parseModuleFromPath method to get module 2016-01-18 11:43:38 +08:00
lichengyin
37cb6d6890 remove , to ; hack 2016-01-18 11:27:16 +08:00
lichengyin
36dc8be0b8 Fix: fix get model default value when default is null, fix #246 2016-01-18 09:54:52 +08:00
lichengyin
427cb5973a revert to ejs support pretender 2016-01-13 17:10:06 +08:00
lichengyin
64167f6268 remove prerender for ejs 2016-01-13 17:07:49 +08:00
lichengyin
30d7c93214 fix validate type boolean error 2016-01-13 15:57:49 +08:00
lichengyin
3ecfbda918 separate checker to util/checker.js file 2016-01-13 13:17:36 +08:00
lichengyin
f710891f40 fix test error 2016-01-13 09:56:22 +08:00
lichengyin
4a08c7a89f use Babel Compiling after TypeScript Compiled for ts files 2016-01-12 16:54:22 +08:00
lichengyin
36c1332cf0 fix test error 2016-01-11 18:43:48 +08:00
lichengyin
5525965f21 fix test error 2016-01-11 18:39:30 +08:00
lichengyin
8b99e301ee add test cases 2016-01-11 18:15:03 +08:00
lichengyin
9834c41d76 add watch compile test cases 2016-01-11 17:56:22 +08:00
lichengyin
1b6504395e add test cases 2016-01-11 12:40:48 +08:00
lichengyin
7e178563aa add think_adapter file, separate from think.js 2016-01-11 11:49:59 +08:00
lichengyin
9dfe473f5b support default & readonly for model 2016-01-09 14:24:51 +08:00