zomars
a05860515e
Form fixes
2022-05-06 15:44:51 -06: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
zomars
d6b7311c66
Build fixes
2022-05-04 15:28:58 -06:00
zomars
977ad141ee
Extracts useMeQuery to own hook
2022-05-04 15:28:58 -06:00
Joe Au-Yeung
eea40c69f7
Add new response if request contains account id ( #2629 )
...
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-04-27 21:34:04 +00:00
Hariom Balhara
7d98c0bb1c
Add Event Types Test ( #2610 )
...
* Add Event Types Test
* Accept license for tests
* Accept license on preview
* Remove debugging code
* Add License consent flag
* Test fixes
* Update playwright.config.ts
* Update webhookResponse-chromium.txt
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
2022-04-27 08:58:04 -06:00
Hariom Balhara
5336bf3fe2
Add debugging details ( #2585 )
2022-04-26 11:15:57 +00:00
sean-brydon
6d5db1cb3a
Feat/impersonate users ( #2503 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
2022-04-26 14:18:17 +05:30
Hariom Balhara
93c75b5fef
Embed Miscellaneous Improvements and Fixes ( #2499 )
2022-04-25 10:03:00 +05:30
Hariom Balhara
2c4a891a89
Add debugging details ( #2582 )
2022-04-23 18:45:46 +00:00
Yassin Eldeeb
8c173c840b
fix(web): overflow with auto scroll instead of scroll ( #2535 )
...
* fix(readme): update setup steps
* fix(readme): update required node version in prerequisites section
* fix(web): overflow-auto instead of overflow-scroll
* Revert "fix(readme): update setup steps"
This reverts commit 2938d510c8
.
* Revert "fix(readme): update required node version in prerequisites section"
This reverts commit 848e1a1535
.
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2022-04-19 16:50:19 +01:00
Agusti Fernandez
7493093a1a
fix: dangling zero in api keys list ( #2548 )
2022-04-19 12:32:17 +01:00
Agusti Fernandez
faa67e0bb6
Feature: Adds api keys to cal.com webapp ( #2277 )
...
* feat: add ApiKey model for new Api auth, owned by a user
* fix: remove metadata:Json and add note:String instead in new apiKey model
* fix: rename apiKey to apiKeys in moder User relation in schema.prisma
* feat: add hashedKey to apiKey and lastUsedAt datetime to keep track of usage of keys and makiung them securely stored in db
* fix 30 day -> 30 days in expiresAt
* feat: api keys frontend in security page
* adds hashedKey to api key model, add frontend api keys in security page
* Make frontend work to create api keys with or without expiry, note, defaults to 1 month expiry
* remove migration for now, add env.example to swagger, sync api
* feat: hashed api keys
* fix: minor refactor and cleanup in apiKeys generator
* add api key success modal
* sync apps/api
* feat: We have API Keys in Security =)
* remove swagger env from pr
* apps api sync
* remove comments in password section
* feat: migration for api keys schema
* sync api w main
* delete apps/api
* add back apps/api
* make min date and disabled optional props in datepicker
* feat fix type check errors
* fix : types
* fix: rmeove renaming of verificationrequest token indexes in migration
* fix: remove extra div
* Fixes for feedback in PR
* fix button />
* fix: rename weird naming of translation for you_will_only_view_it_once
* fix: remove ternary and use && to avoid null for false
* fix sync apps/api with main not old commit
* fix empty className
* fix: remove unused imports
* fix remove commented jsx fragment close
* fix rename editing
* improve translations
* feat: adds beta tag in security tab under api keys
* fix: use api keys everywhere
* fix: cleanup code in api keys
* fix: use watch and controller for neverexpires/datepicker
* Fixes: improve api key never expires
* add back change password h2 title section in security page
* fix update env API_KEY_ prefix default to cal_
* fix: improve eidt api keys modal
* fix: update edit mutation in viewer.apiKeys
* Update apps/web/ee/components/apiKeys/ApiKeyListItem.tsx
Co-authored-by: Alex van Andel <me@alexvanandel.com>
* fix: item: any to pass build
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: Alex van Andel <me@alexvanandel.com>
2022-04-15 20:58:34 -06: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
Alex van Andel
5fdc5078cc
Styling tweaks to inputs and Select (+ TimezoneSelect) ( #2453 )
...
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2022-04-14 15:58:23 +01: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
Peer Richelsen
4d58281d6f
Update LICENSE
2022-04-05 18:37:55 +02:00
Omar López
ffff59dd00
Attempt to fix Stripe webhooks ( #2355 )
...
Split the large transaction so we can debug better what's causing the error from Stripe dashboard
2022-04-04 14:39:59 -06:00
Omar López
966a5f30ec
Adds missing confirm email after payment ( #2353 )
2022-04-02 15:30:07 +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
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
Peer Richelsen
47ce2feb3c
minor layout improvements ( #2209 )
2022-03-18 14:22:56 -04: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
alannnc
c558c880f2
Revert dialog view change ( #2193 )
2022-03-17 23:28:43 +00:00
Syed Ali Shahbaz
bcbf8390e0
Refactor old dialog to radix Dialog ( #2151 )
...
* --init
* refactored more dialogs --WIP
* more modals replaced by dialogs --WIP
* fix for new dialog location import
* --WIP
* lint fix
* final dialog refactor
* added more width to max-w for dialog in sm screen
* clean-up
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-17 13:20:49 +00: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
Leo Giovanetti
6e4f8e67b6
Event type dropdown ( #2081 )
2022-03-16 19:55:18 +00:00
Peer Richelsen
9831845d27
add zendesk ( #2156 )
...
* MVP zendesk provider
* hide zendesk on mobile
* hide zendesk chat bubble on mobile too
* made mobile selector more robust
* made user menu full width
* removed zendesk react and instead use Nextjs Script
* updated NEXT_PUBLIC_ZENDESK_KEY env in example
2022-03-15 22:46:14 +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
Omar López
5625cf226b
Stripe to monorepo ( #2063 )
...
* 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
* Updates illegal logic
* WIP
* WIP migrating stripe to package
* Update website
* Import fixes
* Import fixes
* Fixes to downgrade script
* Check for premium usernames before downgrading
* Fixed formatting
* Delete deploy-env.sh
* Locks dayjs to 1.10.6
* Type fixes
* Seems like we're stuck with dayjs 1.10.4
* Script fixes
* Adds first name to dump
* Loop fix
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-09 15:56:05 -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
Omar López
b6a20cc4d7
Fixes upgrade for users without customer id ( #2059 )
2022-03-04 16:38:42 +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
alannnc
f8aa274b07
Fix billing portal for users without stripeCustomerId ( #1936 )
2022-02-23 22:51:10 +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
944a3c02ce
Eslint fixes ( #1898 )
...
* Eslint fixes
* Docs build fixes
2022-02-18 16:53:45 +00:00
Peer Richelsen
58ef1bbc36
updated license url ( #1820 )
2022-02-11 20:55:46 +00:00
Peer Richelsen
936378831e
Update README.md
2022-02-11 10:58:27 +00: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