1539 Commits

Author SHA1 Message Date
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
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
68cf0bc91c 🎨 Style(custom): only upload installer in action 2025-08-13 17:54:00 +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
11341c024a 📦 Chore(custom): add arm64 support for Windows in config and update download links 2025-08-13 11:57:58 +08:00
Kuingsmile
29ca49a440 📦 Chore(custom): update release action for arm64 2025-08-13 11:42:14 +08:00
Kuingsmile
fc14559461 Feature(custom): upload all files for test build 2025-08-13 11:00:37 +08:00
Kuingsmile
614721117e 🐛 Fix(custom): fix macos build error 2025-08-13 10:44:54 +08:00
Kuingsmile
6785e1d0ad 📦 Chore(custom): add arm64 build test 2025-08-13 10:25:28 +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
d75ec2e31e 📦 Chore(custom): update test build action 2025-08-12 16:15:12 +08:00
Kuingsmile
edc7ca423d 📦 Chore(custom): add token env in action 2025-08-12 15:58:56 +08:00