Skip to content

Commit

Permalink
feat: only delete halo attachment records without deleting files in o…
Browse files Browse the repository at this point in the history
…bject storage (#97)

/kind feature
```release-note
提供解除 S3 关联功能(仅删除 Halo 附件记录,而不再对象存储中实际删除)
```
在附件库中选择使用本插件上传或关联的文件的更多插件,会出现 解除 S3 关联 按钮。
![image](https://github.com/halo-dev/plugin-s3/assets/28662535/6bfd109e-3be5-4fdc-afb0-bbf841dfc8e8)
对于其他附件,不会出现该按钮
![image](https://github.com/halo-dev/plugin-s3/assets/28662535/bc90166d-68c5-4599-b00a-5d2ddd868314)
本功能已支持权限管理。
  • Loading branch information
longjuan committed Nov 27, 2023
1 parent 6f59d0e commit 77c8b21
Show file tree
Hide file tree
Showing 15 changed files with 419 additions and 78 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ configurations.runtimeClasspath {


halo {
version = '2.10.0'
version = '2.10.1'
}

haloPlugin {
Expand Down
8 changes: 5 additions & 3 deletions console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
},
"dependencies": {
"@halo-dev/components": "^1.5.0",
"@halo-dev/console-shared": "^2.8.0",
"@halo-dev/api-client": "^2.10.0",
"@halo-dev/components": "^1.9.0",
"@halo-dev/console-shared": "^2.10.0",
"@tanstack/vue-query": "4.29.1",
"axios": "^1.4.0",
"canvas-confetti": "^1.6.0",
"path-browserify": "^1.0.1",
"vue": "^3.2.41"
"vue": "^3.3.4"
},
"devDependencies": {
"@iconify/json": "^2.2.18",
Expand Down

0 comments on commit 77c8b21

Please sign in to comment.