Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull latest changes from main #5

Merged
merged 303 commits into from Aug 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
303 commits
Select commit Hold shift + click to select a range
9e5b1f1
Adds custom rewrite logic for hosted cal.com
zomars Jul 13, 2022
f6684c0
Fixes lint:fix script
zomars Jul 13, 2022
e916c67
Linting fixes
zomars Jul 13, 2022
9760a26
Submodule sync
zomars Jul 13, 2022
c8ef235
New Crowdin translations by Github Action (#3356)
github-actions[bot] Jul 13, 2022
9a0b183
Update submodule-sync.yml
zomars Jul 13, 2022
78f0b09
Update submodule-sync.yml
zomars Jul 13, 2022
c7d220e
Preventing technical debt to break linting
zomars Jul 13, 2022
44b8ced
Fix/main zoom schema parsing (#3275)
alannnc Jul 14, 2022
39199e5
Workflows (#3236)
CarinaWolli Jul 14, 2022
33e36e5
Only make web3 call if credential exists (#3323)
joeauyeung Jul 14, 2022
bf7c86f
Fix Caldav not valid destination calendar and only display calendars …
joeauyeung Jul 14, 2022
318ec31
Adds a fully extensible command(ctrl)+k interface for Cal (#3346)
alishaz-polymath Jul 14, 2022
03b8643
New Crowdin translations by Github Action (#3360)
github-actions[bot] Jul 14, 2022
b1e4c23
Fixes label to set Riverside link (#3358)
CarinaWolli Jul 14, 2022
ebd4750
Improves UI stability of availability page. No CLS now. (#3347)
hariombalhara Jul 14, 2022
6f07376
New Crowdin translations by Github Action (#3362)
github-actions[bot] Jul 14, 2022
7ec5f01
kbar follow up (#3361)
PeerRich Jul 14, 2022
58d1c28
Routing Forms (#2785)
hariombalhara Jul 14, 2022
ded0b14
Update LicenseRequired.tsx
PeerRich Jul 14, 2022
99b821e
Update LicenseRequired.tsx
zomars Jul 14, 2022
1a0a318
Revert "Adds custom rewrite logic for hosted cal.com"
zomars Jul 14, 2022
6a28396
create cron-scheduleEmailReminders (#3374)
CarinaWolli Jul 14, 2022
bf2843c
Create cron-scheduleSMSReminders.yml (#3373)
CarinaWolli Jul 14, 2022
9162d90
Restores old CI config
zomars Jul 14, 2022
75b8175
Fixes timezone in reminder templates (workflows) (#3376)
CarinaWolli Jul 14, 2022
5515214
Routing Forms - Avoid Flicker, Fix preload of Cal Font (#3368)
hariombalhara Jul 15, 2022
fd16d73
New Crowdin translations by Github Action (#3364)
github-actions[bot] Jul 15, 2022
18389f4
minor improvements to routing forms (#3380)
PeerRich Jul 15, 2022
dda5750
Add workflow setup information to README.md (#3379)
CarinaWolli Jul 15, 2022
ee552d8
purged shadow-sm (#3381)
PeerRich Jul 15, 2022
0433b0a
New Crowdin translations by Github Action (#3382)
github-actions[bot] Jul 15, 2022
ff6a7bf
Fixes broken avatar slug link in availability page : OG image (#3255)
alishaz-polymath Jul 15, 2022
78e2db6
extracted upgrade to pro strings (#3383)
PeerRich Jul 15, 2022
8f020bf
New Crowdin translations by Github Action (#3385)
github-actions[bot] Jul 15, 2022
e99b018
Handle fake video apps (#3232)
sean-brydon Jul 15, 2022
6dd63ee
Bug(header): profile dropdown flickering on mobile (#3071)
gitstart Jul 15, 2022
200a704
Submodule sync
zomars Jul 15, 2022
77bf376
v1.8.0
zomars Jul 15, 2022
5e81d9f
New Crowdin translations by Github Action (#3387)
github-actions[bot] Jul 15, 2022
48916cf
fix bug with disabled save button (#3390)
CarinaWolli Jul 15, 2022
4c2f6df
Fix possible 404 when obtaining calendar busy lists (#3345)
alannnc Jul 15, 2022
07965b2
Edited typo (#3391)
martincollignon Jul 15, 2022
ec07f84
HOTFIX: fixes soft failing on settings/profile routes (#3394)
alishaz-polymath Jul 16, 2022
4dec3fb
Fix the path for "schema.prisma" file in README.md (#3386)
taha-crafter Jul 16, 2022
f43bfd3
Remove shallow routing (#3401)
sean-brydon Jul 17, 2022
1b09b7e
added title to forms, removed shadow-sm (#3412)
PeerRich Jul 18, 2022
a9ad9a6
Ensure / is used for paths in import (#3411)
hariombalhara Jul 18, 2022
6fc3e17
When rescheduling update specific calendar (#3375)
joeauyeung Jul 18, 2022
ef36a93
moved impersonating alert to the top (#3420)
PeerRich Jul 18, 2022
df3e3e8
Disables batching for i18n query (#3181)
zomars Jul 18, 2022
9861156
Added optional to password to zoom response (#3422)
alannnc Jul 18, 2022
baab6ec
Remove Add Another for global - fix spacing (#3432)
sean-brydon Jul 19, 2022
2b7f7a0
Use nodeJS 14+ compatible method for replacing (#3429)
hariombalhara Jul 19, 2022
f40b035
Hotfix: Unrelated bookings marked as cancelled due to recurring event…
hariombalhara Jul 19, 2022
0923b83
Fix routing (#3445)
hariombalhara Jul 19, 2022
805419d
Import ee from package instead of as @ee as that isnt available to ap…
hariombalhara Jul 19, 2022
63660a3
Cancelling recurring vs single event (#3448)
leog Jul 19, 2022
3b7f18c
New Crowdin translations by Github Action (#3398)
github-actions[bot] Jul 19, 2022
0e9d754
Refactor cancel integrations logic (#3416)
joeauyeung Jul 19, 2022
aa16619
Hotfix: Cancelling recurring events follow-up (#3454)
leog Jul 19, 2022
4d2f134
Hide useless windows scrollbar when they are not event required (#3458)
hariombalhara Jul 20, 2022
b2e5ac4
subtle adjustment to the position of the search icon (#3440)
ciaranha Jul 20, 2022
d1d467d
Fix a typo in the server lib (#3439)
shapel Jul 20, 2022
e35b915
Submodule sync
zomars Jul 20, 2022
be799e3
v1.8.1
zomars Jul 20, 2022
b47c753
Fixed action button display while responsive and fix translations (#3…
alannnc Jul 20, 2022
5b7cd47
Feature: Routing Forms Webhook for Form Responses (#3444)
hariombalhara Jul 20, 2022
4874a6e
Upgrades prisma to v4 (#3179)
zomars Jul 20, 2022
3ff4352
Bump prisma to v4.1
zomars Jul 20, 2022
13d13c7
Implementing additional feedback from Workflows PR (#3456)
CarinaWolli Jul 20, 2022
5a0cef7
fix/error-handling-with-proper-status (#3453)
alannnc Jul 20, 2022
0a336df
fix setting away status (#3473)
CarinaWolli Jul 21, 2022
c500952
show error message when wrong workflow id (#3474)
CarinaWolli Jul 21, 2022
faac59f
Fix TS errors and weird instances of undefined error due to prisma up…
hariombalhara Jul 21, 2022
12c33ea
Hide button if readonly (#3471)
sean-brydon Jul 21, 2022
5a9ca30
New Crowdin translations by Github Action (#3461)
github-actions[bot] Jul 21, 2022
2eedf74
Apply suggestions from code review (#3480)
gitstart Jul 21, 2022
471420c
Add getSchedule tests (#3233)
hariombalhara Jul 21, 2022
d3fcb8b
Team Impersonation (#3450)
sean-brydon Jul 21, 2022
c93e238
Fixes bug that new line is not working in workflow reminder emails (#…
CarinaWolli Jul 21, 2022
ee14423
Self-hosted onboarding first admin wizard (#3393)
leog Jul 21, 2022
0a125b6
Revert "Self-hosted onboarding first admin wizard (#3393)" (#3485)
zomars Jul 21, 2022
b94f78f
Update labeler.yml
zomars Jul 21, 2022
da29b88
Adds missing migration
zomars Jul 21, 2022
9709ee4
fix reschedule translation (#3487)
CarinaWolli Jul 21, 2022
c2d6c30
New Crowdin translations by Github Action (#3483)
github-actions[bot] Jul 22, 2022
9b5d311
Hotfix: Embed ModalBox - Hidden Content (#3491)
hariombalhara Jul 22, 2022
e04cb8f
Riverside,whereby doesnt have videoApi handle that (#3494)
hariombalhara Jul 22, 2022
c0c0bbc
Add session info to Beacon (#3497)
hariombalhara Jul 22, 2022
e82bcb6
fixes #3336 - Avatar on New Event Type (#3465)
noobyogi0010 Jul 22, 2022
9447f16
Migrates all tRPC code to a monorepo package (#3484)
zomars Jul 22, 2022
982ca3a
Add verification json (#3505)
joeauyeung Jul 22, 2022
342efae
Refactor: use EditableHeading in event-types/[type].tsx (#3468)
shapel Jul 22, 2022
b8a807d
New Crowdin translations by Github Action (#3501)
github-actions[bot] Jul 22, 2022
dd9adff
Adds missing migration
zomars Jul 23, 2022
277b0c4
Feat/design system (#3051)
sean-brydon Jul 23, 2022
e395c92
Fixing already installed apps & link to them (#3500)
leog Jul 23, 2022
c03ca55
Wipe my cal e2e fixes (#3509)
zomars Jul 24, 2022
43a6e3f
Fix V1 Colors (#3520)
sean-brydon Jul 25, 2022
82d8db5
HubSpot app improvement: create contacts (#3502)
leog Jul 25, 2022
160ccc3
Fixes/bookings 500 (#3523)
zomars Jul 25, 2022
e21e622
Storybook router issue fix (#3525)
leog Jul 25, 2022
d8b2fc9
fix cron job for reminders (#3488)
CarinaWolli Jul 25, 2022
a156a78
Fixes Atlantic/Azores blank results (#3516)
emrysal Jul 25, 2022
629131b
Disallow search engine indexing of hidden event types (#3478)
gitstart Jul 26, 2022
33e79c8
Improve phone number input (#3472)
CarinaWolli Jul 26, 2022
2b5759e
fix translation key (#3527)
CarinaWolli Jul 26, 2022
ef6ed60
Feat: Add next-themes for theme handling (#3263)
G3root Jul 26, 2022
047d4a0
Some optimisations to the storybook (#3526)
emrysal Jul 26, 2022
53befd7
Build fixes
zomars Jul 26, 2022
590ec3b
Update check-if-ui-has-changed.yml
zomars Jul 26, 2022
538c5df
Playwright should not live on deps
zomars Jul 26, 2022
35259b7
Display correct time format on availability page (#3441)
joeauyeung Jul 26, 2022
7a30690
Fix input on trial accounts (#3522)
joeauyeung Jul 26, 2022
3bdf4a8
Prevent team members from creating events (#3498)
sean-brydon Jul 26, 2022
5ad25a6
v1.8.2
zomars Jul 26, 2022
cf59123
hotfix: bookings and availability pages
zomars Jul 27, 2022
a1fcdca
v1.8.3
zomars Jul 27, 2022
b9645b4
feather icons and inter (#3366)
PeerRich Jul 27, 2022
7582d93
Fix chormatic Action (#3548)
sean-brydon Jul 27, 2022
5875261
Updates build DIR/command (#3550)
sean-brydon Jul 27, 2022
4746879
Avoid global variables leak by making the entire code IIFE (#3543)
hariombalhara Jul 27, 2022
7537ea5
Fixes button appearance on Safari
zomars Jul 27, 2022
525ce0d
Fix/office365 api call (#3534)
alannnc Jul 27, 2022
6e3825d
Fixes depth (#3555)
sean-brydon Jul 27, 2022
2c23949
Add axiom to next config (#3556)
joeauyeung Jul 27, 2022
b3bd8c1
Few updates to V2 components (#3532)
sean-brydon Jul 27, 2022
bfa70dc
Feat/onboarding admin (#3486)
zomars Jul 27, 2022
e871781
Fix getSchedule tests (#3560)
hariombalhara Jul 28, 2022
1be5510
Embedded Routing Forms - Part1 (#3530)
hariombalhara Jul 28, 2022
5d61d2d
New Crowdin translations by Github Action (#3539)
github-actions[bot] Jul 28, 2022
b90cf96
Fix: Doc typo fix in coding styling (Developer docs) (#3533)
nerdjfpb Jul 28, 2022
84b4bb3
Improve help dialog strings (#3570)
baileypumfleet Jul 28, 2022
464343f
Refactors EE code (#3490)
zomars Jul 28, 2022
b931cf2
Submodule sync
zomars Jul 28, 2022
5437005
UI tweaks (#3576)
leog Jul 29, 2022
534efe5
added status.cal.com badge
PeerRich Jul 29, 2022
67f7222
Fix broken getLocaleFromHeaders import (#3592)
dezerb Jul 29, 2022
49f584a
Fixes tailwind for EE code
zomars Jul 29, 2022
54c8c29
Fix Deploy with Vercel and add note and build commands and root direc…
sagararyal Jul 30, 2022
e7a91d4
Squashed commit of the following:
zomars Jul 30, 2022
a4b8cc8
Fixes dotenv replacements
zomars Jul 30, 2022
1ac3688
Update Kbar.tsx
zomars Jul 30, 2022
95a0496
Type fixes
zomars Jul 30, 2022
9200500
Update WebhookListContainer.tsx
zomars Jul 30, 2022
382f11f
Update [status].tsx
zomars Jul 30, 2022
2b05486
Uses ISR on setup pages
zomars Jul 30, 2022
2f03f18
Fixes missing import
zomars Jul 30, 2022
7e7938a
New Crowdin translations by Github Action (#3569)
github-actions[bot] Jul 30, 2022
bd41d9d
added help wanted project board
PeerRich Jul 30, 2022
bd6a84e
added figma design system and help wanted shields to readme
PeerRich Jul 30, 2022
1403a56
nit change to readme
PeerRich Jul 30, 2022
8efb986
change prerequistic of node.js from min 14.x to 15.x (#3587)
hussamkhatib Jul 30, 2022
a4e91a0
Improved German locale (#3521)
RebeccaCotton Jul 30, 2022
0bca141
Fix last day of month handling logic in tests (#3605)
hariombalhara Jul 30, 2022
dba48ab
fix design issue (#3606)
CarinaWolli Jul 30, 2022
c9d7412
Refactors twilio provider (#3604)
zomars Jul 30, 2022
529adc4
New Crowdin translations by Github Action (#3609)
github-actions[bot] Jul 31, 2022
d6fd9b5
Hide dropdown under modal dialog (#3607)
dezerb Jul 31, 2022
9346ae6
Use non shallow mode (#3620)
hariombalhara Aug 1, 2022
b42f0ff
Fixes unique constraint error of batchId when scheduling emails (#3542)
CarinaWolli Aug 1, 2022
7e8f131
Fix app id when creating credential (#3629)
joeauyeung Aug 1, 2022
54acf6d
Sorts root scripts and adds prisma alias
zomars Aug 1, 2022
c1896fc
Feat/onboarding username (#3580)
agustif Aug 1, 2022
299f69a
Fixes successRedirectUrl
zomars Aug 1, 2022
3ae4655
v1.8.4
zomars Aug 1, 2022
e7418f6
Submodule sync
zomars Aug 1, 2022
53de4dd
Fixes successRedirectUrl
zomars Aug 2, 2022
760026b
Correcting syntax of overloading (#3598)
leog Aug 2, 2022
fd8b323
fix: base_url for login link should be WEBAPP_URL not WEBSITE_URL (#3…
agustif Aug 2, 2022
fe50b8d
fix: cleanup onboarding username (#3638)
agustif Aug 2, 2022
7480a73
fixed dark mode profile page (#3650)
PeerRich Aug 2, 2022
e767d23
Fix/google calendar false alert (#3636)
alannnc Aug 2, 2022
6301ea1
Avoid duplicating any video credential (#3593)
gitstart Aug 2, 2022
5358e58
feat(troubleshoot): add event titles to the troubleshoot page (#3434)…
heikir Aug 3, 2022
3ac140f
[Proposal] Event type error popover proposal (#3627)
dezerb Aug 3, 2022
5ca2d7c
Update LICENSE
PeerRich Aug 3, 2022
abea19a
Update LICENSE
PeerRich Aug 3, 2022
23c79ff
Update README.md
PeerRich Aug 3, 2022
77bf1d0
Update README.md
PeerRich Aug 3, 2022
48a1f22
Potential fix (#3671)
leog Aug 3, 2022
b3b82fa
When no location, defaults to cal video (#3517)
om-ray Aug 3, 2022
532723f
Update V2 components + Move to react-icons (#3670)
sean-brydon Aug 3, 2022
298a6d5
Tweaks for Website signup form (#3635)
leog Aug 3, 2022
e878e1a
Fix/api build (#3675)
agustif Aug 3, 2022
2a73fd8
Variables for custom templates in workflows (#3602)
CarinaWolli Aug 3, 2022
4240235
make edit button full width (#3686)
CarinaWolli Aug 4, 2022
affedd1
New Crowdin translations by Github Action (#3683)
github-actions[bot] Aug 4, 2022
fc4b88e
New Crowdin translations by Github Action (#3689)
github-actions[bot] Aug 4, 2022
ca7a78d
Improve design of workflow reminder email (#3685)
CarinaWolli Aug 4, 2022
2aee450
Fix app-store seeding (#3693)
hariombalhara Aug 4, 2022
37309e8
Properly parse list calendar call to MS Graph (#3698)
joeauyeung Aug 4, 2022
218c3d7
fix heroku build (#3630)
nosovk Aug 4, 2022
da638c4
fix: made add-to-calendar responsive (#3703)
Udit-takkar Aug 4, 2022
7747b3d
Adding debugging info (#3706)
leog Aug 4, 2022
4142339
Fixing App tabs routing (#3711)
leog Aug 5, 2022
ee767a3
Fix textarea dark theme (#3712)
hariombalhara Aug 5, 2022
85764b6
Embed Test: Verifies that app remains hidden till link is ready (#3669)
hariombalhara Aug 5, 2022
a53ca33
updates to all public booking pages (#3648)
ciaranha Aug 5, 2022
2b7b03f
fix: group hover bug (#3699)
Udit-takkar Aug 5, 2022
f589d06
fix: icon positioning (#3715)
Udit-takkar Aug 5, 2022
70d6c8d
Cleans up cli generator and enables prettier formatting (#3718)
zomars Aug 5, 2022
775fe92
Fix bug for reschedule on opt-in bookings (#3678)
alannnc Aug 5, 2022
be16b72
feat: support lark calendar (#3019)
ee07b570 Aug 5, 2022
ff3bd5f
Event description now supports markdown formatting (#3688)
om-ray Aug 5, 2022
3ed206d
Squashed commit of the following:
zomars Aug 6, 2022
22d3fb7
Adds verify page
zomars Aug 6, 2022
2f9862b
fixed icons (#3730)
PeerRich Aug 7, 2022
af06ded
Update README.md
PeerRich Aug 7, 2022
1a3aaa1
Update README.md
PeerRich Aug 7, 2022
1332b76
added ping.gg app (#3728)
PeerRich Aug 8, 2022
3652ffa
Added notes for running tests for embed-core (#3720)
alannnc Aug 8, 2022
477c411
Updating website to latest (#3731)
leog Aug 8, 2022
507f5d0
Setup Wizard Not Pulling Timezone (#3677)
gitstart Aug 8, 2022
d0f34aa
Update instructions for integration with google calendar (#3558)
ilyakatz Aug 8, 2022
f036f0f
RHF conditionals fixes
zomars Aug 8, 2022
8838419
Fixes bug when changing the location of a booking (#3585)
CarinaWolli Aug 8, 2022
7776bbb
added a few desktop only improvements (#3725)
PeerRich Aug 8, 2022
87d4afe
Same-day schedules created invalid workingHours (#3742)
emrysal Aug 8, 2022
8eb45ee
fix: remove mt (#3740)
Udit-takkar Aug 9, 2022
0eeee42
Adds middleware to get V2 early access (#3617)
zomars Aug 9, 2022
2c600cf
Update README.md
PeerRich Aug 9, 2022
773bb54
Update README.md
PeerRich Aug 9, 2022
7a4795b
Fix request-reschedule for team events (#3721)
alannnc Aug 9, 2022
57869f0
fix: cancel booking buttons design (#3748)
Udit-takkar Aug 9, 2022
b936b7c
Fix url redirect to a only path redirect when joining a team (#3757)
alannnc Aug 9, 2022
9221042
feat: signin test email magic signup in app (#3749)
agustif Aug 9, 2022
e8d6d50
v1.8.5
zomars Aug 9, 2022
d363f6e
Fixes security issue when updating workflows (#3661)
CarinaWolli Aug 9, 2022
4bfa63e
Submodule sync
zomars Aug 9, 2022
14f0c30
fix: error message for riverside and whereby added (#3751)
Udit-takkar Aug 10, 2022
6d79f80
refactor: use BookingReference instead of DailyEventReference (#3667)
shapel Aug 11, 2022
accf845
Allows tree shaking unused modules (#3752)
zomars Aug 11, 2022
870cb1f
adds attendee (#3808)
alishaz-polymath Aug 11, 2022
a2a5d48
Upgrade turborepo v4 (#3804)
zomars Aug 11, 2022
f57726d
Hotfix: Signup fix error not shown (#3815)
leog Aug 11, 2022
4c89a64
Adds script to generate dummy DB per preview
zomars Aug 12, 2022
f28a131
chmod vercel script
zomars Aug 12, 2022
50a20e2
Clarifies new db vs old db
zomars Aug 12, 2022
62c1681
Adds symlink to use DATABASE_URL from root
zomars Aug 12, 2022
935491c
migrate api/availability/[user] to viewer.availability.user in trpc (…
hussamkhatib Aug 12, 2022
a839cf7
Adds symlink to use DATABASE_URL from root
zomars Aug 12, 2022
cc48b87
Merge branch 'main' of https://github.com/calcom/cal.com
zomars Aug 12, 2022
870f70f
Imports performance explicitly for Node v14 (#3823)
emrysal Aug 12, 2022
ee02112
Dynamic Links re-integrate with availability logic (#3687)
alishaz-polymath Aug 12, 2022
d90a431
Adds actions to cleanup preview DBs
zomars Aug 12, 2022
5e013d5
Fixes issues with video location links from apps (#3760)
CarinaWolli Aug 12, 2022
4cb5a56
Fix early return when expanding RRULE in CalDav/iCal (#3665)
willgittoes Aug 12, 2022
c3fbf82
Feature: Routing Forms Typeform App and other improvements (#3625)
hariombalhara Aug 13, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .env.appStore.example
Expand Up @@ -88,3 +88,11 @@ VITAL_REGION="us"
# @see https://github.com/calcom/cal.com/blob/main/packages/app-store/zapier/README.md
ZAPIER_INVITE_LINK=""
# *********************************************************************************************************

# - LARK
# Needed to enable Lark Calendar integration and Login with Lark
# @see <https://open.larksuite.com/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/g>
LARK_OPEN_APP_ID=""
LARK_OPEN_APP_SECRET=""
LARK_OPEN_VERIFICATION_TOKEN=""
# *********************************************************************************************************
18 changes: 17 additions & 1 deletion .env.example
Expand Up @@ -21,7 +21,7 @@ CALCOM_LICENSE_KEY=
# ***********************************************************************************************************

# - DATABASE ************************************************************************************************
# ⚠️ ⚠️ ⚠️ DATABASE_URL got moved to `packages/prisma/.env.example` ⚠️ ⚠️ ⚠️
DATABASE_URL="postgresql://postgres:@localhost:5450/calendso"
# ***********************************************************************************************************

# - SHARED **************************************************************************************************
Expand All @@ -30,6 +30,8 @@ NEXT_PUBLIC_WEBAPP_URL='http://localhost:3000'
NEXT_PUBLIC_WEBSITE_URL='http://localhost:3000'
NEXT_PUBLIC_CONSOLE_URL='http://localhost:3004'
NEXT_PUBLIC_EMBED_LIB_URL='http://localhost:3000/embed/embed.js'
# Make sure you don't have .example.com as a value
NEXTAUTH_DOMAIN='localhost:3000'

# To enable SAML login, set both these variables
# @see https://github.com/calcom/cal.com/tree/main/packages/ee#setting-up-saml-login
Expand Down Expand Up @@ -77,6 +79,17 @@ NEXT_PUBLIC_HELPSCOUT_KEY=
# Inbox to send user feedback
SEND_FEEDBACK_EMAIL=

# Sengrid
# Used for email reminders in workflows
SENDGRID_API_KEY=
SENDGRID_EMAIL=

# Twilio
# Used to send SMS reminders in workflows
TWILIO_SID=
TWILIO_TOKEN=
TWILIO_MESSAGING_SID=

# This is used so we can bypass emails in auth flows for E2E testing
# Set it to "1" if you need to run E2E tests locally
NEXT_PUBLIC_IS_E2E=
Expand Down Expand Up @@ -116,3 +129,6 @@ EMAIL_SERVER_PASSWORD='<office365_password>'
## @see https://support.google.com/accounts/answer/185833
# EMAIL_SERVER_PASSWORD='<gmail_app_password>'
# **********************************************************************************************************

# Set the following value to true if you wish to enable Team Impersonation
NEXT_PUBLIC_TEAM_IMPERSONATION=false
Expand Up @@ -11,12 +11,12 @@ on:
- labeled

jobs:
bug-hunting:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.1.0
with:
project-url: https://github.com/orgs/calcom/projects/1
github-token: ${{ secrets.GH_ACCESS_TOKEN }}
labeled: '🐛 bug'
labeled: 🐛 bug, 🎨 needs design, 🙋🏻‍♂️help wanted, 🚨 urgent
36 changes: 36 additions & 0 deletions .github/workflows/check-if-ui-has-changed.yml
@@ -0,0 +1,36 @@
# .github/workflows/chromatic.yml

# Workflow name
name: 'Chromatic'

# Event for the workflow
on:
pull_request_target: # So we can test on forks
branches:
- main
paths:
- apps/storybook/**
- packages/ui/**
workflow_dispatch:

# List of jobs
jobs:
chromatic-deployment:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }} # So we can test on forks
fetch-depth: 0
- name: Install dependencies
run: yarn
# 👇 Adds Chromatic as a step in the workflow
- name: Publish to Chromatic
uses: chromaui/action@v1
# Options required to the GitHub Chromatic Action
with:
# 👇 Chromatic projectToken, refer to the manage page to obtain it.
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
workingDir: "apps/storybook"
buildScriptName: "build"
16 changes: 5 additions & 11 deletions .github/workflows/check-types.yml
@@ -1,30 +1,24 @@
name: Check types
on:
pull_request:
pull_request_target:
branches:
- main
paths:
- '**.tsx?'
- "**.tsx?"
jobs:
check-types:
name: Check types
strategy:
matrix:
node: ["16.x"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}

runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 2

- name: Use Node ${{ matrix.node }}
- name: Use Node 16.x
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
node-version: 16.x
cache: "yarn"
- run: yarn --frozen-lockfile
- run: yarn type-check
20 changes: 20 additions & 0 deletions .github/workflows/cleanup-preview-databases.yml
@@ -0,0 +1,20 @@
name: Cleanup Preview Databases

env:
SNAPLET_ACCESS_TOKEN: ${{ secrets.SNAPLET_ACCESS_TOKEN }}
SNAPLET_PROJECT_ID: cl4u26bwz7962859ply7ibuo43t

on:
pull_request:
types: [closed]
branches:
- main

jobs:
delete:
runs-on: ubuntu-latest
steps:
- uses: snaplet/action@v1
if: ${{ env.SNAPLET_ACCESS_TOKEN && env.SNAPLET_PROJECT_ID }}
with:
delete: true
23 changes: 23 additions & 0 deletions .github/workflows/cron-scheduleEmailReminders.yml
@@ -0,0 +1,23 @@
name: Cron - scheduleEmailReminders

on:
# "Scheduled workflows run on the latest commit on the default or base branch."
# — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule
schedule:
# Runs “At minute 0, 15, 30, and 45.” (see https://crontab.guru)
- cron: "0,15,30,45 * * * *"
jobs:
cron-scheduleEmailReminders:
env:
APP_URL: ${{ secrets.APP_URL }}
CRON_API_KEY: ${{ secrets.CRON_API_KEY }}
runs-on: ubuntu-latest
steps:
- name: cURL request
if: ${{ env.APP_URL && env.CRON_API_KEY }}
run: |
curl ${{ secrets.APP_URL }}/api/cron/workflows/scheduleEmailReminders \
-X POST \
-H 'content-type: application/json' \
-H 'authorization: ${{ secrets.CRON_API_KEY }}' \
--fail
23 changes: 23 additions & 0 deletions .github/workflows/cron-scheduleSMSReminders.yml
@@ -0,0 +1,23 @@
name: Cron - scheduleSMSReminders

on:
# "Scheduled workflows run on the latest commit on the default or base branch."
# — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule
schedule:
# Runs “At minute 0, 15, 30, and 45.” (see https://crontab.guru)
- cron: "0,15,30,45 * * * *"
jobs:
cron-scheduleSMSReminders:
env:
APP_URL: ${{ secrets.APP_URL }}
CRON_API_KEY: ${{ secrets.CRON_API_KEY }}
runs-on: ubuntu-latest
steps:
- name: cURL request
if: ${{ env.APP_URL && env.CRON_API_KEY }}
run: |
curl ${{ secrets.APP_URL }}/api/cron/workflows/scheduleSMSReminders \
-X POST \
-H 'content-type: application/json' \
-H 'authorization: ${{ secrets.CRON_API_KEY }}' \
--fail
18 changes: 18 additions & 0 deletions .github/workflows/db-staging-snapshot.yml
@@ -0,0 +1,18 @@
name: Staging DB Snapshot
on:
schedule:
- cron: "0 4 * * 1-5" # At 04:00 on every day-of-week from Monday through Friday.
workflow_dispatch:
jobs:
db-staging-snapshot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Snaplet CLI
run: curl -sL https://app.snaplet.dev/get-cli/ | bash
- name: Restore Snapshot
run: snaplet snapshot restore -y
env:
SNAPLET_DATABASE_URL: ${{ secrets.SNAPLET_DATA_TARGET_DB_URL }}
SNAPLET_ACCESS_TOKEN: ${{ secrets.SNAPLET_ACCESS_TOKEN }}
SNAPLET_DATABASE_ID: ${{ secrets.SNAPLET_DATABASE_ID }}
99 changes: 99 additions & 0 deletions .github/workflows/e2e-app-store.yml
@@ -0,0 +1,99 @@
name: E2E App-Store Apps
on:
push:
branches: [ feature/event-routing ]
pull_request_target: # So we can test on forks
branches:
- main
paths-ignore:
- apps/api/**
- apps/console/**
- apps/docs/**
- apps/swagger/**
- apps/website/**
- apps/web/public/**
jobs:
test:
timeout-minutes: 20
name: E2E App-Store Apps
strategy:
matrix:
node: ["16.x"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}

env:
DATABASE_URL: postgresql://postgres:@localhost:5432/calendso
NEXT_PUBLIC_WEBAPP_URL: http://localhost:3000
NEXT_PUBLIC_WEBSITE_URL: http://localhost:3000
NEXTAUTH_SECRET: secret
GOOGLE_API_CREDENTIALS: ${{ secrets.CI_GOOGLE_API_CREDENTIALS }}
GOOGLE_LOGIN_ENABLED: true
# CRON_API_KEY: xxx
CALENDSO_ENCRYPTION_KEY: ${{ secrets.CI_CALENDSO_ENCRYPTION_KEY }}
NEXT_PUBLIC_STRIPE_PUBLIC_KEY: ${{ secrets.CI_NEXT_PUBLIC_STRIPE_PUBLIC_KEY }}
STRIPE_PRIVATE_KEY: ${{ secrets.CI_STRIPE_PRIVATE_KEY }}
STRIPE_CLIENT_ID: ${{ secrets.CI_STRIPE_CLIENT_ID }}
STRIPE_WEBHOOK_SECRET: ${{ secrets.CI_STRIPE_WEBHOOK_SECRET }}
PAYMENT_FEE_PERCENTAGE: 0.005
PAYMENT_FEE_FIXED: 10
SAML_DATABASE_URL: postgresql://postgres:@localhost:5432/calendso
SAML_ADMINS: pro@example.com
NEXTAUTH_URL: http://localhost:3000/api/auth
NEXT_PUBLIC_IS_E2E: 1
# EMAIL_FROM: e2e@cal.com
# EMAIL_SERVER_HOST: ${{ secrets.CI_EMAIL_SERVER_HOST }}
# EMAIL_SERVER_PORT: ${{ secrets.CI_EMAIL_SERVER_PORT }}
# EMAIL_SERVER_USER: ${{ secrets.CI_EMAIL_SERVER_USER }}
# EMAIL_SERVER_PASSWORD: ${{ secrets.CI_EMAIL_SERVER_PASSWORD }}
# MS_GRAPH_CLIENT_ID: xxx
# MS_GRAPH_CLIENT_SECRET: xxx
# ZOOM_CLIENT_ID: xxx
# ZOOM_CLIENT_SECRET: xxx
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
services:
postgres:
image: postgres:12.1
env:
POSTGRES_USER: postgres
POSTGRES_DB: calendso
ports:
- 5432:5432

steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }} # So we can test on forks
fetch-depth: 2
- run: echo 'NODE_OPTIONS="--max_old_space_size=4096"' >> $GITHUB_ENV
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: "yarn"

- name: Cache playwright binaries
uses: actions/cache@v2
id: playwright-cache
with:
path: |
~/Library/Caches/ms-playwright
~/.cache/ms-playwright
${{ github.workspace }}/node_modules/playwright
key: cache-playwright-${{ hashFiles('**/yarn.lock') }}
restore-keys: cache-playwright-
- run: yarn --frozen-lockfile
- name: Install playwright deps
# if: steps.playwright-cache.outputs.cache-hit != 'true'
run: yarn playwright install --with-deps
- name: Run Tests
run: yarn app-e2e-quick

- name: Upload Test Results
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: test-results-core
path: packages/app-store/**/playwright/results
15 changes: 5 additions & 10 deletions .github/workflows/e2e-embed.yml
@@ -1,6 +1,6 @@
name: E2E tests Embed
name: E2E Embed tests and booking flow(for non-embed as well)
on:
pull_request: # So we can test on forks
pull_request_target: # So we can test on forks
branches:
- main
# Embed e2e - tests verify booking flow which is applicable to non-embed case also. So, don't ignore apps/web changes.
Expand All @@ -10,12 +10,7 @@ on:
jobs:
e2e-embed:
timeout-minutes: 20
name: Embed and booking flow(for non-embed as well)
strategy:
matrix:
node: ["16.x"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

env:
DATABASE_URL: postgresql://postgres:@localhost:5432/calendso
Expand Down Expand Up @@ -66,10 +61,10 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }} # So we can test on forks
fetch-depth: 2
- run: echo 'NODE_OPTIONS="--max_old_space_size=4096"' >> $GITHUB_ENV
- name: Use Node ${{ matrix.node }}
- name: Use Node 16.x
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
node-version: 16.x
cache: "yarn"

- name: Cache playwright binaries
Expand Down