[PR #2346] [MERGED] feat: add license integration #2234

Closed
opened 2026-02-26 20:33:00 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/2346
Author: @dguyen
Created: 12/23/2025
Status: Merged
Merged: 1/29/2026
Merged by: @Mythie

Base: mainHead: feat/add-license-integration


📝 Commits (4)

  • 00b682b feat: add license integration
  • 4218657 fix: refactor
  • 3d56f6c chore: update docs
  • a75b3e2 Merge branch 'main' into feat/add-license-integration

📊 Changes

29 files changed (+1644 additions, -92 deletions)

View changed files

📝 .env.example (+3 -0)
📝 .gitignore (+4 -0)
📝 apps/documentation/pages/users/licenses/enterprise-edition.mdx (+41 -10)
apps/documentation/public/images/admin-license-status.webp (+0 -0)
📝 apps/remix/app/components/dialogs/claim-create-dialog.tsx (+7 -1)
📝 apps/remix/app/components/dialogs/claim-update-dialog.tsx (+4 -1)
📝 apps/remix/app/components/forms/subscription-claim-form.tsx (+62 -27)
apps/remix/app/components/general/admin-license-card.tsx (+212 -0)
apps/remix/app/components/general/admin-license-status-banner.tsx (+78 -0)
📝 apps/remix/app/components/general/metric-card.tsx (+10 -7)
📝 apps/remix/app/components/tables/admin-claims-table.tsx (+10 -4)
📝 apps/remix/app/root.tsx (+12 -3)
📝 apps/remix/app/routes/_authenticated+/admin+/_layout.tsx (+13 -1)
📝 apps/remix/app/routes/_authenticated+/admin+/claims.tsx (+16 -3)
📝 apps/remix/app/routes/_authenticated+/admin+/organisations.$id.tsx (+78 -34)
📝 apps/remix/app/routes/_authenticated+/admin+/stats.tsx (+10 -0)
📝 apps/remix/server/router.ts (+4 -0)
packages/app-tests/e2e/license/enterprise-feature-restrictions.spec.ts (+326 -0)
packages/app-tests/e2e/license/license-status-banner.spec.ts (+392 -0)
📝 packages/app-tests/playwright.config.ts (+12 -1)

...and 9 more files

📄 Description

Description

Changes:

  • Adds integration for the license server.
  • Prevent adding flags that the instance is not allowed to

There are two types of banners which can be displayed in relation to the license.
1. Global banner (everyone sees this, including signers)
2. Admin panel banner

The global banner will only be displayed if the following conditions are true:
- License successfully returns "EXPIRED"
- Documenso instance is using flags that are enterprise

The above feature will be added at a later date as a buffer.

Testing

Pending license server deployment for final tests.

Screenshots

Valid license

image

No license

image

Invalid/Not Found license

image

🔄 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/2346 **Author:** [@dguyen](https://github.com/dguyen) **Created:** 12/23/2025 **Status:** ✅ Merged **Merged:** 1/29/2026 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `feat/add-license-integration` --- ### 📝 Commits (4) - [`00b682b`](https://github.com/documenso/documenso/commit/00b682b3a58737791da0f3b6af5c5d747cec7500) feat: add license integration - [`4218657`](https://github.com/documenso/documenso/commit/42186570dc1de5fc6e8263afd4443dac24cc11a6) fix: refactor - [`3d56f6c`](https://github.com/documenso/documenso/commit/3d56f6c412bc1c9f7d6ce968036eaa98a2debe61) chore: update docs - [`a75b3e2`](https://github.com/documenso/documenso/commit/a75b3e2f9e9d2f7d2ddb9c6a7392078ef66c5ea6) Merge branch 'main' into feat/add-license-integration ### 📊 Changes **29 files changed** (+1644 additions, -92 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+3 -0) 📝 `.gitignore` (+4 -0) 📝 `apps/documentation/pages/users/licenses/enterprise-edition.mdx` (+41 -10) ➕ `apps/documentation/public/images/admin-license-status.webp` (+0 -0) 📝 `apps/remix/app/components/dialogs/claim-create-dialog.tsx` (+7 -1) 📝 `apps/remix/app/components/dialogs/claim-update-dialog.tsx` (+4 -1) 📝 `apps/remix/app/components/forms/subscription-claim-form.tsx` (+62 -27) ➕ `apps/remix/app/components/general/admin-license-card.tsx` (+212 -0) ➕ `apps/remix/app/components/general/admin-license-status-banner.tsx` (+78 -0) 📝 `apps/remix/app/components/general/metric-card.tsx` (+10 -7) 📝 `apps/remix/app/components/tables/admin-claims-table.tsx` (+10 -4) 📝 `apps/remix/app/root.tsx` (+12 -3) 📝 `apps/remix/app/routes/_authenticated+/admin+/_layout.tsx` (+13 -1) 📝 `apps/remix/app/routes/_authenticated+/admin+/claims.tsx` (+16 -3) 📝 `apps/remix/app/routes/_authenticated+/admin+/organisations.$id.tsx` (+78 -34) 📝 `apps/remix/app/routes/_authenticated+/admin+/stats.tsx` (+10 -0) 📝 `apps/remix/server/router.ts` (+4 -0) ➕ `packages/app-tests/e2e/license/enterprise-feature-restrictions.spec.ts` (+326 -0) ➕ `packages/app-tests/e2e/license/license-status-banner.spec.ts` (+392 -0) 📝 `packages/app-tests/playwright.config.ts` (+12 -1) _...and 9 more files_ </details> ### 📄 Description ## Description Changes: - Adds integration for the license server. - Prevent adding flags that the instance is not allowed to There are two types of banners which can be displayed in relation to the license. ~~1. Global banner (everyone sees this, including signers)~~ 2. Admin panel banner ~~The global banner will only be displayed if the following conditions are true:~~ ~~- License successfully returns "EXPIRED"~~ ~~- Documenso instance is using flags that are enterprise~~ The above feature will be added at a later date as a buffer. ## Testing Pending license server deployment for final tests. ## Screenshots ### Valid license <img width="1282" height="508" alt="image" src="https://github.com/user-attachments/assets/ca5c06e4-5776-4641-825d-aebbc50f8932" /> ### No license <img width="1282" height="508" alt="image" src="https://github.com/user-attachments/assets/336e6f83-b6b8-46ef-933a-5002ec536548" /> ### Invalid/Not Found license <img width="1282" height="508" alt="image" src="https://github.com/user-attachments/assets/1a69e4fc-127b-4e20-b768-7be583920a5b" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:33:00 +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#2234
No description provided.