+13
a4a3eb5ea9
refactor: Billing service ( #15366 )
...
* WIP: Billing service
* WIP
* Update __handler.ts
* Update index.ts
* WIP
* WIP
Signed-off-by: zomars <zomars@me.com >
* WIP
Signed-off-by: zomars <zomars@me.com >
* Update delete.handler.ts
* Update delete.handler.ts
* Update internal-team-billing.ts
* WIP
* Type fixes
Signed-off-by: zomars <zomars@me.com >
* WIP
Signed-off-by: zomars <zomars@me.com >
* Discard changes to apps/api/v2/src/ee/event-types/event-types_2024_04_15/controllers/event-types.controller.ts
* Discard changes to packages/app-store/skype/config.json
* style: update text area (#15934 )
* chore: update text-editor input
* chore: update text-editor input
* final update
* Update Editor.tsx
---------
Co-authored-by: unknown <adhabal2002@gmail.com >
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
* fix : #15697 Assignment warning modal poping up ,even when hosts are added . (#15699 )
* removed reduntand check on assignedusers
* update for managed eventtype
* formatted
* comments
* Updated comments
* extracted checkForEmptyAssignment and added tests
* updated comments
* updated to show dialog also when not yet saved
* update translations
* updated comments
* updated translation
* updated types
* chore: update naming and comments
* Delete apps/web/lib/checkForEmptyAssignment.ts
deleted since file was renamed
* Delete apps/web/test/lib/checkForEmptyAssignment.test.ts
deleted as the file is renamed to be more descriptive
* update to do teamcheck before
* chore: revert name to CheckForEmptyAssignment
* updated check conditions
* updated useEffect dependencies
---------
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
* fix: getting an error when a team member tries to leave (#15925 )
a team
Co-authored-by: Somay Chauhan <somaychauhan98@gmail.com >
Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com >
* feat: add transitions to more components (#15916 )
* add transitions to more components
* chore: Remove duplicate class
* fix: Change minimum number of teams required for org self-serve (#15955 )
* fix: Change minimum number of teams required for org self-serve
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* refactor: Use a new constant for displaying org helper text dialogue
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* Update packages/lib/constants.ts
* Update turbo.json
---------
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
* feat: pwa ready and add shortcut for quick access (#15957 )
* chore: Update site.webmanifest with additional display properties
* chore: Update site.webmanifest with additional display properties
* Update apps/web/public/site.webmanifest
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
* i18n: update translations for "by proceeding, ..." (#15921 )
* feat: Add title attribute to iframe in embed.ts (#15944 )
* feat: Add title attribute to iframe in embed.ts
* Update packages/embeds/embed-core/src/embed.ts
---------
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com >
* fix: Assignment reminder modal appears when deleting a team event type (#15544 )
* fix: Assignment reminder modal appears when deleting a team event type
* update
* Update EventTypeSingleLayout.tsx
* Update event-types-single-view.tsx
* update
* Early return https://handbook.cal.com/engineering/best-practices/prefer-early-returns
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
Co-authored-by: Hariom <hariombalhara@gmail.com >
* fix: Add CORP and COEP headers to embedded pages (#15275 )
* Add CORP headers
* Improve test
* Add unit tests as well
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
* feat: No-show bookings - do not count towards a member's round robin assignment (#15323 )
* feat: No-show bookings - do not count towards a member's round robin assignment
* filter no show organizer
* remove logs
* fix: filter bookings where host attendee is no show
* fix: use not condition for noShow
* chore: test
* add default false for noShowHost
* Revert "chore: test"
This reverts commit c914a8fc4a14ca9c7d8c4a08ff8b0f463789171c.
* chore: integration test
* fix: noShowHost not working for null
* Update packages/lib/server/getLuckyUser.ts
* chore: update test description
---------
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
Co-authored-by: gh0st91848 <gh0st91848@gmail.com >
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com >
* refactor: v1 orgs unlimited teams (#15908 )
* refactor: v1 orgs unlimited teams
* fix: response message ownerId
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
* fix: refresh connect atoms on token change (#15933 )
* added dropdown
* change comment
* fix: added types
---------
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
* fix: Next.js bundle analysis (#15903 )
* fix: Next.js bundle analysis
* Added the main checkout back
* fix: type in webhook payload (#15912 )
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
* fix: auto accept (#15975 )
* fix: auto accept
* Update packages/lib/server/repository/organization.ts
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com >
---------
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com >
* fix: Broken GitHub workflows (#15979 )
* test: Delete credential endpoint (#15322 )
* Init
* Add mock trpc context
* Intro mockDatabaseClient
* Introduce mockDatabaseClient class
* Add delete video app test
* Add calendar test
* Remove unused func from bookingScenario
* Remove console.log
* Add app repository
* Add createMany method to event type repository
* Remove instance of MockDatabaseClient from video test
* Add destination calendar repository
* Remove instances of MockDatabaseClient
* abstract logic to own handler
* Remove dev dependency
* Clean up
* Type fix
* Pull yarn.lock from main
---------
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
* fix : #15967 Show better error when wrong variable is used in custom event name (#15974 )
* update to show exact err msg with custom event name
* updated tests for validateCustomEventName
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
* WIP
Signed-off-by: zomars <zomars@me.com >
* Update yarn.lock
* Update publish.handler.ts
* Update internal-team-billing.test.ts
* rename create to init
* remove sync services
* wip tests for delete team
* wip tets
* wip tests
* tests/internal-test
* remove return that is inaccessable
* remove team calls to use repository
* remove redudant file
* update team repo
* add stripe mocks and test
* fix constants
* tests to main stripe handler
* remove logs
* fix constants
* Update packages/features/ee/billing/api/webhook/_customer.subscription.deleted.team-plan.ts
Co-authored-by: Omar López <zomars@me.com >
* move workflow logic to a service
* use static method > creating new class
* fix: remove http code deep in repo + tests
* Feedback
* Update index.ts
* Type fix
* Lazy load fixes
---------
Signed-off-by: zomars <zomars@me.com >
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
Co-authored-by: Rohan Advani <122167726+RNAdvani@users.noreply.github.com >
Co-authored-by: unknown <adhabal2002@gmail.com >
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
Co-authored-by: Vijay <vijayraghav22@gmail.com >
Co-authored-by: Somay Chauhan <somaychauhan98@gmail.com >
Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com >
Co-authored-by: Hichem Fantar <hichemfantar2049@gmail.com >
Co-authored-by: Souptik Datta <souptikdatta2001@gmail.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
Co-authored-by: Johannes Maendle <141119154+jomaendle2@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: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
Co-authored-by: gh0st91848 <gh0st91848@gmail.com >
Co-authored-by: Lauris Skraucis <lauris.skraucis@gmail.com >
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com >
Co-authored-by: sean-brydon <sean@cal.com >
Co-authored-by: sean <sean@brydon.io >
2024-10-04 13:44:50 -07:00
sean-brydon and GitHub
e7415fe6e2
feat: update vitest version v0.34 to V2.11 ( #16676 )
...
* update version
* fix button to match new spec
* migrate tests to objectContaining
* fix tests
* update RTL
* yarn.lock update
* bump fetch mock to latest vitest version
* update deep mock to use vitest 2.0
* fix mock prisma type cast
* meet base test fn singature for V2
* remove console.log from next test
2024-09-17 19:09:55 +01:00
Hariom Balhara and GitHub
6670bbc1d7
fix: Error in team members migration during org onboarding ( #15349 )
...
* fix: Error in team members migration during org onboarding
* Add invitationMemberHandler tests
* Add unit tests
* Improve tests and refactor
* Improve tests and refactor
* Fix type issue
* Fix createNewUsersConnectToOrgIfExists args
2024-06-27 00:53:55 +00:00
Omar López and GitHub
e5b4d2fb80
fix: API slots endpoint return format ( #13377 )
2024-01-24 10:43:13 +00:00
9d06f6dd0e
fix: Fix 'Book a new time' link in request-reschedule for Team Event ( #12261 )
...
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com >
Co-authored-by: Alex van Andel <me@alexvanandel.com >
2023-11-14 13:23:44 -07:00
Hariom Balhara and GitHub
31fc4724e0
fix: request reschedule link in email for an Org event ( #12125 )
2023-10-30 16:25:12 +05:30
20898e1505
fix: Handle payment flow webhooks in case of event requiring confirmation ( #11458 )
...
Co-authored-by: alannnc <alannnc@gmail.com >
2023-09-30 10:22:32 +05:30
f9eb335d0b
test: Integration tests for handleNewBooking ( #11044 )
...
Co-authored-by: Shivam Kalra <shivamkalra98@gmail.com >
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
2023-09-06 12:23:53 -07:00
Hariom Balhara and GitHub
5503d9d432
perf: bookings query improvement ( #10687 )
2023-08-24 11:14:10 +02:00
734382b5b3
refactor: Moving from jest to vitest ( #9035 )
...
* Moving to vitest
* Rearranging test
* Fixing prettier linting
* Reverting launch.json
* Adjustments
* Merged with main and regenerated lockfile
* Fixing tests for API
* Yarn updated, docs is gone
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: zomars <zomars@me.com >
Co-authored-by: Alex van Andel <me@alexvanandel.com >
2023-05-24 23:35:44 +00:00
5170fc2424
Managed event-types ( #6876 )
...
* WIP
* Locked fields manager
* Leftovers
* Bad merge fix
* Type import fix
* Moving away from classes
* Progress refactoring locked logic
* Covering apps, webhooks and workflows
* Supporting webhooks and workflows (TBT)
* Restoring yarn.lock
* Progress
* Refactoring code, adding default values
* Fixing CRUD for children
* Connect app link and case-sensitive lib renaming
* Translation missing
* Locked indicators, empty screens, locations
* Member card and hidden status + missing i18n
* Missing existent children shown
* Showing preview for already created children
* Email notification almost in place
* Making progress over notif email
* Fixing nodemailer by mixed FE/BE mixup
* Delete dialog
* Adding tests
* New test
* Reverting unneeded change
* Removed console.log
* Tweaking email
* Reverting not applicable webhook changes
* Reverting dev email api
* Fixing last changes due to tests
* Changing user-evType relationship
* Availability and slug replacement tweaks
* Fixing event type delete
* Sometimes slug is not there...
* Removing old webhooks references
Changed slug hint
* Fixing types
* Fixing hiding event types actions
* Changing delete dialog text
* Removing unneeded code
* Applying feedback
* Update yarn.lock
* Making sure locked fields values are static
* Applying feedback
* Feedback + relying on children list, not users
* Removing console.log
* PR Feedback
* Telemetry for slug replacement action
* More unit tests
* Relying on schedule and editor tweaks
* Fixing conteiner classname
* PR Feedback
* PR Feedback
* Updating unit tests
* Moving stuff to ee, added feature flag
* type fix
* Including e2e
* Reverting unneeded changes in EmptyScreen
* Fixing some UI issues after merging tokens
* Fixing missing disabled locked fields
* Theme fixes + e2e potential fix
* Fixing e2e
* Fixing login relying on network
* Tweaking e2e
* Removing unneeded code
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
Co-authored-by: zomars <zomars@me.com >
2023-04-12 23:10:23 -03:00
c8744768c4
Refactored buildSlots ( #6389 )
...
* Refactored buildSlots
* Added typing for computedAvailableSlots
* Adds very simple boundary logic to make sure slots start at the right times
* Logic was cutting off too early
* Woops, should be eventLength, not frequency
* Expect 12:15 slots as availability is till 12:30 for booking
* Deliberately skip test for testing purposes
* slotInterval overrides intervals, but not duration
* Fix calendar mocking
* Another 45m length
* Unskip :(
* Fix test
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com >
Co-authored-by: Omar López <zomars@me.com >
2023-01-11 17:33:34 +00:00
Omar López and GitHub
d27b7ab2c4
One playwright config to rule them all ( #4072 )
2022-09-01 20:00:48 -06:00
zomars
397d47b4b5
Clean up auth state after all E2E tests are done
2022-08-31 12:28:29 -06:00
zomars
e020bb9758
Uncap local e2e testing
2022-08-31 11:30:05 -06:00
4ef666a610
Zoom/Hubspot Tests with MSW mocking of requests initiated from Next.js server ( #3210 )
...
* Add code from previous PR
* Remove env variables from wrong place
* Fix tests
* Remove dead code
* Package.json updates
* Fix eslint error
* Fix issue due to conflict resolution
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com >
2022-08-26 12:44:02 -06:00
b8acf1e180
Update all Yarn dependencies (2022-07-29) ( #3599 )
...
* Update all Yarn dependencies (2022-07-29)
* Adds syncpack config
* Fixes mismatches
* Update yarn.lock
* RRule fixes
* Locking dayjs to fix build
* Type fixes
* Fixes mismatches
* Submodule sync
* Update yarn.lock
* Update event.ts
* Conflict fixes
* Fixes prisma warnings
* Liting
* Upgrade next, zod
* Prevents articfact overwriting
* Yarn fixes
* Jest fixes
* Submodule sync
* Formatting
* Submodule sync
* Adds provider for react-tooltip
* Removed dotenv-cli
* Readds dotenv-cli
* Skips getSchedule tests
Until prisma is mocked properly
* Fixes
* Revert prisma seed script
* E2E fixes
* test
* Removed deprecated req.page in middleware
* Make tests stable
* Unskip getSchedule tests
* fixed 404 logo on cal video (#3885 )
* Removed PW aliases as aren't needed anymore
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com >
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com >
Co-authored-by: Alex van Andel <me@alexvanandel.com >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2022-08-17 11:38:21 -06:00
Alex van Andel and GitHub
297a965508
Bugfix/i3531 round robin assigns to unavailable members ( #3813 )
...
* wip commit
* Finished new algorithm for fetching the least recently booked user
* ROUND_ROBIN fix
* Removed redundant import
* Prisma dependency turned getLuckyUser into a server-only function
* DRY avatars
* Properly passThrough
* name can be undefined.
* Remove debug artefact
2022-08-15 13:52:01 -06:00
c3fbf8224b
Feature: Routing Forms Typeform App and other improvements ( #3625 )
...
* Add Embed ModalBox for routing forms
* Add duplicate form support
* Fix duplication logic
* Change to feathericons everywhere and other fixes
* Dont allow routes for fallback route
* Fix all TS issues
* Fix tests
* Support routing using query params
* Support multiselect in router endpoint
* Fix the issue where app goes in embed mode after viewing embed once
* Add router url tests
* Add Responses download and form toggling tests
* Add required validation test
* Change Icons everywhere
* App typeform app
* Improvements in cli
* Add typeform how-to-use page
* Add typeform how-to-use page and screenshots
* Fix TS error
* Add missing image
* Update CliApp.tsx
* Revert unexpected zapier change
* Revert yarn.lock, not sure why it was modified
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-13 11:04:57 +00:00
58d1c28e9d
Routing Forms ( #2785 )
...
* Add Routing logic to Query builder
* Make a working redirect
* Make it an app
* Move pages and components to App
* Integrate all pages in the app
* Integrate prisma everywhere
* Fix Routing Link
* Add routing preview
* Fixes
* Get deplouyed on preview with ts disabled
* Fix case
* add reordering for routes
* Move away from react DnD
* Add sidebar
* Add sidebar support and select support
* Various fixes and improvements
* Ignore eslint temporarly
* Route might be falsy
* Make CalNumber support required validation
* Loader improvements
* Add SSR support
* Fix few typescript issues
* More typesafety, download csv, bug fiees
* Add seo friendly link
* Avoid seding credebtials to frontend
* Self review fixes
* Improvements in app-store
* Cahnge Form layout
* Add scaffolding for app tests
* Add playwright tests and add user check in serving data
* Add CI tests
* Add route builder test
* Styling
* Apply suggestions from code review
Co-authored-by: Agusti Fernandez Pardo <6601142+agustif@users.noreply.github.com >
* Changes as per loom feedback
* Increase time for tests
* Fix PR suggestions
* Import CSS only in the module
* Fix codacy issues
* Move the codebbase to ee and add PRO and license check
* Add Badge
* Avoid lodash import
* Fix TS error
* Fix lint errors
* Fix bug to merge conflicts resolution - me query shouldnt cause the Shell to go in loading state
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com >
Co-authored-by: Agusti Fernandez Pardo <6601142+agustif@users.noreply.github.com >
2022-07-14 12:40:53 +00:00
zomars
c1cc93c164
Consolidates test-results
2022-05-18 10:54:36 -06:00
Omar López and GitHub
2bb6f33112
E2E fixtures ( #2747 )
2022-05-13 21:02:10 -06:00
zomars
dcd2862e72
Increases timeout temporarily
2022-05-12 08:16:27 -06:00
zomars
c3909ccc70
Multiple E2E improvements
2022-05-11 10:46:52 -06:00
zomars
a1f6738cf1
Update playwright.config.ts
2022-05-10 21:51:24 -06:00
Omar López and GitHub
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 a735f47f2325c2040168e0cd99dea0fc357a791f.
* Update .env.example
2022-03-25 17:39:38 -07:00
55587e92c1
Fix a set of E2E bugs causing several CI failures ( #2177 )
...
* Fix E2E bugs causing CI failutes
* Revert setup in dx
Co-authored-by: zomars <zomars@me.com >
2022-03-17 12:36:11 -07:00
Omar López and GitHub
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