Leo Giovanetti
1a79e0624c
Recurring Events ( #2562 )
...
* Init dev
* UI changes for recurring event + prisma
* Revisiting schema + changes WIP
* UI done, BE WIP
* Feature completion
* Unused query param removed
* Invalid comment removed
* Removed unused translation
* Update apps/web/public/static/locales/en/common.json
Thanks!
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
* Success page changes
* More progress
* Email text tweaks + test + seed
* Tweaking emails + Cal Apps support WIP
* No app integration for now
Final email and pages tweaks to avoid recurring info showed
* Missing comment for clarity
* Yet again, comment
* Last minute fix
* Missing tooltip for upcoming bookings
* Fixing seed
* Fixing import
* Increasing timeout for e2e
* Fixing any
* Apply suggestions from code review
Co-authored-by: Omar López <zomars@me.com>
* Update apps/web/pages/d/[link]/book.tsx
Co-authored-by: Omar López <zomars@me.com>
* Code improvements
* More code improvements
* Reverting back number input arrows
* Update BookingPage.tsx
* Update BookingPage.tsx
* Adds fallback for sendOrganizerPaymentRefundFailedEmail
* Type overkill
* Type fixes
* Type fixes
* Nitpicks
* Update success.tsx
* Update success.tsx
* Update success.tsx
* Fixing types
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Omar López <zomars@me.com>
2022-05-05 18:16:25 -03:00
Hariom Balhara
174ed9f6d1
Embed Snippet Generator ( #2597 )
...
* Add support to dynamically change the theme
* Add Embed UI in app
* Update UI as per Figma
* Dynamicaly update Embed Code
* Get differnet modes working in preview
* Support Embed on EventType Edit, Team Link Fix and Mobile unsupported
* Fix auto theme switch in Embed Snippet generator
* Fix types
* Self Review fixes
* Remove Embed from App section
* Move get query after the middleware to let middleware work on it
* Add sandboxes in the document
* Add error handling for embed loading
* Fix types
* Update snapshots and fix bug identified by tests
* UI Fixes
* Add Embed Tests
* Respond in preview to width and height
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-05-05 08:29:49 -06:00
zomars
977ad141ee
Extracts useMeQuery to own hook
2022-05-04 15:28:58 -06:00
Julián David Sánchez Gallego
0973d79c31
Update way to get the 'accepted' attribute
2022-05-04 15:28:58 -06:00
Carina Wollendorfer
02b935bcde
Feat/zapier app ( #2623 )
...
* create basic app structure
* add zapierSubscription model to prisma.schema
* change column name triggerEvent to lower case
* add zapier functionality + enpoints + adjust prisma.schema
* add subscriptionType + refactor code
* add app store information
* create setup page to generate api key
* clean code
* add copy functionality in setup page
* clean code
* add apiKeyType and delte key when uninstalled or new key generated
* clean code
* use Promise.all
* only approve zapier api key
* clean code
* fix findValidApiKey for api keys that don't expire
* fix migrations
* clean code
* small fixes
* add i18n
* add README.md file
* add setup guide to README.md
* fix yarn.lock
* Renames zapierother to zapier
* Typo
* Updates package name
* Rename fixes
* Adds zapier to the App Store seeder
* Adds missing zapier to apiHandlers
* Adds credential relationship to App
* Rename fixes
* Allows tailwind to pick up custom app-store components
* Consolidates zapier_setup_instructions
* Webhook fixes
* Uses app relationship instead of custom type
* Refactors sendPayload to accept webhook object
Instead of individual parameters
* refactoring
* Removes unused zapier check
* Update cancel.ts
* Refactoring
* Removes example comments
* Update InstallAppButton.tsx
* Type fixes
* E2E fixes
* Deletes all user zapier webhooks on integration removal
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: zomars <zomars@me.com>
2022-05-03 23:16:59 +00:00
Omar López
6a27fb2959
Fixes/app store keys in db ( #2651 )
...
* Adds available apps
* Adds App Model
* WIP
* Updates seeder script
* Seeder fixes
* lowercase categories
* Upgrades prisma
* WIP
* WIP
* Hopefully fixes circular deps
* Type fixes
* Fixes seeder
* Adds migration to connect Credentials to Apps
* Updates app store callbacks
* Updates google credentials
* Uses dirName from DB
* Type fixes
* Update reschedule.ts
* Seeder fixes
* Fixes categories listing
* Update index.ts
* Update schema.prisma
* Updates dependencies
* Renames giphy app
* Uses dynamic imports for app metadata
* Fixes credentials error
* Uses dynamic import for api handlers
* Dynamic import fixes
* Allows for simple folder names in app store
* Squashes app migrations
* seeder fixes
* Fixes dyamic imports
* Update apiHandlers.tsx
2022-05-02 14:39:35 -06:00
Syed Ali Shahbaz
59a1db9068
Hash my url ( #2484 )
...
* disposable link model added
* disposable model updated
* added disposable slug availability page
* added disposable book page
* added disposable slug hook
* added disposable link booking flow
* updated schema
* checktype fix
* added checkfix and schema generated
* create link API added
* added one time link view on event type list
* adjusted schema
* fixed disposable visual indicator
* expired check and visual indicator added
* updated slug for disposable event type
* revised schema
* WIP
* revert desc
* revert --WIP
* rework based on change of plans
* further adjustments
* added eventtype option for hashed link
* added refresh and delete on update
* fixed update call conditions
* cleanup
* code improvement
* clean up
* Potential fix for 404
* backward compat for booking page
* fixes regular booking for user and team
* typefix
* updated path for Booking import
* checkfix
* e2e wip
* link err fix
* workaround for banner issue in event type update-test
* added regenerate hash check
* fixed test according to new testID
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
2022-04-28 09:44:26 -06:00
alannnc
c22b6ca670
Fix/login with provider ( #2594 )
2022-04-26 15:12:08 +00:00
sean-brydon
9fffaa20a2
Fix providerName ( #2589 )
...
Co-authored-by: Omar López <zomars@me.com>
2022-04-26 04:20:13 +00:00
sean-brydon
7c12bb1e20
Bug/i118n flicker ( #2609 )
...
* Fix Global Flicker
* Fixes Flicker + Null return
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-04-25 18:26:13 -06:00
sean-brydon
95a793dd5a
Skeleton Loaders Implementation ( #2596 )
...
* Skeleton Loaders
* Remove Href
* Fix Height Jumping around
* Subtle Colors
* feedback by ciaran
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-04-25 17:01:51 +00:00
Hariom Balhara
93c75b5fef
Embed Miscellaneous Improvements and Fixes ( #2499 )
2022-04-25 10:03:00 +05:30
Agusti Fernandez
8bc5a75249
Feature: Verify login on signup with magic link. ( #2122 )
...
* manual migration to rename verificationtoken, maybe it could be dropped and create a new table instead if we're not using it, will consult @zomars
* feat: rename verificationRequest --> verificationToken in schema.prisma
* fix: rename verificationRequest -> verificationToken in the codebase
* feat: add default cookies for next-auth
* fix: moves @lib/serverConfig to @calcom/lib so it can be called by website too
* fix: make self-certificate work in dev env by not rejecting tls in serverConfig
* fix verificationTokenToken typo
Co-authored-by: Omar López <zomars@me.com>
* Adds domain: .cal.com if not dev env in cookies
* Adds default-cookies to apps/web, and nextauth_domain to turbo website build deps"a
* update NEXTAUTH_DOMAIN to NEXTAUTH_COOKIE_DOMAIN
* Updates website submodule
* Removes deprecated env vars
* Consolidates auth logic in one place
* Updates website module
* Signup fixes
* Build fixes
* Updates example
* Updates example
* Fixes
* Fix Email Verification
* fix: move csrf-token cookiePrefix from __Host -> __Secure
* Removes console log
* Fixes link in email template
* Removed irrelevant coment
* Testing with a 32 bit secret
* Fixes for cookien in E2E
* E2E fixes
* Fixes Stripe tests locally
* Temp fix for E2E
Co-authored-by: Agusti Fernandez Pardo <git@agusti.me>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
2022-04-21 14:32:25 -06:00
alannnc
c06d8164bc
feature/app wipe my cal ( #2496 )
2022-04-15 10:09:40 +00:00
Afzal Sayed
699d910ab4
Perf: Optimize event-types page ( #2436 )
...
* Perf: Optimize event-types page
* Memoize layout in Shell
* setQueryState without awaiting mutate for optimistic update
* Update Shell.tsx
* Fix types
* Update auth-index.test.ts
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-04-14 21:49:51 +00:00
alannnc
3c6ac395cc
Feature/reschedule bookings ( #2351 )
...
* WIP bookings page ui changes, created api endpoint
* Ui changes mobile/desktop
* Added translations
* Fix lib import and common names
* WIP reschedule
* WIP
* Save wip
* [WIP] builder and class for CalendarEvent, email for attende
* update rescheduled emails, booking view and availability page view
* Working version reschedule
* Fix for req.user as array
* Added missing translation and refactor dialog to self component
* Test for reschedule
* update on types
* Update lib no required
* Update type on createBooking
* fix types
* remove preview stripe sub
* remove unused file
* remove unused import
* Fix reschedule test
* Refactor and cleaning up code
* Email reschedule title fixes
* Adding calendar delete and recreate placeholder of cancelled
* Add translation
* Removed logs, notes, fixed types
* Fixes process.env types
* Use strict compare
* Fixes type inference
* Type fixing is my middle name
* Update apps/web/components/booking/BookingListItem.tsx
* Update apps/web/components/dialog/RescheduleDialog.tsx
* Update packages/core/builders/CalendarEvent/director.ts
* Update apps/web/pages/success.tsx
* Updates rescheduling labels
* Update packages/core/builders/CalendarEvent/builder.ts
* Type fixes
* Update packages/core/builders/CalendarEvent/builder.ts
* Only validating input blocked once
* E2E fixes
* Stripe tests fixes
Co-authored-by: Peer Richelsen <peer@cal.com>
Co-authored-by: zomars <zomars@me.com>
2022-04-14 15:25:24 -06:00
Hariom Balhara
39935306fc
Embed behind authentication page, Floating Button Popup and other changes ( #2468 )
...
Co-authored-by: Omar López <zomars@me.com>
2022-04-14 08:17:34 +05:30
Demian Caldelas
e1df207f5d
Prepare for deprecated radix-ui IdProvider ( #2068 )
...
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
Co-authored-by: Omar López <zomars@me.com>
2022-04-12 18:41:42 +00:00
Hariom Balhara
c63d81719b
Embed Improvements ( #2365 )
...
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-04-08 05:33:24 +00:00
sean-brydon
96f6294542
Show eventDescription on email ( #2371 )
...
* Show eventDescription on email
* Fixing Inheritance
* Fixing Duplicate getLocation
* Type fixes
Co-authored-by: zomars <zomars@me.com>
2022-04-07 18:22:11 +00:00
Syed Ali Shahbaz
d1ffd1edae
dynamic group links ( #2239 )
...
* --init
* added default event types
* updated lib path
* updated group link design
* fixed collective description
* added default minimum booking notice
* Accept multi user query for a default event type
* check types
* check types --WIP
* check types still --WIP
* --WIP
* --WIP
* fixed single user type not working
* check fix
* --import path fix
* functional collective eventtype page
* fixed check type
* minor fixes and --WIP
* typefix
* custominput in defaultevent fix
* added booking page compatibility for dynamic group links
* added /book compatibility for dynamic group links
* checktype fix --WIP
* checktype fix
* Success page compatibility added
* added migrations
* added dynamic group booking slug to booking creation
* reschedule and database fix
* daily integration
* daily integration --locationtype fetch
* fixed reschedule
* added index to key parameter in eventtype list
* fix + added after last group slug
* added user setting option for dynamic booking
* changed defaultEvents location based on recent changes
* updated default event name in updated import
* disallow booking when one in group disallows it
* fixed setting checkbox association
* cleanup
* udded better error handling for disabled dynamic group bookings
* cleanup
* added tooltip to allow dynamic setting and enable by default
* Update yarn.lock
* Fix: Embed Fixes, UI configuration PRO Only, Tests (#2341 )
* #2325 Followup (#2369 )
* Adds initial MDX implementation for App Store pages
* Adds endpoint to serve app store static files
* Replaces zoom icon with dynamic-served one
* Fixes zoom icon
* Makes Slider reusable
* Adds gray-matter for MDX
* Adds zoom screenshots
* Update yarn.lock
* Slider improvements
* WIP
* Update TrendingAppsSlider.tsx
* WIP
* Adds MS teams screenshots
* Adds stripe screenshots
* Cleanup
* Update index.ts
* WIP
* Cleanup
* Cleanup
* Adds jitsi screenshot
* Adds Google meet screenshots
* Adds office 365 calendar screenshots
* Adds google calendar screenshots
* Follow #2325
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* requested changes
* further requested changes
* more changes
* type fix
* fixed prisma/client import path
* added e2e test
* test-fix
* E2E fixes
* Fixes circular dependency
* Fixed paid bookings seeder
* Added missing imports
* requested changes
* added username slugs as part of event description
* updated event description
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-04-06 10:20:30 -07:00
Omar López
f8b7e17fda
Fixes/locations ( #2383 )
...
* Moves locations to App Store and Core
* LocationType fixes
* Update App.d.ts
* Re-add Google Meet
* Moves location labels to the app store
* Renames labels to locationLabels
* Update utils.ts
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-04-05 18:03:22 +00:00
Hariom Balhara
d76b9b0d01
Feature: Support redirecting to an external URL on successful booking ( #2087 )
2022-04-05 08:05:40 +00:00
Omar López
a7f5250b4a
Enables strict mode in nextjs apps ( #2354 )
...
- We need this so zod works correctly
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-04-04 20:26:14 +00:00
Hariom Balhara
5138c676b1
Fix: Embed Fixes, UI configuration PRO Only, Tests ( #2341 )
2022-04-04 15:44:04 +00:00
Omar López
f2436d2a04
Urgent fix for team bookings ( #2352 )
2022-04-01 11:04:29 -07:00
sean-brydon
f293f8b5c4
Bug - link not showing ( #2333 )
...
* Bug - link not showing
* Added where location as link on emails
* Location URL test fixes
* URLs validator fixes
Co-authored-by: Alan <alannnc@gmail.com>
Co-authored-by: zomars <zomars@me.com>
2022-03-31 19:57:12 +00:00
Hariom Balhara
4a58da62d6
[Feature]Booking Embed ( #2227 )
2022-03-31 09:45:47 +01:00
Omar López
ec58a9dd70
The Dotenv Refactor ( #2275 )
...
* dotenv refactoring
* dotenv fixes
* Env variables cleanup
* Updates e2e variables
* Moves environment file to types
* Removes conflicting configs
* Readds missing variables
* Fixes
* More fixes
* Update .env.example
* Update yarn.lock
* Update turbo.json
* Fixes e2e
* Temp fix
* disables cache for lint
* Please work
* I'm getting desperate here.
* Matches node versions
* Take 2
* Revert "Take 2"
This reverts commit a735f47f23
.
* Update .env.example
2022-03-25 17:39:38 -07:00
Omar López
1a27edd462
Booking page improvements ( #2260 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-24 02:27:35 +00:00
Omar López
f536d1040c
App Store ( #1869 )
...
* patch applied
* patch applied
* We shouldn't pollute global css
* Build fixes
* Updates typings
* WIP extracting zoom to package
* Revert "Upgrades next to 12.1 (#1895 )" (#1903 )
This reverts commit ede0e98e1f
.
* Tweak/gitignore prisma zod (#1905 )
* Extracts ignored createEventTypeBaseInput
* Adds postinstall script
* Revert "Tweak/gitignore prisma zod (#1905 )" (#1906 )
This reverts commit 15bfeb30d7
.
* Eslint fixes (#1898 )
* Eslint fixes
* Docs build fixes
* Upgrade to next 12.1 (#1904 )
* Upgrades next to 12.1
* Fixes build
* Updaters e2e test pipelines
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* 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
* Build fixes (#1929 )
* Build fixes
* Fixes type error
* WIP
* Conflict fixes
* Removes unused file
* TODO
* WIP
* Type fixes
* Linting
* WIP
* Moved App definition to types
* WIP
* WIP
* WIP
* WIP WIP
* Renamed zoomvideo app
* Import fix
* 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>
* WIP
* WIP
* WIP
* Daily fixes
* Updated type info
* Slack Oauth integration - api route ideas
* Adds getLocationOptions
* Type fixes
* Adds location option for daily video
* Revert "Slack Oauth integration - api route ideas"
This reverts commit 35ffa78e92
.
* Slack Oauth + verify sig
* Revert "Slack Oauth + verify sig"
This reverts commit ee95795e0f
.
* 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
* 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>
* 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>
* Re-adds missing module for transpiling
* Adds email as required field for app store metadata
* WIP: migrates tandem to app store
* Cleanup
* Migrates tandem api routes to app store
* Fixes tandem api handlers
* Big WIP WIP
* Build fixes
* WIP
* Fixes annoying circular dependency bug
I've spent a whole day on this....
* Location option cleanup
* Type fixes
* Update EventManager.ts
* Update CalendarManager.ts
* Moves CalendarService back to lib
* Moves apple calendar to App Store
* Cleanup
* More cleanup
* Migrates apple calendar
* Returns all connected calendars credentials
* No tsx needed in calcom/lib
* Update auth.ts
* Reordering
* Update i18n.utils.ts
* WIP: Google Meet
* Type fixes
* Type fixes
* Cleanup
* Update LinkIconButton.tsx
* Update TrialBanner.tsx
* Cleanup
* Cleanup
* Type fixes
* Update _appRegistry.ts
* Update fonts.css
* Update CalEventParser.ts
* Delete yarn.lock.rej
* Update eslint-preset.js
* Delete zoom.tsx
* Type fixes
* Migrates caldav to app store
* Cleanup
* Type fixes
* Adds caldav to app store
* Test fixes
* Updates integration tests
* Moar test fixes
* Redirection fixes
* Redirection fixes
* Update timeFormat.ts
* Update booking-pages.test.ts
* Connect button fixes
* Fix empty item
* Cal fixes andrea (#2234 )
* Fixes #2178
* Fixes #2178
* Update apps/web/components/availability/Schedule.tsx
* Update apps/web/components/availability/Schedule.tsx
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Peer Richelsen <peer@cal.com>
* added meta viewport to disable zoom on input focus on mobile (#2238 )
* Update lint.yml (#2211 )
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
* Fix prisma client bundle makes app slow (#2237 )
Co-authored-by: Omar López <zomars@me.com>
* Slider fixes
* Removed unused code
* Full Shell when unauthed
* App sidebar responsive fixes
* Adds dynamic install button
* Fix for duplicate connected calendars
* Various fixes
* Display notification on app delete
* Reuse connect button
* Adds CalDav button
* Deprecates ConnectIntegration
* Simplify install button
* Adds Google Calendar connect button
* Adds Office 365 Install button
* Migrates Stripe to App Store
* Zoom Install Button (#2244 )
* Fix minor css, app image load from static path
* Fix app logos remote img src (#2252 )
* Adds missing exports
* Cleanup
* Disables install button for globally enabled apps
* Update EventManager.ts
* Stripe fixes
* Disables example app
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Juan Esteban Nieto Cifuentes <89233604+Jenietoc@users.noreply.github.com>
Co-authored-by: Leo Giovanetti <hello@leog.me>
Co-authored-by: Sean Brydon <seanbrydon.me@gmail.com>
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com>
Co-authored-by: andreaestefania12 <andreaestefania12@hotmail.com>
Co-authored-by: Peer Richelsen <peer@cal.com>
Co-authored-by: Demian Caldelas <denik.works@protonmail.com>
Co-authored-by: Alan <alannnc@gmail.com>
2022-03-23 15:00:30 -07:00
Syed Ali Shahbaz
8671255d5c
fix for email ( #2220 )
2022-03-21 10:21:00 +00:00
Peer Richelsen
94f6c80d57
added helpscout ( #2204 )
...
* added helpscout
* nit
* moved all help apps into its own component
* added helpscout to .env.example
2022-03-18 15:09:13 +00:00
Alex van Andel
6a211dd5b3
Feature/multiple schedules post turbo ( #2150 )
...
* Concluded merge
* Applied stash to newly merged
* Always disconnect + remove redundant success message
* Added named dialog to replace new=1
* Merged with main p2
* Set eventTypeId to @unique
* WIP
* Undo vscode changes
* Availability dropdown works
* Remove console.log + set schedule to null as it is unneeded
* Added schedule to availability endpoint
* Reduce one refresh; hotfix state inconsistency with forced refresh for now
* Add missing translations
* Fixed some type errors I missed
* Ditch outdated remnant from before packages/prisma
* Remove Availability section for teams
* Bringing back the Availability section temporarily to teams to allow configuration
* Migrated getting-started to new availability system + updated translations + updated seed
* Fixed type error coming from main
* Titlecase 'default' by providing translation
* Fixed broken 'radio' buttons.
* schedule deleted translation added
* Added empty state for when no schedules are configured
* Added correct created message + hotfix reload hard on delete to refresh state
* Removed index renames
* Type fixes
* Update NewScheduleButton.tsx
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-17 09:48:23 -07:00
Omar López
558897fe53
Migrates components and libs to packages ( #2172 )
...
* Migrates Dialog to ui package
* Migrates Alert to ui
* Migrate Button to ui
* UI and lib migrations
* Add missing imports
* Update Error.tsx
2022-03-16 16:36:43 -07:00
Syed Ali Shahbaz
c9fb82a7e6
added event trigger to discord payload ( #2109 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-14 11:27:28 +00:00
Syed Ali Shahbaz
788e2acaff
Fix for buffer not considering custom interval slots and event duration for slots when using custom intervals ( #2079 )
...
* modified buffer checks
* added custom interval consideration in getSlots fn
* further getslot call fixes
* added check for end of day availability slots
* removed debug remnants
* moved slot filtering into a function
* improved readability of code
* improved readability
* extracted getFilteredTimes outside useSlot
* added a buffer test
* added another buffer test
* edge case fix for eod availability and test fix
* removed unnecessary comments
* verbose comment
* fixed eod logic and updated expected test value
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-12 06:52:27 +00:00
Joe Au-Yeung
ec97971e7d
Fixed API call route ( #2105 )
2022-03-10 16:15:45 -05:00
Agusti Fernandez
4908b6fd01
hotfix: organizer needs to confirm booking, not attendee ( #2090 )
...
Co-authored-by: Agusti Fernandez Pardo <git@agusti.me>
2022-03-08 10:08:35 -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
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
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
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
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
zomars
cee41eabc7
Type fixes
2022-02-10 14:22:45 -07:00
zomars
038e8a4b7d
Runs prettier
2022-02-10 14:22:45 -07:00
zomars
0bc511a886
Migrated cal.com to apps/web
2022-02-10 14:22:45 -07:00