Omar López
54cefcb16e
Upgrades yarn v1 to v3. Improves CI times by 2x ( #7738 )
...
* Create env file workflow
* Add env-cache
* Fix env setter
* Fix
* Another fix
* Fix
* Fix
* Fixes
* FFS
* Fix
* Fix
* Fix
* Fix
* Fix
* Cache fixes
* Fixes
* Adds skipping steps
* db-cache fixes
* Test
* Cache fixes
* e2e
* Possible caching conflicts
* Running out of ideas
* Caching is hard
* One more time
* cache-build not skipping
* Fingers crossed
* a
* Test
* Pls
* Please
* LFG
* Build fix
* fix
* Whitespace!!
* Zomars/cal 884 paid events not sending the link (#7318 )
* WIP
* Sends correct emails for paid bookings
* Update PaymentService.ts
* Update webhook.ts
* Update webhook.ts
* Update settings back button redirect link (#7403 )
* fix(schedule): close on click #7143
* fix(EventSetupTab): validLocations length will always match validLocations length #7138
* fix(SettingsLayout): go back to right route #7379
* feat: get country code from ip geolocation (#6880 )
* feat: get coutnry code from ip geolocation
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* fix: create new api route for fetching code
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* chore: replace city with country
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* refactor: create hook for country
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
---------
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
* Team Workflows (#7038 )
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
* Add destination calendar name to DestinationCalendarSelector (#6701 )
* Add destination calendar name
* Type fix
* Search through calendars only for destination calendar credential
* Refactor get connected calendars
* Clean up
---------
Co-authored-by: zomars <zomars@me.com>
* Update viewer.tsx (#7428 )
* Fix - add team members to emails (#7207 )
* On booking add team members & translation
* Add team members to round robin create
* Only update calendars on reschedule if there is a calendar reference
* Send email on reschedules
* Send team email on cancelled event
* Add team members to calendar event description
* Clean up
* Convert other emails to organizer & teams
* Type check fixes
* More type fixes
* Change organizer scheduled input to an object
* early return updateCalendarEvent
* Introduce team member type
* Fix type errors
* Put team members before attendees
* Remove lodash cloneDeep
* Update packages/core/EventManager.ts
Co-authored-by: Omar López <zomars@me.com>
* Remove booking select object
* Revert "Remove booking select object"
This reverts commit 9f121ff4eb
.
* Refactor email manager (#7270 )
Co-authored-by: zomars <zomars@me.com>
* Type change
* Remove conditional check for updateAllCalendarEvents
---------
Co-authored-by: zomars <zomars@me.com>
* Typefix
* Updates webhook response
* Update pr.yml
* Update action.yml
* Update action.yml
* Update action.yml
* Update action.yml
* Update action.yml
* Is this redundant?
* Removed setup
* Update action.yml
* Update action.yml
* Consolitades setup step
* Revert "Consolitades setup step"
This reverts commit 5e8d1983cc
.
* Fix?
* One more time
* Revert "One more time"
This reverts commit fd8b559a13
.
* Benchmarking buildjet
* Update action.yml
* Re-introduce setup
* Adds embeds to missing pro cache
* Lint fixes
* Adds prettier ignore
* Upgrades to yarn 3
* Updates lockfile
* Reverts CI to ubuntu
* Testing new yarn install
* We cannot use immutable due to our private submodules
* Adds CI skip
* Fixes
* Adds plugin
* Forces local embed package
* Moves eslint to root
* Update yarn.lock
* Playwright fixes
* Embed test fixes
* Splits embed react tests
* Splits embed react tests
* Removes install step to benchmark
* Update playwright.config.ts
* One playwright config for all
* More test fixes
* Update basic.e2e.ts
* Added typescript as a global monorepo dev
* Update to v18
* Update yarn.lock
* Update env-create-file.yml
* Update .github/workflows/pr.yml
---------
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
Co-authored-by: Esaú Morais <55207584+esau-morais@users.noreply.github.com>
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com>
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com>
2023-03-15 15:01:04 -07:00
zomars
089f52b425
Update yarn.lock
2023-03-15 13:17:43 -07:00
Yagiz Nizipli
47bf6d27d9
chore: bump node version to v18 ( #7310 )
...
* chore: bump node version to v18
* fix(web): support node 19 as accepted
* fix(web): update boxyhq/saml-jackson to 1.8.1
* Drop support for Node 16.x
* Removed n19 pending @azure/msal-node
---------
Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: zomars <zomars@me.com>
2023-03-15 20:15:16 +00:00
Lucas Smith
2317473545
feat(web): improve session retrieval performance ( #7584 )
...
* feat(web): improve session retrieval performance
Switch to using `getServerSession` which avoids a HTTP round trip to retrieve session details.
Additionally, migrate deprecated `app/lib/auth` calls to to `@calcom/lib` package.
* fix: update failing test and lint
* Consolidates auth code in features
* Update yarn.lock
* Update packages/trpc/server/createContext.ts
* Oopsie
---------
Co-authored-by: zomars <zomars@me.com>
2023-03-10 23:45:24 +00:00
zomars
c97fecf436
Syncs react-hook-form in console/website
2023-03-07 19:08:00 -07:00
zomars
7eecc311e0
Syncs yarn.lock with submodules
2023-03-07 12:55:44 -07:00
Alex van Andel
262c8cf37c
Removed @next/font ( #7514 )
2023-03-04 20:07:50 +00:00
Alex van Andel
4366405b21
Updates to yarn.lock / removed outdated deps from downstream
2023-03-04 16:23:15 +00:00
Alex van Andel
9d7cd73c7f
Fixed lockfile, bumped nextjs to v13.2.3
2023-03-04 15:10:13 +00:00
Alex van Andel
62dcd6612c
Removed some of the UTC logic which shouldn't be there ( #7425 )
...
* Removed some of the UTC logic which shouldn't be there
* Upgrade rhf, remove SSR on [schedule] page
* Fix potential bug with date
* Amend schedule trpc call & don't show edit availability if id is undefined
* type fix
* Order date overrides in list by date
* Changed logic to check for unavailable
* Fix bug report spotted by @CarinaWolli
I can save date overrides for march 1st and 2nd (my date/time when saving was march 1st at 11PM GMT-5). It is saved successfully in the database however the date overrides don't show up in the list.
That's why:
- new Date() is utc so it is already march 2nd
- override.date has always timestamp 00:00 so it is also smaller than the utc time which was in my case 2023-03-02T04:00
* Actual fix, gotta remember it's the schedule tz
2023-03-03 14:02:02 +01:00
zomars
295748adca
Update yarn.lock
2023-03-02 14:00:21 -07:00
Omar López
6e93224c9b
Tree shake icons ( #7051 )
...
* Attempt to tree shake icons
* Tree shaking icons
2023-03-02 13:56:10 -07:00
GitStart-Cal.com
4d8198d113
Filter Timezones by cities ( #7118 )
...
* Filter Timezones by cities
* Update yarn.lock
* Removes large endpoint from batching
* Adds caching for large response
* Updates test snapshots
---------
Co-authored-by: gitstart-calcom <gitstart@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
2023-03-02 13:42:41 -07:00
Warren
841346c5f2
Install DeploySentinel Playwright reporter ( #7405 )
...
* install reporter
* Update e2e-app-store.yml
---------
Co-authored-by: zomars <zomars@me.com>
2023-03-02 11:25:30 -07:00
Efraín Rochín
aa0a1fcc95
upgrade nextjs to 13.2 version and replace @next/font for in built ne… ( #7440 )
...
* upgrade nextjs to 13.2 version and replace @next/font for in built next/font
* Sync packages
* Update yarn.lock
* Updates edge configs
---------
Co-authored-by: zomars <zomars@me.com>
2023-02-28 16:38:46 -07:00
Julius Marminge
e4b766b9d6
refactor: cleanup use of rawInput and pipe mdwr in trpc router ( #7422 )
...
* cleanup use of rawInput and pipe mdwr
* Update ssg.ts
* Update ssg.ts
* Update viewer.tsx
---------
Co-authored-by: zomars <zomars@me.com>
2023-02-28 14:40:19 -07:00
Efraín Rochín
2529f71770
Upgrade prisma to 4.11.0 version ( #7438 )
...
* Upgrade prisma to 4.11.0 version
* Update yarn.lock
* Syncs packages
* Update yarn.lock
* Removes deprecations
---------
Co-authored-by: zomars <zomars@me.com>
2023-02-28 14:15:50 -07:00
Hariom Balhara
75c7e03efe
Upgrade vite ( #7197 )
2023-02-20 17:50:40 +00:00
Efraín Rochín
fd76bc9cab
Reduce booking page bundle size ( #7131 )
...
* AvailabilityPage Component loaded dynamically
* update next/bundle-analyzer dependency
* Load dynamically SlotPicker and TimezoneDropDown and make some imports refactoring
* Gates functionality Returned
* Replace crypto with md5 dependency to generate gravatar url
* Refactor: AvailableTimes and SlotPicker
* Update next.config.js
* Update SlotPicker.tsx
* Update getEventTypeAppData.ts
---------
Co-authored-by: zomars <zomars@me.com>
2023-02-17 12:53:31 -07:00
Omar López
7c749299bb
Enforces explicit type imports ( #7158 )
...
* Enforces explicit type imports
* Upgrades typescript-eslint
* Upgrades eslint related dependencies
* Update config
* Sync packages mismatches
* Syncs prettier version
* Linting
* Relocks node version
* Fixes
* Locks @vitejs/plugin-react to 1.3.2
* Linting
2023-02-16 15:39:57 -07:00
Omar López
9d3540511b
Add/eslint plugin unused imports ( #7102 )
...
* Re added debug endpoint
* Update me.ts
* Adds eslint-plugin-unused-imports
* Linting
2023-02-14 23:26:29 +00:00
Omar López
86c94a3cd5
Upgrades tRPC to 10.10.0 ( #6995 )
...
* Upgrades tRPC to 10.10.0
* Type fixes
2023-02-10 13:05:02 -07:00
zomars
41774e4932
Fix flaky test
2023-02-09 10:51:48 -07:00
Alex van Andel
a94465ff04
Feature/maintenance mode ( #6930 )
...
* Implement maintenance mode with Vercel Edge Config
* Error log is spam during development/ added \n in .env.example
* Exclude _next, /api for /maintenance page
* Re-instate previous config
* rtl: begone
* Added note to explain why /auth/login covers the maintenance page.
---------
Co-authored-by: Omar López <zomars@me.com>
2023-02-08 21:51:58 +00:00
Alex van Andel
6e45b1c383
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
2023-02-02 14:26:00 +00:00
Leo Giovanetti
36b6c351ec
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 <zomars@me.com>
* Update packages/features/kbar/Kbar.tsx
Co-authored-by: Omar López <zomars@me.com>
* Update packages/features/settings/layouts/SettingsLayout.tsx
Co-authored-by: Omar López <zomars@me.com>
* 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 <zomars@me.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com>
2023-01-31 17:44:14 -03:00
Omar López
16adf86c8c
Upgrades typescript to 4.9.4 ( #6747 )
...
* Upgrades typescript to 4.9.4
* Type fixes
2023-01-26 18:50:56 -07:00
zomars
1cf83068b2
Update yarn.lock
2023-01-26 13:33:59 -07:00
zomars
c6fc1f756b
Update yarn.lock
2023-01-25 16:56:44 -07:00
zomars
88b7c506f1
Include submodule dependencies in lockfile
2023-01-25 16:56:25 -07:00
Alex van Andel
12b7739c9a
Bugfix/dropdown menu trigger as child remove class names ( #6614 )
...
* Fix UsernameTextfield to take right height
* Remove className side-effect
* Incorrect resolution version fixed
* Converted mobile DropdownMenuTrigger styles into Button
2023-01-21 17:03:59 -07:00
Alex van Andel
c9ed3388ae
Regenerated lockfile without upgrade ( #6610 )
2023-01-21 15:49:35 +00:00
zomars
d3be62fbdd
Yarn lock fixes
2023-01-20 16:28:22 -07:00
Omar López
8d078564dd
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
2023-01-20 12:17:51 -07:00
zomars
100035cb89
Update yarn.lock
2023-01-12 11:37:19 -07:00
Alex van Andel
c8744768c4
Refactored buildSlots ( #6389 )
...
* Refactored buildSlots
* Added typing for computedAvailableSlots
* Adds very simple boundary logic to make sure slots start at the right times
* Logic was cutting off too early
* Woops, should be eventLength, not frequency
* Expect 12:15 slots as availability is till 12:30 for booking
* Deliberately skip test for testing purposes
* slotInterval overrides intervals, but not duration
* Fix calendar mocking
* Another 45m length
* Unskip :(
* Fix test
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
2023-01-11 17:33:34 +00:00
Alex van Andel
abdf72dc0f
Fixup yarn.lock
2023-01-09 14:36:49 +00:00
dependabot[bot]
227cd165f6
Bump json5 from 1.0.1 to 1.0.2 ( #6351 )
...
Bumps [json5](https://github.com/json5/json5 ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bailey Pumfleet <bailey@pumfleet.co.uk>
2023-01-09 14:19:51 +00:00
Omar López
359cfc4be0
Replaces mdx-remote with markdown-it ( #6326 )
...
* Replaces mdx-remote with react-markdown
* Replaces react-markdown with already available markdown-it
* Renames readme to description
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2023-01-08 00:05:35 +00:00
zomars
d95bba63f4
Submodule sync
2023-01-07 11:19:16 -07:00
Peer Richelsen
d83411162d
Upgrade to next 13.1 ( #6265 )
...
Co-authored-by: zomars <zomars@me.com>
2023-01-06 12:13:56 +00:00
Omar López
ccbb16fe76
Upgrades prisma ( #6298 )
2023-01-05 16:24:17 -07:00
zomars
c272e281cf
Submodule sync
2022-12-22 17:12:13 -07:00
Omar López
23450b61e0
Refactor/email confirm links ( #6151 )
...
* Booking confirmation link improvements
* Cleanup
* Update webhooks payload
* Removing unneeded dependency
* Feedback
* Matches enum style to rest of codebase
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Leo Giovanetti <hello@leog.me>
2022-12-21 17:15:51 -07:00
Omar López
02425702d1
Fixes/stripe improvements ( #5698 )
...
* Enables require confirmation after payment its made
* Various Stripe improvements
* Use constant
* Merge branch 'main' into fixes/stripe-improvements
* Update getStripeAppKeys.ts
* submodule sync
* Submodule sync
* Revert
* Update apps/web/components/booking/BookingListItem.tsx
Co-authored-by: alannnc <alannnc@gmail.com>
Co-authored-by: Alan <alannnc@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-12-21 20:31:09 +00:00
Leo Giovanetti
7a6349b4c0
[Hotfix] Fixing direct link encoding ( #6131 )
2022-12-20 16:00:33 -07:00
Omar López
630f438b32
Upgrades prisma / Syncs packages ( #6044 )
...
* Syncs packages
* Upgrades zod
2022-12-15 15:56:48 -07:00
dependabot[bot]
7009373b11
Bump loader-utils from 1.4.0 to 1.4.2 ( #6045 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.2 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-15 15:18:40 -07:00
Jeroen Reumkens
9eb52bbfb2
#5613 Optimise social images by utilising next image api. ( #5997 )
...
* #5613 Optimise social images by utilising next image api.
* removed unused import
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-12-13 21:22:38 +00:00
zomars
5e86881e15
Adds missing package
2022-12-08 16:17:04 -07:00