1960 Commits

Author SHA1 Message Date
lichengyin
f2adb80149 release connection when query done in mysql socket 2015-10-22 14:55:46 +08:00
lichengyin
4dce495bb4 update dependencies version 2015-10-22 11:17:20 +08:00
lichengyin
44411b9d25 remove adapter/websocket/websocket.js file 2015-10-22 09:38:00 +08:00
lichengyin
3ba123f064 fix splice error in sockjs template adapter 2015-10-22 09:35:42 +08:00
lichengyin
845ecf37e2 refactring websocket adapter 2015-10-21 18:16:58 +08:00
lichengyin
01e6299408 check app path exist when start server 2015-10-21 12:07:54 +08:00
lichengyin
6cbb74b966 show error stack when parse view file has error 2015-10-21 11:37:09 +08:00
lichengyin
49ea10d309 show log when sql has error in sqlite 2015-10-21 11:31:45 +08:00
lichengyin
6e18f721ef show log when sql has error in mysql 2015-10-21 11:29:54 +08:00
lichengyin
f7c49bf259 update default websocket type to socket.io 2015-10-21 11:19:59 +08:00
lichengyin
6b221c3c97 add root_path for nunjucks template 2015-10-21 10:52:49 +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
acf0aad2da remove session config auth_key 2015-10-20 18:11:53 +08:00
lichengyin
6ad3509663 when file is exist, require direct on think.safeRequire method 2015-10-20 17:13:19 +08:00
lichengyin
4b2d1ae921 update adapter & nginx.conf template 2015-10-20 16:08:25 +08:00
lichengyin
c70e374ba5 update thinkit dependence version to 3.x.x 2015-10-20 16:07:02 +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
297de23583 add init method for rest controller template 2015-10-20 09:55:39 +08:00
lichengyin
21893ddd11 update gitignore 2015-10-19 18:13:13 +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
ecb286ffbf set root_path for view config on not es6 mode when create project 2015-10-19 09:39:35 +08:00
lichengyin
9019bc6087 add expires method for http and base controller 2015-10-18 21:45:50 +08:00
lichengyin
8d0a771ea4 support params for locale method in base controller class 2015-10-18 21:06:54 +08:00
lichengyin
d6ee06ef55 fix view path error in nunjucks template 2015-10-16 16:23:13 +08:00
lichengyin
d3c7a8417f fix link on template error page 2015-10-16 16:05:06 +08:00
lichengyin
d2b64f0116 support add service for thinkjs command 2015-10-16 14:15:28 +08:00
lichengyin
4c9e6afa79 remove auto get service instance when load service 2015-10-16 14:08:43 +08:00
lichengyin
de0a1c9021 show warning when adapter base class is exist in system 2015-10-16 13:31:39 +08:00
lichengyin
410a220eb7 support create adapter for thinkjs command 2015-10-16 13:21:01 +08:00
lichengyin
bd78713cdb fix get table prefix when value is undefined 2015-10-16 12:13:45 +08:00
lichengyin
a252cc436c inherit think.base when create simple adapter 2015-10-16 12:12:57 +08:00
lichengyin
cc06e9c429 support nunjucks template 2015-10-16 09:59:16 +08:00
lichengyin
593057c7c6 replace get content-type by http.type() method 2015-10-16 09:54:48 +08:00
lichengyin
b61268a18b use middleware to refactoring get http post payload, fix eslint errors 2015-10-16 09:48:31 +08:00
lichengyin
aecd023350 fix lose middleware error when merge hook 2015-10-15 18:57:07 +08:00
lichengyin
39bd6b7829 replace error message url 2015-10-15 18:23:42 +08:00
lichengyin
04e8facaf1 fix merge hook error 2015-10-15 18:17:29 +08:00
lichengyin
f4b9962833 rename hook name form_parse to payload_parse 2015-10-15 17:35:26 +08:00
lichengyin
198fdd21b5 add thinkjs middleware [name] command 2015-10-15 14:30:51 +08:00
lichengyin
3867e5383b remove config key theme in template 2015-10-14 17:32:22 +08:00
lichengyin
ca60c3bc15 fix validate message errors 2015-10-14 17:31:54 +08:00
lichengyin
849e3348c1 add http status method return test 2015-10-10 10:10:51 +08:00
lichengyin
62d1234aa2 update README 2015-10-09 19:09:08 +08:00
lichengyin
e910487838 update README 2015-10-09 19:08:06 +08:00
lichengyin
d7a0687f22 merge es6 branch 2015-10-09 19:01:42 +08:00
lichengyin
6422633f66 merge 2015-10-09 18:57:27 +08:00
lichengyin
f8dfca0369 support get method from GET params for rest controller 2015-09-24 17:17:37 +08:00