feat: remove all proprietary/enterprise code for community edition#8
Open
ajnart wants to merge 2 commits into
Open
feat: remove all proprietary/enterprise code for community edition#8ajnart wants to merge 2 commits into
ajnart wants to merge 2 commits into
Conversation
Remove all DSAL-licensed proprietary features to create a clean Apache 2.0 community edition. This includes: - Audit Logs (UI, router, service) - Custom Roles management (UI, router) - License Key system (UI, router, service, validation utils) - Enterprise SSO with OIDC/SAML (UI, router, service) - Forward Authentication (UI, router, service, traefik middleware) - Whitelabeling (UI, router, provider) - Social auth (GitHub/Google sign-in components) - Enterprise backup cron jobs - enterpriseProcedure tRPC middleware - hasValidLicense gating across permission, server, and git-provider services Stubbed audit() and useWhitelabeling hooks as no-ops to avoid modifying 40+ router call sites and 16+ page imports respectively. DB schema columns retained to avoid requiring migrations on existing installations. 35 files deleted, 32 files modified, ~8400 lines removed. Zero new TypeScript errors introduced (651 pre-existing → 651 after).
Next.js 16 defaults to Turbopack which fails in this pnpm monorepo due to workspace root inference. Explicitly pass `webpack: true` when TURBOPACK env var is not set.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
components/proprietary/,routers/proprietary/,services/proprietary/) plus enterprise settings pages, enterprise utils, and forward-auth UIaudit()anduseWhitelabelinghooks as no-ops to avoid modifying 40+ router call sites and 16+ page importsenableEnterpriseFeatures,forwardAuthEnabled,enforceSSO, etc.) to avoid requiring migrations on existing installationsFeatures removed
enterpriseProceduretRPC middlewarehasValidLicensegating in permission, server, and git-provider servicesImpact
LICENSE_PROPRIETARY.mddeleted,LICENSE.MDcleaned of dual-license referenceTest plan
pnpm dev)