b8ba95dbb0
feat: min max chars for long text ( #15691 )
...
* feat: min max chars for long text
* refactor: remove console log
* refactor: revert redundant change
* refactor: review changes
* fix: min max validation
* fix: fix typo
* refactor: update comments
* refactor: review changes
* refactor: review changes
* test: Add test
* Make maxLength more configurable per field type
* Reduce maxLength to 1000
* Update update-event-type.input.ts
* revert changes in main
* Update update-event-type.input.ts
* refactor get-event-type-public.output.ts
* add e2e tests
* add min max char common.json
* Update FormBuilder.tsx
* refactor changes
* Update fieldTypes.ts
* Update schema.ts
* add min max length in api-request
* Update booking-fields.input.ts
* fix e2e tests
* move min-max-char tests to manage-booking-questions.e2e.ts
* remove test
* reorder imports to fix lint
* fix lint
* fix e2e tests
* Abstract out SupportsLengthcheck type Field
* Revert newline change
* Improve the schema validation a bit and fix undefined in the message issue
* revert: v2 API changes
---------
Co-authored-by: Ayush Mhetre <mhetreayush1719@gmail.com >
Co-authored-by: Hariom <hariombalhara@gmail.com >
Co-authored-by: supalarry <laurisskraucis@gmail.com >
2024-07-30 12:21:27 +00:00
40df4cf511
fix: Add strict checks for email to create an organization ( #15976 )
...
* Verify email first
* Only allow company emails for org creation
---------
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2024-07-30 11:52:10 +00:00
58cabe974c
fix: Add signup disabled flag check on signup route ( #15844 )
...
* fix: Add signup disabled flag check on signup api
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* feat: Implement a feature flag check trcp middleware
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* Discard changes to packages/trpc/server/middlewares/featureFlagMiddleware.ts
* Discard changes to packages/trpc/server/routers/viewer/organizations/_router.tsx
---------
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
Co-authored-by: Omar López <zomars@me.com >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2024-07-30 11:26:20 +00:00
Udit Takkar and Joe Au-Yeung
199d95b35f
feat: cal ai templates ( #15391 )
...
* chore: save progress
* feat: add schema and fieds
* chore: update code
* chore: save
* refactor: code and type error
* feat: use facade + command design pattern
* chore: missing param
* feat: add custom template feature
* refactor: code
* chore: move the default prompt
* fix: type err
* fix: code and ux improvements
* chore: change default template
* fix: ui and typo
* fix: add validation check for my phone number
---------
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
2024-07-30 13:09:12 +02:00
Vijay and Anik Dhabal Babu
c6febad364
fix : #15968 update to show booking question variables in Available variables ( #15981 )
...
* update to show booking question variables in Available variables
* small fix
---------
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
2024-07-30 08:46:44 +00:00
Morgan
0ddcc068ce
fix: bullMq redis connection string apiv2 ( #15970 )
...
* fix: bullMq redis connection string apiv2
* fixup! fix: bullMq redis connection string apiv2
2024-07-30 08:27:27 +00:00
Anik Dhabal Babu and Somay Chauhan
3ff3a97c78
feat: ability to provide a reason for event rejection (from email) and some changes ( #15098 )
...
* feat: ability to provide reason for event rejection from email
* update
---------
Co-authored-by: Somay Chauhan <somaychauhan98@gmail.com >
2024-07-30 09:35:02 +02:00
Morgan and Keith Williams
baaa1fa71e
chore: add global rate limiting to prevent abuse apiv2 ( #15971 )
...
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-07-30 06:34:31 +00:00
27d331ad2d
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 >
2024-07-29 20:23:53 +03:00
Joe Au-Yeung and Anik Dhabal Babu
9a1a86ed3a
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 >
2024-07-29 11:38:58 -04:00
Keith Williams
7902c6157d
fix: Broken GitHub workflows ( #15979 )
2024-07-29 17:35:52 +03:00
sean-brydon and Hariom Balhara
92d0fc6eb4
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 >
2024-07-29 14:18:55 +00:00
Carina Wollendorfer and CarinaWolli
4d0b417925
fix: type in webhook payload ( #15912 )
...
Co-authored-by: CarinaWolli <wollencarina@gmail.com >
2024-07-29 13:48:45 +00:00
Keith Williams
9947b5ec85
fix: Next.js bundle analysis ( #15903 )
...
* fix: Next.js bundle analysis
* Added the main checkout back
2024-07-29 13:47:50 +00:00
fa06f38d47
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 >
2024-07-29 16:31:31 +03:00
Lauris Skraucis and Keith Williams
99a6b1c7eb
refactor: v1 orgs unlimited teams ( #15908 )
...
* refactor: v1 orgs unlimited teams
* fix: response message ownerId
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-07-29 16:31:18 +03:00
e3861ad22a
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 >
2024-07-29 16:05:03 +03:00
Hariom Balhara and Keith Williams
37caa57798
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 >
2024-07-29 11:54:31 +02:00
6e66f7f8f8
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 >
2024-07-29 09:52:03 +00:00
Hichem Fantar and Hariom Balhara
62dd5ea95b
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 >
2024-07-29 08:14:13 +00:00
Johannes Maendle
365dfe9178
i18n: update translations for "by proceeding, ..." ( #15921 )
2024-07-29 06:04:33 +00:00
Hichem Fantar and Keith Williams
4d89da99a7
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 >
2024-07-29 05:37:31 +00:00
Souptik Datta and Keith Williams
6954ad1ea5
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 >
2024-07-29 05:17:17 +00:00
Hichem Fantar
825573da8e
feat: add transitions to more components ( #15916 )
...
* add transitions to more components
* chore: Remove duplicate class
2024-07-29 08:06:44 +03:00
2c517f4878
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 >
2024-07-29 07:21:56 +03:00
Vijay and Anik Dhabal Babu
8508a6f1a0
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 >
2024-07-29 07:02:59 +03:00
db03e9db20
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 >
2024-07-29 06:51:53 +03:00
Peer Richelsen
e6a16f5b5c
chore: Update feature_request.md ( #15926 )
...
* Update feature_request.md
* Update feature_request.md
2024-07-26 12:49:19 +00:00
b94aa603c5
chore: Add missing comments for self hosted billing ( #15923 )
...
* WIP: UI created to see if it matches RFC idea
* Remove schema as we validate on the backend with old+new key schemas
* Add comment about proxy URL request when on older versions
* feat: create custom axios instance to use signature middleware
* fix: update form to respect new schema
* Add cal signature token to trubo env
* use backend mutation for creating license keys
* add loading state to creation button
* update form to have a success state
* fix type error for console.warning :')
* use api version v1
* Inital setup
* Fix verifyApi Key tests
* Implement tests for LicenseKeyService
* Restore old checkLicense code
* check license key first
* fix imports
* fix url in tests. Implement prisma extention to track creation
* Use data.status for licenseCheck
* extract fetch to class
* improve error
* [wip] per user tracking
* Remove new URL as it was breaking search params
* Use client extention in customPrismaClient
* Remove log
* Remove license required from creation form as itll fail
* Fix annual price calculation
* add api route to .env.example and constants
* re-word instructions in .env.example
* chore: feedback
* Update packages/features/ee/common/server/LicenseKeyService.ts
* Add IS_E2E_ENABLED constant + update tests
* Revert "Add IS_E2E_ENABLED constant + update tests"
This reverts commit d059b73f6272bc06fd2ab5ed505b6d52ea030a56.
* chore: tests fixes
* fixes: unit tests
Signed-off-by: zomars <zomars@me.com >
* chore: add missing instructions
---------
Signed-off-by: zomars <zomars@me.com >
Co-authored-by: sean-brydon <sean@cal.com >
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com >
2024-07-26 10:10:46 +00:00
31e6b88951
fix: Fix teams helper image background color mode ( #15918 )
...
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com >
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
2024-07-26 10:25:39 +02:00
Alex van Andel
fbff4db2a6
chore: Release v4.3.3 ( #15924 )
release.yml / release (push) Canceled after 0s
v4.3.3
2024-07-26 09:00:00 +01:00
Udit Takkar
ba61731689
fix: make max_participants optional ( #15920 )
2024-07-26 07:08:05 +00:00
sean-brydon and Omar López
e16662e655
feat: usage base billed - license key check - move to private api ( #15222 )
...
Co-authored-by: Omar López <zomars@me.com >
2024-07-25 13:20:24 -07:00
sean-brydon
53c37a9ddf
feat: refactor drawer component ( #15892 )
...
* Add sheet component
* refactor user edit sheet
* refactor availbility sheet edit
* Remove tremor raw sheet text
* remove accidently file commit
* fix overflow issue
2024-07-25 12:41:23 +01:00
Morgan
64ef2703a5
feat: org members can fetch their teams apiv2 ( #15910 )
...
* feat: org members can fetch their teams apiv2
* fixup! feat: org members can fetch their teams apiv2
* feat: org members can fetch their teams apiv2
* fixup! feat: org members can fetch their teams apiv2
* fixup! fixup! feat: org members can fetch their teams apiv2
* fixup! fixup! fixup! feat: org members can fetch their teams apiv2
* fixup! fixup! fixup! fixup! feat: org members can fetch their teams apiv2
2024-07-25 10:39:43 +00:00
Rajiv Sahal and Morgan Vernay
a997edd8db
chore: update dtos for v2 calendars endpoint ( #15904 )
...
* init calendars input
* update request body input type
* fix incorrect naming
* update imprts
* fixup! update imprts
* fixup! fixup! update imprts
---------
Co-authored-by: Morgan Vernay <morgan@cal.com >
2024-07-25 08:49:18 +00:00
Peer Richelsen
bd73eba528
chore: Update config.yml ( #15900 )
2024-07-25 09:35:33 +02:00
0d53c2069e
feat: team owner/admin, be able to confirm/reject "requires confirmation" team events ( #15326 )
...
* feat: eam owner/admin, be able to confirm/reject requir
es confirmation team events
* update
* addressed requested changes
* remove console.log
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
Co-authored-by: Somay Chauhan <somaychauhan98@gmail.com >
Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com >
2024-07-25 09:35:03 +02:00
Souptik Datta
3b559525a8
fix: Unable to invite a user to a team via username ( #15868 )
...
* fix: Fix invalid existing username DB query
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Support adding org team member using username
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* fix: Remove invite by username logic and fix labe to display only email
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* refactor: Remove username support completely from invitation-modal component
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
---------
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
2024-07-25 07:04:44 +00:00
Peer Richelsen
33e1abf4a7
chore: fixed bug_report.yml ( #15901 )
2024-07-24 22:55:48 +00:00
059c6c37ba
fix google calendar event not deleted on default calendar of cal event change ( #14994 )
...
Co-authored-by: Shaik-Sirajuddin <sirajudddinshaik30@gmail.com >
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com >
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2024-07-24 15:34:41 +00:00
Peer Richelsen
14bc489d70
chore: Update bug_report.md ( #15894 )
...
* Update bug_report.md
* Apply suggestions from code review
2024-07-24 15:22:45 +00:00
Morgan
e8b36d5b0b
chore: platform api usage based billing using queue ( #15085 )
...
* chore: platform api usage based billing using queue
* fixup! chore: platform api usage based billing using queue
* fixup! fixup! chore: platform api usage based billing using queue
* fixup! Merge branch 'chore-platformapi-billing-queue' of github.com:calcom/cal.com into chore-platformapi-billing-queue
* fixup! fixup! Merge branch 'chore-platformapi-billing-queue' of github.com:calcom/cal.com into chore-platformapi-billing-queue
* fixup! Merge branch 'main' into chore-platformapi-billing-queue
* chore: platform billing by userId
* fix: fix tests requirement team subscirption
* fixup! Merge branch 'main' into chore-platformapi-billing-queue
* fixup! fixup! Merge branch 'main' into chore-platformapi-billing-queue
* fixup! Merge branch 'main' into chore-platformapi-billing-queue
* improve tests logs
* fix: silently close redis and queue
* fixup! Merge branch 'main' into chore-platformapi-billing-queue
* fixup! Merge branch 'main' into chore-platformapi-billing-queue
* fixup! fixup! Merge branch 'main' into chore-platformapi-billing-queue
* fix: upgrade libraries version
2024-07-24 17:10:22 +02:00
Saket kumar singh
5983c960a6
Fix : #15888 ( #15890 )
2024-07-24 14:03:31 +00:00
Souptik Datta and unknown
40305b9c5a
fix: Change conferencing app-store URL on event types and bookings pages ( #15878 )
...
* fix: Change conferencing app-store URL on event types and bookings pages
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* chore: Change conference app store help text
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* chore: Revert app install helper text key for all locales except en
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
* delete key and text
---------
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com >
Co-authored-by: unknown <adhabal2002@gmail.com >
2024-07-24 14:02:13 +00:00
Lauris Skraucis
dcc62c6db0
fix: CreateAvailabilityInput_2024_04_15 Cannot read properties of undefined ( #15885 )
2024-07-24 12:52:42 +00:00
Lucas Víctor Ferreira de Araújo and Anik Dhabal Babu
07f14e4e14
test: test cases for POST selected-calendars ( #15873 )
...
* test-selected_calendars
* Update _post.test.ts
---------
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
2024-07-24 14:29:09 +02:00
Keith Williams
f940f6bd87
chore: Remove unit tests from running after crowd in ( #15880 )
...
* chore: Remove unit tests from running after crowd in
* Update permissions on all workflows
* Updated pr permissions
* Added actions:write to top-level pr
* Update .github/workflows/unit-tests.yml
* Removed the linting annotation
2024-07-24 15:18:11 +03:00
Keith Williams
ca5dcfd1e8
chore: Add v2 API test suite ( #15865 )
...
* chore: Add v2 API test suite
* Changed oauth credentials guard to e2e spec
* Uploading e2e artifacts
* Removed commented line
2024-07-24 11:02:03 +02:00
Lauris Skraucis
324728d4ec
refactor: v2 organizations event-types e2e tests ( #15886 )
2024-07-24 07:15:26 +00:00