From eb66931366a3a03633782b50255d04b753461379 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Omar=20L=C3=B3pez?= Date: Fri, 10 Mar 2023 10:58:26 -0700 Subject: [PATCH] fix(calendar): recurring event fix (#6959) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Upgrades typescript * Update yarn lock * Typings * Hotfix: ping,riverside,whereby and around not showing up in list (#6712) * Hotfix: ping,riverside,whereby and around not showing up in list (#6712) (#6713) * fix(calendar): recurring event fix the loop was running way too often on every recurring object mostly due to the fact that the iterator was not checked for finalization, and in fact the iterator is not implemented correctly so it does not have done. instead it checks for undefined or not Signed-off-by: Tobias Gurtzick * fix(calendar): recurring started in stoneage add a start date to the iterator creation Signed-off-by: Tobias Gurtzick * fix(calendar): no reason for do here Signed-off-by: Tobias Gurtzick * fix(calendar): hour must contain same values as date calendar object... Signed-off-by: Tobias Gurtzick * Update yarn.lock * Adds deployment settings to DB (#6706) * WIP: SIU: Maximum call stack size exceeded fix? (#6740) * Maximum call stack size exceeded fix? # Conflicts: # packages/prisma/index.ts * Prisma client extensions is too much for our TS * Removed unused Icons * Type fixes * replaced edit location dialog subtitle with link to app store (#6746) * Upgrades typescript to 4.9.4 (#6747) * Upgrades typescript to 4.9.4 * Type fixes * Adds booking data to SDK success event (#6737) * On duplicating an event type, spacing between arrows and label is wide (Length field) (#6717) Co-authored-by: gitstart-calcom * Update README.md * Update README.md * added blue color for links in bio (#6760) * removed credits from auth container (#6766) * On seats, hide attendees if option is selected (#6767) * On seats, hide attendees if option is selected * Remove unused line * Fix shift-enter in bio editor (#6769) * fix wrong enabled update button at first load * fix shift-enter error * small fixes + code clean up --------- Co-authored-by: CarinaWolli * fix: back button and heading size (#6768) Signed-off-by: Udit Takkar * Disable autocomplete on password field (#6705) * fix padding of lenght input on add event modal (#6771) * Fix: EventType Duplication (#6778) * fix: location select menu overflowing the container (#6719) * Update README.md * adding ukrainian (#6791) * fix(web): set canonical as `https://cal.com` in the `` (#6693) * fix(web): set canonical as https://cal.com in the * use `window.document.location?.href` if self hosted * clean up * use `isCalcom` from library * handle trailing slash on homepage again * added impersonation tip (#6794) * Standardize response codes in Login (#6787) * standardizing login response codes * playwright fix * added translation * fix: booking limits saved as undefined (#6720) * fix: booking limits saved as undefined Signed-off-by: Udit Takkar * fix: add event limit Signed-off-by: Udit Takkar --------- Signed-off-by: Udit Takkar * Correct invalid ukraine language code ua -> uk * fix(web): remove `noindex` & `nofollow` tags from the `App` and `Shell` components (#6816) Fixes https://github.com/calcom/cal.com/issues/6815 * fix: border color in dark teams page (#6817) * Add additional guests (#6419) * Add additional guests * WIP * WIP * Type fix * WIP * Add validation for already invited attendees * Revert type to email * remove controlled fields * disables signups via env variable (#6212) * disables signups via env variable * Apply suggestions from code review Co-authored-by: Peer Richelsen Co-authored-by: Omar López * Reusable Upgrade component for teams only features (#6473) Co-authored-by: CarinaWolli * i18n udpate * fix: darkmode in booking/[id] page (#6458) * fix: text-area style * fix: border styles * fix: german translation for reschedule booking email subject (#6483) * fix: german translation for reschedule subject * fix: add a full stop * fix: app store spacing issues (#6481) * feat: add equal spacing with gap * fix: title style * fix: title style * fix: remove margin * fix: remove margin * fix: sub header spacing and slider button * fix: category card text * fix: app store spacing issues * fix: tab in tablet * fix: shell * fix: styling of dropdown component (#6440) * fix: styling of dropdown component Signed-off-by: Udit Takkar * Apply suggestions from code review * fix: use dropdown item in all pages Signed-off-by: Udit Takkar * chore: undo Signed-off-by: Udit Takkar Signed-off-by: Udit Takkar Co-authored-by: Peer Richelsen * readding sidebar tips for everyone, added 3 more features to teams empty screen (#6475) * readding sidebar tips for everyone * added 3 more features to teams plan * responsive fixes * responsive fixes * small responsive fix * CTA alignment fixed * Minor alignment fixes to Shell for event-types/[type] Co-authored-by: Alex van Andel * fix: wrong i18n placeholder in many locales (#6496) * fix: czech translation * fix: spanish translation * fix: italian translation * fix: japanese translation * fix: korean translation * fix: dutch translation * fix: norwegian translation * fix: polish translation * fix: portuguese translation * fix: portuguese translation * fix: romanian translation * fix: russian translation * fix: serbian translation * fix: swedish translation * fix: turkish translation * fix: ukrainian translation * fix: vietnamese translation * fix: chinese simplified translation * fix: chinese traditional translation * Disable redirect for cancellation page (#6498) * [CAL-677] /event-type : Event Setup sidebar item doesn't reflect multiple durations (#6390) Co-authored-by: gitstart-calcom * Added fallback to hostsFixed too which is used in COLLECTIVE (#6500) * Don't update the field when changing the select (#6486) * Don't update the field when changing the select * Fixing missing label * Applied the correct y-8 vertical margin * Changed the description vertical offset from title a bit more * Add Trash icon on Availability list dropdown * fix: tablet sidebar profile being too wide and not centered (#6490) * feat: updated app list items styling issues inside settings/conferencing * feat: fixed tablet sidebar width and not centered issue * fix: removed un-related changes from this pr * deleted .env * fix: added the accidentaly deleted .env file * fix: removed unwanted .env file from the pr Co-authored-by: Peer Richelsen * Bring back PublicShell (#6505) * Add red text to error message * WIP * Rearrange guest input * Fix validate unique guests logic * Allow guests on reschedule * Lint fix * More lint fixes * Lint fixes * More lint fixes * Fix remove guest button margin --------- Signed-off-by: Udit Takkar Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: Jeff Loiselle Co-authored-by: Peer Richelsen Co-authored-by: Omar López Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com> Co-authored-by: CarinaWolli Co-authored-by: Peer Richelsen Co-authored-by: Nafees Nazik <84864519+G3root@users.noreply.github.com> Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Co-authored-by: Alex van Andel Co-authored-by: Hariom Balhara Co-authored-by: GitStart-Cal.com <121884634+gitstart-calcom@users.noreply.github.com> Co-authored-by: gitstart-calcom Co-authored-by: Ronit Panda <72537293+rtpa25@users.noreply.github.com> Co-authored-by: Alan * fix: flash of i18n in teams page (#6818) * Change lint action to run on BuildJet (#6819) * Feat - invite user to team flow improvements (#6725) * Fix Dutch custom event names (#6806) Continued from #6375 * [CAL-727] [500] on /api/trpc/[trpc] (#6795) Co-authored-by: gitstart-calcom * update isCalcom for canonicals to handle https://cal.com (#6802) * update isCalcom for canonicals to handle https://cal.com * avoid env var * prettier * handle window undefined * handle window undefined during pre-render * add some logs * add some logs * Revert "add some logs" This reverts commit 9d27de029024e526417bc79e9cee42d7333ac592. * change useHasTeamPlan hook to useHasPaidPlan (#6699) Co-authored-by: CarinaWolli * fix: use guest email in create booking link banner (#6694) * feat: tabs for teams in mobile (#6685) * fix: padding * feat: add teams tab component * fix: add image to type * fix: current path check * fix: add avatar prop * feat: add teams tab for mobile * fix: padding * fix: background and padding x * fix: empty logic * fix: conditions * fix: bg --------- Co-authored-by: Alan * [CAL-807] /event-types/single - Fix the header (#6738) * [CAL-807] /event-types/single - Fix the header * [CAL-807] /event-types/single - Fix the header * [CAL-807] /event-types/single - Fix the header --------- Co-authored-by: gitstart-calcom * Session Timeout (#6439) * Implementation * Unifying UI to password screen * Tweaks for session in password section * Update apps/web/pages/settings/security/password.tsx Co-authored-by: Omar López * Update packages/features/kbar/Kbar.tsx Co-authored-by: Omar López * Update packages/features/settings/layouts/SettingsLayout.tsx Co-authored-by: Omar López * Relying on extra db query * Upgrades typescript * Update yarn lock * Typings * Hotfix: ping,riverside,whereby and around not showing up in list (#6712) * Hotfix: ping,riverside,whereby and around not showing up in list (#6712) (#6713) * Adds deployment settings to DB (#6706) * WIP * Adds DeploymentTheme * Add missing migrations * Adds client extensions for deployment * Cleanup * Using same version as other deps * Reverting prisma changes and fixing things * Uneeded tx-expect-error * Fixing default value * Update apps/web/public/static/locales/en/common.json Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com> --------- Co-authored-by: Omar López Co-authored-by: Hariom Balhara Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com> * Fix embed modal leading inputs (#6822) Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com> * Hide attendees from calendar description (#6800) * Show the organizer timezone when booking on seats * Only show organizer in event description * Type fixes * Update snapshot with new response --------- Co-authored-by: Alex van Andel Co-authored-by: Alan * fix: installed apps and admin apps layout spacing issues. (#6753) * feat: add highlight props * feat: add isTemplate prop * feat: add invalid credintial prop * feat: add children prop * feat: render app list card * fix: add horizontal gap * fix: installed app layout style * fix: admin layout * feat: add isGlobal to returned data * feat: fix admin tab. * use common components list and AppListCard * show isDefault Badge * hide switch for global apps * fix: show switch * fix: remove isglobal * fix: layout * refactor: remove unused component and import * feat: use app list card component * fix: query param * fix: prevent unnecessary props passed to the component * feat: add disabled style * feat: add disconnect integration modal * feat: new changes. * render disconnect integration model only once. * add dropdown for actions * feat: changes in admin apps. * use dropdown for selecting action buttons. * use modal for editing keys. * Remove boolean comparison --------- Co-authored-by: Alan * user management moved to console.cal.com (#6799) * Removed unused variables (#6704) (#6750) * re-adding subtitle to Shell * lint * fixed event-type description * fix: input component style in routing forms (#6731) * fix: remove custom className * removed extra type text removed extra type text from input --------- Co-authored-by: alannnc * Add X-Frame-Options to page headers (#6784) Co-authored-by: Hariom Balhara * Removes pay_later_instructions (#6824) * [CAL-845] Improve the custom event name modal UI/UX (#6660) Co-authored-by: gitstart-calcom * webhook from ui design change (#6803) * webhook from ui change * fix: webhook test border & test webhook font style * Fixed broken path to fix SB build failure * feat: add theming options to teams (#6807) * /teams improvements (#6831) Co-authored-by: Alex van Andel * Invalidate hasTeamPlan when the last team is removed (#6837) * Not allowing random duration (#6743) * v2.5.7 * fix: padding in shell for mobile (#6825) * fix: padding * fix: breakpoints in fab * fix: padding * Move e2e to buildjet (#6840) * i18n fix * i18n fix * [CAL-713] /availability single - layout issues. Check spacing, margin, alignment with spec'd design (#6724) Co-authored-by: gitstart-calcom * fix: make cal video default value (#6716) * [CAL-90] Event Types Single / Allow multiple physical locations (#6692) Co-authored-by: gitstart-calcom * Don't override but decorate the built-in encode function (#6850) * Don't override but decorate the built-in encode function * Removed jose + synced lockfile * Give highest possible value to z-index (#6853) * Use trackingId only for trackingDomain as thats the only variable supported (#6856) * v2.5.8 * fixed availabilty layout * Left / Right buttons now bottom-aligned and slightly shorter (#6857) Fixes https://github.com/calcom/cal.com/issues/6589 * Hotfix: Event Name (#6863) (#6864) * feat: make key unique (#6861) * version 2.5.9 (#6868) * Use Calendar component view=day for drop-in replacement troubleshooter (#6869) * Use Calendar component view=day for drop-in replacement troubleshooter * Setting the id to undefined makes the busy time selected * Updated event title to include title+source * lots of small changes by me and ciaran (#6871) * Hotfix: For old Plausible installs enabled in an EventType, give a default value (#6860) * Add default for trackingId for old plausible installs in event-types * Fix types * fix: filter booking in upcoming (#6406) * fix: filter booking in upcoming Signed-off-by: Udit Takkar * fix: test Signed-off-by: Udit Takkar * fix: wipe-my-cal failing test Signed-off-by: Udit Takkar --------- Signed-off-by: Udit Takkar Co-authored-by: Peer Richelsen Co-authored-by: Peer Richelsen * fix workflows when duplicating event types (#6873) * fix: get location url from metadata (#6774) * fix: get location url from metadata Signed-off-by: Udit Takkar * fix: replace location Signed-off-by: Udit Takkar * fix: type error Signed-off-by: Udit Takkar * fix: use zod Signed-off-by: Udit Takkar --------- Signed-off-by: Udit Takkar * Updates heroku deployment template (#6879) * Hide button (#6895) * Fixed some inconsistencies within single event type page (#6887) * Fixed some inconsistencies within single event type page * Fix layout shift on AvailabilityTab * fix(date-overrides): alignment of edit & delete btns (#6892) * When unchecking the common schedule, schedule should be nulled (#6898) * theme for storybook * nit border change (#6899) * fix: metadata not saved while creating a booking. (#6866) * feat: add metadata to booking creation * fix: bug * Beginning of Strict CSP Compliance (#6841) * Add CSP Support and enable it initially for Login page * Update README * Make sure that CSP is not enabled if CSP_POLICY isnt set * Add a new value for x-csp header that tells if instance has opted-in to CSP or not * Add more src to CSP * Fix typo in header name * Remove duplicate headers fn * Add https://eu.ui-avatars.com/api/ * Add CSP_POLICY to env.example * v2.5.10 * fix: add req.headers (#6921) Signed-off-by: Udit Takkar * add-console-vars (#6929) * Admin Wizard Choose License (#6574) * Implementation * i18n * More i18n * extracted i18n, needs api to get most recent price, added hint: update later * Fixing i18n var * Fix booking filters not working for admin (#6576) * fix: react-select overflow issue in some modals. (#6587) * feat: add a disable overflow prop * feat: use the disable overflow prop * Tailwind Merge (#6596) * Tailwind Merge * Fix merge classNames * [CAL-808] /availability/single - UI issue on buttons beside time inputs (#6561) * [CAL-808] /availability/single - UI issue on buttons beside time inputs * Update apps/web/public/static/locales/en/common.json * Update packages/features/schedules/components/Schedule.tsx * create new translation for tooltip Co-authored-by: gitstart-calcom Co-authored-by: Peer Richelsen Co-authored-by: CarinaWolli * Bye bye submodules (#6585) * WIP * Uses ssh instead * Update .gitignore * Update .gitignore * Update Makefile * Update git-setup.sh * Update git-setup.sh * Replaced Makefile with bash script * Update package.json * fix: show button on empty string (#6601) Signed-off-by: Udit Takkar Signed-off-by: Udit Takkar * fix: add delete in dropdown (#6599) Signed-off-by: Udit Takkar Signed-off-by: Udit Takkar * Update README.md * Update README.md * Changed a neutral- classes to gray (#6603) * Changed a neutral- classes to gray * Changed all border-1 to border * Update package.json * Test fixes * Yarn lock fixes * Fix string equality check in git-setup.sh * [CAL-811] Avatar icon not redirecting user back to the main page (#6586) * Remove cursor-pointer, remove old Avatar* files * Fixed styling for checkedSelect + some cleanup Co-authored-by: gitstart-calcom Co-authored-by: Alex van Andel * Harsh/add member invite (#6598) Co-authored-by: Guest Co-authored-by: root * Regenerated lockfile without upgrade (#6610) * fix: remove annoying outline when