mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-13 02:14:08 -05:00
[PR #64] [MERGED] Transfer a resource to another site #787
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/pangolin/pull/64
Author: @j4n-e4t
Created: 1/16/2025
Status: ✅ Merged
Merged: 2/2/2025
Merged by: @oschwartz10612
Base:
dev← Head:j4n-e4t/transfer-resource-to-new-site📝 Commits (4)
a039168add ability to transfer a resource to another site962c5fbMerge branch 'dev' into transfer-resource-to-new-siteb5420a4Clean up and add target manipulation53660a1minor changes to verbiage and id value📊 Changes
11 files changed (+427 additions, -70 deletions)
View changed files
📝
server/routers/external.ts(+7 -0)📝
server/routers/gerbil/getConfig.ts(+2 -14)📝
server/routers/newt/targets.ts(+4 -4)📝
server/routers/resource/deleteResource.ts(+2 -17)📝
server/routers/resource/index.ts(+1 -0)➕
server/routers/resource/transferResource.ts(+192 -0)📝
server/routers/target/createTarget.ts(+1 -1)📝
server/routers/target/deleteTarget.ts(+2 -17)📝
server/routers/target/helpers.ts(+18 -0)📝
server/routers/target/updateTarget.ts(+1 -1)📝
src/app/[orgId]/settings/resources/[resourceId]/general/page.tsx(+197 -16)📄 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.
✅ Of course.
Description
I've added the functionality to move a resource to a new site as mentioned in the roadmap.
Changes made:
settings/resources/[id]/generalin the Next appserver/routers/resource/transferResource.tsto handle the transfer server-sideHow to test?
j4n-e4t/transfer-resource-to-new-sitebranchEditthe resource and to to/general🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.