Commit Graph

495 Commits

Author SHA1 Message Date
Kuingsmile
f32c3684bb 🐛 Fix(custom): fix an issue task interval can't set to lower than 100s and secondary upoload not take effect 2026-01-12 22:55:57 +08:00
Kuingsmile
e69ebd95ac Feature(custom): optimize the logic of second picbed upload, and fix a bug of local picbed 2026-01-12 21:13:21 +08:00
Kuingsmile
2443f56562 Feature(custom): release not now use markdown render, also optimize UI dispaly of update page 2026-01-12 11:51:27 +08:00
Kuingsmile
13986215d4 Feature(custom): add upload task system 2026-01-10 20:42:48 +08:00
Kuingsmile
3865401a72 Feature(custom): add per picbed setting button in edit page 2026-01-10 18:39:54 +08:00
Kuingsmile
8f7da6e45f 🐛 Fix(custom): fix formatobjmap save issue and optimize ux 2026-01-10 13:35:20 +08:00
Kuingsmile
a569068678 Feature(custom): imporve page loading performance and remove duplicated init call 2026-01-10 10:10:00 +08:00
Kuingsmile
a45fd38004 🚧 WIP(custom): support picbed specific image preprocess and rename config 2026-01-09 18:10:48 +08:00
Kuingsmile
a29c1fa93c Feature(custom): add custom update page 2026-01-09 15:51:49 +08:00
Kuingsmile
5460bd785a 🐛 Fix(custom): fix the double v in version page 2026-01-05 13:36:18 +08:00
Kuingsmile
34fde7a4e6 Perf(custom): remove backdrop-filter for better performance 2026-01-01 16:26:16 +08:00
Kuingsmile
5ea2517460 🔨 Refactor(custom): change type defination in universal to global 2026-01-01 09:16:21 +08:00
Kuingsmile
07c4bd75a9 🐛 Fix(custom): fix gitee sync bug 2025-12-31 11:19:28 +08:00
Kuingsmile
0ae680d136 🚧 WIP(custom): optimize gallery db sync logic and force refresh gallery 2025-12-31 10:29:03 +08:00
Kuingsmile
6a8d3f6bbf 🚧 WIP(custom): support sync gallery db file
ISSUES CLOSED: #355,#417
2025-12-30 23:03:52 +08:00
Kuingsmile
c7fd139ec9 Feature(custom): support duplicate config and the UI of confirm/input box is optimized 2025-12-30 17:06:29 +08:00
Kuingsmile
a4c9237097 Feature(custom): upgrade to electron v39 and electron-vite 5.0, suppress derecation notification 2025-12-30 15:23:19 +08:00
Kuingsmile
b53eccce13 🐛 Fix(custom): fix an issue eslint not worked as expected 2025-12-30 13:20:28 +08:00
Kuingsmile
631042e0e3 🐛 Fix(custom): encode preSignedUrl to ensure valid URL format
ISSUES CLOSED: #410
2025-11-18 15:11:15 +08:00
Kuingsmile
9ff9aeff1e Feature(custom): optimize result notification for multi-upload
ISSUES CLOSED: #404
2025-11-13 21:57:37 +08:00
Kuingsmile
1f745c3d01 Feature(custom): rewrite the webserver ui 2025-09-26 17:55:26 +08:00
Kuingsmile
94056a1062 🐛 Fix(custom): fix auto start on linux
ISSUES CLOSED: #394
2025-09-25 11:49:01 +08:00
Kuingsmile
555224238f ⬆️ Upgrade(custom): upgrade deps 2025-09-05 14:59:58 +08:00
Kuingsmile
c5a6b6575a 🔨 Refactor(custom): remove unused debug log 2025-09-05 11:42:17 +08:00
Kuingsmile
0fac1119a0 🐛 Fix(custom): fix webdav sync issues
ISSUES CLOSED: #383
2025-09-05 11:40:43 +08:00
Kuingsmile
7df95c8328 🔨 Refactor(custom): refactor manage api to be more concise 2025-08-29 10:17:26 +08:00
Kuingsmile
3e98fd4325 Feature(custom): add log for cloud delete 2025-08-22 15:02:34 +08:00
Kuingsmile
934a716106 🐛 Fix(custom): fix picbed config reset issue
ISSUES CLOSED: #375
2025-08-21 09:36:04 +08:00
Kuingsmile
c6537c13d9 🐛 Fix(custom): optimize minipage ui #374
ISSUES CLOSED: y
2025-08-20 16:09:21 +08:00
Kuingsmile
fbf0dcc691 Feature(custom): add gallery picbed filter
ISSUES CLOSED: #309
2025-08-20 15:34:54 +08:00
Kuingsmile
023250f39b 🐛 Fix(custom): fix drag upload issue and mime error
ISSUES CLOSED: #373
2025-08-20 10:28:57 +08:00
Kuingsmile
8df94c0c9f 🐛 Fix(custom): fix copy item order issue
ISSUES CLOSED: #386
2025-08-18 13:52:29 +08:00
Kuingsmile
f11a4264d0 🎨 Style(custom): lint code 2025-08-15 13:29:09 +08:00
yang07861
ae366bab21 fix(s3): Correctly handle file deletion with custom URL (#358)
* fix(s3): Correctly handle file deletion with custom URL

When a custom URL is configured for an S3-compatible provider, the
application was failing to delete files from the remote bucket. This was
because the deletion logic incorrectly used the full pathname of the
custom URL as the S3 object key, instead of the object's actual key
within the bucket.

This commit modifies the `removeFileFromS3InMain` function to be aware
of the `customUrl` setting. If a custom URL is in use, the logic now
correctly strips the custom URL's prefix from the image URL to
derive the proper S3 object key before sending the `DeleteObject`
command.

* feat(debug): Add detailed logging to S3 deletion

This commit adds extensive console logging to the `removeFileFromS3InMain`
function in `src/main/utils/deleteFunc.ts`.

The purpose of this change is to debug an issue where file deletion
fails with a custom URL. These logs will capture the state of key
variables (configMap, imgUrl, customUrl, fileKey) and any errors
returned by the S3 client during the deletion process. This is a
temporary debugging measure.

* fix(s3): Correctly handle file deletion using urlPrefix

This commit fixes a bug where file deletion from an S3-compatible
provider would fail if a custom URL was configured. The root cause was
that the logic was looking for a `customUrl` property in the config,
when the correct property name is `urlPrefix`.

The `removeFileFromS3InMain` function has been updated to use the
correct `urlPrefix` property. This ensures that when a custom URL
is present, the S3 object key is derived correctly by stripping the
prefix, allowing the deletion to succeed.

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-08-14 15:41:02 +08:00
Kuingsmile
9d4e280b3d 🐛 Fix(custom): fix titlebar in macos 2025-08-14 14:25:20 +08:00
Kuingsmile
3ebbeb4dc7 📦 Chore(custom): modify asarunpack setting 2025-08-14 13:35:36 +08:00
Kuingsmile
74a3333a43 🐛 Fix(custom): fix resources path 2025-08-14 11:09:21 +08:00
Kuingsmile
8102246e16 🐛 Fix(custom): fix shell-path usage for macos 2025-08-14 10:10:48 +08:00
Kuingsmile
10eec5620c 📝 Docs(custom): update readme, prepare for 3.0.0 2025-08-13 16:16:31 +08:00
Kuingsmile
c04fedc40d 🐛 Fix(custom): remove unused files 2025-08-13 15:58:59 +08:00
Kuingsmile
0feca7bef2 🐛 Fix(custom): fix delete api 2025-08-13 15:51:51 +08:00
Kuingsmile
f0b0e55937 Perf(custom): add memory monitor and optimiz memory usage 2025-08-13 15:11:55 +08:00
Kuingsmile
5cfeaadcfe 🐛 Fix(custom): fix static assets bugs 2025-08-12 22:49:21 +08:00
Kuingsmile
0bf435a0da 🐛 Fix(custom): fix drag upload of upload page 2025-08-11 14:59:25 +08:00
Kuingsmile
112c08d92c Feature(custom): add vitest and optimize performance of aeshelper 2025-08-11 12:24:25 +08:00
Kuingsmile
3cb17aaf1d Feature(custom): rewrite login page 2025-08-09 10:49:46 +08:00
Kuingsmile
fd9dac735a Feature(custom): rewrite gallery page for better performance 2025-08-08 16:00:21 +08:00
Kuingsmile
a9c7cecd00 Feature(custom): rewrite upload config and plugin page 2025-08-07 14:52:46 +08:00
Kuingsmile
4b8bfded1d Feature(custom): rewrite setting page, WIP 2025-08-06 11:19:19 +08:00
Kuingsmile
32c3eaba12 Feature(custom): optimize mini page 2025-08-05 16:46:30 +08:00