Files
cal.diy/packages/features/ee
2a1dc619ee feat: Multiple Private links per Event Type (#15896)
* feat: Change hashedLink field to array

Signed-off-by: Souptik Datta <[email protected]>

* feat: Implement core single-use links logic

Signed-off-by: Souptik Datta <[email protected]>

* fix: Get private link from list of hashedLinks on event list page

Signed-off-by: Souptik Datta <[email protected]>

* fix: Fix defalut single-use links form field value

Signed-off-by: Souptik Datta <[email protected]>

* fix: Fix some type errors while compiling

Signed-off-by: Souptik Datta <[email protected]>

* fix: Use onChange callback instead of setting form values directly

Signed-off-by: Souptik Datta <[email protected]>

* feat: Add e2e tests for single-use links

Signed-off-by: Souptik Datta <[email protected]>

* refactor: Refactor single-use-links admin interface

Signed-off-by: Souptik Datta <[email protected]>

* fix: Fix settings toggle bugs

Signed-off-by: Souptik Datta <[email protected]>

* chore: Remove redundant inline comments

Signed-off-by: Souptik Datta <[email protected]>

* fix: Remove debug statements

Signed-off-by: Souptik Datta <[email protected]>

* chore: Remove single-use links e2e tests

Signed-off-by: Souptik Datta <[email protected]>

* feat: Remove private-link feature and override with single-use-links

Signed-off-by: Souptik Datta <[email protected]>

* fix: Fix type errors

Signed-off-by: Souptik Datta <[email protected]>

* refactor: Remove redundant migrations

Signed-off-by: Souptik Datta <[email protected]>

* fix: Add managedEvents restriction

Signed-off-by: Souptik Datta <[email protected]>

* fix: Fix single-use-links for org

Signed-off-by: Souptik Datta <[email protected]>

* fix: Fix recommended UI changes

Signed-off-by: Souptik Datta <[email protected]>

* fix: Fix duration not respected for private links

Signed-off-by: Souptik Datta <[email protected]>

* fix: Fix team event page title

Signed-off-by: Souptik Datta <[email protected]>

* feat: Add logic to copy each single-use-links from event listing page

Signed-off-by: Souptik Datta <[email protected]>

* feat: Add single-use links support for managed event types

Signed-off-by: Souptik Datta <[email protected]>

* fix: Fix some type errors

Signed-off-by: Souptik Datta <[email protected]>

* fix: Fix type errors

Signed-off-by: Souptik Datta <[email protected]>

* refactor: Disable adding new single-use links when field is locked

Signed-off-by: Souptik Datta <[email protected]>

* fix: Address feedbacks

Signed-off-by: Souptik Datta <[email protected]>

* refactor: Hide add new link button for locked single-use link field

Signed-off-by: Souptik Datta <[email protected]>

* chore: Use empty string for single-use link fallback value condition

Signed-off-by: Souptik Datta <[email protected]>

* fix: Fix org single-use links in listing page

Signed-off-by: Souptik Datta <[email protected]>

* feat: Auto toggle unlock button for managed event's single-use links option

Signed-off-by: Souptik Datta <[email protected]>

* Revert "feat: Auto toggle unlock button for managed event's single-use links option"

This reverts commit 5a2ed6f0bf428d52de153335499f02f42ccdf18f.

* chore: Disable parent toggle for single-use-links

Signed-off-by: Souptik Datta <[email protected]>

* feat: Remove tooltip and give info message below field

Signed-off-by: Souptik Datta <[email protected]>

* add tooltip

* tooltip message

* fix: Fix typo

Signed-off-by: Souptik Datta <[email protected]>

* fix: Fix typescript type errors

Signed-off-by: Souptik Datta <[email protected]>

* fix: Fix few unit tests

Signed-off-by: Souptik Datta <[email protected]>

* refactor: Remove redundant query

Signed-off-by: Souptik Datta <[email protected]>

* merge conflict fix

* More merge conflict fix and refactor

* fix tests, code refactor

* fix: type check

* fix: duration config and keep links when updating event type

* fix: e2e

* refactor: Replace single-use-links with multiple-private-links

Signed-off-by: Souptik Datta <[email protected]>

---------

Signed-off-by: Souptik Datta <[email protected]>
Co-authored-by: Anik Dhabal Babu <[email protected]>
Co-authored-by: Amit91848 <[email protected]>
2024-10-03 00:58:54 +05:30
..
2022-07-28 13:58:26 -06:00
2023-05-22 18:56:17 +01:00
2024-02-13 16:10:08 +00:00
2024-07-16 09:52:12 +00:00

Enterprise Edition

Welcome to the Enterprise Edition ("/ee") of Cal.com.

The /ee subfolder is the place for all the Enterprise Edition features from our hosted plan and enterprise-grade features for Enterprise such as SSO, SAML, OIDC, SCIM, SIEM and much more or Platform plan to build a marketplace.

❗ WARNING: This repository is copyrighted (unlike our main repo). You are not allowed to use this code to host your own version of app.cal.com without obtaining a proper license first❗

Setting up Stripe

  1. Create a stripe account or use an existing one. For testing, you should use all stripe dashboard functions with the Test-Mode toggle in the top right activated.
  2. Open Stripe ApiKeys save the token starting with pk_... to NEXT_PUBLIC_STRIPE_PUBLIC_KEY and sk_... to STRIPE_PRIVATE_KEY in the .env file.
  3. Open Stripe Connect Settings and activate OAuth for Standard Accounts
  4. Add <CALENDSO URL>/api/integrations/stripepayment/callback as redirect URL.
  5. Copy your client*id (ca*...) to STRIPE_CLIENT_ID in the .env file.
  6. Open Stripe Webhooks and add <CALENDSO URL>/api/integrations/stripepayment/webhook as webhook for connected applications.
  7. Select all payment_intent events for the webhook.
  8. Copy the webhook secret (whsec_...) to STRIPE_WEBHOOK_SECRET in the .env file.

Setting up SAML login

  1. Set SAML_DATABASE_URL to a postgres database. Please use a different database than the main Cal instance since the migrations are separate for this database. For example postgresql://postgres:@localhost:5450/cal-saml
  2. Set SAML_ADMINS to a comma separated list of admin emails from where the SAML metadata can be uploaded and configured.
  3. Create a SAML application with your Identity Provider (IdP) using the instructions here - SAML Setup
  4. Remember to configure access to the IdP SAML app for all your users (who need access to Cal).
  5. You will need the XML metadata from your IdP later, so keep it accessible.
  6. Log in to one of the admin accounts configured in SAML_ADMINS and then navigate to Settings -> Security.
  7. You should see a SAML configuration section, copy and paste the XML metadata from step 5 and click on Save.
  8. Your provisioned users can now log into Cal using SAML.