Skip to content

Commit 2e2278e

Browse files
Merge branch 'main' into chore/bump-follow-redirects
2 parents b75a216 + a1587f2 commit 2e2278e

File tree

4,081 files changed

+21370
-411883
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,081 files changed

+21370
-411883
lines changed

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://unpkg.com/@changesets/config@2.3.0/schema.json",
3-
"changelog": ["@changesets/changelog-github", { "repo": "calcom/cal.com" }],
3+
"changelog": ["@changesets/changelog-github", { "repo": "calcom/cal.diy" }],
44
"commit": false,
55
"fixed": [],
66
"linked": [],

.env.appStore.example

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
# ⚠️ ⚠️ ⚠️ THESE WILL BE MIGRATED TO THE DATABASE TO PREVENT AWS's 4KB ENV QUOTA ⚠️ ⚠️ ⚠️
2525

2626
# - BASECAMP
27-
# Used to enable Basecamp integration with Cal.com
28-
# @see https://github.com/calcom/cal.com#obtaining-basecamp-client-id-and-secret
27+
# Used to enable Basecamp integration with Cal.diy
28+
# @see https://github.com/calcom/cal.diy#obtaining-basecamp-client-id-and-secret
2929
BASECAMP3_CLIENT_ID=
3030
BASECAMP3_CLIENT_SECRET=
3131
BASECAMP3_USER_AGENT=
@@ -34,7 +34,7 @@ BASECAMP3_USER_AGENT=
3434
# Enables Cal Video. to get your key
3535
# 1. Visit our [Daily.co Partnership Form](https://go.cal.com/daily) and enter your information
3636
# 2. From within your dashboard, go to the [developers](https://dashboard.daily.co/developers) tab.
37-
# @see https://github.com/calcom/cal.com#obtaining-daily-api-credentials
37+
# @see https://github.com/calcom/cal.diy#obtaining-daily-api-credentials
3838

3939
DAILY_API_KEY=
4040
DAILY_SCALE_PLAN=''
@@ -43,7 +43,7 @@ DAILY_MEETING_ENDED_WEBHOOK_SECRET=''
4343

4444
# - GOOGLE CALENDAR/MEET/LOGIN
4545
# Needed to enable Google Calendar integration and Login with Google
46-
# @see https://github.com/calcom/cal.com#obtaining-the-google-api-credentials
46+
# @see https://github.com/calcom/cal.diy#obtaining-the-google-api-credentials
4747
GOOGLE_API_CREDENTIALS=
4848

4949
# To enable Login with Google you need to:
@@ -55,18 +55,18 @@ GOOGLE_LOGIN_ENABLED=false
5555

5656
# - HUBSPOT
5757
# Used for the HubSpot integration
58-
# @see https://github.com/calcom/cal.com/#obtaining-hubspot-client-id-and-secret
58+
# @see https://github.com/calcom/cal.diy/#obtaining-hubspot-client-id-and-secret
5959
HUBSPOT_CLIENT_ID=""
6060
HUBSPOT_CLIENT_SECRET=""
6161

6262
# - OFFICE 365
6363
# Used for the Office 365 / Outlook.com Calendar / MS Teams integration
64-
# @see https://github.com/calcom/cal.com/#Obtaining-Microsoft-Graph-Client-ID-and-Secret
64+
# @see https://github.com/calcom/cal.diy/#Obtaining-Microsoft-Graph-Client-ID-and-Secret
6565
MS_GRAPH_CLIENT_ID=
6666
MS_GRAPH_CLIENT_SECRET=
6767

6868
# - SLACK
69-
# @see https://github.com/calcom/cal.com/#obtaining-slack-client-id-and-secret-and-signing-secret
69+
# @see https://github.com/calcom/cal.diy/#obtaining-slack-client-id-and-secret-and-signing-secret
7070
SLACK_SIGNING_SECRET=
7171
SLACK_CLIENT_ID=
7272
SLACK_CLIENT_SECRET=
@@ -87,7 +87,7 @@ TANDEM_BASE_URL="https://tandem.chat"
8787

8888
# - ZOOM
8989
# Used for the Zoom integration
90-
# @see https://github.com/calcom/cal.com/#obtaining-zoom-client-id-and-secret
90+
# @see https://github.com/calcom/cal.diy/#obtaining-zoom-client-id-and-secret
9191
ZOOM_CLIENT_ID=
9292
ZOOM_CLIENT_SECRET=
9393

@@ -98,7 +98,7 @@ GIPHY_API_KEY=
9898

9999
# - VITAL
100100
# Used for the vital integration
101-
# @see https://github.com/calcom/cal.com/#obtaining-vital-api-keys
101+
# @see https://github.com/calcom/cal.diy/#obtaining-vital-api-keys
102102
VITAL_API_KEY=
103103
VITAL_WEBHOOK_SECRET=
104104
# "sandbox" | "prod" | "production" | "development"
@@ -108,7 +108,7 @@ VITAL_REGION="us"
108108

109109
# - ZAPIER
110110
# Used for the Zapier integration
111-
# @see https://github.com/calcom/cal.com/blob/main/packages/app-store/zapier/README.md
111+
# @see https://github.com/calcom/cal.diy/blob/main/packages/app-store/zapier/README.md
112112
ZAPIER_INVITE_LINK=""
113113

114114
# - LARK

.env.example

Lines changed: 15 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,16 @@
11
# ********** INDEX **********
22
#
3-
# - LICENSE (DEPRECATED)
3+
# - LICENSE
44
# - DATABASE
55
# - SHARED
66
# - NEXTAUTH
77
# - E-MAIL SETTINGS
88
# - ORGANIZATIONS
99

10-
# - LICENSE (DEPRECATED) ************************************************************************************
11-
# https://github.com/calcom/cal.com/blob/main/LICENSE
12-
#
13-
# Summary of terms:
14-
# - The codebase has to stay open source, whether it was modified or not
15-
# - You can not repackage or sell the codebase
16-
# - Acquire a commercial license to remove these terms by visiting: cal.com/sales
17-
#
18-
19-
# To enable enterprise-only features please add your environment variable to the .env file then make your way to /auth/setup to select your license and follow instructions.
20-
21-
CALCOM_LICENSE_KEY=
22-
# Signature token for the Cal.com License API (used for self-hosted integrations)
23-
# We will give you a token when we provide you with a license key this ensure you and only you can communicate with the Cal.com License API for your license key
24-
CAL_SIGNATURE_TOKEN=
25-
# The route to the Cal.com License API
26-
CALCOM_PRIVATE_API_ROUTE="https://goblin.cal.com"
10+
# - LICENSE ************************************************************************************
11+
# This project is licensed under the MIT License.
12+
# @see https://github.com/calcom/cal.diy/blob/main/LICENSE
13+
# Cal.diy is fully open source — no license key is required.
2714
# ***********************************************************************************************************
2815

2916
# - DATABASE ************************************************************************************************
@@ -44,23 +31,21 @@ NEXT_PUBLIC_WEBSITE_URL='http://localhost:3000'
4431
NEXT_PUBLIC_EMBED_LIB_URL='http://localhost:3000/embed/embed.js'
4532

4633
# To enable SAML login, set both these variables
47-
# @see https://github.com/calcom/cal.com/tree/main/packages/features/ee#setting-up-saml-login
34+
# @see https://github.com/calcom/cal.diy/tree/main/packages/features/ee#setting-up-saml-login
4835
# SAML_DATABASE_URL="postgresql://postgres:@localhost:5450/cal-saml"
4936
SAML_DATABASE_URL=
5037
# SAML_ADMINS='pro@example.com'
5138
SAML_ADMINS=
5239
# NEXT_PUBLIC_HOSTED_CAL_FEATURES=1
5340
NEXT_PUBLIC_HOSTED_CAL_FEATURES=
54-
# For additional security set to a random secret and use that value as the client_secret during the OAuth 2.0 flow.
55-
SAML_CLIENT_SECRET_VERIFIER=
5641

5742
# If you use Heroku to deploy Postgres (or use self-signed certs for Postgres) then uncomment the follow line.
5843
# @see https://devcenter.heroku.com/articles/connecting-heroku-postgres#connecting-in-node-js
5944
# PGSSLMODE='no-verify'
6045
PGSSLMODE=
6146

6247
# Define which hostnames are expected for the app to work on
63-
ALLOWED_HOSTNAMES='"cal.com","cal.dev","cal-staging.com","cal.community","cal.local:3000","localhost:3000"'
48+
ALLOWED_HOSTNAMES='"cal.local:3000","localhost:3000"'
6449
# Reserved orgs subdomains for our own usage
6550
RESERVED_SUBDOMAINS='"app","auth","docs","design","console","go","status","api","saml","www","matrix","developer","cal","my","team","support","security","blog","learn","admin"'
6651

@@ -150,7 +135,7 @@ GOOGLE_LOGIN_ENABLED=false
150135

151136
# - GOOGLE CALENDAR/MEET/LOGIN
152137
# Needed to enable Google Calendar integration and Login with Google
153-
# @see https://github.com/calcom/cal.com#obtaining-the-google-api-credentials
138+
# @see https://github.com/calcom/cal.diy#obtaining-the-google-api-credentials
154139
GOOGLE_API_CREDENTIALS=
155140
# Token to verify incoming webhooks from Google Calendar
156141
GOOGLE_WEBHOOK_TOKEN=
@@ -196,17 +181,6 @@ FORMBRICKS_FEEDBACK_SURVEY_ID=
196181
AVATARAPI_USERNAME=
197182
AVATARAPI_PASSWORD=
198183

199-
# Twilio
200-
# Used to send SMS reminders in workflows
201-
TWILIO_SID=
202-
TWILIO_TOKEN=
203-
TWILIO_MESSAGING_SID=
204-
TWILIO_PHONE_NUMBER=
205-
TWILIO_WHATSAPP_PHONE_NUMBER=
206-
TWILIO_WHATSAPP_REMINDER_CONTENT_SID=
207-
TWILIO_WHATSAPP_CANCELLED_CONTENT_SID=
208-
TWILIO_WHATSAPP_RESCHEDULED_CONTENT_SID=
209-
TWILIO_WHATSAPP_COMPLETED_CONTENT_SID=
210184
# For NEXT_PUBLIC_SENDER_ID only letters, numbers and spaces are allowed (max. 11 characters)
211185
NEXT_PUBLIC_SENDER_ID=
212186
TWILIO_VERIFY_SID=
@@ -246,7 +220,7 @@ API_KEY_PREFIX=cal_
246220
# allow access to the nodemailer transports from the .env file. E-mail templates are accessible within lib/emails/
247221
# Configures the global From: header whilst sending emails.
248222
EMAIL_FROM='notifications@yourselfhostedcal.com'
249-
EMAIL_FROM_NAME='Cal.com'
223+
EMAIL_FROM_NAME='Cal.diy'
250224

251225
# Configure SMTP settings (@see https://nodemailer.com/smtp/).
252226
# Configuration to receive emails locally (mailhog)
@@ -290,9 +264,6 @@ CLOUDFLARE_TURNSTILE_SECRET=
290264
# 0 = false, 1=true
291265
NEXT_PUBLIC_VERCEL_USE_BOTID_IN_BOOKER=
292266

293-
# Set the following value to true if you wish to enable Team Impersonation
294-
NEXT_PUBLIC_TEAM_IMPERSONATION=false
295-
296267
# Close.com internal CRM
297268
CLOSECOM_CLIENT_ID=
298269
CLOSECOM_CLIENT_SECRET=
@@ -301,8 +272,8 @@ CLOSECOM_CLIENT_SECRET=
301272
SENDGRID_SYNC_API_KEY=
302273

303274
# Change your Brand
304-
NEXT_PUBLIC_APP_NAME="Cal.com"
305-
NEXT_PUBLIC_SUPPORT_MAIL_ADDRESS="help@cal.com"
275+
NEXT_PUBLIC_APP_NAME="Cal.diy"
276+
NEXT_PUBLIC_SUPPORT_MAIL_ADDRESS="help@cal.diy"
306277
NEXT_PUBLIC_COMPANY_NAME="Cal.com, Inc."
307278
# Set this to true in to disable new signups
308279
# NEXT_PUBLIC_DISABLE_SIGNUP=true
@@ -362,40 +333,27 @@ E2E_TEST_APPLE_CALENDAR_EMAIL=""
362333
E2E_TEST_APPLE_CALENDAR_PASSWORD=""
363334

364335
# - CALCOM QA ACCOUNT
365-
# Used for E2E tests on Cal.com that require 3rd party integrations
336+
# Used for E2E tests on Cal.diy that require 3rd party integrations
366337
E2E_TEST_CALCOM_QA_EMAIL="qa@example.com"
367338
# Replace with your own password
368339
E2E_TEST_CALCOM_QA_PASSWORD="password"
369340
E2E_TEST_CALCOM_QA_GCAL_CREDENTIALS=
370341
E2E_TEST_CALCOM_GCAL_KEYS=
371342

372343
# - APP CREDENTIAL SYNC ***********************************************************************************
373-
# Used for self-hosters that are implementing Cal.com into their applications that already have certain integrations
344+
# Used for self-hosters that are implementing Cal.diy into their applications that already have certain integrations
374345
# Under settings/admin/apps ensure that all app secrets are set the same as the parent application
375346
# You can use: `openssl rand -base64 32` to generate one
376347
CALCOM_CREDENTIAL_SYNC_SECRET=""
377348
# This is the header name that will be used to verify the webhook secret. Should be in lowercase
378349
CALCOM_CREDENTIAL_SYNC_HEADER_NAME="calcom-credential-sync-secret"
379350
# This the endpoint from which the token is fetched
380351
CALCOM_CREDENTIAL_SYNC_ENDPOINT=""
381-
# Key should match on Cal.com and your application
352+
# Key should match on Cal.diy and your application
382353
# must be 24 bytes for AES256 encryption algorithm
383354
# You can use: `openssl rand -base64 24` to generate one
384355
CALCOM_APP_CREDENTIAL_ENCRYPTION_KEY=""
385356

386-
# - OIDC E2E TEST *******************************************************************************************
387-
388-
# Ensure this ADMIN EMAIL is present in the SAML_ADMINS list
389-
E2E_TEST_SAML_ADMIN_EMAIL=
390-
E2E_TEST_SAML_ADMIN_PASSWORD=
391-
392-
E2E_TEST_OIDC_CLIENT_ID=
393-
E2E_TEST_OIDC_CLIENT_SECRET=
394-
E2E_TEST_OIDC_PROVIDER_DOMAIN=
395-
396-
E2E_TEST_OIDC_USER_EMAIL=
397-
E2E_TEST_OIDC_USER_PASSWORD=
398-
399357
# ***********************************************************************************************************
400358

401359
# api v2
@@ -468,7 +426,7 @@ LINGO_DOT_DEV_API_KEY=
468426
DIRECTORY_IDS_TO_LOG=
469427

470428

471-
# Set this when Cal.com is used to serve only one organization's booking pages
429+
# Set this when Cal.diy is used to serve only one organization's booking pages
472430
# Read more about it in the README.md
473431
NEXT_PUBLIC_SINGLE_ORG_SLUG=
474432

@@ -523,10 +481,3 @@ TRIGGER_DEV_PROJECT_REF=
523481

524482
GOOGLE_ADS_ENABLED=1 # To enable Google Ads tracking (gclid)
525483
LINKEDIN_ADS_ENABLED=1 # To enable LinkedIn Ads tracking (li_fat_id)
526-
527-
# - BACKBLAZE B2 (Compliance Documents) *************************************************************************
528-
# Used for storing and serving compliance documents (SOC 2, ISO 27001, pentest reports)
529-
B2_APPLICATION_KEY_ID=
530-
B2_APPLICATION_KEY=
531-
B2_BUCKET_ID=
532-
B2_BUCKET_NAME=

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Questions
4-
url: https://github.com/calcom/cal.com/discussions
5-
about: Need help selfhosting or ask a general question about the project? Open a discussion
4+
url: https://github.com/calcom/cal.diy/discussions
5+
about: Need help self-hosting or have a general question about Cal.diy? Open a discussion

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ assignees: ""
5555
- If this issue has a `🚨 needs approval` label, don't start coding yet. Wait until a core member approves feature request by removing this label, then you can start coding.
5656
- For clarity: Non-core member issues automatically get the `🚨 needs approval` label.
5757
- Your feature ideas are invaluable to us! However, they undergo review to ensure alignment with the product's direction.
58-
- Follow Best Practices lined out in our [Contributor Docs](https://github.com/calcom/cal.com/blob/main/CONTRIBUTING.md)
58+
- Follow Best Practices lined out in our [Contributor Docs](https://github.com/calcom/cal.diy/blob/main/CONTRIBUTING.md)

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
## What does this PR do?
22

3-
<!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. -->
3+
<!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
4+
5+
Note: Cal.diy is a community-maintained open-source project. Contributions here do NOT flow to Cal.com's production service. -->
46

57
- Fixes #XXXX (GitHub issue number)
6-
- Fixes CAL-XXXX (Linear issue number - should be visible at the bottom of the GitHub issue description)
78

89
## Visual Demo (For contributors especially)
910

@@ -22,7 +23,7 @@ A visual demonstration is strongly recommended, for both the original and new ch
2223
## Mandatory Tasks (DO NOT REMOVE)
2324

2425
- [ ] I have self-reviewed the code (A decent size PR without self-review might be rejected).
25-
- [ ] I have updated the developer docs in /docs if this PR makes changes that would require a [documentation change](https://cal.com/docs). If N/A, write N/A here and check the checkbox.
26+
- [ ] I have updated the developer docs if this PR makes changes that would require a documentation change. If N/A, write N/A here and check the checkbox.
2627
- [ ] I confirm automated tests are in place that prove my fix is effective or that my feature works.
2728

2829
## How should this be tested?
@@ -38,7 +39,7 @@ A visual demonstration is strongly recommended, for both the original and new ch
3839

3940
<!-- Remove bullet points below that don't apply to you -->
4041

41-
- I haven't read the [contributing guide](https://github.com/calcom/cal.com/blob/main/CONTRIBUTING.md)
42+
- I haven't read the [contributing guide](https://github.com/calcom/cal.diy/blob/main/CONTRIBUTING.md)
4243
- My code doesn't follow the style guidelines of this project
4344
- I haven't commented my code, particularly in hard-to-understand areas
4445
- I haven't checked if my changes generate no new warnings

.github/actions/docker-build-and-test/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ runs:
6262
with:
6363
images: |
6464
docker.io/calendso/calendso
65-
docker.io/calcom/cal.com
66-
ghcr.io/calcom/cal.com
65+
docker.io/calcom/cal.diy
66+
ghcr.io/calcom/cal.diy
6767
flavor: |
6868
latest=${{ !github.event.release.prerelease && inputs.use-as-latest == 'true' }}
6969
suffix=${{ inputs.platform-suffix }}
@@ -91,7 +91,7 @@ runs:
9191
docker compose logs database
9292
9393
- name: Set up Docker Buildx
94-
uses: useblacksmith/setup-docker-builder@v1
94+
uses: docker/setup-buildx-action@v3
9595
with:
9696
driver-opts: |
9797
network=container:database
@@ -100,7 +100,7 @@ runs:
100100
101101
- name: Build image
102102
id: docker_build
103-
uses: useblacksmith/build-push-action@v2
103+
uses: docker/build-push-action@v6
104104
with:
105105
context: ./
106106
file: ./Dockerfile
@@ -159,7 +159,7 @@ runs:
159159

160160
- name: Push image
161161
id: docker_push
162-
uses: useblacksmith/build-push-action@v2
162+
uses: docker/build-push-action@v6
163163
if: ${{ inputs.push-image == 'true' && !github.event.release.prerelease }}
164164
with:
165165
context: ./

0 commit comments

Comments
 (0)