From 7420b3804a6ae737c87cf2e71fc5b0873cefac56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E8=90=8C=E5=93=92=E8=B5=AB=E8=90=9D?= Date: Fri, 21 Jul 2023 02:52:01 -0700 Subject: [PATCH 01/10] :hammer: Refactor: remove privacy policy due to the removal of talkingdata sdk --- public/i18n/en.yml | 36 ----------------------------- public/i18n/zh-CN.yml | 36 ----------------------------- public/i18n/zh-TW.yml | 36 ----------------------------- src/main/apis/app/uploader/index.ts | 5 ---- src/main/events/remotes/menu.ts | 7 ------ src/main/utils/privacyManager.ts | 34 --------------------------- src/universal/events/constants.ts | 1 - src/universal/types/i18n.d.ts | 3 --- 8 files changed, 158 deletions(-) delete mode 100644 src/main/utils/privacyManager.ts diff --git a/public/i18n/en.yml b/public/i18n/en.yml index 5d47401..5af19a4 100644 --- a/public/i18n/en.yml +++ b/public/i18n/en.yml @@ -4,7 +4,6 @@ OPEN_MAIN_WINDOW: Open Main Window OPEN_MINI_WINDOW: Open Mini Window CHOOSE_DEFAULT_PICBED: Choose Default Picbed OPEN_UPDATE_HELPER: Open Update Helper -PRIVACY_AGREEMENT: Privacy Agreement RELOAD_APP: Reload App UPLOAD_FAILED: Upload Failed UPLOAD_SUCCEED: Upload Succeed @@ -883,39 +882,4 @@ TIPS_CUSTOM_LINK_STYLE_MODIFIED_SUCCEED: Custom link style modified successfully TIPS_FIND_NEW_VERSION: Find new version ${v}, update many new features, do you want to download the latest version in the background? UPDATE_DOWNLOADED: Update downloaded TIPS_UPDATE_DOWNLOADED: The update has been downloaded and will be installed on the next app restart. Would you like to restart now? -# privacy -PRIVACY: > - - This software respects and protects the personal privacy of all users who use the service. In order to provide you with more accurate and better services, this software will use and collect some of your behavioral information in accordance with the provisions of this Privacy Policy. When you agree to the software service use agreement, you are deemed to have agreed to the entire content of this privacy policy. This privacy policy is an integral part of the software service use agreement, and it will not be used if you do not agree. - This Agreement will be updated periodically. - - 1. Scope of application - - - a) When you use this software, this software will record some information about your operation behavior of this software, including but not limited to the time-consuming, type, quantity and other information of your use of this software to upload files. - - - 2. Use of Information - - - a) After obtaining your usage data, the software will upload it to the data analysis server so as to provide you with better services after analyzing the data. - - - 3. Information disclosure - - - a) This software will not disclose your information to untrusted third parties. - - - b) In accordance with the relevant provisions of the law, or the requirements of administrative or judicial institutions, disclose to third parties or administrative or judicial institutions; - - - c) If you violate relevant Chinese laws, regulations or relevant rules, you need to disclose it to a third party; - - - 4. Information Security - - - a) This software does not collect your personal information, key information and other private information, and the collected information is only used for improving the software, optimizing the experience, and understanding the daily activities of the software. -PRIVACY_TIPS: Please agree the privacy policy to upload QUIT: Quit diff --git a/public/i18n/zh-CN.yml b/public/i18n/zh-CN.yml index 995b71e..09dbf61 100644 --- a/public/i18n/zh-CN.yml +++ b/public/i18n/zh-CN.yml @@ -4,7 +4,6 @@ OPEN_MAIN_WINDOW: 打开主窗口 OPEN_MINI_WINDOW: 打开mini窗口 CHOOSE_DEFAULT_PICBED: 选择默认图床 OPEN_UPDATE_HELPER: 打开更新助手 -PRIVACY_AGREEMENT: 隐私协议 RELOAD_APP: 重启应用 UPLOAD_SUCCEED: 上传成功 UPLOAD_FAILED: 上传失败 @@ -888,39 +887,4 @@ TIPS_FIND_NEW_VERSION: 发现新版本${v},更新了很多功能,是否后 UPDATE_DOWNLOADED: 更新已下载 TIPS_UPDATE_DOWNLOADED: 更新已下载,将在下次启动时安装,是否现在重启? -# privacy -PRIVACY: > - - 本软件尊重并保护所有使用服务用户的个人隐私权。为了给您提供更准确、更优质的服务,本软件会按照本隐私权政策的规定使用和收集您的一些行为信息。您在同意本软件服务使用协议之时,即视为您已经同意本隐私权政策全部内容。本隐私权政策属于本软件服务使用协议不可分割的一部分,如果不同意将无法使用。本协议会定期更新。 - - - 1.适用范围 - - - a)在您使用本软件时,本软件会记录的您对本软件的一些操作行为信息,包括但不限于您使用本软件进行文件上传的耗时、类型、数量等信息。 - - - 2.信息的使用 - - - a)在获得您的使用数据之后,本软件会将其上传至数据分析服务器,以便分析数据后,提供给您更好的服务。 - - - 3.信息披露 - - - a)本软件不会将您的信息披露给不受信任的第三方。 - - - b)根据法律的有关规定,或者行政或司法机构的要求,向第三方或者行政、司法机构披露; - - - c)如您出现违反中国有关法律、法规或者相关规则的情况,需要向第三方披露; - - - 4.信息安全 - - - a)本软件不会收集您的个人信息、密钥信息等隐私信息,所收集的信息仅仅作为改善软件、优化体验、了解软件日活等用途。 -PRIVACY_TIPS: 请同意隐私协议,否则无法上传。 QUIT: 退出 diff --git a/public/i18n/zh-TW.yml b/public/i18n/zh-TW.yml index d2bc904..44cf37f 100644 --- a/public/i18n/zh-TW.yml +++ b/public/i18n/zh-TW.yml @@ -4,7 +4,6 @@ OPEN_MAIN_WINDOW: 打開主視窗 OPEN_MINI_WINDOW: 打開mini視窗 CHOOSE_DEFAULT_PICBED: 選擇預設圖床 OPEN_UPDATE_HELPER: 開啟更新助手 -PRIVACY_AGREEMENT: 隱私協議 RELOAD_APP: 重啟程式 UPLOAD_SUCCEED: 上傳成功 UPLOAD_FAILED: 上傳失敗 @@ -882,39 +881,4 @@ TIPS_CUSTOM_LINK_STYLE_MODIFIED_SUCCEED: 自訂連結格式已經修改成功 TIPS_FIND_NEW_VERSION: 發現新版本${v},更新了很多功能,是否後台下載最新的版本? UPDATE_DOWNLOADED: 更新已下載 TIPS_UPDATE_DOWNLOADED: 更新已下載,将在下次啟動時安裝,是否立即重啟? -# privacy -PRIVACY: > - - 本軟體尊重並保護所有使用服務用戶的個人隱私權。為了給您提供更準確、更優質的服務,本軟體會按照本隱私權政策的規定使用和收集您的一些行為信息。您在同意本軟體服務使用協議之時,即視為您已經同意本隱私權政策全部內容。本隱私權政策屬於本軟體服務使用協議不可分割的一部分,如果不同意將無法使用。本協議會定期更新。 - - - 1.適用範圍 - - - a)在您使用本軟體時,本軟體會記錄的您對本軟體的一些操作行為信息,包括但不限於您使用本軟體進行文件上傳的耗時、類型、數量等信息。 - - - 2.信息的使用 - - - a)在獲得您的使用數據之後,本軟體會將其上傳至數據分析服務器,以便分析數據後,提供給您更好的服務。 - - - 3.信息披露 - - - a)本軟體不會將您的信息披露給不受信任的第三方。 - - - b)根據法律的有關規定,或者行政或司法機構的要求,向第三方或者行政、司法機構披露; - - - c)如您出現違反中國有關法律、法規或者相關規則的情況,需要向第三方披露; - - - 4.信息安全 - - - a)本軟體不會收集您的個人信息、密鑰信息等隱私信息,所收集的信息僅僅作為改善軟體、優化體驗、了解軟體日活等用途。 -PRIVACY_TIPS: 請同意隱私協議,否則無法上傳。 QUIT: 退出 diff --git a/src/main/apis/app/uploader/index.ts b/src/main/apis/app/uploader/index.ts index 4472e1f..3940d7f 100644 --- a/src/main/apis/app/uploader/index.ts +++ b/src/main/apis/app/uploader/index.ts @@ -18,7 +18,6 @@ import logger from '@core/picgo/logger' import { T } from '~/main/i18n' import fse from 'fs-extra' import path from 'path' -import { privacyManager } from '~/main/utils/privacyManager' import writeFile from 'write-file-atomic' import { CLIPBOARD_IMAGE_FOLDER } from '~/universal/utils/static' @@ -131,10 +130,6 @@ class Uploader { async upload (img?: IUploadOption): Promise { try { - const privacyCheckRes = await privacyManager.check() - if (!privacyCheckRes) { - throw Error(T('PRIVACY_TIPS')) - } const output = await picgo.upload(img) if (Array.isArray(output) && output.some((item: ImgInfo) => item.imgUrl)) { output.forEach((item: ImgInfo) => { diff --git a/src/main/events/remotes/menu.ts b/src/main/events/remotes/menu.ts index 52da2b4..7ce7623 100644 --- a/src/main/events/remotes/menu.ts +++ b/src/main/events/remotes/menu.ts @@ -6,7 +6,6 @@ import picgo from '@core/picgo' import { uploadClipboardFiles } from '~/main/apis/app/uploader/apis' -import { privacyManager } from '~/main/utils/privacyManager' import pkg from 'root/package.json' import GuiApi from 'apis/gui' import { PICGO_CONFIG_PLUGIN, PICGO_HANDLE_PLUGIN_DONE, PICGO_HANDLE_PLUGIN_ING, PICGO_TOGGLE_PLUGIN, SHOW_MAIN_PAGE_DONATION, SHOW_MAIN_PAGE_QRCODE } from '~/universal/events/constants' @@ -130,12 +129,6 @@ const buildMainPageMenu = (win: BrowserWindow) => { click () { win?.webContents?.openDevTools() } - }, - { - label: T('PRIVACY_AGREEMENT'), - click () { - privacyManager.show(false) - } } ] // @ts-ignore diff --git a/src/main/utils/privacyManager.ts b/src/main/utils/privacyManager.ts deleted file mode 100644 index e5cf201..0000000 --- a/src/main/utils/privacyManager.ts +++ /dev/null @@ -1,34 +0,0 @@ -import db from '~/main/apis/core/datastore' -import { showMessageBox } from '~/main/utils/common' -import { T } from '~/main/i18n' - -class PrivacyManager { - async check () { - if (db.get('settings.privacyEnsure') !== true) { - const res = await this.show(true) - // cancel - if (res.result === 1) { - return false - } else { - db.set('settings.privacyEnsure', true) - } - } - return true - } - - async show (showCancel = true) { - const res = await showMessageBox({ - type: 'info', - buttons: showCancel ? ['Yes', 'No'] : ['Yes'], - title: T('PRIVACY_AGREEMENT'), - message: T('PRIVACY') - }) - return res - } -} - -const privacyManager = new PrivacyManager() - -export { - privacyManager -} diff --git a/src/universal/events/constants.ts b/src/universal/events/constants.ts index e92b8cc..6867181 100644 --- a/src/universal/events/constants.ts +++ b/src/universal/events/constants.ts @@ -2,7 +2,6 @@ export const SHOW_INPUT_BOX = 'SHOW_INPUT_BOX' export const SHOW_INPUT_BOX_RESPONSE = 'SHOW_INPUT_BOX_RESPONSE' export const TOGGLE_SHORTKEY_MODIFIED_MODE = 'TOGGLE_SHORTKEY_MODIFIED_MODE' export const C1N = 'WjJoeFdWWklhVTlXYVRKTU5EUmFOVkEwUlVRPQ==' -export const SHOW_PRIVACY_MESSAGE = 'SHOW_PRIVACY_MESSAGE' export const PICGO_SAVE_CONFIG = 'PICGO_SAVE_CONFIG' export const PICGO_GET_CONFIG = 'PICGO_GET_CONFIG' export const PICGO_GET_DB = 'PICGO_GET_DB' diff --git a/src/universal/types/i18n.d.ts b/src/universal/types/i18n.d.ts index a33d9a2..f1f3240 100644 --- a/src/universal/types/i18n.d.ts +++ b/src/universal/types/i18n.d.ts @@ -5,7 +5,6 @@ interface ILocales { OPEN_MINI_WINDOW: string CHOOSE_DEFAULT_PICBED: string OPEN_UPDATE_HELPER: string - PRIVACY_AGREEMENT: string RELOAD_APP: string UPLOAD_SUCCEED: string UPLOAD_FAILED: string @@ -836,8 +835,6 @@ interface ILocales { TIPS_FIND_NEW_VERSION: string UPDATE_DOWNLOADED: string TIPS_UPDATE_DOWNLOADED: string - PRIVACY: string - PRIVACY_TIPS: string QUIT: string } type ILocalesKey = keyof ILocales From 40efb5d14b491a24f3513b0f6d5ac210e5fd9435 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E8=90=8C=E5=93=92=E8=B5=AB=E8=90=9D?= Date: Sat, 22 Jul 2023 22:15:11 -0700 Subject: [PATCH 02/10] :bug: Fix: exclude gif picture from image process pipline ISSUES CLOSED: #76 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index f952cf2..ab92169 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "mime-types": "^2.1.35", "mitt": "^3.0.0", "nodejs-file-downloader": "^4.12.1", - "piclist": "^0.7.6", + "piclist": "^0.7.7", "pinia": "^2.1.4", "pinia-plugin-persistedstate": "^3.1.0", "qiniu": "^7.8.0", diff --git a/yarn.lock b/yarn.lock index c80d6d9..c840a39 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11054,10 +11054,10 @@ performance-now@^2.1.0: resolved "https://registry.npmmirror.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" integrity sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow== -piclist@^0.7.6: - version "0.7.6" - resolved "https://registry.npmjs.org/piclist/-/piclist-0.7.6.tgz#93ac36f2f3fa067d014b4ff1e808bd6304fa29e3" - integrity sha512-aLoVhvl8A/Ez2I3T3rmqQ5MCBw6txTQ+5H0zGvgybEpHGpuTHct9MBplfJVj2eIyqwbbcWT24t5bkvaByma2gw== +piclist@^0.7.7: + version "0.7.7" + resolved "https://registry.npmjs.org/piclist/-/piclist-0.7.7.tgz#80d21701b2f47cfdcfb5f304465917fdcdfccc18" + integrity sha512-Ouh6bj0B07L6u0hOo407KDg2PlE1Jpd5bsgGJ/w4QLjnoCSGwZXAAQExn0XSNNA1diASlUSFOyBqhQDRhw93tQ== dependencies: "@picgo/i18n" "^1.0.0" "@picgo/store" "^2.0.4" From 530e30cdd34a0fefc26aaa4e09ebd0555d564f31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E8=90=8C=E5=93=92=E8=B5=AB=E8=90=9D?= Date: Sun, 30 Jul 2023 06:24:12 -0700 Subject: [PATCH 03/10] :sparkles: Feature: option sslenabled of webdav is not required now --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index ab92169..4dc23d5 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "mime-types": "^2.1.35", "mitt": "^3.0.0", "nodejs-file-downloader": "^4.12.1", - "piclist": "^0.7.7", + "piclist": "^0.7.8", "pinia": "^2.1.4", "pinia-plugin-persistedstate": "^3.1.0", "qiniu": "^7.8.0", diff --git a/yarn.lock b/yarn.lock index c840a39..9184120 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11054,10 +11054,10 @@ performance-now@^2.1.0: resolved "https://registry.npmmirror.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" integrity sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow== -piclist@^0.7.7: - version "0.7.7" - resolved "https://registry.npmjs.org/piclist/-/piclist-0.7.7.tgz#80d21701b2f47cfdcfb5f304465917fdcdfccc18" - integrity sha512-Ouh6bj0B07L6u0hOo407KDg2PlE1Jpd5bsgGJ/w4QLjnoCSGwZXAAQExn0XSNNA1diASlUSFOyBqhQDRhw93tQ== +piclist@^0.7.8: + version "0.7.8" + resolved "https://registry.npmjs.org/piclist/-/piclist-0.7.8.tgz#3af1f93c3e5d2f42cc6004972abcabfa344341ee" + integrity sha512-Mtoft5XtZrQaDW6384QHiGJliNAw6OqYXZeWf+qaRVHlUAZJ7nk6gYx3Rc7Jfyya52PW8NrCSmNYeoiCljGa3w== dependencies: "@picgo/i18n" "^1.0.0" "@picgo/store" "^2.0.4" From 3e76ba18655ddc3038de2cdc802fa104784e22b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E8=90=8C=E5=93=92=E8=B5=AB=E8=90=9D?= Date: Sun, 30 Jul 2023 06:58:34 -0700 Subject: [PATCH 04/10] :bug: Fix: fix an issue of webdav and file rename ISSUES CLOSED: #79 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 4dc23d5..1f6e270 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "mime-types": "^2.1.35", "mitt": "^3.0.0", "nodejs-file-downloader": "^4.12.1", - "piclist": "^0.7.8", + "piclist": "^0.7.9", "pinia": "^2.1.4", "pinia-plugin-persistedstate": "^3.1.0", "qiniu": "^7.8.0", diff --git a/yarn.lock b/yarn.lock index 9184120..bc6f79b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11054,10 +11054,10 @@ performance-now@^2.1.0: resolved "https://registry.npmmirror.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" integrity sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow== -piclist@^0.7.8: - version "0.7.8" - resolved "https://registry.npmjs.org/piclist/-/piclist-0.7.8.tgz#3af1f93c3e5d2f42cc6004972abcabfa344341ee" - integrity sha512-Mtoft5XtZrQaDW6384QHiGJliNAw6OqYXZeWf+qaRVHlUAZJ7nk6gYx3Rc7Jfyya52PW8NrCSmNYeoiCljGa3w== +piclist@^0.7.9: + version "0.7.9" + resolved "https://registry.npmjs.org/piclist/-/piclist-0.7.9.tgz#7ebc826604831900199a102fa359324753a6b008" + integrity sha512-833kWeQDVfK+8g9AlyA5bTHrUeZb8CyWc329M+f3Hd9m1S7UNlTmrznB8F9Sk8XqH5wJ9Ho+iFg7+t67uRmlxg== dependencies: "@picgo/i18n" "^1.0.0" "@picgo/store" "^2.0.4" From bce63030eeb53a576b374028fd14641307f43f95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E8=90=8C=E5=93=92=E8=B5=AB=E8=90=9D?= Date: Sun, 30 Jul 2023 07:23:01 -0700 Subject: [PATCH 05/10] :bug: Fix: modify gallery page UI #77 --- src/renderer/pages/Gallery.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/pages/Gallery.vue b/src/renderer/pages/Gallery.vue index 9bab2e3..65f35cc 100644 --- a/src/renderer/pages/Gallery.vue +++ b/src/renderer/pages/Gallery.vue @@ -1026,7 +1026,7 @@ export default { position absolute left 142px right 0 - height 95% + height 85% .cursor-pointer cursor pointer .item-base From baf358dfd25a0d5c4b2c6d62536bbf21f76560b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E8=90=8C=E5=93=92=E8=B5=AB=E8=90=9D?= Date: Sun, 30 Jul 2023 22:52:51 -0700 Subject: [PATCH 06/10] :bug: Fix: fix an issue of url upload and wechat urls ISSUES CLOSED: #80 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 1f6e270..ab70f67 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "mime-types": "^2.1.35", "mitt": "^3.0.0", "nodejs-file-downloader": "^4.12.1", - "piclist": "^0.7.9", + "piclist": "^0.8.1", "pinia": "^2.1.4", "pinia-plugin-persistedstate": "^3.1.0", "qiniu": "^7.8.0", diff --git a/yarn.lock b/yarn.lock index bc6f79b..bb094cb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11054,10 +11054,10 @@ performance-now@^2.1.0: resolved "https://registry.npmmirror.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" integrity sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow== -piclist@^0.7.9: - version "0.7.9" - resolved "https://registry.npmjs.org/piclist/-/piclist-0.7.9.tgz#7ebc826604831900199a102fa359324753a6b008" - integrity sha512-833kWeQDVfK+8g9AlyA5bTHrUeZb8CyWc329M+f3Hd9m1S7UNlTmrznB8F9Sk8XqH5wJ9Ho+iFg7+t67uRmlxg== +piclist@^0.8.1: + version "0.8.1" + resolved "https://registry.npmjs.org/piclist/-/piclist-0.8.1.tgz#b85d44a9d52ee392dd2921dab911219a9befae89" + integrity sha512-5Emk970GKL+9sR1O8W2WjPW8Ge8IN+pylo2QFlPhg1S93gX9mQ9goDQxD3UCgmMh8+fmMPRErMPGKxE4vtrCnw== dependencies: "@picgo/i18n" "^1.0.0" "@picgo/store" "^2.0.4" From 973577bd7ebd1ace5579f45cae878daaa88a8d72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E8=90=8C=E5=93=92=E8=B5=AB=E8=90=9D?= Date: Sun, 30 Jul 2023 22:56:12 -0700 Subject: [PATCH 07/10] :arrow_up: Upgrade: upgrade piclist core --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index ab70f67..6f8588b 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "mime-types": "^2.1.35", "mitt": "^3.0.0", "nodejs-file-downloader": "^4.12.1", - "piclist": "^0.8.1", + "piclist": "^0.8.2", "pinia": "^2.1.4", "pinia-plugin-persistedstate": "^3.1.0", "qiniu": "^7.8.0", diff --git a/yarn.lock b/yarn.lock index bb094cb..a6827ba 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11054,10 +11054,10 @@ performance-now@^2.1.0: resolved "https://registry.npmmirror.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" integrity sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow== -piclist@^0.8.1: - version "0.8.1" - resolved "https://registry.npmjs.org/piclist/-/piclist-0.8.1.tgz#b85d44a9d52ee392dd2921dab911219a9befae89" - integrity sha512-5Emk970GKL+9sR1O8W2WjPW8Ge8IN+pylo2QFlPhg1S93gX9mQ9goDQxD3UCgmMh8+fmMPRErMPGKxE4vtrCnw== +piclist@^0.8.2: + version "0.8.2" + resolved "https://registry.npmjs.org/piclist/-/piclist-0.8.2.tgz#a5ada1ca27a53d57ad1da98dfbcdd62ba370d724" + integrity sha512-8C05fqb12QR6/rfDGnFZJwJ9UBxYxtni1jyesrpmXEpsHs3A7bAmouP+ZkZYrGkriJD3g8L+SlIqnLMPObWaOQ== dependencies: "@picgo/i18n" "^1.0.0" "@picgo/store" "^2.0.4" From 3bf46831763fafd42c6a66f8591b3d798b7593d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E8=90=8C=E5=93=92=E8=B5=AB=E8=90=9D?= Date: Mon, 31 Jul 2023 20:23:28 -0700 Subject: [PATCH 08/10] :sparkles: Feature: optimize gallery page UI --- package.json | 4 ++-- src/renderer/pages/Gallery.vue | 5 ++++- yarn.lock | 34 +++++++++++++++++----------------- 3 files changed, 23 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index 6f8588b..0049060 100644 --- a/package.json +++ b/package.json @@ -76,10 +76,10 @@ "uuid": "^9.0.0", "video.js": "^8.3.0", "vue": "^3.3.4", - "vue-router": "^4.2.2", + "vue-router": "^4.2.4", "vue3-lazyload": "^0.3.6", "vue3-photo-preview": "^0.3.0", - "webdav": "^5.1.0", + "webdav": "^5.2.3", "write-file-atomic": "^4.0.1" }, "devDependencies": { diff --git a/src/renderer/pages/Gallery.vue b/src/renderer/pages/Gallery.vue index 65f35cc..d82f2f7 100644 --- a/src/renderer/pages/Gallery.vue +++ b/src/renderer/pages/Gallery.vue @@ -1,5 +1,8 @@