Commit Graph

53 Commits (7b4add5e887fe0da3e077ae4e8c7ee8d33ae7c7e)

Author SHA1 Message Date
Joe Au-Yeung 26db39f98b
Monorepo/app store MS Teams Integration (#2080)
* Create teamsvideo package

* Remove zoom specific refrences

* Add teams video files

* Rename to office365_video

* Add call back to add crednetial type office365_teams

* Rename to office_video to match type

* Add MS Teams as a location option

* Rename files

* Add teams reponse interface and create meeting

* Comment out Daily imports

* Add check for Teams integration

* Add token checking functions

* Change template to create event rather than meeting

* Add comment to test between create link and event

* Add teams URL to booking

* Ask for just onlineMeeting permission

* Add MS Teams logo

* Add message to have an enterprise account

* Remove comments

* Comment back hasDailyIntegration

* Comment back daily credentials

* Update link to MS Graph section of README

* Move API calls to package

Co-authored-by: Omar López <zomars@me.com>
2022-03-08 10:22:08 -07:00
zomars 26e5904d00 Merge branch 'main' into monorepo/app-store 2022-03-07 17:30:12 -07:00
Mayowa Ojo 71c9a7b931
Feature/send opt in booking email (#2048)
* Added attendee request email template

* send attendee request email

* Added booking_submitted_subject message

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-07 18:18:23 +00:00
Leo Giovanetti 67564fdb35
Huddle01 migration to app store (#2038)
* Jitsi Video App migration

* Removing uneeded dependencies

* Missed unused reference

* Missing dependency

`@calcom/lib` is needed in the `locationOption.ts` file

* Huddle01 migration to app store
2022-03-04 11:34:41 -07:00
Syed Ali Shahbaz eeb0cd7e4d
Set buffer time before/after event type (#2015)
* before and after buffer added to handleAvailableSlots function

* --WIP

* added migration

* pull buffer data from DB

* cleanup

* added buffer input in form

* removed unused functions in controller field

* improved the buffer time check

* fixed default value and added preceding event afterbuffer consideration

* fixed e2e test issue

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-04 10:19:03 +00:00
Omar López 0a8509d721
Admin/team billing downgrader (#2040)
* downgrade func

* fix security hole lol

* fix query conditions

* - set to trial not free
- auto create stripe customer if missing
- fix production check

* Extracts downgrade logic to script, fixes ts-node conflicts with prisma

* Adds trialEndsAt field to users

* Updates trial/downgrade logic

* Typo

* Legibility fixes

* Update team-billing.ts

* Legibility improvements

Co-authored-by: Jamie <ijamespine@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-03 19:29:19 +00:00
Krunal Shah c437f15868
fix: jitsi email does not contain meeting link (#2004) 2022-03-03 09:54:19 +00:00
Omar López 382d56ab54
Revert "Revert "Webhooks to support event type association"" (#2033)
* Revert "Revert "Webhooks to support event type association (#1889)" (#2032)"

This reverts commit 71e74b8320.

* Fixes turbo DB deploy

* Update turbo.json
2022-03-02 09:24:57 -07:00
Omar López 71e74b8320
Revert "Webhooks to support event type association (#1889)" (#2032)
This reverts commit d338504856.
2022-03-02 08:49:35 -07:00
Syed Ali Shahbaz d338504856
Webhooks to support event type association (#1889)
* --init database and queries

* fixed type check

* added webhook api for event types

* added webhook list in team event

* delete, edit webhook in team event

* updated webhook subtext for event type

* added discord integration to event type webhook

* check fix

* consistency

* minor code improvement

* lint fix

* Adds missing zod schemas

* requested changes pt1 --WIP

* requested changes pt2 --WIP

Co-authored-by: zomars <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-02 08:30:13 -07:00
zomars f0602df29f Adds location option for daily video 2022-03-01 19:33:19 -07:00
zomars 4f6612f48c Type fixes 2022-03-01 18:17:01 -07:00
zomars 10dde1bbf3 Adds getLocationOptions 2022-03-01 16:17:12 -07:00
zomars 5519cf36e3 WIP 2022-03-01 09:58:32 -07:00
Leo Giovanetti f0438ed35d
Daily.co app (#2022)
* Daily.co app

* Update packages/app-store/dailyvideo/lib/VideoApiAdapter.ts

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

* Update packages/app-store/dailyvideo/lib/VideoApiAdapter.ts

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

* Missing deps for newly added contants to lib

Co-authored-by: Omar López <zomars@me.com>
2022-03-01 09:53:39 -07:00
zomars 3643d62ce6 Merge branch 'main' into monorepo/app-store 2022-02-28 10:19:52 -07:00
hariombalhara cc90cf0b72
[Bugfix] Booking Date Picker - First few dates are rendered fast, but later dates are all rendered in UI at once. (#1989) 2022-02-28 09:16:43 +00:00
alannnc c8ba5e1aa1
fix/slots-calculate-hours (#1994)
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-27 22:51:41 +00:00
hariombalhara cf186e58bd
[Perf Improvement] Event Booking Date Picker (#1980)
* Memoize and remove repeat calls of functions

* Better fn names

* Remove unnecessary code change

* Process dates asyncly

* Avoid waste work

* Add comments

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-27 00:19:50 +00:00
Agusti Fernandez 5d4cbe37eb
Fixes connectionIntegration undefined bug (#1987)
* Fixes connectionIntegration undefined bug

* fixes adding NEXT_PUBLIC_BASE_URL to consts and using that

Co-authored-by: Agusti Fernandez Pardo <git@agusti.me>
2022-02-26 12:27:52 -07:00
Krunal Shah 2941ad334c
fix: twitter handle in seo (#1967) 2022-02-24 13:55:34 +00:00
zomars 93a6039c8c Merge branch 'main' into monorepo/app-store 2022-02-23 09:03:57 -07:00
Agusti Fernandez b860a79d59
Detect users browser locale for time format 12/24 hours (#1900)
* fix: adds new isBrowserLocal24h timeFormat util, uses in BookingPage

* fix: adds new time format locale detector in available times

* fix: removes 24h clock from availabletimes

* chore: move timeFormat to lib util, add to payment page

* chore: remove commented out is24h

* fix: adds timeFormat to success page

* fix: adds timeFormat to cancel page

* fix: adds timeFormat to video meeting ended/not started pages

* fix: removes added typo in success page

* fix: reverts back to use of is24h Switch in available times / time options, renames timeFormat to detectBrowserTimeFormat to avoid collisions

* fix: moves use uf isBrowserLocal24h() to clock util initClock() itself, by calling it only if no localStorage settings are set

* chore: move back timeFormat props to line it was so no change

* chore: remove empty line in timeOptions

* chore: move back timeFormat where it was in TimeOptions props

* chore: add back empty line before selectedTimeZone return

* fix: reverts back to use of is24h in payments page

* feat: adds browser locale as default in payment page in case there's no settings set by the customer

* feat: adds browser locale as default in success page

* fix: deconstruct props so eslint passes

* fix: lint issue for extra empty line in meeting-ended uid page

Co-authored-by: Agusti Fernandez <git@agusti.me>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-23 12:37:15 +00:00
zomars 5c67a95028 WIP WIP 2022-02-22 15:01:10 -07:00
zomars 505c517237 WIP 2022-02-22 15:01:10 -07:00
zomars e5164fc087 WIP 2022-02-22 15:01:10 -07:00
zomars 12e5c5bf41 WIP 2022-02-22 15:01:10 -07:00
zomars c32c29a624 Moved App definition to types 2022-02-22 15:01:10 -07:00
zomars 3522af1a16 WIP 2022-02-22 15:01:10 -07:00
zomars 8b2fd0d626 Type fixes 2022-02-22 15:01:10 -07:00
zomars 5d2fbe4629 WIP 2022-02-22 15:01:10 -07:00
zomars fa87d34a56 Removes unused file 2022-02-22 15:01:10 -07:00
zomars f4f7024d41 Conflict fixes 2022-02-22 15:01:10 -07:00
zomars 355737a86f WIP 2022-02-22 15:01:10 -07:00
zomars 9fcb82cc80 Updates typings 2022-02-22 14:58:25 -07:00
zomars 010d82ec00 patch applied 2022-02-22 14:58:23 -07:00
zomars 801e4c4600 patch applied 2022-02-22 14:58:21 -07:00
Omar López 50c75da5e0
Build fixes (#1929)
* Build fixes

* Fixes type error
2022-02-21 18:45:35 +00:00
Omar López 95b3397e42
Add ui package for reusable components (#1916)
* Add ui package for reusable components

* Add fallback

* Type fixes

* Type fixes

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-21 09:41:25 -07:00
Lola 08e6059c8d
Removing room entry buffer before a Daily.co video call (#1902)
* initial

* scale plan instructions in the readme and removed the buffer for entering a video call

* readme update for Daily Scale Plan users

Co-authored-by: Lola-Ojabowale <lola.ojabowale@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-19 00:39:10 +00:00
buschco b9dd90b998
include rescheduleUid webhook payload (#1551) (#1584)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-19 00:09:07 +00:00
Syed Ali Shahbaz 4f89205dd4
Adds discord webhook support (#1886)
* --init

* cleanup

* removed extra spacing

* changed onchange handler name

* modified payload

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-18 17:49:39 +00:00
Omar López 944a3c02ce
Eslint fixes (#1898)
* Eslint fixes

* Docs build fixes
2022-02-18 16:53:45 +00:00
Alex van Andel f8b908500f
Updated attendees to auto-accept and setting reminders to useDefault (#1880) 2022-02-16 18:21:51 -07:00
hariombalhara 4693cbba4f
Feature: Instant Theme Change, without refresh [Booking Pages Only] (#1807)
* Avoid Theme Flicker. Render Server Side

* Add back isReady implementation

* Use shorter syntax for Tag

* Listen to changes in pref-color-scheme and act

* Uglify Theme Applier code

* Resolve conflicts

* Add comments

* Appropriate function name

* Move uglify-js to dependencies

* Remove uglify-js

* Fix commnt

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-16 15:53:26 +00:00
hariombalhara 34c5360a4d
Remove intercom from public booking pages (#1835)
* Remove intercom from public pages

* remove from success and cancel pages as well

* remove from Reschedule page as well

* Fix comment

Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-16 08:26:48 -07:00
Frank Greco Jr 717d9a512d
hide additional notes in organizer scheduled email if empty (#1870)
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-02-16 10:32:13 +00:00
Omar López fe35cf6570
Extract prisma to it's own package (#1823)
* Moved prisma to packages

* Add missing prisma configs

* Extracts common libs and types

* Build and pipeline fixes

* Adds missing package

* Prisma scripts cleanup

* Updates lint staged

* Type fixes

* Sort imports

* Updates yarn lock file

* Fixes for yarn dx

* Revert "Sort imports"

This reverts commit 076109decab9b9ba307fc03696c3b0da5c4896f3.

* Formatting

* Prevent double TS version

* Fix conflict

* Extracted e2e configs
2022-02-15 13:30:52 -07:00
Peer Richelsen 5044614983
renamed cal.com call to cal.com video, added og image (#1852)
Co-authored-by: Peer Richelsen <peeroke@richelsen.net>
2022-02-15 12:46:27 +00:00
Omar López bcf40bbf26
Lint fixes (#1826)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-11 22:20:10 +00:00