diff --git a/README.md b/README.md index 6c41316c055bfd01b3e53e3f241122c2a835e01f..2a032b93b4d8b3d2b70d816ff64b42f1a37ce966 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -ThinkCMF 6.0.8 开发版 +ThinkCMF 6.0.8 让你更自由地飞 =============== -**`6.0.8`正在紧张开发中,请不要用于正式环境!实际项目请下载最新正式版`6.0.7`** +欢迎入坑,有问题请及时提交issue! ### 主要特性 @@ -95,6 +95,9 @@ enjoy your cmf~! https://gitee.com/thinkcmf/docker ### 升级指导 +#### 6.0.7升级到6.0.8 +1. `composer update` + #### 6.0.6升级到6.0.7 1. `composer update` @@ -121,8 +124,21 @@ https://gitee.com/thinkcmf/docker 5. `composer update` ### 更新日志 -#### 6.0.8 coding~ -* ... +#### 6.0.8 +* 更新TP到`6.0.14` +* 增加应用轻量级命令行第三方库支持 +* 增加注册登录和验证码界面第三方验证码支持 +* 增加后台管理员个人邮件功能 +* 优化上传对话框逻辑 +* 优化钩子管理界面 +* 优化后台管理员添加编辑逻辑增加安全性 +* 优化缓存清理 +* 优化路由识别 +* 优化系统文件加载 +* 修复后台部分URL刷新不加载 +* 修复幻灯片页面管理报错 +* 补全缺失语言包 + #### 6.0.7 * 升级到`tp6.0.13` diff --git a/composer.lock b/composer.lock index 1935985874eb66f011515cb3dfeb132618ab9ab5..a5144dfc34010d1dc62d603513fbec6a27fec2ca 100644 --- a/composer.lock +++ b/composer.lock @@ -415,16 +415,16 @@ }, { "name": "phpmailer/phpmailer", - "version": "v6.6.5", + "version": "v6.7.1", "source": { "type": "git", "url": "https://github.com/PHPMailer/PHPMailer.git", - "reference": "8b6386d7417526d1ea4da9edb70b8352f7543627" + "reference": "49cd7ea3d2563f028d7811f06864a53b1f15ff55" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/8b6386d7417526d1ea4da9edb70b8352f7543627", - "reference": "8b6386d7417526d1ea4da9edb70b8352f7543627", + "url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/49cd7ea3d2563f028d7811f06864a53b1f15ff55", + "reference": "49cd7ea3d2563f028d7811f06864a53b1f15ff55", "shasum": "" }, "require": { @@ -434,17 +434,19 @@ "php": ">=5.5.0" }, "require-dev": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", - "doctrine/annotations": "^1.2", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.2", + "doctrine/annotations": "^1.2.6 || ^1.13.3", "php-parallel-lint/php-console-highlighter": "^1.0.0", "php-parallel-lint/php-parallel-lint": "^1.3.2", "phpcompatibility/php-compatibility": "^9.3.5", "roave/security-advisories": "dev-latest", - "squizlabs/php_codesniffer": "^3.6.2", - "yoast/phpunit-polyfills": "^1.0.0" + "squizlabs/php_codesniffer": "^3.7.1", + "yoast/phpunit-polyfills": "^1.0.4" }, "suggest": { "ext-mbstring": "Needed to send email in multibyte encoding charset or decode encoded addresses", + "ext-openssl": "Needed for secure SMTP sending and DKIM signing", + "greew/oauth2-azure-provider": "Needed for Microsoft Azure XOAUTH2 authentication", "hayageek/oauth2-yahoo": "Needed for Yahoo XOAUTH2 authentication", "league/oauth2-google": "Needed for Google XOAUTH2 authentication", "psr/log": "For optional PSR-3 debug logging", @@ -481,7 +483,7 @@ "description": "PHPMailer is a full-featured email creation and transfer class for PHP", "support": { "issues": "https://github.com/PHPMailer/PHPMailer/issues", - "source": "https://github.com/PHPMailer/PHPMailer/tree/v6.6.5" + "source": "https://github.com/PHPMailer/PHPMailer/tree/v6.7.1" }, "funding": [ { @@ -489,7 +491,7 @@ "type": "github" } ], - "time": "2022-10-07T12:23:10+00:00" + "time": "2022-12-08T13:30:06+00:00" }, { "name": "psr/cache", @@ -1217,16 +1219,16 @@ }, { "name": "topthink/think-orm", - "version": "v2.0.55", + "version": "v2.0.58", "source": { "type": "git", "url": "https://github.com/top-think/think-orm.git", - "reference": "e1974a4c3b1b4c5b808fcc0863fc254e711dee13" + "reference": "fae96ca60891ae82df5d8050af959711354898a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/top-think/think-orm/zipball/e1974a4c3b1b4c5b808fcc0863fc254e711dee13", - "reference": "e1974a4c3b1b4c5b808fcc0863fc254e711dee13", + "url": "https://api.github.com/repos/top-think/think-orm/zipball/fae96ca60891ae82df5d8050af959711354898a5", + "reference": "fae96ca60891ae82df5d8050af959711354898a5", "shasum": "" }, "require": { @@ -1266,9 +1268,9 @@ ], "support": { "issues": "https://github.com/top-think/think-orm/issues", - "source": "https://github.com/top-think/think-orm/tree/v2.0.55" + "source": "https://github.com/top-think/think-orm/tree/v2.0.58" }, - "time": "2022-09-27T14:18:43+00:00" + "time": "2023-02-11T10:07:03+00:00" }, { "name": "xia/migration", @@ -1322,21 +1324,21 @@ "packages-dev": [ { "name": "topthink/think-trace", - "version": "v1.5", + "version": "v1.6", "source": { "type": "git", "url": "https://github.com/top-think/think-trace.git", - "reference": "55027fd79abb744f32a3be8d9e1ccf873a3ca9b7" + "reference": "136cd5d97e8bdb780e4b5c1637c588ed7ca3e142" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/top-think/think-trace/zipball/55027fd79abb744f32a3be8d9e1ccf873a3ca9b7", - "reference": "55027fd79abb744f32a3be8d9e1ccf873a3ca9b7", + "url": "https://api.github.com/repos/top-think/think-trace/zipball/136cd5d97e8bdb780e4b5c1637c588ed7ca3e142", + "reference": "136cd5d97e8bdb780e4b5c1637c588ed7ca3e142", "shasum": "" }, "require": { "php": ">=7.1.0", - "topthink/framework": "^6.0" + "topthink/framework": "^6.0|^8.0" }, "type": "library", "extra": { @@ -1367,9 +1369,9 @@ "description": "thinkphp debug trace", "support": { "issues": "https://github.com/top-think/think-trace/issues", - "source": "https://github.com/top-think/think-trace/tree/v1.5" + "source": "https://github.com/top-think/think-trace/tree/v1.6" }, - "time": "2022-10-26T07:56:45+00:00" + "time": "2023-02-07T08:36:32+00:00" } ], "aliases": [], diff --git a/public/static/js/admin.js b/public/static/js/admin.js index 0d13ae3de98e2babe723d33d0098f735d4bdc21c..aa23f8aee12bd9d92f54f5fe5bec52261bea6876 100644 --- a/public/static/js/admin.js +++ b/public/static/js/admin.js @@ -786,6 +786,28 @@ } //地址联动end + Wind.css('artDialog'); + Wind.use('artDialog', 'noty', function () { + $('body').on('click', '.js-click2call-btn', function (e) { + e.preventDefault(); + var $_this = this, + $this = $($_this), + title = $this.data('title'); + title = title ? title:'点击下面链接,直接拨打电话'; + art.dialog({ + title: title, + icon: 'question', + content: $this.next('.js-click2call-mobiles').html(), + follow: $_this, + close: function () { + $_this.focus(); //关闭时让触发弹窗的元素获取焦点 + return true; + }, + cancelVal: '关闭', + cancel: true + }); + }); + }); })(); @@ -1148,7 +1170,7 @@ function openIframeLayer(url, title, options) { anim: -1, shade: [0.001, '#000000'], shadeClose: true, - area: GV.IS_MOBILE ? ['100%', '100%'] : ['95%', '90%'], + area: GV.IS_MOBILE ? ['100%', '100%'] : ['95%', '95%'], offset: GV.IS_MOBILE ? ['0px', '0px'] : 'auto', move: false, content: url, diff --git a/public/themes/admin_simpleboot3/admin/hook/index.html b/public/themes/admin_simpleboot3/admin/hook/index.html index 0012aa95f87a2a71e5f449a9cc897dec5cc2de2d..96e67e91bfe3731ca9f2b1ac7ae1ddb3aa595c51 100644 --- a/public/themes/admin_simpleboot3/admin/hook/index.html +++ b/public/themes/admin_simpleboot3/admin/hook/index.html @@ -13,7 +13,6 @@
ID | {:lang('NAME')} | {:lang('Type')} | {:lang('Description')} | @@ -23,8 +22,7 @@||
---|---|---|---|---|---|
{$vo.id} | -{$vo.name}:{$vo.hook} | +{$vo.name}:{$vo.hook} | {$types[$vo.type]} | {$vo.description} | diff --git a/public/themes/admin_simpleboot3/admin/index/index.html b/public/themes/admin_simpleboot3/admin/index/index.html index ff7554e2d3ce73664e4f8ce2d442a882a5405996..616c06fcfa5ba003174af0b7c81fa2274aef7bcd 100644 --- a/public/themes/admin_simpleboot3/admin/index/index.html +++ b/public/themes/admin_simpleboot3/admin/index/index.html @@ -366,6 +366,7 @@ //去掉/ 去掉_ 全部小写。 urlTmp = urlTmp.replace(/[\\/|_|]/g,""); urlTmp = urlTmp.replace(".html",""); + urlTmp = urlTmp.toLowerCase(); var menu = menus[urlTmp]; if (menu){ openapp(url,menu.id+menu.app,menu.name,true); diff --git a/public/themes/admin_simpleboot3/admin/recycle_bin/index.html b/public/themes/admin_simpleboot3/admin/recycle_bin/index.html index d476d942017d27355e2161657dda06b84ad02139..95c7aa15dd030d45b07f5056d0338dcba1960b4d 100644 --- a/public/themes/admin_simpleboot3/admin/recycle_bin/index.html +++ b/public/themes/admin_simpleboot3/admin/recycle_bin/index.html @@ -5,7 +5,7 @@ | -