[PR #39] [MERGED] local sites and direct share links #783

Closed
opened 2025-11-13 12:10:47 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fosrl/pangolin/pull/39
Author: @miloschwartz
Created: 1/12/2025
Status: Merged
Merged: 1/12/2025
Merged by: @miloschwartz

Base: mainHead: dev


📝 Commits (10+)

📊 Changes

36 files changed (+912 additions, -323 deletions)

View changed files

📝 README.md (+5 -0)
📝 config/config.example.yml (+1 -0)
📝 install/fs/config.yml (+2 -1)
📝 install/fs/docker-compose.yml (+11 -2)
📝 install/fs/traefik/traefik_config.yml (+1 -1)
📝 install/go.mod (+6 -1)
📝 install/go.sum (+4 -0)
📝 install/main.go (+63 -30)
📝 package.json (+2 -1)
server/auth/canUserAccessResource.ts (+45 -0)
server/auth/verifyResourceAccessToken.ts (+67 -0)
📝 server/db/index.ts (+29 -0)
📝 server/lib/config.ts (+3 -1)
📝 server/middlewares/verifyAccessTokenAccess.ts (+1 -1)
📝 server/middlewares/verifyTargetAccess.ts (+1 -1)
📝 server/routers/badger/verifySession.ts (+83 -4)
📝 server/routers/resource/authWithAccessToken.ts (+17 -39)
📝 server/routers/site/createSite.ts (+51 -23)
📝 server/routers/target/createTarget.ts (+89 -77)
📝 server/routers/traefik/getTraefikConfig.ts (+11 -0)

...and 16 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

This PR includes many small changes, but most notably:

  • Ability to create local sites that do not tunnel
  • Create direct share link that do not require client side redirect
  • Bootstrap docker volume if not already bootstrapped

🔄 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/39 **Author:** [@miloschwartz](https://github.com/miloschwartz) **Created:** 1/12/2025 **Status:** ✅ Merged **Merged:** 1/12/2025 **Merged by:** [@miloschwartz](https://github.com/miloschwartz) **Base:** `main` ← **Head:** `dev` --- ### 📝 Commits (10+) - [`f5fda5d`](https://github.com/fosrl/pangolin/commit/f5fda5d8ea9096082f13cef6def08c6b0137e91b) allow access token in resource url - [`81f1f48`](https://github.com/fosrl/pangolin/commit/81f1f48045024595c4dab9651978ff5a964eddef) Merge branch 'main' into dev - [`47683f2`](https://github.com/fosrl/pangolin/commit/47683f2b8c1c262e7e80ea255988a625e8e822f7) add authors to readme - [`84ee25e`](https://github.com/fosrl/pangolin/commit/84ee25e44177aa2b8e9e3bc99b90368cf6b8ba65) Add version lock to dockerfile and hide password - [`bfd1b21`](https://github.com/fosrl/pangolin/commit/bfd1b21f9cd7f606f6d2b3d59706cddb71d9f928) Merge branch 'dev' of https://github.com/fosrl/pangolin into dev - [`4c7581d`](https://github.com/fosrl/pangolin/commit/4c7581df4fa34753efe1f82c11fb4e0381ed3256) Allow "local" sites witn no tunnel - [`161e87d`](https://github.com/fosrl/pangolin/commit/161e87dbda3273d331300df065eed5441743934f) Local sites working - [`a2ed7c7`](https://github.com/fosrl/pangolin/commit/a2ed7c7117a5852b0cfc7623d6c186310af53fe0) complete integration of direct share link as discussed in #35 - [`54f5d15`](https://github.com/fosrl/pangolin/commit/54f5d159a56a740c0277c9de3715beeca7de8f7a) bootstrap volume - [`bfc81e5`](https://github.com/fosrl/pangolin/commit/bfc81e52b07037bd7d5ebc02fc1d14e6d1cac080) bootstrap volume to create db closes #6 ### 📊 Changes **36 files changed** (+912 additions, -323 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+5 -0) 📝 `config/config.example.yml` (+1 -0) 📝 `install/fs/config.yml` (+2 -1) 📝 `install/fs/docker-compose.yml` (+11 -2) 📝 `install/fs/traefik/traefik_config.yml` (+1 -1) 📝 `install/go.mod` (+6 -1) 📝 `install/go.sum` (+4 -0) 📝 `install/main.go` (+63 -30) 📝 `package.json` (+2 -1) ➕ `server/auth/canUserAccessResource.ts` (+45 -0) ➕ `server/auth/verifyResourceAccessToken.ts` (+67 -0) 📝 `server/db/index.ts` (+29 -0) 📝 `server/lib/config.ts` (+3 -1) 📝 `server/middlewares/verifyAccessTokenAccess.ts` (+1 -1) 📝 `server/middlewares/verifyTargetAccess.ts` (+1 -1) 📝 `server/routers/badger/verifySession.ts` (+83 -4) 📝 `server/routers/resource/authWithAccessToken.ts` (+17 -39) 📝 `server/routers/site/createSite.ts` (+51 -23) 📝 `server/routers/target/createTarget.ts` (+89 -77) 📝 `server/routers/traefik/getTraefikConfig.ts` (+11 -0) _...and 16 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. ## Description This PR includes many small changes, but most notably: - Ability to create local sites that do not tunnel - Create direct share link that do not require client side redirect - Bootstrap docker volume if not already bootstrapped --- <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 2025-11-13 12:10:47 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#783