* [CAL-770] add new integration architecture revamp
* Type fixes
* Type fixes
* [CAL-770] Remove tsconfig.tsbuildinfo
* [CAL-770] add integration test
* Improve google calendar test integration
* Remove console.log
* Change response any to void in the deleteEvent method
* Remove unnecesary const
* Add tsconfig.tsbuildinfo to the .gitignore
* Remove process env variables as const
Co-authored-by: Edward Fernández <edwardfernandez@Edwards-Mac-mini.local>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: Edward Fernandez <edward.fernandez@rappi.com>
* fixed nextcloud
* fixed nextcloud & fastmail issues
* fixed zoom video not creating when credentials are not valid
also fixed reponse to reflect create failure.
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* E2E video adjustments
* Adds test to add Stripe integration
* Type fix
* WIP: Payment troubleshooting
* Paid bookings shouldn't be confirmed by default
* Runs stripe test only if installed
* BookingListItem Adjustments
* Pending paid bookings should be unconfirmed
* Attempt to fix paid bookings
* Type fixes
* Type fixes
* Tests fixes
* Adds paid booking to seeder
* Moves stripe tests to own file
* Matches app locale to Stripe's
* Fixes minimun price for testing
* Stripe test fixes
* Fixes stripe frame test
* Added some Stripe TODOs
* ⬆️ Bump tailwindcss from 2.2.14 to 2.2.15
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 2.2.14 to 2.2.15.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v2.2.14...v2.2.15)
---
updated-dependencies:
- dependency-name: tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* updating cal will provide a zoom meeting url
* updating cal will provide a zoom meeting url
* modifying how daily emails send
* modifying how daily emails send
* daily table
* migration updates
* rebasing updates
* updating Daily references to a new table
* merge updates, adding Daily references to book/events.ts
* updated video email templates to remove Daily specific references
* updating the events.ts and refactoring in the event manager
* removing the package-lock
* updating some of the internal Daily notes
* removing handle errors raw from the Daily video client
* prettier formatting fixes
* Added the Daily location to calendar events and updated Cal video references to Daily.co video
* updating references to create in event manager to check for Daily video
* adding a daily interface in the event manager
* adding daily to the location labels
* resolving yarn merge conflicts
* removing prettier auto and refactoring integrations: daily in the event manager
* removing changes to estlintrc.json
* updating message when daily video call meeting has not started
* updated modal time buffer
* changed video calls to Cal colors
* removing change to undoing change to lodash/merge on the event manager
* removing change on the event-types to match the main repo
* updating the border color in daily video calls
* updating cal will provide a zoom meeting url
* updating cal will provide a zoom meeting url
* modifying how daily emails send
* modifying how daily emails send
* daily table
* migration updates
* rebasing updates
* updating Daily references to a new table
* merge updates, adding Daily references to book/events.ts
* updated video email templates to remove Daily specific references
* updating the events.ts and refactoring in the event manager
* removing the package-lock
* updating some of the internal Daily notes
* removing handle errors raw from the Daily video client
* prettier formatting fixes
* Added the Daily location to calendar events and updated Cal video references to Daily.co video
* updating references to create in event manager to check for Daily video
* adding a daily interface in the event manager
* adding daily to the location labels
* resolving yarn merge conflicts
* removing prettier auto and refactoring integrations: daily in the event manager
* removing changes to estlintrc.json
* updated modal time buffer
* updates to enable recording
* removed the console log line for debugging int he DailyVideoAdapter
* removed the env copy created here
* updating readme and chaging Daily Scale Plan variable to true
* merge changes
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lola-Ojabowale <lola.ojabowale@gmail.com>
* Refactored Schedule component
* Merge branch 'main' into feature/availability-page-revamp
* wip
* Turned value into number, many other TS tweaks
* NodeJS 16x works 100% on my local, but out of scope for this already massive PR
* Fixed TS errors in viewer.tsx and schedule/index.ts
* Reverted next.config.js
* Fixed minor remnant from moving types to @lib/types
* schema comment
* some changes to form handling
* add comments
* Turned ConfigType into number; which seems to be the value preferred by tRPC
* Fixed localized time display during onboarding
* Update components/ui/form/Schedule.tsx
Co-authored-by: Alex Johansson <alexander@n1s.se>
* Added showToast to indicate save success
* Converted number to Date, and also always establish time based on current date
* prevent height flickering of availability
by removing mb-2 of input field
* availabilty: re-added mb-2 but added min-height
* Quite a few bugs discovered, but this seems functional
Co-authored-by: KATT <alexander@n1s.se>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
* Fixes error types
* Type fixes
* Refactors video meeting handling
* More type fixes
* Type fixes
* More fixes
* Makes language non optional
* Adds missing translations
* Apply suggestions from code review
Co-authored-by: Alex Johansson <alexander@n1s.se>
* Feedback
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Alex Johansson <alexander@n1s.se>
### Internals
- Replace `lodash.*` packages with plain `lodash` & replace `lodash.*` imports with `lodash/` - should have no impact on bundle size and opens up for us to use all of lodash
- Update `viewer.me` to cherry-pick what we actually need on that query to avoid leaking extra context info
- Update `getIntegrations` to never include `.key`-property to avoid leaking
### Visual
- Update calendars so `primary` is displayed last
- Update connected calendars so they are in ascending order in which you connected them
* added prisma models and migration, minor webhook init --WIP
* --WIP
* --WIP
* added radix-checkbox and other webhook additions --WIP
* added API connections and other modifications --WIP
* --WIP
* replaced checkbox with toggle --WIP
* updated to use Dialog instead of modal --WIP
* fixed API and other small fixes -WIP
* created a dummy hook for test --WIP
* replaced static hook with dynamic hooks
* yarn lock conflict quickfix
* added cancel event hook and other minor additions --WIP
* minor improvements --WIP
* added more add-webhook flow items--WIP
* updated migration to have alter table for eventType
* many ui/ux fixes, logic fixes and action fixes --WIP
* bugfix for incorrect webhook filtering
* some more fixes, edit webhook --WIP
* removed redundant checkbox
* more bugfixes and edit-webhook flow --WIP
* more build and lint fixes
* --WIP
* more fixes and added toast notif --WIP
* --updated iconButton
* clean-up
* fixed enabled check in edit webhook
* another fix
* fixed edit webhook bug
* added await to payload lambda
* wrapped payload call in promise
* fixed cancel/uid CTA alignment
* --requested changes --removed eventType relationship
* Adds missing migration
* Fixes missing daysjs plugin and type fixes
* Adds failsafe for webhooks
* Adds missing dayjs utc plugins
* Fixed schema and migrations
* Updates webhooks query
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>
* No reconfirmation needed when rescheduling
* adapted success page
* Parse query as string
Co-authored-by: nicolas <privat@nicolasjessen.de>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
Co-authored-by: Peer_Rich <peeroke@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
* Make the caldav queries run in parallel when querying availability
* improvements to caldav operations
run queries in parallel
if no selected calendars get availability from all calendars
* fix: busyTimes not properly resolved
Co-authored-by: Kuba Orlik <kontakt@kuba-orlik.name>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
* wip
* wip
* db: schedule schema
* fix adding time goes into new day
fix adding new time not keeping updating ranges
fix updating ranges not maintaining changed values
* remove photo upload
* remove unused code
* remove more unused code
* undo time lib
* didnt actually change this
* dont show onboardi
ng flow for users created before sept 1 2021
* use more consistent max-widths
* align all inputs in scheduler component
* allow overriding of default styles
* match figma designs
implement goto previous step
* add more types, match figma
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
* add generic calendar icon for caldav
* module for symmetric encrypt/decrypt
* caldav integration
* use Radix dialog
* Move caldav components to /caldav
* remove duplicate cancel button, unused function
* ensure app can connect to caldav server before adding
* fix calendar clients can possibly return null
* fix: add caldav dialog does not close when submitted
* safely attempt all caldav operations
* clarify variable name, fix typo
* use common helper for stripping html
* remove usage of request lib until "completed"
* add types and usage comments to crypto lib
* add encryption key to example env file