mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-06 20:59:07 -05:00
[PR #2434] feat: Add path setting to share links (resourceAccessToken) #11768
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/2434
Author: @NHClaessens
Created: 2/8/2026
Status: 🔄 Open
Base:
main← Head:feature-share-link-redirect-path📝 Commits (7)
db34247Alter schema + add form field2b8a0adAdjust validation to allow creation with (optional) pathceec9e9Add path onto redirectUrl661f135Add translationseb98592Update postgres schemaf1a92f2Merge branch 'main' into feature-share-link-redirect-path06d81a2Merge branch 'main' into feature-share-link-redirect-path📊 Changes
24 files changed (+269 additions, -27 deletions)
View changed files
➕
drizzle.config.ts(+15 -0)📝
messages/bg-BG.json(+1 -0)📝
messages/cs-CZ.json(+1 -0)📝
messages/de-DE.json(+1 -0)📝
messages/en-US.json(+1 -0)📝
messages/es-ES.json(+1 -0)📝
messages/fr-FR.json(+1 -0)📝
messages/it-IT.json(+1 -0)📝
messages/ko-KR.json(+1 -0)📝
messages/nb-NO.json(+1 -0)📝
messages/nl-NL.json(+1 -0)📝
messages/pl-PL.json(+1 -0)📝
messages/pt-PT.json(+1 -0)📝
messages/ru-RU.json(+1 -0)📝
messages/tr-TR.json(+1 -0)📝
messages/zh-CN.json(+1 -0)📝
messages/zh-TW.json(+1 -0)📝
package-lock.json(+6 -24)📝
server/db/pg/schema/schema.ts(+1 -0)📝
server/db/sqlite/schema/schema.ts(+1 -0)...and 4 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.
Description
Adds an optional
pathparameter to share links that allows specifying a custom redirect path when accessing a resource.This feature addresses a specific use case, if this change is not desired in the main branch, or if any changes are required, I would be more than happy to cooperate.
The use case in question:
/api/endpoint needs to be exposed, which is undesirableshare/xxxx)Changes Made
pathcolumn in theresourceAccessTokenschema in Postgres and SQLite schemas (optional field, so not a breaking change)pathvalueHow to test?
Access>Links(This is my first open-source contribution, thank you for your patience)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.