* first implementation of verifying phone number
* add UI + logic for verifying phone number flow
* check if all phone numbers are verified before submit
* add numberVerification pending
* only send SMS to verified numbers
* fix design for mobile view
* check if phone number is verified before testing action
* add back message service id check
* add TWILIO_VERIFY_SID to .env.example
* code clean up
* add TWILIO_VERIFY_SID to README.md instructions
* save new verified numbers
* fix wrongly thrown error for new verified numbers
* use false as default value for isVerificationPending paramater
* add translations
* add migration file
* code clean up
* don't throw error if phone number is not needed
* Feedback
* Shows error when Twillio isn't properly setup
* Type fixes
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* fixed search routes
* made static text multilingual and fixed german translations
# Conflicts:
# apps/web/components/availability/Schedule.tsx
* delete empty file created by fixing merge conflicts
* fixing TextField placeholder by passing attendeeName and fixed json variable
* Using useLocal to modify static text to make it multilingual, and passing the correct variables for brand and mail
* seperated whitelabel and improved translations
* added missing translation
* added missing translation for webhooks
* Updated AdminAppsView with dynamic translations.
Added translations for german and english files only.
* changed back to one liner
* updated german and english translations for impersonation.tsx
* updated german and english translations for impersonation.tsx and users.tsx. added missing german translation for timeformat_profile_hint
* updated german and english translations for team-billing-view.tsx
* updated german and english translations for LicenseRequired.tsx
* updated routes for profile and avatar
* yarn.lock updated from newer changes
* Revert " yarn.lock updated from newer changes"
This reverts commit efd9a90bf7.
* sanitize dangerouslySetInnerHTML to prevent xss attacks
* tried to fix window title flicker
* changed ssdInit to ssrInit for getServerSideProps. Serverside translation works but current route still set as a window title
* flicker with route in window title is caused here. It is not necessary to check if isPublic and session is false because it already gets checked in useRedirectToLoginIfUnauthenticated hook.
* fixed window title translation flicker for availability page
* fixed window title translation flicker for teams page
* fixed window title translation flicker for workflow page
* fixed error that div may not be rendered within p element
* fixed window title translation flicker for booking page
* fixed window title translation flicker by adding getServerSideProps
* Only set HeadSeo if an page title exists. If window title is set by the Meta component, shell is causing a flicker because it overwrites the title which is set by Meta. It is a problem especially for settings pages.
* fixed window title translation flicker by adding the Meta component to the skeleton
* fixed condition
* removed condition and added withoutSeo for settings pages
* using translations for create team page further fixed flicker for window title
* fixed flicker for window title for event-type creation page
* fixed flicker for window title for availability creation page
* fixed flicker for window title for sso page
* updated conferencing en translation
* added meta.CTA back it was mistakenly removed
* fixed flicker for workflows page
* fixed missing variable
* Update packages/ui/v2/core/Shell.tsx
* Delete index.tsx
* Update sso.tsx
* Updates subdmoules
Co-authored-by: maxi <maximilian.oehrlein@clicksports.de>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
* add first version of text editor
* add new editor to email body
* fix line height
* remove not needed styles
* allow adding html tags + small refactoring
* fix error when input is empty
* styling of add variable dropdown
* fix bg on focus
* small design fixes
* improve design
* show error message for no input
* text editor only for email body
* remove test button
* code clean up
* code clean up
* code clean up
* fix that added variables weren't saved
* fix import
* first version of editor
* connect reminder body of form with new editor
* add pencile for link-editor
* remove TreeViewPlugin
* clean up css file
* code clean up
* add text indent for list
* improve editor design
* fix style
* slow resizing of editor
* fix that new data was removed when leaving tab
* dont allow italic and bold at same time
* code clean up
* fix type error
* code clean up
* code clean up
* remove text if changed from SMS to email or other way around
* add add variable dropdown
* show error message if email body is empty
* add white-space pre-wrap
* fix import
* prettier
* fix add variable dropdown for mobile
* move dependencies to correct package.json file
* remove html-to-text
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
* Removed emptyscreen component v1 version, migrated pages that still used it to v2, and removed v1 of workflow pages and components.
* updated workflow pages imports to remove v2 from path.
* Deleted v1 switch component, deleted v1 api-keys components, deleted old web integrations components that were unused.
* Removed v1 list component.
* Fixed event workflows tab path.
* Fixed import path for button in sandbox page.
* Cleanup and type fixes
* Making explicit indexes
* UI import migrations
* More import fixes
* More import fixes
* Submodule sync
* Type fixes
* Build fixes
Co-authored-by: zomars <zomars@me.com>
* 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>
* storybook v2 init
* Merge config into storybook vite build
* Remove path
* Storybook config tweaks
* Added styles and settings for storybook v2, and started working on button documentation and examples.
* Badges + flex wrap on mobile
* Breadcrumbs+button+avatar
* Checkbox
* Input + moving files around
* WIP table
* WIP table grid
* Replaced imports for new components.
* Added first steps for varianttable.
* Small alignment fix.
* Custom Args Table - With scrollbar
* Adding table to components that need it + darkmode
* Add intro
* Fix types
* Remove V1 storybook and replace with V2
* Fix badge type error
* Fixed storybook dependencies
* Added cover image to storybook
* Remove vita from ts config, we dont use vite.
* Fixed button import.
* Explained postcss pseudo plugin.
* Fixed badge import.
* Add Avatar Stories
* ButtonGroup Stories
* Fixed imports
* Add checkbox stories
* Add exports for differnt types of inputs
* Fix form and text area input
* Fix mass import errors
Co-authored-by: Jeroen Reumkens <hello@jeroenreumkens.nl>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
* add phone number required checkbox
* make input required only if numberRequired is true
* fix error that smsReminderNumber is null
* code clean up
* fix typo
* save no input as null
* fix code change
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: alannnc <alannnc@gmail.com>
* Hide nav on subpages based on backPath. Add backPath where it was missing
* Fix heading not showing on mobile
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
* fix event types skeleton loader
* fix margin in event types
* fix skeleton loader in bookings
* add skeleton loader for workflow list
* add skeleton loader for editing page
* fix border radius of skeleton loader
* fix mobile view workflow list
* add mobile view for skeleton list
* make multi select full with in mobile view
* mobile view for edit skeleton loader
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* Fix breadcrumb colors
* HorizontalTabs
* Team List Item WIP
* Horizontal Tabs
* Cards
* Remove team list item WIP
* Login Page
* Add welcome back i118n
* EventType page work
* Update EventType Icons
* WIP Availability
* Horizontal Tab Work
* Add build command for in root
* Update build DIr/command
* Add Edit Button + change buttons to v2
* Availablitiy page
* Fix IPAD
* Make mobile look a little nicer
* WIP bookingshell
* Remove list items from breaking build
* Mian bulk of Booking Page.
* Few updates to components
* Fix chormatic feedback
* Fix banner
* Fix Empty Screen
* Text area + embded window fixes
* Semi fix avatar
* Troubleshoot container + Active on count
* Improve mobile
* NITS
* Fix padding on input
* Fix icons
* Starting to move event types settings to tabs
* Begin migration to single page form
* Single page tabs
* Limits Page
* Advanced tab
* Add RHF to dependancies
* Most of advanced tab
* Solved RHF mismtach
* Build fixes
* RHF conditionals fixes
* Improved legibility
* Major refactor/organisation into optional V2 UI
* Portal EditLocationModal
* Fix dialoug form
* Update imports
* Auto Animate + custom inputs WIP
* Custom Inputs
* WIP Apps
* Fixing stories imports
* Stripe app
* Remove duplicate dialog
* Remove duplicate dialog
* add Test action button + UI improvements
* add test action functionality
* Fix embed URL
* Fix app toggles + number of active apps
* Fix container padding on disabledBorder prop
* Removes strict
* add confirmation dialog before sending SMS
* code clean up
* show error message if test action fails
* disable test action button in edit mode
* fixes SMS testing
* use updated values
* fix wrongly updated data in useEffect
* fix typo
* code clean up
* EventType Team page WIP
* Fix embed
* NIT
* Add Darkmode gray color
* V2 Shell WIP
* setup folders for v2
* add lost translations from merge
* add all files to v2 + redesign /workflows
* use custom template as default template
* add first version of v2 for workflow editing page
* Fix headings on shell V2
* Fix mobile layout with V2 shell
* V2 create event type button
* Checked Team Select
* Hidden to happen on save - not on toggle
* Team Attendee Select animation
* Fix scheduling type and remove multi select label
* Fix overflow on teams url
* use fi icon for down arrow
* add v2 shell
* add trigger badge
* Even Type move order handles
* fix save button
* enable editing of workflow name
* improve delete workflow functionality
* adjust empty screen
* make trigger start with uppercase
* change trash icon
* Fix Embed TS errors
* Fix TS errors
* Fix Eslint errors
* Fix TS errors for UI
* Fix ESLINT error
* create component for time and timeUnit input/dropdown
* add workflows to v2 early access middleware
* fix type issues
* added SidebarCard for promo to v2 and storybook (#3906)
Co-authored-by: Julian Benegas <julianbenegas99@gmail.com>
Co-authored-by: Alan <alannnc@gmail.com>
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
* Tooltip Provider - Wrapper due to dep upgrade
* public event type list darkmode
* V2 Color changes to public booking
* adjust delete and edit button
* create custom empty screen for worklows
* add workflow examples to empty page
* add loading state to button when creating first workflow
* Show action as workflow name when no name exists
* if no input leave name empty when updating workflow
* use reminder template when creating workflow
* improve time unit dropdown
* Remove unused component
* Fix typecheck
* add loading state to new workflow button
* add label before action dropdown
* fixing badges in worflow list
* use lighter color for untitled workflows
* fix not showing nr of active eventtypes in workflow list
* add workflows to event types
* implement v2 desing for AddActionDialog
* improve phone input
* rounded borders for phoneInput in add action dialog
* improve message input
* fix mobile view for editing page
* use md breakpoint for mobile view
* finish workflows in event type settings
* code cleanup
* code cleanup
* fix bug in testing workflow action
* add v2 design for addition inputs as variables dialog
* add V2 design for add variable dropdown
* add notification icons to trigger badge
* improve mobile version of workflows in eventtypes
* remove ring from time before input
* fix bug when workflow has no steps
* Final UI improvements/fixes
* code clean-up
* code clean-up
* code clean-up
* use v2 design for license required
* fix translation issues
* fix adding variables in different language in old design
* limit for pro users only for now
* fix import
* fix mobile view for empty screen
* ues destructive button color for deleting workfow
* remove padding at button of creation dialog
* V2 Settings - Security View (#4018)
* Create change password screen
* Add two factor auth screen
* Add two factor auth screen
* Remove header file
* Updates middleware and rewrites
* Adds Meta component to handle layout headings/metadata (#4021)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
* fix: rate limit auth (#3820)
* fix: rate limit auth
* fix: replace lru-cache w memory-cache
* remove comments
* fix: yarn.lock
* fix: remove changes yarn lock
* fix: add missing EOL empty liune
* fix: move rate limiter so it kicks the last, limit to 10 tries per minute
* fix: move limiter w rest of code
* test: trying fix onboardong
* fix: undo changes in globalSetup.ts
* test: fix disable login for onboarding
* fix: use username instead of email for token check
* fix: tests
* fix: don't run on test
* fix: add missing comma
* fix: remove uniqueTokenPerInterval
* fix: add errorcode to packages lib auth
* Update packages/lib/rateLimit.ts
fix: improve readability
Co-authored-by: Omar López <zomars@me.com>
* Update packages/lib/rateLimit.ts
fix: no unnecessary any
Co-authored-by: Omar López <zomars@me.com>
* Update packages/lib/rateLimit.ts
fix: improve readability
Co-authored-by: Omar López <zomars@me.com>
* fix: rename interval -> intervalInMs
* fix: check user.email not username which could be empty
* fix: rateLimit update all naming
Co-authored-by: Agusti Fernandez Pardo <git@agusti.me>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
* Adds deprecation comments
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: Julian Benegas <julianbenegas99@gmail.com>
Co-authored-by: Alan <alannnc@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com>
Co-authored-by: Agusti Fernandez Pardo <6601142+agustif@users.noreply.github.com>
Co-authored-by: Agusti Fernandez Pardo <git@agusti.me>