Commit Graph

59 Commits

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
Omar López b93f87af14
Upgrades prisma to 3.10 (#1978)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-07 18:30:28 +00:00
Leo Giovanetti d21d53000e
Jitsi Video App migration (#2027)
* Jitsi Video App migration

* Removing uneeded dependencies

* Missed unused reference

* Missing dependency

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

Co-authored-by: Omar López <zomars@me.com>
2022-03-07 11:17:26 -07:00
Syed Ali Shahbaz 8c4eed2bbc
Add "light-brand" and "dark-brand" colors (add a second color picker) (#2028)
* init dark brand color addition

* added dark mode css vars

* added contrast brand colors

* minor fixes

* added dark branding to loader, button

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-05 15:37:46 +00:00
sean-brydon 91b732ff1c
Fixing Mobile UI - Event Types (#2065)
* Event Types - Mobile Ui

* Removing Daily video from default list

Added this for testing purposes

* Removing ZOD + mt on clock

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-03-05 14:42:43 +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
Omar López 190cc8caf6
Ensures prisma schemas are generated and formatted post-install (#2060) 2022-03-04 10:43:40 -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
sean-brydon c9a3c5789e Revert "Slack Oauth + verify sig"
This reverts commit ee95795e0f.
2022-03-02 22:01:04 +00:00
sean-brydon ee95795e0f Slack Oauth + verify sig 2022-03-02 21:53:51 +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 a369ba895f Revert "Slack Oauth integration - api route ideas"
This reverts commit 35ffa78e92.
2022-03-01 19:39:20 -07:00
zomars f0602df29f Adds location option for daily video 2022-03-01 19:33:19 -07:00
zomars 10dde1bbf3 Adds getLocationOptions 2022-03-01 16:17:12 -07:00
Sean Brydon 35ffa78e92 Slack Oauth integration - api route ideas 2022-03-01 22:38:49 +00:00
zomars fd5fd1f9d5 Updated type info 2022-03-01 13:55:49 -07:00
zomars b3f435ec48 Daily fixes 2022-03-01 13:47:09 -07:00
zomars ff1e738cc1 Merge branch 'main' into monorepo/app-store 2022-03-01 11:31:40 -07:00
zomars 579a3af844 WIP 2022-03-01 11:06:34 -07:00
zomars 9c67a7452c WIP 2022-03-01 10:01:57 -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
alannnc 9851c8f526
fix/secret-premade-event-hidden (#1999)
* fix/secret-premade-event-hidden

* fix/secret-premade-event-hidden: change hidden to partial in zod custom

Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2022-02-28 21:23:17 +00:00
zomars 3643d62ce6 Merge branch 'main' into monorepo/app-store 2022-02-28 10:19:52 -07:00
Bailey Pumfleet 7826a34b00
Let users set 12/24 hour time format (#2002) 2022-02-28 16:24:47 +00:00
Omar López cefd0cfb16
Added API private submodule (#1958) 2022-02-24 01:14:37 +00:00
zomars 93a6039c8c Merge branch 'main' into monorepo/app-store 2022-02-23 09:03:57 -07:00
Alex van Andel 652c2e342f
Second go at removing Zod generated classes from our repo (#1946)
* Second go at removing Zod generated classes from our repo

* Directly reference the _EventTypeModel
2022-02-22 23:19:22 +00:00
zomars 5a63a78660 Renamed zoomvideo app 2022-02-22 15:10:22 -07: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 5d2fbe4629 WIP 2022-02-22 15:01:10 -07:00
zomars 355737a86f WIP 2022-02-22 15:01:10 -07:00
Omar López b2bc6500a3 Revert "Tweak/gitignore prisma zod (#1905)" (#1906)
This reverts commit 15bfeb30d7.
2022-02-22 14:59:08 -07:00
Omar López 487a4153e4 Tweak/gitignore prisma zod (#1905)
* Extracts ignored createEventTypeBaseInput

* Adds postinstall script
2022-02-22 14:59:08 -07:00
zomars 9fcb82cc80 Updates typings 2022-02-22 14:58:25 -07:00
Alex van Andel a704f1ed0a
Always disconnect + remove redundant success message (#1945) 2022-02-22 12:04:55 -07:00
Omar López 50c75da5e0
Build fixes (#1929)
* Build fixes

* Fixes type error
2022-02-21 18:45:35 +00:00
Juan Esteban Nieto Cifuentes 7585e9b32e
Fix URL by removing slash and backslash (#1733)
* Fix URl by removing slash and backslash

* Implement slugify

* Add data type

* Fixing folder structure

* Solve zod-utils conflict
2022-02-21 09:53:16 -07: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
Demian Caldelas b3ada7c25c
Handy shortcut to start Prisma Studio (#1921)
* Add fast access to start Prisma Studio

* Updates docs

* Minor fixes in docs

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-21 16:02:09 +00:00
Omar López deeafb21a5
Upgrades prisma to latest version (#1894)
* Upgrades prisma

* Extends Stripe paid booking timeout

* Stripe test fixes

* Disables cache for db-reset

* Disabled cache from db-seed

* Avatar fixes

* Fixes paid booking test once and for all

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-02-18 15:16:53 -07:00