Hariom Balhara
727c6f723e
Check in middleware to ensure authorization for all endpoints ( #2885 )
...
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2022-05-26 13:52:25 +00:00
Hariom Balhara
40c81ee405
Fix 500 errors if data is invalid ( #2886 )
2022-05-26 08:38:10 +00:00
sean-brydon
7c3090bc23
Feat/Display location information publicly ( #2752 )
...
* Updating checkbox field to reflect new designs
* Include Infobadge option checkbox
* Checkbox Field + i18n
* Default checked - true
* Sync with router
* Extracting Types
* Update filtering logic
* Add UI to booking page
* Default address/link
* Update hashedlink page
* Tidy up
* Video icon
* Add nullish check
* Update to use RHF controller
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-05-25 14:34:08 -06:00
Omar López
058550ba3d
Webhook sec fixes ( #2883 )
...
* Webhook sec fixes
* Revert changes
2022-05-25 19:26:42 +00:00
Carina Wollendorfer
ba4d2425cf
Fix/email shows false ( #2879 )
2022-05-25 17:42:08 +01:00
Alex van Andel
49b361ab9c
Fix deleted event when on different cal (404) ( #2882 )
2022-05-25 10:40:33 -06:00
sean-brydon
1bf009f5f5
Disable Impersonation Option ( #2880 )
...
* Disable Impersonation
* Update Description Copy
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-05-25 15:21:18 +00:00
Joe Au-Yeung
e16eee68b0
Resolve if can't find event on google cal ( #2860 )
...
* Resolve if can't find event on google cal
* Change order of console.error
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-05-25 08:29:38 -06:00
Carina Wollendorfer
07aa2e88a1
fixes issues with date of recurring events on booking detail page ( #2872 )
...
* fixes date not showing for confirmed recurring event
* only show all events on upcoming bookings
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
2022-05-25 11:24:01 +02:00
zomars
dc934ed8ca
Fixes paid bookings
2022-05-24 19:31:29 -06:00
Omar López
29bb6711bb
sec-001 fixes ( #2866 )
...
* sec-001 fixes
* Typo
2022-05-24 19:31:29 -06:00
Alex van Andel
94966b1643
Hotfix: Fixing Security Issues ( #2848 ) ( #2850 )
2022-05-24 19:31:29 -06:00
Omar López
7548233a96
sec-001 fixes ( #2866 ) ( #2867 )
...
* sec-001 fixes (#2866 )
* sec-001 fixes
* Typo
* Fixes paid bookings
# Conflicts:
# apps/web/ee/components/stripe/Payment.tsx
2022-05-24 19:29:29 -06:00
zomars
a48a164e71
Submodule sync
2022-05-24 17:11:41 -06:00
Peer Richelsen
eacfdac016
fixed labels for seats, removes shadow from event-type inputs ( #2862 )
...
* fixed labels for seats
* minor fixes, removed shadow from all event-type inputs
* Render input field on pro accounts (#2859 )
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com>
2022-05-24 22:15:53 +02:00
Joe Au-Yeung
323524b77c
Redesign help menu item ( #2710 )
...
* Seperate help menu item and contact menu item
* Add menu items
* Install react-popover
* Render contact only if support keys are present
* Adjust contact support links
* Add translations
* Add embed changes
* Adjust menu if helped is pressed
* Add items to help menu
* Change button color on selection
* Create endpoint
* Create feedback table
* Create migration file
* Write feedback to db
* Remove logs
* Add response message
* Send feedback email
* Disable submit if no rating and after submit
* Add translations
* Fix padding
* Clean up
* Clean up
* Add user feedback email to .env example
* Lint fixes and styles
* Changed onClick function to a named function and fix style
* Fix ids order
* Removed commented code and changed textarea id and name
* Fix id orders
* Change to AND operator
Co-authored-by: Omar López <zomars@me.com>
* Add user relation to feedback
Co-authored-by: Omar López <zomars@me.com>
* Add migration files
* Change rating to strings
* Change rating to strings
* Fix type errors
* WIP success & error messages
* Change success and error to boolans
* Style messages
* Add await
Co-authored-by: Omar López <zomars@me.com>
* Remove duplicate string
* Refactor import statement
Co-authored-by: Omar López <zomars@me.com>
* Change opacity of emojis
* added support@cal.com email for feedback
* Add success toast
* Update .env.example
Co-authored-by: Omar López <zomars@me.com>
* Add tCRP route
* tCRP send email
* tCRP send email
Co-authored-by: Alan <alannnc@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-05-24 13:29:39 +00:00
Joe Au-Yeung
c8d6c0dbdd
Add seats to event types ( #2485 )
...
* Add seatsPerTimeSlot to event type schema
* Add seats per time slot to event type form
* Book event and render seats
* Pass booking uid for seats
* Disable requires confirmation if seats are enabled
* Fix type errors
* Update submodules
* Fix type errors
* Fix type errors
* Fix duplicate string
* Fix duplicate string
* Fix schema and migration file
* Fix render seats
* Fix bookinguid typos
* Remove console.log
* Fix type error
* Fix mobile formatting
* Update apps/web/lib/hooks/useSlots.ts
Co-authored-by: Omar López <zomars@me.com>
* Update apps/web/lib/hooks/useSlots.ts
Co-authored-by: Omar López <zomars@me.com>
* Added translation for seats available text
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: alannnc <alannnc@gmail.com>
2022-05-24 15:19:12 +02:00
zomars
cc0ea19420
Makes sure to hash post-install cache
2022-05-23 13:59:03 -06:00
zomars
a551aa0089
Updates submodules
2022-05-23 13:58:47 -06:00
Hariom Balhara
f0a36f8194
Fix infinite renders on event-type edit page ( #2820 )
2022-05-23 18:59:09 +01:00
zomars
67770bf878
Playwright binaries shouldn't be on deps
2022-05-23 11:44:53 -06:00
zomars
162c6c10a8
Playwright binaries shouldn't be on deps
2022-05-23 11:25:34 -06:00
Arun Kumar
7d7a1c5bbc
Fix login page CTA disabled state ( #2832 )
...
* fix(ui/login): better disabled state for login CTA
The fix involves tracking the form submission with a dedicated state `submitInProgress` with React.
`formState` from `react-hook-form` does not take time taken for the network call into account. For example,
if the api takes 5 seconds to complete, we would expect the `formState.isSubmitting` to be true for `5`
seconds. But, surprisingly this is not the case and `formState` from `react-hook-form` resolves
immediately after it makes a successful connection to the endpoint.
A dedicated state (with `useState`) is introduced that is enabled when the user clicks on the login CTA, and disabled when the api call is resolved, either successfully or with an error.
* Update login.tsx
* Update login.tsx
* Fixes isSubmitting state
Co-authored-by: zomars <zomars@me.com>
2022-05-23 17:20:35 +00:00
Omar López
53a7b1cc37
Update vital.json
2022-05-23 10:00:52 -06:00
Omar López
f9f4a5aeb9
Update vital.json
2022-05-23 10:00:16 -06:00
zomars
066fce9d73
Merge branch 'production'
2022-05-23 09:30:47 -06:00
zomars
3a1d8b8183
Merge production to main
2022-05-23 09:29:19 -06: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
Syed Ali Shahbaz
27422c351c
Fix UI of dialog ( #2788 )
...
* removed large mandatory height and scroll
* added z index using css
* cleanup
* fixed TS errors
* extract dialog out of dropdown
* Adds custom loading text to confirmation dialog
* rename update
* utilizing mutation loading state
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-05-23 13:17:00 +02:00
GitStart
c5ad74f61c
Request the inclusion Assuncion Time Zone ( #2840 )
...
Co-authored-by: gitstart <gitstart@users.noreply.github.com>
Co-authored-by: Júlio Piubello da Silva Cabral <julio.piubello@gitstart.dev>
2022-05-23 13:12:41 +02:00
sean-brydon
0eff265682
Meet/Zoom Email Clarification ( #2828 )
...
* Add clarificaiton to email
* Update apps/web/lib/emails/templates/organizer-scheduled-email.ts
* Add to attendee scheduled email
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-05-23 11:54:24 +01:00
GitStart
2560b72596
Wrong username is identified if query params are present and user doesn't exist ( #2838 )
...
Co-authored-by: gitstart <gitstart@users.noreply.github.com>
Co-authored-by: Júlio Piubello da Silva Cabral <julio.piubello@gitstart.dev>
2022-05-23 12:34:11 +02:00
sean-brydon
7d7c61a1ab
Adding labels ( #2783 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-05-23 09:11:04 +01:00
GitStart
c92283f03d
fix: long string overflowing calendar div ( #2842 )
...
Co-authored-by: gitstart <gitstart@users.noreply.github.com>
Co-authored-by: Júlio Piubello da Silva Cabral <julio.piubello@gitstart.dev>
2022-05-22 14:31:59 +02:00
Leo Giovanetti
ba9be4e69d
Fix login submit ( #2849 )
2022-05-22 14:28:18 +02:00
zomars
b334586c3b
Relocates admin to console
2022-05-20 17:40:51 -06:00
zomars
a38c76e279
Relocates admin to console
...
# Conflicts:
# apps/admin
2022-05-20 17:40:51 -06:00
github-actions[bot]
6973d26153
New Crowdin translations by Github Action ( #2791 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2022-05-20 16:42:47 +02:00
Syed Ali Shahbaz
e62af90619
fixes dynamic color and typefix for tfunction after react upgrade ( #2821 )
2022-05-20 07:06:21 +00:00
Hariom Balhara
e72cceff81
Fix auto-select and close of dropdown ( #2819 )
2022-05-19 08:50:17 +01:00
Ken Miller
1c296fb2d5
adding organizer as attendee to google calendar events ( #2779 )
2022-05-18 15:09:15 -06:00
zomars
1de50bd093
Update check-types.yml
2022-05-18 15:08:58 -06:00
Carina Wollendorfer
4b6c701c48
save additional inputs as json + view details of booking ( #2796 )
...
* move custom inputs from description to own json object
* show custom inputs on success page
* fix type error
* add custom inputs to email and webhook
* add custom inputs to all emails
* add values for custom inputs when rescheduling
* add custom input everywhere description is shown
* fix bug with boolean value
* fix issues with null values
* disable custom inputs and add notes for organizer
* don't show custom input with empty string
* don't show custom inputs with empty string in calender event and email
* add link to booking details page
* redirect to success page to see booking details
* add functionality to cancel and reschedule booking
* fix bookings that require confirmation
* clean code
* fix infinite lopp in useEffect of success page
* show web conference details message when integration as location
* improve design of cancelling event
* clean code
* disable darkmode for organizer on booking details page
* fix dark mode for cancelling booking
* fix build error
* Fixes infinite loop
* Fixes infinite loop
* Fixes infinite loop
* Update all Yarn dependencies (2022-05-16) (#2769 )
* Update all Yarn dependencies (2022-05-16)
* Upgrade dependencies
* Removes deprecated packages
* Upgrades deps
* Updates submodules
* Update yarn.lock
* Linting
* Linting
* Update website
* Build fixes
* TODO: fix this
* Module resolving
* Type fixes
* Intercom fixes on SSG
* Fixes infinite loop
* Upgrades to React 18
* Type fixes
* Locks node version to 14
* Upgrades daily-js
* Readds missing types
* Upgrades playwright
* Noop when intercom is not installed
* Update website
* Removed yarn.lock in favor of monorepo
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
* Create ci.yml
* Update ci.yml
* Reintroduces typescript-eslint
Buckle up!
* Type fixes
* Update ci.yml
* Update api
* Update admin
* Reusable inferSSRProps
* Linting
* Linting
* Prisma fixes
* Update ci.yml
* Cache testing
* Update e2e.yml
* Update DatePicker.tsx
* Update e2e.yml
* Revert "Linting"
This reverts commit adf817766e
.
* Revert "Linting"
This reverts commit 1b59dacd64
.
* Linting
* Update e2e.yml
* Ci updates
* Add team Id to hash url (#2803 )
* Fix missing tabs - Embed (#2804 )
* Fix missing tabs
* Fix Eslint error
* Fix Eslint errors
* Add import statement (#2812 )
* Add import statement
* Update apps/docs/next.config.js
Co-authored-by: Omar López <zomars@me.com>
* Show success page if booking was deleted on calendar (#2808 )
* Add exception to 410
* Fix type error
* Add GoogelCalError type
* only show invite link for app.cal.dev (#2807 )
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
* fix: update eslint config to test .ts and .js separately (#2805 )
* fix: update eslint config
* fix: update ts ignore
* fix: update eslint config
* Update TeamAvailabilityScreen.tsx
* Type fixes
* Update useIntercom.ts
Co-authored-by: Omar López <zomars@me.com>
* fix: sync api to latest commit (#2810 )
Co-authored-by: Agusti Fernandez Pardo <git@agusti.me>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* Embed React improvements (#2782 )
* Add off support. Add getApi export.
* Add publish command
* Add embed-snippet in prod deps
* Update README
* Update package.json
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* Consolidates test-results
* Type fixes
* Abstracts minimal booking select
* Type fixes
* Update listBookings.ts
* Update common.json
* Update bookingReminder.ts
* Consolidates isOutOfBounds
* Update webhookResponse-chromium.txt
* Update TableActions.tsx
* Type fixes
* Update BookingPage.tsx
* Update webhookResponse-chromium.txt
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com>
Co-authored-by: iamkun <kunhello@outlook.com>
Co-authored-by: Agusti Fernandez Pardo <me@agusti.me>
Co-authored-by: Agusti Fernandez Pardo <git@agusti.me>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-05-18 15:05:49 -06:00
Hariom Balhara
463aff0702
Add vscode tasks.json ( #2801 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-05-18 17:07:43 +00:00
zomars
c1cc93c164
Consolidates test-results
2022-05-18 10:54:36 -06:00
Hariom Balhara
6148e89425
Embed React improvements ( #2782 )
...
* Add off support. Add getApi export.
* Add publish command
* Add embed-snippet in prod deps
* Update README
* Update package.json
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-05-18 16:25:30 +00:00
Agusti Fernandez Pardo
a7f7b29bae
fix: sync api to latest commit ( #2810 )
...
Co-authored-by: Agusti Fernandez Pardo <git@agusti.me>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-05-18 16:15:27 +00:00
Joe Au-Yeung
afafd45223
Show success page if booking was deleted on calendar ( #2808 )
...
* Add exception to 410
* Fix type error
* Add GoogelCalError type
2022-05-18 10:13:01 -06:00
iamkun
31aff64e42
fix: update eslint config to test .ts and .js separately ( #2805 )
...
* fix: update eslint config
* fix: update ts ignore
* fix: update eslint config
* Update TeamAvailabilityScreen.tsx
* Type fixes
* Update useIntercom.ts
Co-authored-by: Omar López <zomars@me.com>
2022-05-18 10:05:25 -06:00
Carina Wollendorfer
952a149604
only show invite link for app.cal.dev ( #2807 )
...
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
2022-05-18 09:35:54 -06:00