Agusti Fernandez Pardo
58c4c894fd
fix: update rejectOnNotFound -> find(Fist|Unique)OrThrow ( #3829 )
...
* fix: update rejectOnNotFound -> find(Fist|Unique)OrThrow
* fix: add back custom errohandling
* feat: handle notfounderror in getServerErrorFromUnknown
Co-authored-by: Agusti Fernandez Pardo <git@agusti.me>
Co-authored-by: Omar López <zomars@me.com>
2022-08-31 13:44:47 -06:00
alannnc
7a4795bdbf
Fix request-reschedule for team events ( #3721 )
2022-08-09 11:23:12 -06:00
Omar López
464343f5ab
Refactors EE code ( #3490 )
...
* WIP
* WIP
* Type and migration fixes
* Adds missing default import
* Fixes import
* Fixes tRPC imports in App Store
* Migrate stripe helpers
* WIP
* Type fixes
* Type fix?
* WIP
* WIP
* Update index.ts
* Fixes
* Update workflow.tsx
* Moved queries to lib
* Moves QueryCell
* Migrates MultiSelectCheckboxes
* WIP
* CryptoSection type fixes
* WIP
* Import fixes
* Build fixes
* Update app-providers.tsx
* Build fixes
* Upgrades hookform zod resolvers
* Build fixes
* Cleanup
* Build fixes
* Relocates QueryCell to ui
* Moved List and SkeletonLoader
* Revert QueryCell migration
* Can't use QueryCell here
* oops
* CryptoSection cleanup
* Update app-providers.tsx
* Moved ee to features
* ee to features/ee
* Removes @calcom/ee
* Adds possible feature locations
* Build fixes
* Migrates stripe to app-store lib
* Colocates stripe imports
* Update subscription.ts
* Submodule sync
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-07-28 13:58:26 -06:00
alannnc
6b0ac96b38
Fix request reschedule organiser email ( #3227 )
...
* Fix request reschedule organizer email
* Updated book a new time link and removed manage or cancel action on user owner email request reschedule
* Fix let with const for a variable and change env var to a constant from lib
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-07-07 16:25:05 -06:00
zomars
7122a4a91d
Consolidates dayjs in a single package
2022-06-28 14:48:24 -06:00
alannnc
9a3624bb9a
fix/request-reschedule-google-calendar-sync ( #3157 )
...
* Pass calendarId as parameter to deleteEvent()
* Updated deleteEvent param and default when sending calendarId
2022-06-27 08:52:42 -06:00
Omar López
2d28ca61a4
Feature/parallel booking availability ( #3087 )
2022-06-19 16:02:00 +01:00
Syed Ali Shahbaz
6253216484
Webhook polishing ( #2987 )
2022-06-16 17:21:48 +01:00
alannnc
0df0b6a0f2
Fix/wipe vital app revision ( #2983 )
...
* Fixes for both apps regarding event update/delete
* Added wipe my cal test
* Added eslint ignore
* Fix test
* Merge both test into a single test
* remove duplicated line
* Using prisma from calcom pkg and removing optional chaining from current invocations
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-06-10 19:16:10 +00:00
Omar López
15d5333cf6
Refactor emails to use JSX as templating engine ( #2915 )
...
* Init Maizzle
* Initial template JSX conversion and testing
* WIP
* WIP
* WIP
* WIP
* WIP
* Migrated AttendeeRescheduledEmail
* WIP
* WIP
* DRY
* Cleanup
* Cleanup
* Cleanup
* Migrate feedback email
* Migrates ForgotPasswordEmail
* Migrates OrganizerCancelledEmail
* Migrated OrganizerLocationChangeEmail
* Formatting
* Migrated AttendeeRequestRescheduledEmail
* Migrates OrganizerPaymentRefundFailedEmail
* Migrates OrganizerRequestEmail
* Migrates OrganizerRequestReminderEmail
* Fixes type-check
* Moved email-manager to package
* Import fixes
* Removed duplicate email code from vital app
* Removed duplicate email code from wipemycal
* Build/type fixes
* Fixes web email imports
* Fixes build
* Embed build fixes
* Update AttendeeAwaitingPaymentEmail.tsx
* Update default-cookies.ts
* Revert "Embed build fixes"
This reverts commit 8d693e99ac
.
* Embed build fixes
# Conflicts:
# packages/embeds/embed-core/package.json
* dep and email date fixes
* Update attendee-scheduled-email.ts
* Update package.json
* Update [...nextauth].tsx
* Update email.ts
* Prevents /api/email on production builds
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-06-06 17:49:56 +00:00
Leo Giovanetti
38f23986ad
Hotfix: Fixing Security Issues ( #2848 )
...
* Fixing Privilege Escalation
* Fixing critical obj ref in availability
* Fixing reschedule security issue
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-05-23 11:29:29 +00:00
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
alannnc
df7abdfc06
Fix/reschedule on dynamic events ( #2657 )
...
* Reschedule for dynamic events
* Fix lint
* Handling attendee calendar event cancellation
Co-authored-by: zomars <zomars@me.com>
2022-05-05 01:03:36 +00:00
alannnc
8e956893ca
Fix emails and cal event descriptions ( #2634 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-04-28 15:05:29 +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