Commit Graph
940 Commits
Author SHA1 Message Date
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 dbade21289 Perf(custom): optimize random string generation algorithm 2025-08-20 21:04:09 +08:00
Kuingsmile d4313f2514 Feature(custom): optimize batch copy logic
ISSUES CLOSED: #374
2025-08-20 16:30:02 +08:00
Kuingsmile c6537c13d9 🐛 Fix(custom): optimize minipage ui #374
ISSUES CLOSED: y
2025-08-20 16:09:21 +08:00
Kuingsmile 6b45632ede Feature(custom): add sort type indicate #374 2025-08-20 15:48:27 +08:00
Kuingsmile fbf0dcc691 Feature(custom): add gallery picbed filter
ISSUES CLOSED: #309
2025-08-20 15:34:54 +08:00
Kuingsmile 870c650de7 Feature(custom): add support for per-picbed image process setting 2025-08-20 15:16:24 +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 6065002144 🐛 Fix(custom): remove usage of router-link 2025-08-18 17:18:43 +08:00
Kuingsmile 89bf29bb0a 🐛 Fix(custom): remove some filename validate rule
ISSUES CLOSED: #366
2025-08-18 15:30:51 +08:00
Kuingsmile e5b35a0520 🐛 Fix(custom): fix loglevel setting 2025-08-18 15:28:31 +08:00
Kuingsmile 49e139f835 🐛 Fix(custom): fix copy button dropdown ui
ISSUES CLOSED: #363
2025-08-18 15:18:36 +08:00
Kuingsmile 228b96537b 🐛 Fix(custom): fix minipage css error
ISSUES CLOSED: #369
2025-08-18 14:02:52 +08:00
Kuingsmile 8df94c0c9f 🐛 Fix(custom): fix copy item order issue
ISSUES CLOSED: #386
2025-08-18 13:52:29 +08:00
Kuingsmile 70c46d661e 🔨 Refactor(custom): change eol to lf 2025-08-15 13:44:35 +08:00
Kuingsmile f11a4264d0 🎨 Style(custom): lint code 2025-08-15 13:29:09 +08:00
Kuingsmile 0ae27cfeef ⬆️ Upgrade(custom): upgrade electron 2025-08-15 11:20:15 +08:00
Kuingsmile ecc39083c3 Feature(custom): change login card background 2025-08-15 10:58:58 +08:00
Kuingsmile d2f4303aec Feature(custom): optimize bucket page background 2025-08-15 10:48:46 +08:00
Kuingsmile 8c80d51be0 Feature(custom): optimize upload modal ui 2025-08-15 10:37:36 +08:00
Kuingsmile 35ff3168d9 Feature(custom): change menu icon 2025-08-14 17:28:05 +08:00
Kuingsmile edf3eccc79 Feature(custom): change menu order of navigation bar 2025-08-14 17:24:46 +08:00
Kuingsmile 9e243b0400 🐛 Fix(custom): fix delete button css 2025-08-14 16:41:19 +08:00
Kuingsmile d4af5fc8f6 Feature(custom): support collapse navi bar 2025-08-14 16:19:24 +08:00
yang07861andgoogle-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> 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 7f37dd2e05 🐛 Fix(custom): fix config form validate issue 2025-08-13 16:44:27 +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 b31428a67c Feature(custom): optimize color under dark mode of gallery and setting page 2025-08-12 23:12:16 +08:00
Kuingsmile 5cfeaadcfe 🐛 Fix(custom): fix static assets bugs 2025-08-12 22:49:21 +08:00
Kuingsmile 170c4ef9c3 Feature(custom): add image watermark opacity setting
ISSUES CLOSED: #348
2025-08-12 15:03:17 +08:00
Kuingsmile 1a35831301 🐛 Fix(custom): fix memory leak issues 2025-08-11 17:38:39 +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 b40eeee165 Feature(custom): remove use of element-plus 2025-08-10 16:19:33 +08:00
Kuingsmile 66469ae2cf 🐛 Fix(custom): fix window.prompt usage 2025-08-10 16:07:25 +08:00
Kuingsmile bfb7222b37 Feature(custom): add i18n fields 2025-08-10 15:44:56 +08:00
Kuingsmile a0cfd2a408 🚧 WIP(custom): rewrite manage page 2025-08-09 23:26:00 +08:00
Kuingsmile 3cb17aaf1d Feature(custom): rewrite login page 2025-08-09 10:49:46 +08:00
Kuingsmile 1442724fbe Feature(custom): rewrite tray page for macos 2025-08-08 16:47:05 +08:00
Kuingsmile fd9dac735a Feature(custom): rewrite gallery page for better performance 2025-08-08 16:00:21 +08:00
Kuingsmile 6aebfcbb28 Feature(custom): rewrite toolbox page 2025-08-07 15:28:06 +08:00