Commit Graph

  • cc573e4dba 改进Model类save方法写入对主键值的判断 thinkphp 2016-12-07 07:27:04 +08:00
  • 4780d194b5 改进数据库操作join自身后出错的问题 thinkphp 2016-12-07 07:16:50 +08:00
  • 0788e048a7 改进Response类的send方法 当为重定向的时候不清空当次有效数据 thinkphp 2016-12-06 16:42:32 +08:00
  • 7ce4d935f6 改进confirm验证规则 支持 password 及 password_confirm 自动规则识别 thinkphp 2016-12-06 14:23:08 +08:00
  • 1cff11b9cc 改进自定义错误信息的判断 thinkphp 2016-12-06 14:07:08 +08:00
  • 4ebd16f8ef 增加Validate类自定义验证错误信息的替换规则 thinkphp 2016-12-06 13:59:37 +08:00
  • 81a8acb656 Merge pull request #383 from lyaohe/master ThinkPHP 2016-12-06 08:17:43 +08:00
  • 3e53f0f452 修正Template类 thinkphp 2016-12-06 08:13:27 +08:00
  • b7f7a8a2a7 改进多表更新的字段不存在问题 thinkphp 2016-12-06 08:07:09 +08:00
  • 57fe06a11b 改进Model类的useGlobalScope方法 thinkphp 2016-12-06 07:52:47 +08:00
  • 47ad3507d5 改进Template类parseTemplateFile方法 thinkphp 2016-12-06 07:50:08 +08:00
  • 32c2f5799b 修正子查询作为表名查询的问题 thinkphp 2016-12-05 16:48:18 +08:00
  • 84f9ffab46 改进命令行下的日志记录 thinkphp 2016-12-05 16:36:50 +08:00
  • 7f3fe01504 改进Validate类的getRuleMsg方法 thinkphp 2016-12-05 16:25:46 +08:00
  • 405825ff8a Model类增加resultSetType属性 用于指定模型查询的数据集对象(默认为空返回数组) Db类查询不再支持设置自定义数据集对象(只能使用数组或者think\Collection) thinkphp 2016-12-05 16:24:02 +08:00
  • 30077757bd Model类增加toCollection方法 用于转换数据集对象 thinkphp 2016-12-05 12:12:33 +08:00
  • 1f53806272 注释完善 thinkphp 2016-12-05 12:01:35 +08:00
  • 5037c64f53 改进关联模型 thinkphp 2016-12-05 11:55:04 +08:00
  • 1d2b44adc8 修正Query的select方法的关联预载入 thinkphp 2016-12-05 10:55:50 +08:00
  • d11e4aea10 关联模型架构调整 thinkphp 2016-12-05 08:42:08 +08:00
  • 670b7d13a8 修正 thinkphp 2016-12-02 22:24:28 +08:00
  • 65f13177c2 改进模板引擎类parseTemplateFile方法 thinkphp 2016-12-02 22:14:57 +08:00
  • 2061588c49 改进Validate类的field属性设置 thinkphp 2016-12-02 19:12:49 +08:00
  • 39ea6f812c error方法在ajax请求默认返回url为空 lyaohe 2016-12-02 15:11:34 +08:00
  • 82888cfe53 error方法在ajax请求,默认返回url为空 lyaohe 2016-12-02 11:53:09 +08:00
  • 4a80099a51 部署模式下简化日志记录 thinkphp 2016-12-01 18:32:28 +08:00
  • b62175c34d 多态关联支持预载入查询 thinkphp 2016-12-01 17:19:43 +08:00
  • 7ef95130c1 修正关联一处问题 thinkphp 2016-12-01 12:15:17 +08:00
  • 1afdde40e3 改进多态关联的morphTo方法 如果不传入参数默认用当前定义的方法名作为字段前缀 thinkphp 2016-12-01 11:48:01 +08:00
  • 77d2731892 修正关联多对多一处错误 thinkphp 2016-12-01 11:28:49 +08:00
  • a02c7321bb 改进关联多对多的查询 增加getModel方法 thinkphp 2016-12-01 10:50:56 +08:00
  • 099c977b0a morphTo支持多态类型字段别名定义 thinkphp 2016-11-30 22:52:42 +08:00
  • 7983db9587 多态一对多关联方法参数调整 thinkphp 2016-11-30 22:37:38 +08:00
  • 7f527c256e 关联模型支持多态一对多关联 thinkphp 2016-11-30 19:52:58 +08:00
  • 61462a628e 改进多对多查询 thinkphp 2016-11-30 17:11:38 +08:00
  • 6f58a26097 Merge branch 'master' of https://github.com/top-think/framework thinkphp 2016-11-30 15:33:48 +08:00
  • 211b28706f 增加debug日志类型 仅限调试模式记录 thinkphp 2016-11-30 15:33:14 +08:00
  • 2d4b1dda9c 请求缓存支持模块单独开启 thinkphp 2016-11-29 22:08:12 +08:00
  • fd34d98866 Merge pull request #375 from supermp/master ThinkPHP 2016-11-29 16:04:26 +08:00
  • 8b80794b39 Validate类架构方法增加field参数 用于设置验证字段的描述 thinkphp 2016-11-29 16:00:23 +08:00
  • aed8be7150 改进Model的一处数据比较 thinkphp 2016-11-29 15:53:33 +08:00
  • da3f737ccc 改进App类invokeMethod方法 thinkphp 2016-11-29 15:15:43 +08:00
  • 0962b21232 让Request支持json方式的POST 目前RESTful API用json方式提交的很多 目前PUT/PATCH/DELETE方法均可以支持json,但POST方法不能,这不对等 其实更好的方法是判断header里content-type是否为application/json,但因为目前header属性采用的是懒加载,所以暂时沿用目前的字符串判断 quzhe 2016-11-29 11:40:02 +08:00
  • fedfd9c857 修正 thinkphp 2016-11-28 23:24:48 +08:00
  • 7a79071d1a 查询支持一个字段多次查询条件 thinkphp 2016-11-28 22:44:59 +08:00
  • bd6700acde 修正 云无心 2016-11-28 16:51:53 +08:00
  • 4aee4e3784 增加Redirect restore、restore返回值 云无心 2016-11-28 16:50:34 +08:00
  • 6e4898190a 修正 thinkphp 2016-11-28 16:35:24 +08:00
  • 357f1706e5 路由到类和控制器的方法 传入的额外参数会和当前请求变量合并传入方法 thinkphp 2016-11-28 16:26:29 +08:00
  • 5f7c75a2f5 路由到类的方法和控制器方法 支持传入额外参数,用于方法的参数 thinkphp 2016-11-28 16:12:04 +08:00
  • 1999bf947a 改进控制器自动搜索的目录规范 thinkphp 2016-11-27 11:28:11 +08:00
  • 0ae0301ebb Merge branch 'master' of https://github.com/top-think/framework thinkphp 2016-11-26 23:15:45 +08:00
  • 2f892770c2 改进sql日志的sql语句 thinkphp 2016-11-26 23:14:34 +08:00
  • 1d2649ce50 Merge pull request #372 from birdy0815/patch-2 ThinkPHP 2016-11-25 22:45:03 +08:00
  • 3ff97b4b1e View类增加share静态方法 用于静态赋值模板变量 thinkphp 2016-11-25 20:33:35 +08:00
  • c6dcc7a768 增加 判断是否存在某个场景的验证配置 birdy0815 2016-11-25 19:05:21 +08:00
  • 0665ffcc46 Update Redis.php 云无心 2016-11-25 11:49:36 +08:00
  • e1ed00dce0 修正redis session驱动destroy方法返回值 thinkphp 2016-11-24 17:52:30 +08:00
  • 9db261e601 改进请求缓存 thinkphp 2016-11-24 15:57:43 +08:00
  • f756bb804e 改进 thinkphp 2016-11-22 17:24:44 +08:00
  • ee5ef96aac 修正 thinkphp 2016-11-22 17:22:45 +08:00
  • 1839123bcd 模型的all和select方法支持获取器 thinkphp 2016-11-22 17:18:59 +08:00
  • ada54290b7 改进自动参数绑定 thinkphp 2016-11-22 16:09:14 +08:00
  • bba063a3c9 改进模板引擎驱动 thinkphp 2016-11-22 15:58:38 +08:00
  • 8ee455f96f 模型类的connection属性和数据库默认配置合并 thinkphp 2016-11-22 15:54:29 +08:00
  • 72cdb44de8 改进in和between查询条件的自动参数绑定 thinkphp 2016-11-22 14:32:22 +08:00
  • 384ce564f9 改进Query类对数据集对象以及关联字段排序的支持 thinkphp 2016-11-22 11:08:45 +08:00
  • a10cc77e40 数组语法调整 thinkphp 2016-11-21 15:33:55 +08:00
  • a3a76b9bcf 修正错误 thinkphp 2016-11-21 12:14:36 +08:00
  • a4669f04bf Merge branch 'master' of https://github.com/top-think/framework thinkphp 2016-11-20 13:12:58 +08:00
  • 0a9694123f 空操作方法的参数传入去掉操作方法后缀 thinkphp 2016-11-20 13:12:01 +08:00
  • c469b9fb4d 增加模型的快捷事件方法 thinkphp 2016-11-18 14:29:23 +08:00
  • 78dffc5b4e 修正路由的请求缓存设置 thinkphp 2016-11-18 12:30:19 +08:00
  • 397d09925c Merge branch 'master' of https://github.com/top-think/framework thinkphp 2016-11-17 22:25:38 +08:00
  • 45f260d11a 改进Query类的getTableInfo方法缓存读取 thinkphp 2016-11-17 22:24:45 +08:00
  • 9b988f9963 Merge pull request #361 from phpyii/patch-1 ThinkPHP 2016-11-16 10:27:02 +08:00
  • 665b2c3ab9 在控制器中调用request和view增加类型提示 最初的梦想 2016-11-16 10:10:15 +08:00
  • 81a8da6878 改进Route类name方法 thinkphp 2016-11-15 23:01:11 +08:00
  • 3d587c75c5 model类的saveall方法支持调用allowField方法进行字段过滤 thinkphp 2016-11-15 19:09:31 +08:00
  • e643514af8 修正关联查询的时候 whereTime方法的bug thinkphp 2016-11-15 18:53:56 +08:00
  • 8d65e16047 改进input助手函数 thinkphp 2016-11-14 22:44:18 +08:00
  • de51ad6bb6 Merge branch 'master' of https://github.com/top-think/framework thinkphp 2016-11-14 11:27:22 +08:00
  • b7ef4c6f33 Cache类增加pull和remember方法 thinkphp 2016-11-14 11:27:00 +08:00
  • 72209e8035 改进Query类的聚合查询 thinkphp 2016-11-12 23:55:17 +08:00
  • 310775471a table方法支持字符串方式的子查询 thinkphp 2016-11-12 11:11:18 +08:00
  • a924186ce6 修正count avg方法使用fetchsql无法正确返回sql的问题 thinkphp 2016-11-12 10:38:19 +08:00
  • fd30f090e4 改进Model类 v5.0.3 thinkphp 2016-11-11 17:22:23 +08:00
  • af97ea5821 版本更新 thinkphp 2016-11-11 11:54:37 +08:00
  • 3ea09822e0 改进软删除 thinkphp 2016-11-11 11:37:15 +08:00
  • 6f51dd0e47 修正软删除的withTrashed方法 Query类增加removeWhereField方法 thinkphp 2016-11-10 11:36:32 +08:00
  • 9b2524d3a1 聚合模型支持 field定义需要查询的字段 thinkphp 2016-11-09 16:25:06 +08:00
  • 3935ed5915 关联定义支持在关联方法中使用field获取指定查询字段 thinkphp 2016-11-09 16:01:59 +08:00
  • ec59e7f8af 修正软删除onlyTrashed方法 thinkphp 2016-11-09 14:57:05 +08:00
  • 7eaf95de9b 请求缓存的有效期如果传入false表示不缓存 路由规则的cache参数传入false也同样表示不缓存 即使开启了全局请求缓存 thinkphp 2016-11-09 13:53:36 +08:00
  • 53329b79b6 Requesst类的Input方法和input助手函数的filter参数支持传入null 表示当前不过滤 thinkphp 2016-11-09 12:17:42 +08:00
  • cb9fb04cad Model类的validateData方法增加batch批量验证参数 thinkphp 2016-11-07 14:36:30 +08:00
  • 46b8b5e8e7 改进Query类的min和max方法 对 日期类型的支持 thinkphp 2016-11-07 11:14:02 +08:00
  • 909f494af7 修正File类checkImg方法 thinkphp 2016-11-04 19:26:01 +08:00
  • 1a23e337e8 因为原来用法会导致路由变量读取顺序问题,路由可选分隔符的用法 原来的 hello/<name>(-?)<id?> 改为: hello/<name>-?<id?> thinkphp 2016-11-04 16:04:38 +08:00
  • dafca59498 注释 thinkphp 2016-11-02 19:30:36 +08:00