[PR #3129] [MERGED] Improve delete function speed & order of ops #20464

Closed
opened 2026-05-21 22:06:31 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fosrl/pangolin/pull/3129
Author: @oschwartz10612
Created: 5/21/2026
Status: Merged
Merged: 5/21/2026
Merged by: @oschwartz10612

Base: mainHead: fix-site-delete


📝 Commits (1)

  • 834672c Improve delete function speed & order of ops

📊 Changes

4 files changed (+91 additions, -48 deletions)

View changed files

📝 messages/en-US.json (+1 -1)
📝 server/lib/rebuildClientAssociations.ts (+74 -0)
📝 server/routers/site/deleteSite.ts (+15 -43)
📝 server/routers/siteResource/batchAddClientToSiteResources.ts (+1 -4)

📄 Description

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

How to test?


🔄 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/fosrl/pangolin/pull/3129 **Author:** [@oschwartz10612](https://github.com/oschwartz10612) **Created:** 5/21/2026 **Status:** ✅ Merged **Merged:** 5/21/2026 **Merged by:** [@oschwartz10612](https://github.com/oschwartz10612) **Base:** `main` ← **Head:** `fix-site-delete` --- ### 📝 Commits (1) - [`834672c`](https://github.com/fosrl/pangolin/commit/834672c846504af93ce66adc521e1cbdd1d1a6dc) Improve delete function speed & order of ops ### 📊 Changes **4 files changed** (+91 additions, -48 deletions) <details> <summary>View changed files</summary> 📝 `messages/en-US.json` (+1 -1) 📝 `server/lib/rebuildClientAssociations.ts` (+74 -0) 📝 `server/routers/site/deleteSite.ts` (+15 -43) 📝 `server/routers/siteResource/batchAddClientToSiteResources.ts` (+1 -4) </details> ### 📄 Description ## Community Contribution License Agreement By creating this pull request, I grant the project maintainers an unlimited, perpetual license to use, modify, and redistribute these contributions under any terms they choose, including both the AGPLv3 and the Fossorial Commercial license terms. I represent that I have the right to grant this license for all contributed content. ## Description ## How to test? --- <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-05-21 22:06:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#20464