Commit Graph

1256 Commits

Author SHA1 Message Date
Kuingsmile
e76b84b7a2 Feature(custom): support upload multiple urls 2025-08-29 13:36:00 +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
b74ab0e6b8 📦 Chore(custom): reduce package size , exclude typescript 2025-08-22 10:50:51 +08:00
Kuingsmile
34be42d136 ⬆️ Upgrade(custom): upgrade electron 2025-08-22 10:21:40 +08:00
Kuingsmile
f7e46b0d86 📦 Chore(custom): reduce package size 2025-08-22 10:13:17 +08:00
Kuingsmile
a6d548794f 📦 Chore(custom): update winget manifest file 2025-08-21 13:31:14 +08:00
Kuingsmile
1fe495425a 🎉 Release: v3.0.2 v3.0.2 2025-08-21 10:10:41 +08:00
Kuingsmile
7241d63124 📝 Docs(custom): update changelog 2025-08-21 10:01:27 +08:00
Kuingsmile
7b47e2ae87 ⬆️ Upgrade(custom): update piclist-core 2025-08-21 09:49:04 +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
b1fb31d655 📝 Docs(custom): update readme 2025-08-19 11:17:22 +08:00
Kuingsmile
6bdefe80e7 🎉 Release: v3.0.1 v3.0.1 2025-08-19 09:38:27 +08:00
Kuingsmile
f7754921f1 📝 Docs(custom): update changelog 2025-08-19 09:35:05 +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
284f381151 📦 Chore(custom): update winget file 2025-08-15 16:46:04 +08:00
Kuingsmile
5694e54193 🎉 Release: v3.0.0 v3.0.0 2025-08-15 15:15:44 +08:00
Kuingsmile
4ff03ff40e 📦 Chore(custom): skip code sign on arm windows 2025-08-15 14:48:30 +08:00
Kuingsmile
70c46d661e 🔨 Refactor(custom): change eol to lf 2025-08-15 13:44:35 +08:00
Kuingsmile
992b893009 📦 Chore(custom): add gitattributes file 2025-08-15 13:38:09 +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
d3a7f1b0a6 📦 Chore(custom): remove universal build on macos 2025-08-14 17:34:59 +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
5738a9f834 📝 Docs(custom): update comtributing guide 2025-08-14 16:35:29 +08:00
Kuingsmile
bb881fa966 📝 Docs(custom): update 3.0.0 changelog 2025-08-14 16:31:30 +08:00
Kuingsmile
d4af5fc8f6 Feature(custom): support collapse navi bar 2025-08-14 16:19:24 +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
15d205b30a 📦 Chore(custom): update release action 2025-08-14 15:24:14 +08:00
Kuingsmile
1a9ab5b614 📦 Chore(custom): update test build file 2025-08-14 14:42:42 +08:00
Kuingsmile
72327c0ef9 📦 Chore(custom): update macos arm64 build 2025-08-14 14:36:24 +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