[PR #648] [CLOSED] feat: runtime env #1100

Closed
opened 2026-02-26 19:31:50 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/648
Author: @Mythie
Created: 11/12/2023
Status: Closed

Base: mainHead: feat/runtime-env


📝 Commits (1)

📊 Changes

29 files changed (+254 additions, -70 deletions)

View changed files

📝 apps/web/src/app/(dashboard)/settings/billing/create-billing-portal.action.ts (+4 -1)
📝 apps/web/src/app/(dashboard)/settings/billing/create-checkout.action.ts (+5 -2)
📝 apps/web/src/app/(share)/share/[slug]/page.tsx (+7 -4)
📝 apps/web/src/app/layout.tsx (+43 -31)
📝 apps/web/src/helpers/get-asset-buffer.ts (+5 -1)
📝 packages/ee/server-only/limits/client.ts (+1 -1)
📝 packages/lib/constants/app.ts (+20 -0)
📝 packages/lib/constants/feature-flags.ts (+2 -2)
📝 packages/lib/constants/pdf.ts (+1 -3)
📝 packages/lib/server-only/auth/send-forgot-password.ts (+6 -2)
📝 packages/lib/server-only/auth/send-reset-password.ts (+5 -1)
📝 packages/lib/server-only/document/send-completed-email.ts (+5 -2)
📝 packages/lib/server-only/document/send-document.tsx (+6 -2)
📝 packages/lib/server-only/document/send-pending-email.ts (+5 -1)
📝 packages/lib/server-only/feature-flags/all.ts (+5 -2)
📝 packages/lib/server-only/feature-flags/get.ts (+6 -2)
📝 packages/lib/server-only/pdf/insert-field-in-pdf.ts (+3 -1)
📝 packages/lib/server-only/pdf/insert-text-in-pdf.ts (+2 -1)
packages/lib/types/pick-starts-with.ts (+3 -0)
📝 packages/lib/universal/get-feature-flag.ts (+4 -4)

...and 9 more files

📄 Description

Support runtime environment variables using server components.

This will mean docker images can change env vars for runtime as required.


🔄 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/documenso/documenso/pull/648 **Author:** [@Mythie](https://github.com/Mythie) **Created:** 11/12/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/runtime-env` --- ### 📝 Commits (1) - [`1cd60e1`](https://github.com/documenso/documenso/commit/1cd60e1abb78dc079f362622f1d98f51738a6834) feat: runtime env ### 📊 Changes **29 files changed** (+254 additions, -70 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/src/app/(dashboard)/settings/billing/create-billing-portal.action.ts` (+4 -1) 📝 `apps/web/src/app/(dashboard)/settings/billing/create-checkout.action.ts` (+5 -2) 📝 `apps/web/src/app/(share)/share/[slug]/page.tsx` (+7 -4) 📝 `apps/web/src/app/layout.tsx` (+43 -31) 📝 `apps/web/src/helpers/get-asset-buffer.ts` (+5 -1) 📝 `packages/ee/server-only/limits/client.ts` (+1 -1) 📝 `packages/lib/constants/app.ts` (+20 -0) 📝 `packages/lib/constants/feature-flags.ts` (+2 -2) 📝 `packages/lib/constants/pdf.ts` (+1 -3) 📝 `packages/lib/server-only/auth/send-forgot-password.ts` (+6 -2) 📝 `packages/lib/server-only/auth/send-reset-password.ts` (+5 -1) 📝 `packages/lib/server-only/document/send-completed-email.ts` (+5 -2) 📝 `packages/lib/server-only/document/send-document.tsx` (+6 -2) 📝 `packages/lib/server-only/document/send-pending-email.ts` (+5 -1) 📝 `packages/lib/server-only/feature-flags/all.ts` (+5 -2) 📝 `packages/lib/server-only/feature-flags/get.ts` (+6 -2) 📝 `packages/lib/server-only/pdf/insert-field-in-pdf.ts` (+3 -1) 📝 `packages/lib/server-only/pdf/insert-text-in-pdf.ts` (+2 -1) ➕ `packages/lib/types/pick-starts-with.ts` (+3 -0) 📝 `packages/lib/universal/get-feature-flag.ts` (+4 -4) _...and 9 more files_ </details> ### 📄 Description Support runtime environment variables using server components. This will mean docker images can change env vars for runtime as required. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:31:50 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#1100
No description provided.