Commit Graph

  • b26b7934a8 改进cookie函数支持有效期传入 thinkphp 2016-03-27 10:43:17 +08:00
  • d8e062dbbe 修正Route类的参数获取 thinkphp 2016-03-26 21:30:27 +08:00
  • 9f08de18d7 增加method和token验证规则 thinkphp 2016-03-26 13:48:49 +08:00
  • e2ca9339d7 改进activeUrl验证类型支持带参数验证 thinkphp 2016-03-26 12:56:37 +08:00
  • e94c707d24 完善urlTest thinkphp 2016-03-26 12:46:01 +08:00
  • b537fe5042 Merge pull request #1 from oldrind/model_view Chino Chang 2016-03-26 10:22:18 +08:00
  • 70ffc62bf9 修正视图模型中所引用的表找不到模型的问题,字段带有()时别名丢失的问题 oldrind 2016-03-26 10:17:26 +08:00
  • cd57dfd8e1 完善routeTest thinkphp 2016-03-26 09:31:57 +08:00
  • 6e626be479 更新license描述规范 thinkphp 2016-03-26 09:11:05 +08:00
  • 4c263c1083 修正 thinkphp 2016-03-25 23:10:40 +08:00
  • f737bc1618 修正单元测试mock thinkphp 2016-03-25 23:02:50 +08:00
  • 0ddea95f80 改进框架入口文件 thinkphp 2016-03-25 22:57:24 +08:00
  • 004b87a47b 改进Url类支持混合变量路由规则定义 thinkphp 2016-03-25 22:42:02 +08:00
  • 5398a989bd 修正validate类一处变量未定义错误 thinkphp 2016-03-25 18:33:40 +08:00
  • bbebe0a02d 改进Route类 thinkphp 2016-03-25 18:30:52 +08:00
  • 0ad3e4587a 改进路由规则定义的变量获取 thinkphp 2016-03-25 17:03:30 +08:00
  • f85a2bfe98 改进路由变量定义 支持 <name><id?> 可选变量定义 thinkphp 2016-03-25 16:46:55 +08:00
  • 916ec94e07 优化判断 thinkphp 2016-03-25 15:22:13 +08:00
  • 3b6152c83c 改进路由规则定义 APP_HOOK常量定义位置移动 便于应用模式自己定义 thinkphp 2016-03-25 15:19:04 +08:00
  • ccfbd46bab 修正Route类一处警告错误 thinkphp 2016-03-25 12:24:44 +08:00
  • a98f3061e0 改进 自定义验证规则 thinkphp 2016-03-25 08:11:12 +08:00
  • 00e34b1e85 删除validate类make方法的第三个参数 thinkphp 2016-03-24 16:24:41 +08:00
  • fce6542a29 替换链接 7IN0SAN9 2016-03-24 18:59:42 +08:00
  • 8cc506aa71 替换图标链接 7IN0SAN9 2016-03-24 18:45:39 +08:00
  • 796d144d65 添加开关量控制composer autoload行为 7IN0SAN9 2016-03-24 18:45:34 +08:00
  • 6392ca034d APP_AUTO_RUN 修正 7IN0SAN9 2016-03-24 16:06:47 +08:00
  • 027f4a3ceb Timezone 修正 7IN0SAN9 2016-03-24 16:06:36 +08:00
  • 0b7a02a075 修复 find lint 测试 7IN0SAN9 2016-03-24 15:36:12 +08:00
  • 02599b82dd 修复路径 7IN0SAN9 2016-03-24 15:29:49 +08:00
  • 353ba79f8c 修复单元测试 7IN0SAN9 2016-03-24 15:27:32 +08:00
  • 5a73a0b5ea 取消自动加载中对composer包的支持 7IN0SAN9 2016-03-24 14:58:37 +08:00
  • 690b092ded 添加文件 7IN0SAN9 2016-03-24 14:32:50 +08:00
  • ba09c21c05 修正console yunwuxin 2016-03-23 18:08:29 +08:00
  • 233bab7e9d Merge remote-tracking branch 'origin/master' yunwuxin 2016-03-23 15:52:05 +08:00
  • 235e9f847f 调整Loader::addNamespace方法的位置 修正configTest thinkphp 2016-03-23 15:51:01 +08:00
  • eff3dd828c 自动根据环境变量识别是否调试模式 thinkphp 2016-03-23 15:41:07 +08:00
  • 8cab3f1e58 默认的环境变量前缀 改成 PHP_ thinkphp 2016-03-23 15:11:39 +08:00
  • fffce1f638 环境变量读取改成getenv方法 thinkphp 2016-03-23 15:10:46 +08:00
  • 6b754aae02 Merge remote-tracking branch 'origin/master' yunwuxin 2016-03-23 14:46:55 +08:00
  • 64406710ff 完善console yunwuxin 2016-03-23 14:46:48 +08:00
  • 4e0df23a4e 增加应用的环境变量配置文件 增加ROOT_PATH常量定义 runtime目录默认移到ROOT_PATH录下面 thinkphp 2016-03-23 13:53:48 +08:00
  • 16dad1e748 简化validate thinkphp 2016-03-22 22:20:06 +08:00
  • ab57b45070 修正单元测试 thinkphp 2016-03-22 18:03:03 +08:00
  • 9fae06c40c 完善loaderTest thinkphp 2016-03-22 17:58:37 +08:00
  • 2b4535df76 完善loaderTest thinkphp 2016-03-22 17:51:19 +08:00
  • 0e1686e725 修正validate类的unique规则使用多字段检测 thinkphp 2016-03-22 17:39:35 +08:00
  • c9ecc6a86b 完善validateTest thinkphp 2016-03-22 17:37:05 +08:00
  • 8871422e7c 完善validateTest thinkphp 2016-03-22 12:37:24 +08:00
  • 4c7995a600 controllerTest增加validate测试 thinkphp 2016-03-22 12:23:28 +08:00
  • 13a108f0b4 修正debugTest thinkphp 2016-03-22 12:09:59 +08:00
  • bd8b8261a8 增加dbTest thinkphp 2016-03-22 12:06:18 +08:00
  • 01e978dbbd 修正单元测试 thinkphp 2016-03-22 11:57:05 +08:00
  • 97a9bd11dd 完善modelTest thinkphp 2016-03-22 11:47:45 +08:00
  • 923881a661 改进PUT请求获取不到GET参数的问题 thinkphp 2016-03-22 10:53:16 +08:00
  • abeafb4ab7 提高runtime的计算精度 避免吞吐率出现Division by zero错误 thinkphp 2016-03-22 10:50:12 +08:00
  • 086fa8e9dd Merge pull request #413 from oldrind/master ThinkPHP 2016-03-21 17:37:30 +08:00
  • 7aff11c165 修正一处错误 thinkphp 2016-03-21 16:57:30 +08:00
  • 4d01abcb29 改进unique验证规则的复合主键导致的错误 复合主键的情况直接使用条件判断表达式 thinkphp 2016-03-21 16:55:24 +08:00
  • ebe350e35f 改进validate类的unique验证规则的条件 thinkphp 2016-03-21 16:42:34 +08:00
  • 6643b38626 validate自定义错误信息支持数组 thinkphp 2016-03-21 16:03:22 +08:00
  • 65ca52d049 修正Model类order方法一处bug,优化改进视图模型 oldrind 2016-03-21 15:50:01 +08:00
  • d0816dbe89 改进validate类的验证规则错误提示信息获取 thinkphp 2016-03-21 15:22:43 +08:00
  • 6d1106defd 修正 thinkphp 2016-03-21 14:49:25 +08:00
  • 2603178195 validate的场景可以使用回调方法(支持闭包)而不是固定的字段 thinkphp 2016-03-21 14:47:39 +08:00
  • 74b0c76870 controller和model类的validate方法支持指定场景 例如 $this->validate('User.edit'); thinkphp 2016-03-21 14:40:06 +08:00
  • 0583e4d2b6 增加 default_validate 参数 用于设置默认的验证器名(用于controller和model的validate方法) 控制器类的validate方法增加callback参数在验证之前执行某个方法 thinkphp 2016-03-21 14:31:48 +08:00
  • 27f3127fbb 修正单元测试 thinkphp 2016-03-21 13:55:06 +08:00
  • 8e9fc3d463 修正 thinkphp 2016-03-21 13:52:38 +08:00
  • 2cfcabde44 删除 Model类的rule属性 验证规则支持直接传入提示信息 采用 [field,rule,msg] 的方式定义 所有验证规则只在 值不为空的时候进行验证 除非使用require规则 thinkphp 2016-03-21 13:47:54 +08:00
  • c32dc86763 规则说明改进 thinkphp 2016-03-21 08:12:17 +08:00
  • 60578e5b8d 优化unique方法的查询 thinkphp 2016-03-20 23:20:15 +08:00
  • 7d0e423ffd 修正unique验证规则 thinkphp 2016-03-20 23:18:32 +08:00
  • 4f595f4e65 完善提示信息 thinkphp 2016-03-20 22:59:27 +08:00
  • dbbb91be7d 简化验证规则的默认提示信息定义 thinkphp 2016-03-20 22:47:48 +08:00
  • 4873fe81e0 validate类增加setTypeMsg方法用于设置验证规则的默认提示信息 thinkphp 2016-03-20 22:41:36 +08:00
  • 4a618c6682 添加默认的规则提示信息 thinkphp 2016-03-20 22:33:25 +08:00
  • 29f3af7e35 改进validate类的unique规则 thinkphp 2016-03-20 20:51:57 +08:00
  • ba281e8a7f 添加console的MIT开源许可 yunwuxin 2016-03-20 20:05:21 +08:00
  • 183734f6c5 验证方法和规则统一使用 驼峰法 thinkphp 2016-03-20 19:57:51 +08:00
  • 74ec6d3ae7 修正 pwf0112 2016-03-20 11:57:24 +08:00
  • bc5e9897c5 validate类的extend方法支持批量设置 修正单元测试 thinkphp 2016-03-20 11:27:11 +08:00
  • fa9eae4a26 改进model的validate方法 thinkphp 2016-03-20 11:04:41 +08:00
  • c323f5e255 验证类型规则支持使用别名 例如 'age'=>'>:10' 和 'age'=>'gt:10' 等效 thinkphp 2016-03-20 09:43:58 +08:00
  • 2e2390cc00 验证器类支持公共目录定义 修正Route类单一模块下面GET变量获取错误的BUG thinkphp 2016-03-20 09:12:52 +08:00
  • 2371b7a55e validate类完善 controller和model类的validate方法支持传入提示信息 model类的validate方法支持指定验证器名 thinkphp 2016-03-20 08:19:42 +08:00
  • 53b455e11b 改进model类的validate方法 thinkphp 2016-03-19 22:44:54 +08:00
  • 064a22a99f 修正Validate类message方法 thinkphp 2016-03-19 22:05:20 +08:00
  • f98ba661fa Merge branch 'master' of https://github.com/top-think/think thinkphp 2016-03-19 22:00:29 +08:00
  • 9512bfc29a 改写Validate类和单元测试 thinkphp 2016-03-19 21:59:44 +08:00
  • e2605e086a 修正phpdoc注释 leunggamciu 2016-03-19 14:07:01 +08:00
  • 386e7ab8d3 修复php标签合并时输出标签间的空格也被合并的bug oldrind 2016-03-18 11:48:48 +08:00
  • 8dfc12e4a0 Merge branch 'master' of https://github.com/top-think/think thinkphp 2016-03-18 08:36:19 +08:00
  • a6c1de5f89 修正error_page配置无效的问题 thinkphp 2016-03-18 08:35:54 +08:00
  • 01a3c5aee5 修复内置模版引擎无法自动获取静态缓存的问题 tale 2016-03-17 23:29:54 +08:00
  • 14ee945b0c 修正block标签的bug oldrind 2016-03-17 09:50:12 +08:00
  • ee8e6a26c0 Merge branch 'master' of https://github.com/top-think/think oldrind 2016-03-17 09:36:12 +08:00
  • dcee66e4cd 保证$_REQUEST正常取值 thinkphp 2016-03-17 08:42:17 +08:00
  • eed93e4d52 改进默认模板引擎的设置 如果没有设置 template.type 或者为空 默认为think thinkphp 2016-03-16 23:36:04 +08:00
  • 9ddfadb321 Merge branch 'master' of https://github.com/top-think/think oldrind 2016-03-16 20:45:12 +08:00
  • 81177066f1 修正template类的模板解析方法 thinkphp 2016-03-16 14:15:23 +08:00