docs: add release note v1.9.1

pull/146/merge
moonrailgun 2 years ago
parent fc274bdf16
commit 720da7ca53

@ -0,0 +1,34 @@
---
title: Release Note v1.9.1
authors: moonrailgun
image: /img/logo.svg
slug: release-1.9.1
keywords:
- tailchat
tags: [Release Note]
---
### Feature updates
#### Add panel view permissions
In order to better control the poanel display, panel view permissions have been added in this update. You can control the user display method in the group level or panel level permission control.
![](/img/blog/release-note/v1.9.1/1.png)
You can control the display and hiding properties of the panel through a combination of permissions.
It should be noted that the group-level permissions and panel-level permissions are merged rather than overwritten. This means that if the group permissions are turned on, the user will have relevant permissions regardless of whether the panel permissions are turned on or not.
:::info
After this update, the default group permissions will be lost. This is because new permissions have been added and the previous groups were not granted this permission. For specific repair methods, you can read this blog to learn more: [Group view panel permission problem](/blog/view-panel-permission)
:::
### Other updates
- Added clipboard processing tools
- Added url processing tool by default
- admin: Added all file size statistics
- Fixed linkmeta plugin support for bilibili video links
- Fixed the problem that the linkmeta plugin does not match the bbcode address

@ -1,8 +1,8 @@
--- ---
title: 版本发布日志 v1.9.10 title: 版本发布日志 v1.9.0
authors: moonrailgun authors: moonrailgun
image: /img/logo.svg image: /img/logo.svg
slug: release-1.9.10 slug: release-1.9.0
keywords: keywords:
- tailchat - tailchat
tags: [Release Note] tags: [Release Note]

@ -0,0 +1,27 @@
---
title: 群组查看面板权限问题
authors: moonrailgun
image: /img/logo.svg
slug: view-panel-permission
keywords:
- tailchat
tags: []
---
由于新版本的群组权限,所有之前创建群组的群组用户都无法查看面板,因为失去了查看面板权限。
要批量更新所有群组权限,您可能需要下面的脚本。
进入 `mongodb bash`您可以在bash中使用脚本如下操作`docker exec -it <your-mongodb-container-name> mongo`
### 切换到 tailchat 数据库
```
use tailchat
```
### 更新所有组并向所有组附加 `core.viewPanel` 权限
```
db.groups.updateMany({}, { $addToSet: {fallbackPermissions: "core.viewPanel" } })
```

@ -0,0 +1,34 @@
---
title: 版本发布日志 v1.9.1
authors: moonrailgun
image: /img/logo.svg
slug: release-1.9.1
keywords:
- tailchat
tags: [Release Note]
---
### 特性更新
#### 增加面板展示权限
为了更好的控制展示内容,在本次更新中新增了面板展示权限,你可以在群组级别或者面板级别的权限控制中控制用户展示方式
![](/img/blog/release-note/v1.9.1/1.png)
你可以通过权限的组合来控制面板的显示与隐藏属性。
需要注意的是,群组级别的权限与面板级别的权限合并方式是合并而不是覆盖,这意味着如果开启了群组的权限,那么不论面板权限是否开启权限该用户都是有相关权限的
:::info
在本次更新后默认的群组权限将会丢失,这是因为增加了新的权限而过去的群组是没有授予该权限的,具体的修复方式可以阅读这篇博客了解更多: [群组面板可见性权限问题](/blog/view-panel-permission)
:::
### 其他更新
- 增加剪切板处理工具
- 默认增加url处理工具
- admin: 增加全部文件大小统计功能
- 修复linkmeta插件对bilibili视频链接的支持
- 修复linkmeta插件不匹配bbcode地址的问题

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Loading…
Cancel
Save