Commit Graph

507 Commits

Author SHA1 Message Date
Kuingsmile
235dbee40d Feature(custom): add mirgration support from installation 2026-01-15 21:54:32 +08:00
Kuingsmile
db8dd19eae Feature(custom): optimize auto-upload pipeline 2026-01-15 20:49:57 +08:00
Kuingsmile
842a7a89e6 Feature(custom): add update for portable mode 2026-01-15 17:59:45 +08:00
Kuingsmile
3775e1ff1a Perf(custom): reduce init time of gallery page and upload page form 100ms to 6ms 2026-01-15 12:46:26 +08:00
Kuingsmile
ffcb779347 🐛 Fix(custom): fix sort drop down content css issue
ISSUES CLOSED: #460
2026-01-15 11:39:46 +08:00
Kuingsmile
f3ae71b34c Feature(custom): optimize imported css file rename 2026-01-15 11:22:45 +08:00
Kuingsmile
f7667b5ff6 Feature(custom): optimize theme download logic 2026-01-15 11:18:40 +08:00
Kuingsmile
5e73e1a2b6 Feature(custom): avoide overwrite css file if already exist 2026-01-15 10:39:50 +08:00
Kuingsmile
50a59a124a Feature(custom): support theme system and add a new theme hub for piclist 2026-01-14 23:00:07 +08:00
Kuingsmile
d98f955a76 Feature(custom): refactor the logic of config data 2026-01-14 14:33:56 +08:00
Kuingsmile
76e7d87944 Feature(custom): trim trailing slash from URL in delete API requests 2026-01-13 21:36:20 +08:00
Kuingsmile
2847384de4 Feature(custom): trim trailing slash from host url in lsky delete api #456 2026-01-13 21:27:44 +08:00
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