Commit Graph
32 Commits
Author SHA1 Message Date
GitHub Actions 23d9788dce chore: release v5.0.6 2025-02-24 22:08:05 +00:00
GitHub Actions 7c0cdcfc6d chore: release v5.0.5 2025-02-21 16:12:41 +00:00
GitHub Actions b7b58c2dc7 chore: release v5.0.3 2025-02-19 22:38:11 +00:00
GitHub Actions 7e2c0bd29e chore: release v4.9.13 2025-02-14 16:25:10 +00:00
GitHub Actions 46add2bebc chore: release v4.9.11 2025-02-12 19:22:01 +00:00
GitHub Actions e800341485 chore: release v4.9.10 2025-02-11 19:48:09 +00:00
GitHub Actions 38a80c90bb chore: release v4.9.7 2025-02-05 21:27:34 +00:00
GitHub Actions 240f27ef4c chore: release v4.9.5 2025-02-03 22:32:55 +00:00
GitHub Actions 235382213f chore: release v4.9.3 2025-01-20 21:05:54 +00:00
GitHub Actions 9caaa0af32 chore: release v4.9.2 2025-01-17 22:03:02 +00:00
GitHub Actions a518c7152a chore: release v4.9.1-rc1 2025-01-16 15:53:45 +00:00
GitHub Actions 79a8ab79f8 chore: release v4.9.0 2025-01-16 01:26:26 +00:00
GitHub Actions f88a91dad0 chore: release v4.8.18 2025-01-13 18:12:32 +00:00
GitHub Actions 9b2161cc19 chore: release v4.8.15 2025-01-08 18:53:07 +00:00
GitHub Actions 1619f2daf2 chore: release v4.8.14 2025-01-07 20:06:08 +00:00
GitHub Actions 39173900b1 chore: release v4.8.12 2025-01-03 21:53:06 +00:00
GitHub Actions 4f66f3d2c6 chore: release v4.8.7 2024-12-20 20:01:15 +00:00
GitHub Actions a0706d9b51 chore: release v4.8.2 2024-12-17 17:05:26 +00:00
GitHub Actions 0466b7ebd6 chore: release v4.8.1 2024-12-16 14:35:27 +00:00
GitHub Actions 5b353c3d0c chore: release v4.8.0 2024-12-15 11:29:06 +00:00
GitHub Actions 6b1c747c0e chore: release v4.7.24 2024-12-12 17:22:03 +00:00
GitHub Actions 237fea0a41 chore: release v4.7.23 2024-12-12 16:40:04 +00:00
GitHub Actions 8b222490c2 chore: release v4.7.20 2024-12-10 01:14:21 +00:00
GitHub Actions c96827e1c0 chore: release v4.7.18 2024-12-05 16:18:37 +00:00
ae4474cd42 feat: Add slotFormat query parameter to slots API V2 endpoint to return start and end time of a slot (#17873)
* feat: Add formatAsStartAndEndTime query parameter to slots API V2 endpoint to return start and end time of a slot

* Update apps/api/v2/src/modules/slots/controllers/slots.controller.ts

Co-authored-by: Praash <99237795+Praashh@users.noreply.github.com>

* Fix duration was allowed to be any number

* Refactor code

* Show slotFormat property as optional in swagger doc

---------

Co-authored-by: Praash <99237795+Praashh@users.noreply.github.com>
2024-12-05 19:12:17 +05:30
GitHub Actions a08ae43533 chore: release v4.7.17 2024-12-04 18:14:31 +00:00
GitHub Actions 93489709a8 chore: release v4.7.11 2024-11-25 16:35:44 +00:00
GitHub Actions a84a2b3152 chore: release 4.7.9 2024-11-22 20:43:40 +00:00
2e2a6c73b1 feat: add advanced tab attributes to api/v2/event-types (#16314)
* added bookerLayouts

* added requiresConfirmation

* added tests

* undo extra changes

* undo extra change

* fixed imports

* added requiresBookerEmailVerification

* added hideCalendarNotes

* added lockTimeZoneToggleOnBookingPage

* added eventTypeColor

* undo extra changes

* added seats

* added requiresConfirmationWillBlockSlot to requiresConfirmation

* refactor: Implement BaseEventType class to avoid duplication across EventType input/output classes

## D-R-Y ##

* temp-fix: will revert later

* Correct placement of users array from EventTypeOutput to TeamEventTypeOutput

* Refactor: Shifted transformation logic to controllers using interceptors and pipes for a cleaner service layer.

* small fix

* Refactor: Moved transformation logic from service to controller using interceptors and pipes

** organisations/event-types

* feat: adde tests for `validateEventTypeInputs`

* fix: failing test

* fix: layout validator

* renamed blockCalendarForUnconfirmedBookings to blockUnconfirmedBookingsInBooker

* testing changes

* added disabled state

* fix merege conflict

* renamed requiresConfirmation to confirmationPolicy

* renamed OutputEventTypesResponseInterceptor to OutputTeamEventTypesResponseInterceptor

* renamed `darkThemeColor` -> `darkThemeHex` and `lightThemeColor` -> `lightThemeHex`

* renamed `eventTypeColor` -> `color`

* changed `requiresConfirmation` -> `confirmationPolicy`

* added tests for disabled state

* added class-validators to `disabled?: false`

* Revert: Split create and update input/output classes

* feat: Refactor responses to use DTOs with plainToClass for explicit property control

	•	Updated all endpoints to return response DTOs (e.g., CreateTeamEventTypeOutput, GetTeamEventTypeOutput) to ensure consistent Swagger documentation generation.
	•	Introduced plainToClass for transforming responses, enabling explicit control over which properties are returned in the response, following Morgan’s recommendation.
	•	Replaced generic HandlerResponse type with class-validator based DTOs for each endpoint, ensuring TypeScript enforces correct response structure.
	•	Applied strategy: "excludeAll" to limit response properties to only those explicitly defined in the DTO, preventing unintended fields from being included in the API responses.

* added pipes to transform output data

* add clean script to platform-types package.json

* added customName

* added destination calendar

* fixed type errors

* added useDestinationCalendarEmail

* refactor: api-reqest and api-response

* Update event-type.output.ts

* fixed errors

* Update yarn.lock

* added some missed properties to output

* Update constants.ts

* removed return type

* fixed some type errors

* reuse types

* Improve readability of validation functions

* Update CHANGELOG.md

* chore: post publish platform libraries

* Update documentation.json

* fix: reset platform libraries to 0.0.0

* fixup! fix: reset platform libraries to 0.0.0

* Update event-type.tranformed.ts

---------

Co-authored-by: supalarry <laurisskraucis@gmail.com>
Co-authored-by: Morgan Vernay <morgan@cal.com>
2024-09-24 13:36:05 +03:00
Omar LópezandGitHub 8e76d7bd10 chore: fix formatting (#16750) 2024-09-21 02:10:12 +00:00
ef11755488 feat: add recurringEvent attribute to api/v2/event-types (#16251)
* feat: added recurringEvent attribute to api/v2/event-types

* changed `recurringEvent` to `recurrence`

* Update CHANGELOG.md

* remove /dist/ import

* change `as` to `satisfies`

* testing some changes

* Revert "testing some changes"

This reverts commit 464d2611ed19dbd6ae390332b4d6dd5884bcae3b.

* Update recurrence.input.ts

* fix: apiv2 tsconfig enums

* Update CHANGELOG.md

* removed dev imports

* Update package.json

* Update api-request.spec.ts

* Update api-request.spec.ts

* added recurrence to update-event-type.input

---------

Co-authored-by: Morgan Vernay <morgan@cal.com>
2024-08-26 11:42:35 +03:00
27e4210693 fix: atoms icons and build issues (#16248)
* fix: atoms icons and build issues

* fixup! fix: atoms icons and build issues

* fixup! fixup! fix: atoms icons and build issues

* fix import paths

* rename SchedulingType to something more specific

* fix: Invalid define value (must be an entity name or valid JSON syntax)

* chore: atoms build CI job

* chore: enable atoms build in CI

* fix build

* fixup! fix build

* fixup! fixup! fix build

* chore: replace calendar-days icon with calendar

* fixup! Merge branch 'fix-atoms-build-icons' of github.com:calcom/cal.com into fix-atoms-build-icons

* fixup! Merge branch 'fix-atoms-build-icons' of github.com:calcom/cal.com into fix-atoms-build-icons

* fixup! Merge branch 'fix-atoms-build-icons' of github.com:calcom/cal.com into fix-atoms-build-icons

---------

Co-authored-by: Lauris Skraucis <lauris.skraucis@gmail.com>
Co-authored-by: Ryukemeister <sahalrajiv6900@gmail.com>
Co-authored-by: supalarry <laurisskraucis@gmail.com>
2024-08-22 08:32:39 +00:00