refactor: Cal.diy (#28903)

* feat: Cal.diy — community-driven MIT-licensed fork of Cal.com

This squashed commit contains all Cal.diy changes applied on top of calcom/cal.com main:

- Rebrand Cal.com to Cal.diy across the entire codebase
- Remove Enterprise Edition (EE) features, license checks, and AGPL restrictions
- Switch license from AGPL-3.0 to MIT
- Remove docs/ directory (migrated to Nextra at cal.diy)
- Remove dead code: org tests, EE tips, platform nav, premium username, SAML/SSO, etc.
- Clean up .env.example for self-hosted Cal.diy
- Update Docker image references to calcom/cal.diy
- Update README, CONTRIBUTING.md, and issue templates for Cal.diy community fork
- Add PR welcome bot for Cal.diy contributors
- Fix API v2 breaking changes oasdiff ignore entries
- Replace Blacksmith CI runners with default GitHub Actions

3893 files changed, 20789 insertions(+), 411020 deletions(-)

Co-Authored-By: [email protected] <[email protected]>

* refactor: remove org-specific /organizations/:orgId endpoints from API v2 atoms controllers (#1701)

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix: revert Cal.diy Inc to Cal.com, Inc. in license files, copyright notices, and package metadata (#1702)

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* rip out org related comments in api v2

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Benny JooandDevin AI authored and GitHub committed 2026-04-15 09:52:36 -03:00
1 parent a17f28e9ab
commit ab21c7f805
4080 files changed
+14403 -404922

No files matched your search

@@ -1,85 +0,0 @@
import { useLocale } from "@calcom/lib/hooks/useLocale";
import { Dialog, DialogContent } from "@calcom/ui/components/dialog";
import { Button } from "@calcom/ui/components/button";
import { useGatedFeaturesStore, GatedFeatures } from "../stores/gatedFeaturesStore";
type FeatureContent = {
badgeText: string;
title: string;
image: string;
description: string;
features: string[];
learnMoreUrl: string;
ctaUrl: string;
};
const content: Record<GatedFeatures, FeatureContent> = {
roles_and_permissions: {
badgeText: "roles_and_permissions",
title: "only_available_on_orgs_plan",
image: "/gated-features/roles_and_permissions.svg",
description: "upgrade_team_to_orgs_with_price",
features: [
"1_parent_team_unlimited_subteams",
"attribute_based_routing",
"compliance_check",
"and_more_features",
],
learnMoreUrl: "https://cal.com/enterprise",
ctaUrl: "/settings/organizations/new",
},
};
export function GatedFeaturesModal() {
const { t } = useLocale();
const isOpen = useGatedFeaturesStore((state) => state.isOpen);
const activeFeature = useGatedFeaturesStore((state) => state.activeFeature);
const close = useGatedFeaturesStore((state) => state.close);
const data = activeFeature ? content[activeFeature] : null;
if (!data) {
return null;
}
const { badgeText, description, image, title, features, learnMoreUrl, ctaUrl } = data;
return (
<Dialog open={isOpen} onOpenChange={(open) => !open && close()}>
<DialogContent className="p-0!" style={{ maxWidth: "400px" }}>
<div className="p-6">
<img src={image} alt={t(title)} className="w-full h-36 mb-5" />
<div className="p-1 text-xs bg-emphasis rounded-md w-fit mb-3 leading-3">{t(badgeText)}</div>
<div className="mb-5 flex flex-col gap-2">
<div className="text-xl font-semibold text-emphasis leading-6">{t(title)}</div>
<div className="text-sm leading-5 font-normal text-default">{t(description)}</div>
</div>
<div className="flex flex-col gap-1 ml-6">
<ul className="list-disc">
{features.map((feature) => (
<li className="text-sm text-default font-medium" key={feature}>
{t(feature)}
</li>
))}
</ul>
</div>
</div>
<div className="w-full bg-muted border-subtle flex items-center justify-between rounded-b-2xl border-t px-6 py-5">
<Button color="minimal" onClick={close}>
{t("dismiss")}
</Button>
<div className="flex gap-2">
<Button color="secondary" target="_blank" rel="noopener noreferrer" href={learnMoreUrl}>
{t("learn_more")}
</Button>
<Button color="primary" href={ctaUrl}>
{t("upgrade")}
</Button>
</div>
</div>
</DialogContent>
</Dialog>
);
}
@@ -12,7 +12,6 @@ import { useWelcomeToCalcomModal } from "../hooks/useWelcomeToCalcomModal";
const features = [
"unlimited_calendars",
"unlimited_event_types",
"workflows_feature",
"integrate_with_favorite_apps",
"accept_payments_via_stripe",
"html_react_embed",
@@ -98,7 +97,7 @@ export function WelcomeToCalcomModal() {
<div className="bg-muted border-subtle flex shrink-0 items-center justify-between rounded-b-2xl border-t px-8 py-6">
<Button
color="minimal"
href="https://cal.com/docs"
href="https://cal.diy"
target="_blank"
EndIcon="external-link"
className="pointer-events-none opacity-0">