6c51e2a970
insights follow up ( #7922 )
...
* init page
* init insights frontend
* nit
* nit
* nit
* merge
* fixed icons
* i18n, needs features
* Init insights trpc
* Using trpc on client
* Added events timeline
* Seed analytics script
* connect ui with trpc
* Added and fixed event time lines
* WIP popular days and avg time duration event type
* added new metric graphs
* improved upgrade tip
* always show upgrade screen
* upgrade tremor.so and select inputs for page
* Remove log
* Move everything to components and add context
* Fix select types using calcom ui one
* Adding translations
* Add missing translations
* Add more translations
* min fix
* Fixes for date select
* Prefer early return and mobile design fixes
* Fix style for mobile
* Fix data with userId filter from popular events
* add user id to average time duration
* fix types for select-react
* Removed submodules
* Delete website
* Update yarn.lock
* Code organization and type fixes
* trpc fixes
* Builds are now passing
* Relocates server code
* Add url state in insights
* Update FiltersProvider.tsx
* Cleanup
* Update embed-iframe.ts
* Update FilterType.tsx
* Update seed-app-store.config.json
* Update index.tsx
* Renamed seeder
* Update FiltersProvider.tsx
* Fix for query params
* no wrap on lg screen
* Fix shadow borders from tremor components, fix title font
* Add ring-gray to match filters
* add cursor pointer
* copy improvements
* blue to black
* fixed date select focus
* Adds missing translation strings
* Fix url state for filter type
* Apply suggestions from code review
* Updated yarn lock
* Adds feature flag
* Type fix
---------
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: zomars <[email protected] >
2023-03-28 16:24:57 -07:00
cee905bc5a
Improves reported type errors on CI ( #7813 )
...
* 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 <[email protected] >
* fix: create new api route for fetching code
Signed-off-by: Udit Takkar <[email protected] >
* chore: replace city with country
Signed-off-by: Udit Takkar <[email protected] >
* refactor: create hook for country
Signed-off-by: Udit Takkar <[email protected] >
---------
Signed-off-by: Udit Takkar <[email protected] >
* Team Workflows (#7038 )
Co-authored-by: Hariom Balhara <[email protected] >
Co-authored-by: CarinaWolli <[email protected] >
Co-authored-by: zomars <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
* 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 <[email protected] >
* 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 <[email protected] >
* Remove booking select object
* Revert "Remove booking select object"
This reverts commit 9f121ff4ebbaec9a0643111f96c5337b930ddd5b.
* Refactor email manager (#7270 )
Co-authored-by: zomars <[email protected] >
* Type change
* Remove conditional check for updateAllCalendarEvents
---------
Co-authored-by: zomars <[email protected] >
* 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 5e8d1983cc5ac309fa6875a2fee77aa6287b7151.
* Fix?
* One more time
* Revert "One more time"
This reverts commit fd8b559a135820567f40dbb47a4b4dfc2ef44755.
* 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
* Adds type check special for CI
* Update turbo.json
* Update turbo.json
---------
Signed-off-by: Udit Takkar <[email protected] >
Co-authored-by: Esaú Morais <[email protected] >
Co-authored-by: Udit Takkar <[email protected] >
Co-authored-by: Carina Wollendorfer <[email protected] >
Co-authored-by: Hariom Balhara <[email protected] >
Co-authored-by: CarinaWolli <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: Joe Au-Yeung <[email protected] >
2023-03-28 13:12:40 -07:00
3aaa1cde0d
Fixes formatted description in email + sanitize html everywhere ( #7928 )
...
* use sanitize-html instead
* add list formatting
* add lost changes from merging main
* fixes caused by merge
* remove dompurify
* Revert "remove dompurify"
This reverts commit 583bb623c7d3c0c7daa28e63ab2b1ac2da68c0d8.
* sanitize already done in editor
* Update yarn.lock
---------
Co-authored-by: CarinaWolli <[email protected] >
Co-authored-by: Alex van Andel <[email protected] >
2023-03-28 09:40:13 +00:00
Alex van Andel
83364a9e97
Update yarn.lock
2023-03-28 10:30:57 +02:00
Julius Marminge
1620ae660f
fix(embeds): add support for RSC by adding use client directives ( #7919 )
2023-03-28 11:30:02 +05:30
zomars
a571d40958
Update yarn.lock
2023-03-24 18:00:50 -07:00
Bailey Pumfleet
b49ad8294b
new yarn.lock
2023-03-24 16:43:30 +00:00
cfa720a523
/insights ( #6511 )
...
* init page
* init insights frontend
* nit
* nit
* nit
* merge
* fixed icons
* i18n, needs features
* Init insights trpc
* Using trpc on client
* Added events timeline
* Seed analytics script
* connect ui with trpc
* Added and fixed event time lines
* WIP popular days and avg time duration event type
* added new metric graphs
* improved upgrade tip
* always show upgrade screen
* upgrade tremor.so and select inputs for page
* Remove log
* Move everything to components and add context
* Fix select types using calcom ui one
* Adding translations
* Add missing translations
* Add more translations
* min fix
* Fixes for date select
* Prefer early return and mobile design fixes
* Fix style for mobile
* Fix data with userId filter from popular events
* add user id to average time duration
* Removed submodules
* Delete website
* Update yarn.lock
* Code organization and type fixes
* trpc fixes
* Builds are now passing
* Relocates server code
* Cleanup
* Medium size screen fixes
* Added TODO
---------
Co-authored-by: Alan <[email protected] >
Co-authored-by: zomars <[email protected] >
2023-03-23 22:10:01 +00:00
Omar López
9ab196c30e
Revert "Fixes formatted description in email " ( #7917 )
2023-03-23 21:20:35 +00:00
f6d7568d0a
Fixes formatted description in email ( #7696 )
...
* fix description in email
* add styling for lists
* sanitize editor input before saving
* sanitize eventTypeDescription
* santize html when used dangerouslySetInnerHTML
* fix server side sanitation
* add missing formatting and sanitation
* move @ts-expect-error to correct line
* fix type error and add yarn.lock
* fix build error
* sanitize description for booking page and availability page
* rename to markdownAndSanitize
* always add list formatting
* handle empty description in markdownAndSanitize for cleaner code
* create function for clientside markdown rendering and sanitizing
* fix type error
* code clean up
* Now that eventType.descriptionAsSafeHTML is added at all the missing places, we can do away with ts-ignore and get type safety
* Remove unused variable
* Remove one more ts-expect-error
---------
Co-authored-by: CarinaWolli <[email protected] >
Co-authored-by: Hariom Balhara <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
2023-03-23 12:00:42 +00:00
zomars
427b19238d
Update yarn.lock
2023-03-21 11:24:08 -07:00
zomars
03c9fc7952
Update yarn.lock
2023-03-20 13:03:42 -07:00
zomars
f0c7d7ff29
Uses internal @calcom/embed-snippet
2023-03-17 16:57:58 -07:00
Omar López
650ecc7a85
Upgrades turbo to 1.8.3 ( #7809 )
2023-03-17 21:14:12 +00:00
zomars
750362c0cf
Update yarn lock
2023-03-16 10:44:28 -07:00
zomars
3811dd564d
Adds back playwright for OG images generator
2023-03-16 10:42:47 -07:00
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 <[email protected] >
* fix: create new api route for fetching code
Signed-off-by: Udit Takkar <[email protected] >
* chore: replace city with country
Signed-off-by: Udit Takkar <[email protected] >
* refactor: create hook for country
Signed-off-by: Udit Takkar <[email protected] >
---------
Signed-off-by: Udit Takkar <[email protected] >
* Team Workflows (#7038 )
Co-authored-by: Hariom Balhara <[email protected] >
Co-authored-by: CarinaWolli <[email protected] >
Co-authored-by: zomars <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
* 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 <[email protected] >
* 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 <[email protected] >
* Remove booking select object
* Revert "Remove booking select object"
This reverts commit 9f121ff4ebbaec9a0643111f96c5337b930ddd5b.
* Refactor email manager (#7270 )
Co-authored-by: zomars <[email protected] >
* Type change
* Remove conditional check for updateAllCalendarEvents
---------
Co-authored-by: zomars <[email protected] >
* 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 5e8d1983cc5ac309fa6875a2fee77aa6287b7151.
* Fix?
* One more time
* Revert "One more time"
This reverts commit fd8b559a135820567f40dbb47a4b4dfc2ef44755.
* 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 <[email protected] >
Co-authored-by: Esaú Morais <[email protected] >
Co-authored-by: Udit Takkar <[email protected] >
Co-authored-by: Carina Wollendorfer <[email protected] >
Co-authored-by: Hariom Balhara <[email protected] >
Co-authored-by: CarinaWolli <[email protected] >
Co-authored-by: Peer Richelsen <[email protected] >
Co-authored-by: Joe Au-Yeung <[email protected] >
2023-03-15 15:01:04 -07:00
zomars
089f52b425
Update yarn.lock
2023-03-15 13:17:43 -07:00
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 <[email protected] >
Co-authored-by: zomars <[email protected] >
2023-03-15 20:15:16 +00:00
Lucas Smith and zomars
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 <[email protected] >
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
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 <[email protected] >
Co-authored-by: zomars <[email protected] >
2023-03-02 13:42:41 -07:00
Warren and zomars
841346c5f2
Install DeploySentinel Playwright reporter ( #7405 )
...
* install reporter
* Update e2e-app-store.yml
---------
Co-authored-by: zomars <[email protected] >
2023-03-02 11:25:30 -07:00
Efraín Rochín and zomars
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 <[email protected] >
2023-02-28 16:38:46 -07:00
Julius Marminge and zomars
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 <[email protected] >
2023-02-28 14:40:19 -07:00
Efraín Rochín and zomars
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 <[email protected] >
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 and zomars
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 <[email protected] >
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 and Omar López
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 <[email protected] >
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
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 <[email protected] >
* Update packages/features/kbar/Kbar.tsx
Co-authored-by: Omar López <[email protected] >
* Update packages/features/settings/layouts/SettingsLayout.tsx
Co-authored-by: Omar López <[email protected] >
* 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 <[email protected] >
---------
Co-authored-by: Omar López <[email protected] >
Co-authored-by: Hariom Balhara <[email protected] >
Co-authored-by: Carina Wollendorfer <[email protected] >
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