-
-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
180 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
### ✨ Features | ||
|
||
- 新增内置AList上传支持 | ||
- 优化了设置了图片处理操作时的上传进度通知 | ||
- 优化了部分图床的i18n设置 | ||
- 修改内置兰空图床显示名,由`lsky`修改为`兰空图床` | ||
- core版本现在使用piclist桌面版配置文件时支持设置`configName`参数 | ||
|
||
### 🐛 Bug Fixes | ||
|
||
- 修复了s3图床文件名含有特殊字符时无法删除的问题 | ||
- 修复了特定情况下开启手动重命名后会导致软件闪退的问题 | ||
- 修复了图床设置页面按钮的样式问题 | ||
- 优化了多个图床存在的重复记录错误日志的问题 | ||
- 新增高级自定义图床 | ||
- 相册页面现在加载图片时会显示loading图 | ||
- 优化了相册页面的加载速度 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
### ✨ Features | ||
|
||
- Add built-in AList upload support | ||
- Optimize the upload progress notification when image processing operations are set | ||
- Optimize the i18n settings of some image beds | ||
- Modify the display name of the built-in Lan Kong image bed from `lsky` to `Lan Kong image bed` | ||
- The core version now supports setting the `configName` parameter when using the piclist desktop version configuration file | ||
|
||
### 🐛 Bug Fixes | ||
|
||
- Fix the problem that the s3 image bed cannot be deleted when the file name contains special characters | ||
- Fix the problem that the software crashes under specific conditions after enabling manual renaming | ||
- Fix the style problem of the button on the image bed setting page | ||
- Optimize the problem of repeated recording error logs for multiple image beds | ||
- Add advanced custom image bed | ||
- The album page now displays a loading image when loading pictures | ||
- Optimized the loading speed of the album page |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "piclist", | ||
"version": "2.9.1", | ||
"version": "2.9.2", | ||
"author": { | ||
"name": "Kuingsmile", | ||
"email": "[email protected]" | ||
|
@@ -52,7 +52,7 @@ | |
"cos-nodejs-sdk-v5": "^2.12.5", | ||
"dexie": "^3.2.4", | ||
"electron-updater": "^6.1.4", | ||
"element-plus": "2.7.6", | ||
"element-plus": "2.7.7", | ||
"epipebomb": "^1.0.0", | ||
"fast-xml-parser": "^4.3.2", | ||
"form-data": "^4.0.0", | ||
|
@@ -67,7 +67,7 @@ | |
"multer": "^1.4.5-lts.1", | ||
"node-ssh-no-cpu-features": "^2.0.0", | ||
"nodejs-file-downloader": "^4.12.1", | ||
"piclist": "^1.9.0", | ||
"piclist": "^1.9.1", | ||
"pinia": "^2.1.7", | ||
"pinia-plugin-persistedstate": "^3.2.1", | ||
"proxy-agent": "^5.0.0", | ||
|
@@ -79,7 +79,7 @@ | |
"upyun": "^3.4.6", | ||
"uuid": "^9.0.1", | ||
"video.js": "^8.6.1", | ||
"vue": "^3.4.30", | ||
"vue": "^3.4.31", | ||
"vue-router": "^4.4.0", | ||
"vue3-lazyload": "^0.3.8", | ||
"vue3-photo-preview": "^0.3.0", | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { onBeforeUnmount, onMounted } from 'vue' | ||
|
||
function disableDrag(e: DragEvent) { | ||
const dropzone = document.getElementById('upload-area') | ||
if (dropzone === null || !dropzone.contains(<Node>e.target)) { | ||
e.preventDefault() | ||
e.dataTransfer!.effectAllowed = 'none' | ||
e.dataTransfer!.dropEffect = 'none' | ||
} | ||
} | ||
|
||
export function useDragEventListeners() { | ||
onMounted(() => { | ||
window.addEventListener('dragenter', disableDrag, false) | ||
window.addEventListener('dragover', disableDrag) | ||
window.addEventListener('drop', disableDrag) | ||
}) | ||
onBeforeUnmount(() => { | ||
window.removeEventListener('dragenter', disableDrag, false) | ||
window.removeEventListener('dragover', disableDrag) | ||
window.removeEventListener('drop', disableDrag) | ||
}) | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
declare module '*.vue' { | ||
import { DefineComponent } from 'vue' | ||
const component: DefineComponent<{}, {}, any> | ||
export default component | ||
} | ||
// // third-party | ||
// declare module 'fix-path' { | ||
// function fixPath(): void | ||
// export default fixPath | ||
// } | ||
declare module '*.vue' { | ||
import { DefineComponent } from 'vue' | ||
const component: DefineComponent<{}, {}, any> | ||
export default component | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
import Vue, { VNode } from 'vue' | ||
|
||
declare global { | ||
namespace JSX { | ||
// tslint:disable no-empty-interface | ||
interface Element extends VNode {} | ||
// tslint:disable no-empty-interface | ||
interface ElementClass extends Vue {} | ||
interface IntrinsicElements { | ||
[elem: string]: any | ||
} | ||
} | ||
|
||
interface Window { | ||
TDAPP: { | ||
onEvent: (EventId: string, Label?: string, MapKv?: IStringKeyMap) => void | ||
} | ||
} | ||
} | ||
import Vue, { VNode } from 'vue' | ||
|
||
declare global { | ||
namespace JSX { | ||
// tslint:disable no-empty-interface | ||
interface Element extends VNode {} | ||
// tslint:disable no-empty-interface | ||
interface ElementClass extends Vue {} | ||
interface IntrinsicElements { | ||
[elem: string]: any | ||
} | ||
} | ||
|
||
interface Window { | ||
TDAPP: { | ||
onEvent: (EventId: string, Label?: string, MapKv?: IStringKeyMap) => void | ||
} | ||
} | ||
} |
Oops, something went wrong.