[PR #5780] [MERGED] Frontend plugins Support [1/10]: CORS proxy #40543

Closed
opened 2026-04-23 13:23:52 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/5780
Author: @lelemm
Created: 9/23/2025
Status: Merged
Merged: 9/24/2025
Merged by: @lelemm

Base: masterHead: feat/plugins/cors-proxy


📝 Commits (10+)

  • 211ca15 Frontend plugins Support [1/10]: Cors proxy
  • 36758e9 Add release notes for PR #5780
  • 9254300 changed code as CodeQL suggested
  • 1d335fb CodeQL improvement for ip validation to bypass dns changes
  • 90814ba Code Rabbit suggestion
  • fe59020 Update packages/sync-server/src/app-cors-proxy.js
  • 40e28a7 Added env var for cors proxy
  • 6e2b7bc multiple changes
  • 0e20f95 missed updating yarn.lock
  • a0657a1 making code rabbit happy

📊 Changes

7 files changed (+918 additions, -0 deletions)

View changed files

📝 packages/sync-server/package.json (+1 -0)
packages/sync-server/src/app-cors-proxy.js (+279 -0)
packages/sync-server/src/app-cors-proxy.test.js (+589 -0)
📝 packages/sync-server/src/app.ts (+5 -0)
📝 packages/sync-server/src/load-config.js (+29 -0)
upcoming-release-notes/5780.md (+7 -0)
📝 yarn.lock (+8 -0)

📄 Description

  • PR 1: Basic CORS Proxy Structure (This PR)
  • PR 2: Plugin Service Worker & PWA Infrastructure
  • PR 3: System-Wide Feature Flag System + Frontend plugins feature flag
  • PR 4: Plugins Core Package
  • PR 5: Update loot-core to reference plugins-core
  • PR 6: Update desktop-client to reference plugins-core
  • PR 7: Plugin runtime on desktop-client (module federation)
  • PR 8: Plugins frontend pages
  • PR 9: Plugin example
  • PR 10: Integration fixes and documentation

For now, a CORS proxy is needed. Actual will ship a very simple CORS proxy with an allowlist that prevents other applications from using it. This can be changed later to third-party CORS proxies if needed.
This is necessary to make the plugin store functional


🔄 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/5780 **Author:** [@lelemm](https://github.com/lelemm) **Created:** 9/23/2025 **Status:** ✅ Merged **Merged:** 9/24/2025 **Merged by:** [@lelemm](https://github.com/lelemm) **Base:** `master` ← **Head:** `feat/plugins/cors-proxy` --- ### 📝 Commits (10+) - [`211ca15`](https://github.com/actualbudget/actual/commit/211ca1523865bc40be1b57f7d2e15690bbfc9d18) Frontend plugins Support [1/10]: Cors proxy - [`36758e9`](https://github.com/actualbudget/actual/commit/36758e9c6ab4b03d6ca6e2b8722b1aeacb2109c7) Add release notes for PR #5780 - [`9254300`](https://github.com/actualbudget/actual/commit/9254300d2aff9c2aae3803fc7ad7100456f777e5) changed code as CodeQL suggested - [`1d335fb`](https://github.com/actualbudget/actual/commit/1d335fbbc209d9ff2d62029c17506b0a1e67dee3) CodeQL improvement for ip validation to bypass dns changes - [`90814ba`](https://github.com/actualbudget/actual/commit/90814ba7d330fb54b25de63b4b963b76d3ebc0da) Code Rabbit suggestion - [`fe59020`](https://github.com/actualbudget/actual/commit/fe590200abdf7252002c05c00e4a653ad0850cad) Update packages/sync-server/src/app-cors-proxy.js - [`40e28a7`](https://github.com/actualbudget/actual/commit/40e28a770fd26cc7235066819859e2e06ccf8238) Added env var for cors proxy - [`6e2b7bc`](https://github.com/actualbudget/actual/commit/6e2b7bcf69af7e8b51bb11ccf018c8e2a8b5242c) multiple changes - [`0e20f95`](https://github.com/actualbudget/actual/commit/0e20f95dca27c366148d930135be8f08c41cbb07) missed updating yarn.lock - [`a0657a1`](https://github.com/actualbudget/actual/commit/a0657a1952ab455a35057bf3fcb846b32687a85e) making code rabbit happy ### 📊 Changes **7 files changed** (+918 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/sync-server/package.json` (+1 -0) ➕ `packages/sync-server/src/app-cors-proxy.js` (+279 -0) ➕ `packages/sync-server/src/app-cors-proxy.test.js` (+589 -0) 📝 `packages/sync-server/src/app.ts` (+5 -0) 📝 `packages/sync-server/src/load-config.js` (+29 -0) ➕ `upcoming-release-notes/5780.md` (+7 -0) 📝 `yarn.lock` (+8 -0) </details> ### 📄 Description - [x] PR 1: Basic CORS Proxy Structure (**This PR**) - [ ] PR 2: Plugin Service Worker & PWA Infrastructure - [ ] PR 3: System-Wide Feature Flag System + Frontend plugins feature flag - [ ] PR 4: Plugins Core Package - [ ] PR 5: Update `loot-core` to reference `plugins-core` - [ ] PR 6: Update `desktop-client` to reference `plugins-core` - [ ] PR 7: Plugin runtime on desktop-client (module federation) - [ ] PR 8: Plugins frontend pages - [ ] PR 9: Plugin example - [ ] PR 10: Integration fixes and documentation For now, a CORS proxy is needed. Actual will ship a very simple CORS proxy with an allowlist that prevents other applications from using it. This can be changed later to third-party CORS proxies if needed. This is necessary to make the plugin store functional --- <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-04-23 13:23:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#40543