397 Commits
Author SHA1 Message Date
相柳 78283f4908 ✨ Feature(gui): group album photos by uploader config (#1452) 2026-10-17 10:09:37 +08:00
PiEgg 7a9bc23084 ✨ Feature(gui): configure server upload secret in settings (#1451)
* ✨ Feature(gui): configure server upload secret in settings

PicGo Core already supports authenticating `POST /upload` with a shared secret (`Authorization: Bearer <secret>`, `X-PicGo-Secret` or `?secret=`), resolved from `PICGO_SERVER_SECRET` or `settings.server.secret`, but the GUI offered no way to set it. Add a masked secret field with a show/hide toggle to the PicGo Server dialog, next to host and port.

The dialog saves the trimmed value as `settings.server.secret`; an empty value disables authentication. Saving already restarts the server, and Core reads the secret from config on `listen()`, so the main process needs no change and `PICGO_SERVER_SECRET` still takes precedence. The secret value is never added to the settings search index.

* 🐛 Fix(gui): keep server secret when normalizing settings

normalizeSettingsConfig only copied host, port and enable from `settings.server`, so after a reload the renderer state had no secret: the server dialog reopened with an empty secret field, and saving it again (e.g. after changing the port) would have silently cleared the secret and disabled authentication. Keep `secret` (falling back to an empty string) and cover it with a test.

* 📝 Docs: document renderer config normalizer whitelist in AGENTS.md

The server secret was dropped from renderer state because normalizeSettingsConfig only copies listed fields, and the server dialog re-saves the whole object. Record the rule for future changes: when adding a persisted config field, update the shared types, renderer state type, default value and normalizer, and add a round-trip normalizer test. Also give `settings.server.secret` an explicit empty default to follow that rule.

* 📝 Docs: require English PRs and squash merges in AGENTS.md
2026-10-05 20:26:32 +08:00
PiEgg 1c0716f59b ✅ Test(gui): wait for schema sync in plugin detail panel tests (#1449)
Mode is hydrated synchronously, but Verbosity / API version only show the saved values after the async refreshConfigSchema call resolves with the advanced-state choices. Both tests waited for Mode and then asserted the dependent fields synchronously, so on a slow CI runner they could still see the placeholder ("verbosity▼"). Move those assertions into waitFor.
2026-10-05 19:14:44 +08:00
jincurryx 5399f30142 🐛 Fix: avoid duplicate Windows login item launching PicGo twice
Set the Windows AppUserModelId before configuring login items and remove the legacy electron.app.PicGo entry to preserve hidden startup.
2026-10-05 18:57:45 +08:00
PiEgg 5cead90732 ✨ Feature(server): support per-upload configurations (#1447)
Forward per-upload Core options through the GUI HTTP server, isolate upload task window state, scope rename listener cleanup, and align uploader fallbacks with PicGo Cloud. Add regression coverage and PR/mainline commitlint and test checks.
2026-10-05 17:03:32 +08:00
PiEgg a0d5dfaed1 🐛 Fix(gui): make backgroundThrottling optional in window options type
#1435 removed `backgroundThrottling: false` from `defaultWebPreferences`, but
`IBrowserWindowOptions.webPreferences` still declared the field as required, so
`tsc` failed on all five window definitions.

Mark it optional rather than dropping it: omitting the field keeps Electron's
default (throttle when hidden), which is what #1435 intended, while individual
windows can still opt out explicitly if they ever need full-speed background
rendering.
2026-08-17 14:59:09 +08:00
WayneVoyagerandWayneVoyager 45fd078e4e 🐛 Fix(gui): 移除 backgroundThrottling: false 修复 macOS GPU 进程空转 (#1435)
Co-authored-by: WayneVoyager <hanghaiwang@tencent.com>
2026-08-14 16:13:01 +08:00
PiEgg 33bbc9a512 ⚡ Perf(gui): stop idle GPU churn from uploader status dot (#1436) 2026-08-14 15:45:41 +08:00
PiEgg 77f1ed16b7 🐛 Fix(gui): protect persisted provider credentials 2026-07-21 14:21:10 +08:00
PiEgg 33c9530658 ✨ Feature(i18n): add Japanese (ja) translation (#1422) 2026-07-12 13:59:51 +08:00
PiEgg 26fc8e46de 🎨 Style(gui): refine title bar layout, restore mini window button and fix related bugs (#1421) 2026-07-11 12:35:52 +08:00
moduvoice 622031f4ff ✨ Feature(i18n): add Korean (ko) translation (#1420) 2026-07-11 10:16:28 +08:00
CtrlKismet 4d92ca199b 🐛 Fix(gui): mini window ignores startup HIDE mode on Linux (#1417) 2026-07-03 09:13:41 +08:00
PiEgg 80beead2a5 🎨 Style: improve tray & rename dialog layout and add GitHub Sponsors button (#1416) 2026-07-02 16:46:36 +08:00
PiEgg 93bbb29d54 ✨ Feature: v3 (#1414) 2026-07-01 10:22:36 +08:00
PiEgg e1b04b838e 🐛 Fix(gui): migrate renderer electron access to preload bridge (#1405) 2026-04-04 00:13:20 +08:00
PiEgg c7ca0de0c3 🐛 Fix(update): correct latest version lookup with beta channel (#1396) (#1397) 2026-03-03 16:03:29 +08:00
PiEgg 0e452e1459 🐛 Fix(plugin): refresh plugin config dialog state (#1395)
ISSUE_CLOSED: #1394
2026-03-03 15:11:31 +08:00
PiEgg ef07c15085 🐛 Fix(plugin): plugin search error
ISSUES CLOSED: #1383
2026-01-31 08:13:12 +08:00
PiEgg 5cabbbdb90 🐛 Fix: review changes 2026-01-27 16:56:35 +08:00
PiEgg 43447726ef ✨ Feature: add picgo cloud and config sync (#1382)
ISSUES CLOSED: #1381
2026-01-27 16:52:23 +08:00
PiEgg 32f501cadb 🔨 Refactor(config): multi-config handle by picgo-core (#1378) 2026-01-13 20:41:15 +08:00
PiEgg 089884b10a 🐛 Fix(ui): some ui bugs 2026-01-12 20:10:56 +08:00
PiEgg 2ed1dd5abd ✨ Feature: add global url rewrite support (#1377)
ISSUES CLOSED: #1255, #1281
2026-01-12 18:41:17 +08:00
PiEgg c84d542557 ✨ Feature(upload): add batch url upload support (#1376)
ISSUES CLOSED: #1302
2026-01-12 09:29:01 +08:00
PiEgg dfe92d496b 🐛 Fix(gallery): fix picbed list visible status not sync with gallery (#1373)
ISSUES CLOSED: #1372
2026-01-08 17:16:56 +08:00
PiEgg 525492bed1 🐛 Fix(tray): clamp image titles to two lines
Prevent long file names from stretching the tray item layout.
2026-01-07 15:45:11 +08:00
PiEgg 50881b071a 🔨 Refactor(db): rm config store (#1371) 2026-01-07 15:13:25 +08:00
PiEgg 2936b19008 ✨ Feature(notification): refactor notification and add notificationSound settings (#1370)
ISSUES CLOSED: #1229
2026-01-04 17:08:19 +08:00
PiEgg f7f580412f 📦 Chore: update FAQ \&\& plugin filter logic 2025-12-30 22:45:05 +08:00
PiEgg 25f86a69e1 ✨ Feature(config): add copy config \&\& add double confirm before copy \& delete config 2025-12-27 17:17:35 +08:00
PiEgg d0eb3da45a ✨ Feature: add showMenubarIcon setting (#1366) 2025-12-23 18:06:17 +08:00
PiEgg eef736ff57 🐛 Fix(custom): data report 2025-12-22 21:34:10 +08:00
PiEgg 54d15a6749 🐛 Fix(custom): the issue that x64 macOS app can't be opened
ISSUES CLOSED: #1363
2025-12-10 23:17:53 +08:00
PiEgg 9d4ea8277d 📦 Chore: change release url 2025-12-08 21:27:03 +08:00
PiEgg 56f61d458e 🐛 Fix: tray window clipboard image not show bug (#1362) 2025-12-08 21:16:25 +08:00
PiEgg 070ce2b666 📦 Chore: upgrade electron version && migrate to electron-vite (#1361) 2025-12-08 17:42:35 +08:00
PiEgg b421c4b42a 🐛 Fix: pic-migrater post handler error 2025-11-28 21:18:52 +08:00
PiEgg d6c0a85a0f 🐛 Fix: fix docs link 2025-11-27 11:16:23 +08:00
PiEgg 2bd5d0653b 🐛 Fix: encoded url filename unreadable 2025-06-08 10:37:31 +08:00
PiEgg 9841418779 ✨ Feature: finish form uploader for picgo server 2025-06-07 17:09:46 +08:00
PiEgg 7bc70628f9 🔨 Refactor: refactor the form uploader 2025-06-02 17:16:52 +08:00
happy-game a928b4c8ab ✨ Feature(server): add support for form upload in PicGo Server (#1327)
ISSUES CLOSED: #428
2025-03-17 09:01:15 +08:00
happy-game dacb926f17 🐛 Fix: auto-copy url can't be turned off (#1300) 2024-12-06 11:35:59 +08:00
PiEgg 04140def7c 🐛 Fix: plugin list search bug
ISSUES CLOSED: #1297
2024-12-02 20:01:15 +08:00
PiEgg c9fe4023f0 🐛 Fix: clipboard filename missing second
ISSUES CLOSED: #1293
2024-11-25 14:51:41 +08:00
PiEgg c8ba547edb 🐛 Fix: copy text bug
ISSUES CLOSED: #1210, #1280
2024-10-05 08:34:04 +08:00
PiEgg 8e91582adc 🐛 Fix: config page scroll bug
ISSUES CLOSED: #1237
2024-04-19 09:39:44 +08:00
PiEgg aaec99f466 ✨ Feature: add startup mode
ISSUES CLOSED: #915
2024-02-28 15:59:20 +08:00
PiEgg 50e0a64519 🐛 Fix: tray menu open bug
ISSUES CLOSED: #1217
2024-02-25 09:55:41 +08:00