[PR #3431] [MERGED] :electron: Restart server silently when adding self signed cert and add some logs #4850

Closed
opened 2026-02-28 21:02:14 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/3431
Author: @MikesGlitch
Created: 9/13/2024
Status: Merged
Merged: 9/17/2024
Merged by: @MikesGlitch

Base: masterHead: electron/restart-server-silently-and-logs


📝 Commits (6)

📊 Changes

9 files changed (+58 additions, -13 deletions)

View changed files

📝 packages/desktop-client/src/browser-preload.browser.js (+2 -0)
📝 packages/desktop-client/src/components/manager/ConfigServer.tsx (+8 -2)
📝 packages/desktop-client/src/hooks/useGlobalPref.ts (+10 -2)
📝 packages/desktop-electron/index.ts (+6 -0)
📝 packages/desktop-electron/preload.ts (+4 -0)
📝 packages/loot-core/src/client/actions/prefs.ts (+5 -1)
📝 packages/loot-core/src/platform/server/fetch/index.electron.ts (+16 -8)
📝 packages/loot-core/typings/window.d.ts (+1 -0)
upcoming-release-notes/3431.md (+6 -0)

📄 Description

Selecting a self signed certificate no longer restarts the app. Instead we restart the server process silently. The user shouldn't notice.

I've also added some logging for errors given by nodeFetch. That should help people diagnose cert/network related erros.

showing err


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/3431 **Author:** [@MikesGlitch](https://github.com/MikesGlitch) **Created:** 9/13/2024 **Status:** ✅ Merged **Merged:** 9/17/2024 **Merged by:** [@MikesGlitch](https://github.com/MikesGlitch) **Base:** `master` ← **Head:** `electron/restart-server-silently-and-logs` --- ### 📝 Commits (6) - [`eb3a35e`](https://github.com/actualbudget/actual/commit/eb3a35e4c0df97b2992db581332a3b5deac7a68d) restart server silently on add self signed cert and add some logging - [`8d20d95`](https://github.com/actualbudget/actual/commit/8d20d9574189eb9943ba7a4fdf1f3cb394025586) release notes - [`48e56f4`](https://github.com/actualbudget/actual/commit/48e56f4c7cb72d2fe84bab9f972623e82ef3d673) fix name - [`c69aae2`](https://github.com/actualbudget/actual/commit/c69aae289688eeac01a44aaf0d44fb121d68db19) updating names to be more specific - [`2efbb61`](https://github.com/actualbudget/actual/commit/2efbb611e52087f2b15550db4054fb59b4598c61) removing setloading - [`3600b0c`](https://github.com/actualbudget/actual/commit/3600b0cb66d4e6d7a84a12b075e6b23c4f3a9f42) feedback ### 📊 Changes **9 files changed** (+58 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/browser-preload.browser.js` (+2 -0) 📝 `packages/desktop-client/src/components/manager/ConfigServer.tsx` (+8 -2) 📝 `packages/desktop-client/src/hooks/useGlobalPref.ts` (+10 -2) 📝 `packages/desktop-electron/index.ts` (+6 -0) 📝 `packages/desktop-electron/preload.ts` (+4 -0) 📝 `packages/loot-core/src/client/actions/prefs.ts` (+5 -1) 📝 `packages/loot-core/src/platform/server/fetch/index.electron.ts` (+16 -8) 📝 `packages/loot-core/typings/window.d.ts` (+1 -0) ➕ `upcoming-release-notes/3431.md` (+6 -0) </details> ### 📄 Description <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes --> Selecting a self signed certificate no longer restarts the app. Instead we restart the server process silently. The user shouldn't notice. I've also added some logging for errors given by nodeFetch. That should help people diagnose cert/network related erros. ![showing err](https://github.com/user-attachments/assets/6615f5a8-49b8-4a74-a261-b0bd8173e2b4) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 21:02:14 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#4850