Personal calendar manager https://cal.maronato.dev
Go to file
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
__checks__ [Checkly] adds "Location Link" code (#5752) 2022-11-28 16:52:24 -07:00
.changeset Add changesets/cli to release embed (#8126) 2023-05-13 08:22:31 +00:00
.github chore: Cache node_modules (#9492) 2023-06-14 15:27:47 -03:00
.husky Fixes over Turborepo improvements (#3144) 2022-06-24 09:38:17 -06:00
.snaplet Upgaded Snaplet CLI 2022-11-11 10:32:35 -07:00
.vscode perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
.yarn Add changesets/cli to release embed (#8126) 2023-05-13 08:22:31 +00:00
apps feat: Organizations (#8993) 2023-06-14 21:40:20 +00:00
deploy fixes codespace login msg spelling (#6288) 2023-01-06 12:37:03 -07:00
packages feat: Organizations (#8993) 2023-06-14 21:40:20 +00:00
scripts Clarifies new db vs old db 2022-08-11 18:43:59 -06:00
tests/libs/__mocks__ refactor: Moving from jest to vitest (#9035) 2023-05-24 23:35:44 +00:00
.editorconfig Added .editorconfig file as suggested in #270 2021-07-03 17:02:26 +00:00
.env.appStore.example chore: remove deprecated metamask and rainbow (#9299) 2023-06-06 11:18:44 +00:00
.env.example feat: Organizations (#8993) 2023-06-14 21:40:20 +00:00
.eslintignore Upgrades yarn v1 to v3. Improves CI times by 2x (#7738) 2023-03-15 15:01:04 -07:00
.eslintrc.js Eslint fixes (#1898) 2022-02-18 16:53:45 +00:00
.gitignore Updates git init scripts 2023-05-23 13:18:27 -07:00
.gitpod.yml Gitpod setup And Bio Detail Overflow Bug Fixed (#8824) 2023-05-15 13:18:31 +00:00
.kodiak.toml Allows auto approvals for crowdin 2022-07-11 18:49:40 -06:00
.npmrc chore: add some dx configs (#650) 2021-09-29 09:41:38 +00:00
.nvmrc chore: bump node version to v18 (#7310) 2023-03-15 20:15:16 +00:00
.prettierignore refactor: Moving from jest to vitest (#9035) 2023-05-24 23:35:44 +00:00
.prettierrc.js Linting (#2083) 2022-03-09 17:52:48 +00:00
.yarnrc.yml Add changesets/cli to release embed (#8126) 2023-05-13 08:22:31 +00:00
app.json Updates heroku deployment template (#6879) 2023-02-05 14:50:04 +00:00
CODE_OF_CONDUCT.md Runs format script 2022-06-24 07:37:56 -06:00
CONTRIBUTING.md Guide to setup enviroment variable added in contributing mardown file (#8911) 2023-05-17 15:11:28 -07:00
crowdin.yml Ignores vital for now 2022-06-03 14:18:43 -06:00
gh.env Solves Github actions caching issues (#7431) 2023-02-28 10:41:55 +00:00
git-init.sh Updates git init scripts 2023-05-23 13:18:27 -07:00
git-setup.sh Updates git init scripts 2023-05-23 13:18:27 -07:00
LICENSE Update LICENSE 2023-05-22 18:54:09 +01:00
package.json test: Smoke Tests for packaged embeds and build improvements (#9169) 2023-06-01 20:41:30 +00:00
playwright.config.ts test: Smoke Tests for packaged embeds and build improvements (#9169) 2023-06-01 20:41:30 +00:00
Procfile fix: deployment setup to Heroku (#1834) 2022-02-14 16:29:48 +00:00
README.md docs: Added command in manual section (#9433) 2023-06-12 21:46:29 +01:00
SECURITY.md Formatting 2022-07-12 11:52:13 -06:00
turbo.json feat: Organizations (#8993) 2023-06-14 21:40:20 +00:00
vitest.config.ts refactor: Moving from jest to vitest (#9035) 2023-05-24 23:35:44 +00:00
vitest.workspace.ts test: Smoke Tests for packaged embeds and build improvements (#9169) 2023-06-01 20:41:30 +00:00
yarn.lock feat: Organizations (#8993) 2023-06-14 21:40:20 +00:00