[PR #2128] [MERGED] Add maintenance screen support #2873

Closed
opened 2026-04-16 09:39:34 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fosrl/pangolin/pull/2128
Author: @oschwartz10612
Created: 12/20/2025
Status: Merged
Merged: 12/20/2025
Merged by: @oschwartz10612

Base: devHead: dev-ms


📝 Commits (10+)

  • 5b8555c db schema for maintenance
  • 1c6a6f3 ui to enable down for maintenance screen
  • 5068eea backend for updating maintenance screen
  • e502596 generate traefik config for maintenance ui
  • 39b8af2 add pg schema
  • 6e6c667 fix maintenance router name
  • 93cee8c refactor files and add func to private traefik config generator file
  • 2a48f7d add en-Us strings
  • 1544b33 move settings into a new SettingsSection card
  • 169f15d remove maintenance mode from oss traefik config generator

📊 Changes

18 files changed (+762 additions, -95 deletions)

View changed files

📝 messages/en-US.json (+26 -1)
📝 package-lock.json (+0 -1)
📝 server/db/pg/schema/schema.ts (+9 -1)
📝 server/db/sqlite/schema/schema.ts (+11 -2)
server/lib/isLicencedOrSubscribed.ts (+17 -0)
📝 server/lib/readConfigFile.ts (+3 -4)
📝 server/lib/traefik/getTraefikConfig.ts (+24 -24)
📝 server/private/lib/traefik/getTraefikConfig.ts (+150 -28)
📝 server/private/routers/internal.ts (+3 -0)
server/private/routers/resource/getMaintenanceInfo.ts (+113 -0)
server/private/routers/resource/index.ts (+14 -0)
📝 server/routers/external.ts (+0 -1)
📝 server/routers/org/updateOrg.ts (+2 -21)
📝 server/routers/resource/index.ts (+1 -0)
server/routers/resource/types.ts (+10 -0)
📝 server/routers/resource/updateResource.ts (+19 -2)
📝 src/app/[orgId]/settings/resources/proxy/[niceId]/general/page.tsx (+292 -10)
src/app/maintenance-screen/page.tsx (+68 -0)

📄 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

Add maintenance screen support for public resources


🔄 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/2128 **Author:** [@oschwartz10612](https://github.com/oschwartz10612) **Created:** 12/20/2025 **Status:** ✅ Merged **Merged:** 12/20/2025 **Merged by:** [@oschwartz10612](https://github.com/oschwartz10612) **Base:** `dev` ← **Head:** `dev-ms` --- ### 📝 Commits (10+) - [`5b8555c`](https://github.com/fosrl/pangolin/commit/5b8555c02111354ed8e79e620f79ef3ac78ab187) db schema for maintenance - [`1c6a6f3`](https://github.com/fosrl/pangolin/commit/1c6a6f3cc20c24604539bbc2d2bd8363783a8be5) ui to enable down for maintenance screen - [`5068eea`](https://github.com/fosrl/pangolin/commit/5068eeaad6ed930b89eac07c36008b057844e839) backend for updating maintenance screen - [`e502596`](https://github.com/fosrl/pangolin/commit/e502596ef2322a8282fda0ff2c8c9899359014ba) generate traefik config for maintenance ui - [`39b8af2`](https://github.com/fosrl/pangolin/commit/39b8af2cd4489a67ff20b995b7d833881e75b340) add pg schema - [`6e6c667`](https://github.com/fosrl/pangolin/commit/6e6c6675a5b33a3d2f30267bc8a47e10774275ec) fix maintenance router name - [`93cee8c`](https://github.com/fosrl/pangolin/commit/93cee8cb90bf739b6016a70f70dea9997620bc54) refactor files and add func to private traefik config generator file - [`2a48f7d`](https://github.com/fosrl/pangolin/commit/2a48f7d13b0905bcdc332f376668c31fd5282ec9) add en-Us strings - [`1544b33`](https://github.com/fosrl/pangolin/commit/1544b33f558a30433492d44d424d504da9f67401) move settings into a new SettingsSection card - [`169f15d`](https://github.com/fosrl/pangolin/commit/169f15d3158d2076ef0f65209e74e48645280dd5) remove maintenance mode from oss traefik config generator ### 📊 Changes **18 files changed** (+762 additions, -95 deletions) <details> <summary>View changed files</summary> 📝 `messages/en-US.json` (+26 -1) 📝 `package-lock.json` (+0 -1) 📝 `server/db/pg/schema/schema.ts` (+9 -1) 📝 `server/db/sqlite/schema/schema.ts` (+11 -2) ➕ `server/lib/isLicencedOrSubscribed.ts` (+17 -0) 📝 `server/lib/readConfigFile.ts` (+3 -4) 📝 `server/lib/traefik/getTraefikConfig.ts` (+24 -24) 📝 `server/private/lib/traefik/getTraefikConfig.ts` (+150 -28) 📝 `server/private/routers/internal.ts` (+3 -0) ➕ `server/private/routers/resource/getMaintenanceInfo.ts` (+113 -0) ➕ `server/private/routers/resource/index.ts` (+14 -0) 📝 `server/routers/external.ts` (+0 -1) 📝 `server/routers/org/updateOrg.ts` (+2 -21) 📝 `server/routers/resource/index.ts` (+1 -0) ➕ `server/routers/resource/types.ts` (+10 -0) 📝 `server/routers/resource/updateResource.ts` (+19 -2) 📝 `src/app/[orgId]/settings/resources/proxy/[niceId]/general/page.tsx` (+292 -10) ➕ `src/app/maintenance-screen/page.tsx` (+68 -0) </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 Add maintenance screen support for public resources --- <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-04-16 09:39:34 -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#2873