Commit Graph

230 Commits

Author SHA1 Message Date
yunwuxin
1cb77502a0 修正单元测试 2016-06-21 12:19:00 +08:00
ThinkPHP
4d19a1cb2d Merge pull request #131 from leunggamciu/fix-url-build
修复当开启url_common_param时,生成错误的URL
2016-06-21 08:31:25 +08:00
thinkphp
e028ac593b 取消模式扩展 2016-06-20 13:59:31 +08:00
thinkphp
30cec3abb1 取消驱动配置的namespace参数 2016-06-18 23:42:16 +08:00
thinkphp
4686698819 改进Request类 改进input助手函数 取消Input类 2016-06-18 09:29:25 +08:00
thinkphp
402bd9282a url_controller_convert 和 url_action_convert 合并为 url_convert 参数 改进Route类对url_convert的支持 2016-06-17 00:07:34 +08:00
thinkphp
a71dedad89 修正单元测试 2016-06-16 16:31:39 +08:00
leunggamciu
7334f5b0f1 修复当开启url_common_param时,生成错误的URL 2016-06-16 16:04:09 +08:00
thinkphp
3fd9f0bc13 修改单元测试 2016-06-16 12:29:35 +08:00
thinkphp
2aa3e4fa5b 取消APP_NAMESPACE常量定义 改为 App::$namespace 调整Build类的module和run方法 增加namespace参数 2016-06-15 22:42:49 +08:00
thinkphp
4c848c4a74 取消 APP_DEBUG 常量 改为 App::$debug 属性获取 设置调试模式 改为 app_debug 配置参数 在应用配置文件中设置 2016-06-15 16:43:31 +08:00
thinkphp
ec6617dc15 修正单元测试 2016-06-14 18:12:26 +08:00
thinkphp
b1f4125678 修正单元测试 2016-06-14 10:14:48 +08:00
thinkphp
87a3c5577c APP_MULTI_MODULE常量改为app_multi_module配置参数 2016-06-14 08:12:14 +08:00
thinkphp
4689c86e0a Response类增加getCode方法和getContent方法 send方法data参数去掉 App类的run方法返回response对象 2016-06-13 16:45:39 +08:00
thinkphp
b10635e22e 异常类规范 增加异常类 改进Query类的value和column的缓存冲突问题 2016-06-12 16:35:42 +08:00
thinkphp
0b16a5c5a3 Route类原来的alias方法更名为controller,路由增加别名方法 alias 支持使用别名简化路由定义,例如:
// 使用 user 路由别名指向 index模块的user控制器
Route::alias('user','index/user');
2016-06-08 17:50:54 +08:00
thinkphp
451e7f0dda 改进Input类和Request类的session获取 2016-06-07 17:05:01 +08:00
thinkphp
dc2fa95429 修正 2016-06-06 14:33:08 +08:00
thinkphp
936b1e20e9 单元测试修正 2016-06-06 14:29:11 +08:00
thinkphp
690ae910ef 改进Loader类 增加Composer自动加载开关 2016-06-05 09:42:27 +08:00
thinkphp
d65882e20c 去除 IS_CGI IS_MAC NOW_TIME 常量 2016-06-02 12:21:36 +08:00
thinkphp
bf7e974fae 去掉 COMMON_MODULE 常量 2016-06-02 10:51:10 +08:00
thinkphp
ac0cb9be42 去除 MODULE_NAME CONTROLLER_NAME ACTION_NAME 常量 2016-06-01 18:34:36 +08:00
thinkphp
12196d21b8 取消 CONTROLLER_LAYER MODEL_LAYER VIEW_LAYER VALIDATE_LAYER 常量 增加url_controller_layer 配置参数 2016-06-01 16:34:24 +08:00
thinkphp
53c3312b02 修正单元测试 2016-05-24 22:16:51 +08:00
thinkphp
901631b8d5 修正Route类 2016-05-24 17:55:05 +08:00
thinkphp
e936d7dc7d 改进Route类 2016-05-24 17:02:21 +08:00
thinkphp
c0048e80ea 修正单元测试 2016-05-18 00:02:27 +08:00
thinkphp
0acf217660 修正单元测试 2016-05-17 14:13:05 +08:00
thinkphp
c7c94258d0 改进Response类 增加think\response\View类 用于渲染模板响应输出 2016-05-16 18:10:46 +08:00
thinkphp
199825ec32 改进Response类 支持扩展不同的输出类型 改进Model类 不同的模型采用不同的查询对象实例 修正Request类一处错误 助手函数view改进 直接返回Response类对象实例 2016-05-16 14:18:47 +08:00
yunwuxin
f78ba76767 修正异常处理和单元测试 2016-05-15 10:14:17 +08:00
thinkphp
a4fb28a310 废除模块映射功能 改进route助手函数 Route类增加rule方法替代原register方法,原register方法更名为import方法用于导入路由配置 2016-05-11 23:00:59 +08:00
thinkphp
cbd8ea477d 修正Relation类 改进Route类的group方法 2016-05-11 22:03:26 +08:00
thinkphp
7f385217b9 改进response类 2016-05-11 14:04:56 +08:00
thinkphp
fce80eb623 修正单元测试 2016-05-11 12:55:56 +08:00
thinkphp
f83632cb7f 修正 2016-05-11 12:49:10 +08:00
thinkphp
03b87a9eb0 改进App类 修正单元测试 2016-05-11 12:45:06 +08:00
thinkphp
b50eeb5e7d App类改进run方法传入Request对象 便于构造自己的Request对象 2016-05-11 12:25:29 +08:00
thinkphp
8e1cd9c51f 改进Response类 改进traits\controller\Jump 添加response助手函数 2016-05-11 07:51:41 +08:00
thinkphp
5746ee456e 修正单元测试 2016-05-10 12:12:05 +08:00
thinkphp
a6d29fedc9 修正 2016-05-10 12:04:59 +08:00
尘缘
dbe744370a 取消hhvm跳过测试 2016-05-09 19:55:33 +08:00
尘缘
6786e8d9ab 优化hhvm下session的默认值 2016-05-09 18:06:45 +08:00
尘缘
72a45d6a8d hhvm下debug存在特殊异常,功能测试ok,暂时不处理 2016-05-08 23:55:20 +08:00
尘缘
2dd7e7ef20 完善redisd的单元测试 2016-05-08 23:37:39 +08:00
尘缘
dccca49419 Merge branch 'master' of https://github.com/top-think/framework 2016-05-08 23:21:57 +08:00
yunwuxin
1f6cde00eb 修正标签解析单元测试 2016-05-08 19:04:16 +08:00
尘缘
83202fb9fc 修复一个 mac 上的 failure 2016-05-08 10:48:03 +08:00