[PR #3004] feat: site & resource labels #16189

Open
opened 2026-05-16 04:11:52 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fosrl/pangolin/pull/3004
Author: @Fredkiss3
Created: 5/5/2026
Status: 🔄 Open

Base: devHead: feat/labels-on-sites-and-resources


📝 Commits (10+)

  • 3253d60 🚧 Add CRUD endpoints and tables for labels
  • 09baf2f 🗃️ add sqlite table for labels
  • 0d04cc3 attach label to item
  • 1831ca4 ♻️ detach label from site/resoirce
  • ab8fc11 🚧 add labels button
  • 72524db 💄 shrink button
  • 840cc21 🚧 wip
  • 39b09b7 Merge branch 'dev' into feat/labels-on-sites-and-resources
  • e61ef2c 🚧 wip: label selector
  • a63c1ec 💄 label selector (with create label)

📊 Changes

39 files changed (+3674 additions, -972 deletions)

View changed files

📝 messages/en-US.json (+14 -0)
📝 server/auth/actions.ts (+6 -0)
📝 server/db/pg/schema/schema.ts (+113 -16)
📝 server/db/sqlite/schema/schema.ts (+119 -16)
📝 server/lib/billing/tierMatrix.ts (+3 -1)
📝 server/private/lib/logStreaming/index.ts (+2 -1)
📝 server/private/middlewares/verifySubscription.ts (+1 -1)
📝 server/private/routers/external.ts (+54 -0)
server/private/routers/labels/attachLabelToItem.ts (+224 -0)
server/private/routers/labels/createOrgLabel.ts (+149 -0)
server/private/routers/labels/deleteOrgLabel.ts (+72 -0)
server/private/routers/labels/detachLabelFromItem.ts (+224 -0)
server/private/routers/labels/index.ts (+19 -0)
server/private/routers/labels/listOrgLabels.ts (+155 -0)
server/private/routers/labels/updateOrgLabel.ts (+101 -0)
📝 server/routers/client/listClients.ts (+62 -13)
server/routers/labels/types.ts (+10 -0)
📝 server/routers/resource/listResources.ts (+72 -20)
📝 server/routers/site/listSites.ts (+76 -20)
📝 server/routers/siteResource/listAllSiteResourcesByOrg.ts (+97 -44)

...and 19 more files

📄 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.

Summary

Attach & detach labels on sites, public/private resources & machine clients.

Screenshots

Name Screenshot
labels on sites
labels on public resources
labels on private resources
labels on machine clients

🔄 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/3004 **Author:** [@Fredkiss3](https://github.com/Fredkiss3) **Created:** 5/5/2026 **Status:** 🔄 Open **Base:** `dev` ← **Head:** `feat/labels-on-sites-and-resources` --- ### 📝 Commits (10+) - [`3253d60`](https://github.com/fosrl/pangolin/commit/3253d60900dcd86dce4529cf4dc1204f483e088e) 🚧 Add CRUD endpoints and tables for labels - [`09baf2f`](https://github.com/fosrl/pangolin/commit/09baf2f32ee23836f47e1e5b4341c9ec391ef1eb) 🗃️ add sqlite table for labels - [`0d04cc3`](https://github.com/fosrl/pangolin/commit/0d04cc365f0215eef36fe2ed42d45d86c7fa25e6) ✨ attach label to item - [`1831ca4`](https://github.com/fosrl/pangolin/commit/1831ca4e751e813f445933f8750a8bb6fdbff4b6) ♻️ detach label from site/resoirce - [`ab8fc11`](https://github.com/fosrl/pangolin/commit/ab8fc11ab3dc878b5ca0ef902906893a48bf63ca) 🚧 add labels button - [`72524db`](https://github.com/fosrl/pangolin/commit/72524db52d3ae45fc5f1ae2b71f4a0a8fa7c3c9a) 💄 shrink button - [`840cc21`](https://github.com/fosrl/pangolin/commit/840cc214e3ef2def855329c042062d130fcf416b) 🚧 wip - [`39b09b7`](https://github.com/fosrl/pangolin/commit/39b09b7f3f22707bbad0e553e13081527ace7ae9) Merge branch 'dev' into feat/labels-on-sites-and-resources - [`e61ef2c`](https://github.com/fosrl/pangolin/commit/e61ef2ca2a03a80d8e426a2db85cee1746a3cb19) 🚧 wip: label selector - [`a63c1ec`](https://github.com/fosrl/pangolin/commit/a63c1ec364640c3d8b81e4284f37fc495d4d2e27) 💄 label selector (with create label) ### 📊 Changes **39 files changed** (+3674 additions, -972 deletions) <details> <summary>View changed files</summary> 📝 `messages/en-US.json` (+14 -0) 📝 `server/auth/actions.ts` (+6 -0) 📝 `server/db/pg/schema/schema.ts` (+113 -16) 📝 `server/db/sqlite/schema/schema.ts` (+119 -16) 📝 `server/lib/billing/tierMatrix.ts` (+3 -1) 📝 `server/private/lib/logStreaming/index.ts` (+2 -1) 📝 `server/private/middlewares/verifySubscription.ts` (+1 -1) 📝 `server/private/routers/external.ts` (+54 -0) ➕ `server/private/routers/labels/attachLabelToItem.ts` (+224 -0) ➕ `server/private/routers/labels/createOrgLabel.ts` (+149 -0) ➕ `server/private/routers/labels/deleteOrgLabel.ts` (+72 -0) ➕ `server/private/routers/labels/detachLabelFromItem.ts` (+224 -0) ➕ `server/private/routers/labels/index.ts` (+19 -0) ➕ `server/private/routers/labels/listOrgLabels.ts` (+155 -0) ➕ `server/private/routers/labels/updateOrgLabel.ts` (+101 -0) 📝 `server/routers/client/listClients.ts` (+62 -13) ➕ `server/routers/labels/types.ts` (+10 -0) 📝 `server/routers/resource/listResources.ts` (+72 -20) 📝 `server/routers/site/listSites.ts` (+76 -20) 📝 `server/routers/siteResource/listAllSiteResourcesByOrg.ts` (+97 -44) _...and 19 more files_ </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. ## Summary Attach & detach labels on sites, public/private resources & machine clients. ## Screenshots | Name | Screenshot | |---|---| | labels on sites | | | labels on public resources | | | labels on private resources | | | labels on machine clients | | --- <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-16 04:11: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/pangolin#16189