cal/packages/emails/templates
Leo Giovanetti c5483c81de
feat: Organizations (#8993)
* Initial commit

* Adding feature flag

* feat: Orgs Schema Changing `scopedMembers` to `orgUsers` (#9209)

* Change scopedMembers to orgMembers

* Change to orgUsers

* Letting duplicate slugs for teams to support orgs

* Covering null on unique clauses

* Supporting having the orgId in the session cookie

* feat: organization event type filter (#9253)

Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>

* Missing changes to support orgs schema changes

* feat: Onboarding process to create an organization (#9184)

* Desktop first banner, mobile pending

* Removing dead code and img

* WIP

* Adds Email verification template+translations for organizations (#9202)

* First step done

* Merge branch 'feat/organizations-onboarding' of github.com:calcom/cal.com into feat/organizations-onboarding

* Step 2 done, avatar not working

* Covering null on unique clauses

* Onboarding admins step

* Last step to create teams

* Moving change password handler, improving verifying code flow

* Clearing error before submitting

* Reverting email testing api changes

* Reverting having the banner for now

* Consistent exported components

* Remove unneeded files from banner

* Removing uneeded code

* Fixing avatar selector

* Using meta component for head/descr

* Missing i18n strings

* Feedback

* Making an org avatar (temp)

* Check for subteams slug clashes with usernames

* Fixing create teams onsuccess

* feedback

* Making sure we check requestedSlug now

---------

Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>

* feat: [CAL-1816] Organization subdomain support (#9345)

* Desktop first banner, mobile pending

* Removing dead code and img

* WIP

* Adds Email verification template+translations for organizations (#9202)

* First step done

* Merge branch 'feat/organizations-onboarding' of github.com:calcom/cal.com into feat/organizations-onboarding

* Step 2 done, avatar not working

* Covering null on unique clauses

* Onboarding admins step

* Last step to create teams

* Moving change password handler, improving verifying code flow

* Clearing error before submitting

* Reverting email testing api changes

* Reverting having the banner for now

* Consistent exported components

* Remove unneeded files from banner

* Removing uneeded code

* Fixing avatar selector

* Using meta component for head/descr

* Missing i18n strings

* Feedback

* Making an org avatar (temp)

* Check for subteams slug clashes with usernames

* Fixing create teams onsuccess

* Covering users and subteams, excluding non-org users

* Unpublished teams shows correctly

* Create subdomain in Vercel

* feedback

* Renaming Vercel env vars

* Vercel domain check before creation

* Supporting cal-staging.com

* Change to have vercel detect it

* vercel domain check data message error

* Remove check domain

* Making sure we check requestedSlug now

* Feedback and unneeded code

* Reverting unneeded changes

* Unneeded changes

---------

Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>

* Vercel subdomain creation in PROD only

* Making sure we let localhost still work

* Feedback

* Type check fixes

* feat: Organization branding in side menu (#9279)

* Desktop first banner, mobile pending

* Removing dead code and img

* WIP

* Adds Email verification template+translations for organizations (#9202)

* First step done

* Merge branch 'feat/organizations-onboarding' of github.com:calcom/cal.com into feat/organizations-onboarding

* Step 2 done, avatar not working

* Covering null on unique clauses

* Onboarding admins step

* Last step to create teams

* Moving change password handler, improving verifying code flow

* Clearing error before submitting

* Reverting email testing api changes

* Reverting having the banner for now

* Consistent exported components

* Remove unneeded files from banner

* Removing uneeded code

* Fixing avatar selector

* Org branding provider used in shell sidebar

* Using meta component for head/descr

* Missing i18n strings

* Feedback

* Making an org avatar (temp)

* Using org avatar (temp)

* Not showing org logo if not set

* User onboarding with org branding (slug)

* Check for subteams slug clashes with usernames

* Fixing create teams onsuccess

* feedback

* Feedback

* Org public profile

* Public profiles for team event types

* Added setup profile alert

* Using org avatar on subteams avatar

* Making sure we show the set up profile on org only

* Profile username availability rely on org hook

* Update apps/web/pages/team/[slug].tsx

Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>

* Update apps/web/pages/team/[slug].tsx

Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>

---------

Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>

* feat: Organization support for event types page (#9449)

* Desktop first banner, mobile pending

* Removing dead code and img

* WIP

* Adds Email verification template+translations for organizations (#9202)

* First step done

* Merge branch 'feat/organizations-onboarding' of github.com:calcom/cal.com into feat/organizations-onboarding

* Step 2 done, avatar not working

* Covering null on unique clauses

* Onboarding admins step

* Last step to create teams

* Moving change password handler, improving verifying code flow

* Clearing error before submitting

* Reverting email testing api changes

* Reverting having the banner for now

* Consistent exported components

* Remove unneeded files from banner

* Removing uneeded code

* Fixing avatar selector

* Org branding provider used in shell sidebar

* Using meta component for head/descr

* Missing i18n strings

* Feedback

* Making an org avatar (temp)

* Using org avatar (temp)

* Not showing org logo if not set

* User onboarding with org branding (slug)

* Check for subteams slug clashes with usernames

* Fixing create teams onsuccess

* feedback

* Feedback

* Org public profile

* Public profiles for team event types

* Added setup profile alert

* Using org avatar on subteams avatar

* Processing orgs and children as profile options

* Reverting change not belonging to this PR

* Making sure we show the set up profile on org only

* Removing console.log

* Comparing memberships to choose the highest one

---------

Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>

* Type errors

* Refactor and type fixes

* Update orgDomains.ts

* Feedback

* Reverting

* NIT

* fix issue getting org slug from domain

* Improving orgDomains util

* Host comes with port

* Update useRouterQuery.ts

* Feedback

* Feedback

* Feedback

* Feedback: SSR for user event-types to have org context

* chore: Cache node_modules (#9492)

* Adding check for cache hit

* Adding a separate install step first

* Put the restore cache steps back

* Revert the uses type for restoring cache

* Added step to restore nm cache

* Removed the cache-hit check

* Comments and naming

* Removed extra install command

* Updated the name of the linting step to be more clear

* Removes the need for useEffect here

* Feedback

* Feedback

* Cookie domain needs a dot

* Type fix

* Update apps/web/public/static/locales/en/common.json

Co-authored-by: Omar López <zomars@me.com>

* Update packages/emails/src/templates/OrganizationAccountVerifyEmail.tsx

* Feedback

---------

Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com>
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com>
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: Efraín Rochín <roae.85@gmail.com>
Co-authored-by: Keith Williams <keithwillcode@gmail.com>
2023-06-14 21:40:20 +00:00
..
_base-email.ts disable standard confirmation emails if workflow exists (#8747) 2023-05-09 17:08:14 +00:00
account-verify-email.ts fix: missing company name in emails (#9409) 2023-06-07 16:02:32 -07:00
attendee-awaiting-payment-email.ts Stripe add the ability to place hold on cards (#8022) 2023-04-11 23:44:14 +02:00
attendee-cancelled-email.ts Fix custom event names in emails (#6375) 2023-01-10 18:32:50 +00:00
attendee-cancelled-seat-email.ts Seated booking rescheduling. (#5427) 2023-03-14 04:19:05 +00:00
attendee-daily-video-download-recording-email.ts feat: add isRecordingExist field and create api handler (#6777) 2023-04-13 19:07:10 +00:00
attendee-declined-email.ts Fix custom event names in emails (#6375) 2023-01-10 18:32:50 +00:00
attendee-location-change-email.ts Recurring event fixes (#3030) 2022-06-09 18:32:34 -06:00
attendee-request-email.ts Fix - add team members to emails (#7207) 2023-02-27 13:45:40 -07:00
attendee-rescheduled-email.ts Fix custom event names in emails (#6375) 2023-01-10 18:32:50 +00:00
attendee-scheduled-email.ts fix: wrong locale in attendee email ics (#8945) 2023-05-22 06:14:44 +00:00
attendee-was-requested-to-reschedule-email.ts fix: remove duplicate value i18n (#8547) 2023-06-08 13:37:54 +00:00
broken-integration-email.ts Fix - add team members to emails (#7207) 2023-02-27 13:45:40 -07:00
confirm-email.html feat: add isRecordingExist field and create api handler (#6777) 2023-04-13 19:07:10 +00:00
disabled-app-email.ts Admin apps UI (#5494) 2022-12-07 14:47:02 -07:00
feedback-email.ts Allows brand customization (#5329) 2022-11-30 14:52:56 -07:00
forgot-password-email.ts Allows brand customization (#5329) 2022-11-30 14:52:56 -07:00
no-show-fee-charged-email.ts Stripe add the ability to place hold on cards (#8022) 2023-04-11 23:44:14 +02:00
organization-email-verification.ts feat: Organizations (#8993) 2023-06-14 21:40:20 +00:00
organizer-attendee-cancelled-seat-email.ts Seated booking rescheduling. (#5427) 2023-03-14 04:19:05 +00:00
organizer-cancelled-email.ts Fix - add team members to emails (#7207) 2023-02-27 13:45:40 -07:00
organizer-location-change-email.ts Fix - add team members to emails (#7207) 2023-02-27 13:45:40 -07:00
organizer-payment-refund-failed-email.ts Fix - add team members to emails (#7207) 2023-02-27 13:45:40 -07:00
organizer-request-email.ts Fix - add team members to emails (#7207) 2023-02-27 13:45:40 -07:00
organizer-request-reminder-email.ts Fix - add team members to emails (#7207) 2023-02-27 13:45:40 -07:00
organizer-requested-to-reschedule-email.ts Set GCal & Outlook `iCalUID` in .ics file (#8010) 2023-04-03 17:13:57 +00:00
organizer-rescheduled-email.ts Seated booking rescheduling. (#5427) 2023-03-14 04:19:05 +00:00
organizer-scheduled-email.ts Set GCal & Outlook `iCalUID` in .ics file (#8010) 2023-04-03 17:13:57 +00:00
slug-replacement-email.ts Managed event-types (#6876) 2023-04-12 23:10:23 -03:00
team-invite-email.ts feat: Organizations (#8993) 2023-06-14 21:40:20 +00:00