Commit Graph

1638 Commits

Author SHA1 Message Date
zomars 04b73d39a6 Type fixes 2022-11-11 12:10:37 -07:00
Om Ray 262a103461
Update apps/web/test/lib/getSchedule.test.ts
Co-authored-by: Omar López <zomars@me.com>
2022-11-11 13:29:42 -05:00
Om Ray 656d586b52
remove passing in as object 2022-11-11 13:29:31 -05:00
Om Ray 41910ff1b5
Update apps/web/test/lib/getSchedule.test.ts
Co-authored-by: Omar López <zomars@me.com>
2022-11-11 13:26:54 -05:00
Om Ray 1aa21b69a3
Update apps/web/components/eventtype/EventLimitsTab.tsx
Co-authored-by: Omar López <zomars@me.com>
2022-11-11 13:25:13 -05:00
Om Ray 9915c4746e
Update apps/web/components/eventtype/EventLimitsTab.tsx
Co-authored-by: Omar López <zomars@me.com>
2022-11-11 13:24:18 -05:00
Om Ray a355b18db5
Merge branch 'main' into minimum-booking-notice-will-allow-hours-and-days 2022-11-11 10:14:23 -05:00
Carina Wollendorfer 54f4e665a3
Add alphanumeric sender ID to SMS workflow actions (#5471)
* add sender id

* add sender to twilio from

* added missing sender

* add migration

* fix design of add action dialog

* add cal as sender when creating new workflow

* fix type errors

Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2022-11-11 15:01:17 +00:00
Peer Richelsen 778c4cb332
Update apps/web/components/eventtype/EventLimitsTab.tsx
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
2022-11-11 13:49:26 +00:00
Alex van Andel 0b127bc922
Merge branch 'main' into minimum-booking-notice-will-allow-hours-and-days 2022-11-11 12:12:00 +00:00
Alex van Andel ef3e7fae20 v2.1.5 2022-11-11 11:46:17 +00:00
Alex van Andel acb6f292ec
Bugfix/revert e5ba8616 (#5479)
* Revert e5ba8616

* Revert "Reverted Sentry for debug purposes (#5425)"

This reverts commit 4466c4ad4b.

Co-authored-by: Omar López <zomars@me.com>
2022-11-11 09:47:11 +00:00
Om Ray 8d259093cb
Merge branch 'main' into minimum-booking-notice-will-allow-hours-and-days 2022-11-10 18:48:07 -05:00
Julius Marminge db7c3fb52f
feat: trpc v10 migration (#5332)
* migrate router

* createTRPCReact

* frontend 1

* random format change

* frontend 2

* withQuery

* form router

* TS-ERROR: proxy on utils-client

* inferance

* ssg

* reuse

* trpc rc4

* Apply suggestions from code review

* skip test

* move skip one level up

* whops

* rc 6 with new setData func

Co-authored-by: zomars <zomars@me.com>
2022-11-10 23:40:01 +00:00
Om Ray a8bda978d3
Merge branch 'main' into minimum-booking-notice-will-allow-hours-and-days 2022-11-10 16:53:44 -05:00
Omar López 6d67808627
Team billing (#5453)
* WIP teams billing page

* WIP

* Create settings page

* Remove unused imports

* Create stripe customer on team creation

* Add Stripe ids to team record

* Add Stripe price ids for team to .env

* Create & delete Stripe customers

* Add string

* Merge branch 'main' into v2/teams-billing

* Create checkout session when creating team

* Create webhook to update team with Stripe ids

* Add Stripe migration files

* Move deleting team from Stripe under ee

* Some cleanup

* Merge branch 'v2/teams-billing' of https://github.com/calcom/cal.com into v2/teams-billing

* Small clean up

* Link to team's portal page

* Fix types

* Fix type errors

* Fix type errors

* Fix type error

* Delete old files & type fixes

* Address feedback

* Fix type errors

* Removes team creation modal

* WIP

* Removed billing frequency from team creation

* Add Stripe check for delete team customer

* Merge branch 'v2/teams-billing' of https://github.com/calcom/cal.com into v2/teams-billing

* Add high level form to create new team

* WIP

* Add new team to form

* Validate for invited members

* Add translations

* WIP

* Add validation for team name

* Add validation to team slug

* Clean up

* Fix type error

* Fix type errors

* WIP

* Abstract invite members function

* Add subscription status column

* Hide pending teams from settings

* Send email on paid subscription

* WIP

* Sync packages

* Add team subscription cols to schema

* WIP

* Matches locks vite version to <3

* Removed subscriptionStatus

* WIP

* Fix warning

* Query optimizations

* WIP

* Cleanup

* Wip

* WIP

* Runtime error fixes

* Cancellation fixes

* Delete team fixes

* Cleanup

* Type fixes

* Allows to check memebership in getTeamWithMembers

* Adds team creation tests

* Cleanup

* Cleanup

* Restored change

* Updated copy

* Moved component

* Cleanup

* Fix team members view

* Cleanup

* Adds failsafe for skipping publishing on update

* Cleanup

* Feedback

* More feedback

* Cleanup

* Cleanup

* Feedback

* Feedback

* Feedback

* Adds edge-case for slug conflicts

* Feedback

* e2e fixes

Co-authored-by: Joe Au-Yeung <j.auyeung419@gmail.com>
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-11-10 13:23:56 -07:00
123om123 6eb2a3f567 Merge https://github.com/123om123/cal.com into minimum-booking-notice-will-allow-hours-and-days 2022-11-10 11:50:16 -05:00
Nafees Nazik 557b57a261
fix: floating pop up button embed modal size (#5415)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-10 13:09:19 +00:00
Carina Wollendorfer 31875f7535
Test Preview for routing forms (#5436)
* add first version of testing routing forms

* small design changes

* use new shared component

* readd deleted code for showing result route

* add form validation for required fields

* design fixes

* add scroll

* fix design of select

* use old dialog with correct overflow behaviour

* code clean up

* remove unused import

* fix mobile view

Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-10 12:58:07 +00:00
Udit Takkar 7bda15aaa3
fix: ui of webhook segment (#5452)
* fix: ui of webhook segment

* feat: use toggle group component

* fix: default bug

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-10 11:38:40 +00:00
Jeroen Reumkens 4176086ce0
Removed v1 component split for event types component (#5399)
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-10 11:23:55 +00:00
Hariom Balhara 04e62a10e6
In selfhosted, calvideo isnt default and thus an event can be created without location. Handle that (#5457)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-10 11:07:16 +00:00
Carina Wollendorfer 0ff38dece2
FIx button text (#5456)
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
2022-11-10 09:07:26 +00:00
Hariom Balhara 8416b76bf6
Fix flakiness (#5454) 2022-11-10 07:45:10 +00:00
alannnc fd5852ebb9
Merge branch 'main' into minimum-booking-notice-will-allow-hours-and-days 2022-11-09 17:29:16 -07:00
zomars c3a427346d Matches locks vite version to <3
# Conflicts:
#	yarn.lock
2022-11-09 16:42:49 -07:00
Om Ray 37a0152a2b
Merge branch 'main' into minimum-booking-notice-will-allow-hours-and-days 2022-11-09 11:37:05 -05:00
Alex van Andel 25d684ed3e v2.1.4 2022-11-09 16:29:23 +00:00
Alex van Andel 195cb84a8b
Disable ADMIN role when password requirements aren't met (#5445) 2022-11-09 16:23:39 +00:00
Alex van Andel 4466c4ad4b
Reverted Sentry for debug purposes (#5425)
* Reverted Sentry for debug purposes

* Downgraded yarn.lock

Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-09 16:10:31 +00:00
Nafees Nazik 4b532646cb
fix: back url (#5414)
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-09 15:57:23 +00:00
Udit Takkar 6d42fdb71c
chore: fix typo (#5432) 2022-11-09 15:45:42 +00:00
Jeroen Reumkens 221d9e2c40 Undo adding submodule updates 2022-11-09 15:38:33 +01:00
Jeroen Reumkens 61f8f1dd41 Merge branch 'main' into minimum-booking-notice-will-allow-hours-and-days 2022-11-09 15:36:51 +01:00
Jeroen Reumkens 6d75920c70 Improvements for duration notice type logic 2022-11-09 15:34:03 +01:00
Bailey Pumfleet 1b23671812
Update password length requirement to 8 characters (#5438) 2022-11-09 12:42:30 +00:00
Om Ray 35a0c74c7b
Merge branch 'main' into minimum-booking-notice-will-allow-hours-and-days 2022-11-08 16:00:47 -05:00
Leo Giovanetti 7d1fb7c659
Fixing count and redundant checks for recurring (#5426)
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2022-11-08 20:59:44 +00:00
123om123 c06817c753 Replaced currentDurationType export with state passed down from parent 2022-11-08 13:33:27 -05:00
Om Ray 972724ea57
Merge branch 'main' into minimum-booking-notice-will-allow-hours-and-days 2022-11-08 12:50:44 -05:00
zomars 8ff5d476d9 Sync submodules 2022-11-08 10:48:54 -07:00
Om Ray 6954afe023
Merge branch 'main' into minimum-booking-notice-will-allow-hours-and-days 2022-11-08 12:04:54 -05:00
Alex van Andel 4421981da7 v2.1.3 2022-11-08 16:55:55 +00:00
Om Ray 4aa789de9f
Merge branch 'main' into minimum-booking-notice-will-allow-hours-and-days 2022-11-08 11:49:33 -05:00
Udit Takkar 2ba5e6cdd4
fix: update form methods when username is updated (#5403)
* fix: update form methods when username is updated

* Using RHF to decrease state logic in profile.tsx for UsernameAvailability (#5405)

* Type fixes & fixed onboarding

* Removed undefined allowed value + removed invalidation

* No longer need usernameRef.current.value

Co-authored-by: Alex van Andel <me@alexvanandel.com>
2022-11-08 16:36:14 +00:00
Om Ray 06fe6464d9
Merge branch 'main' into minimum-booking-notice-will-allow-hours-and-days 2022-11-08 11:33:39 -05:00
Colin Griffin cde02e1a47
Check for existence of NEXTAUTH_URL before overwriting (#5419)
* check for existence of NEXTAUTH_URL before overwriting

* add comment
2022-11-08 15:04:18 +00:00
GitStart 8593da4e25
[CAL-106] /onboarding - UI issues & small improvements (#5396)
Co-authored-by: gitstart <gitstart@users.noreply.github.com>
Co-authored-by: Nitesh Singh <nitesh.singh@gitstart.dev>
Co-authored-by: Matheus Benini Ferreira <88898100+MatheusBeniniF@users.noreply.github.com>
Co-authored-by: Matheus Muniz <87545749+matheusmuniz03@users.noreply.github.com>
Co-authored-by: Murilo Amaral <87545137+MuriloAmarals@users.noreply.github.com>
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com>
Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com>
Co-authored-by: Rubens Rafael <70234898+RubensRafael@users.noreply.github.com>
Co-authored-by: Matheus Muniz <matheusmuniz100@hotmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-08 07:49:44 +00:00
Alex van Andel 8b5d57c573
Cleanup + migrate away from process.browser (#5408)
* Cleanup + migrate away from process.browser

* Bring back HeadSeo in ui/v2
2022-11-08 08:36:59 +01:00
Om Ray 97c12247ca
Merge branch 'main' into minimum-booking-notice-will-allow-hours-and-days 2022-11-07 19:21:32 -05:00