2
0
Commit Graph

405 Commits

Author SHA1 Message Date
3e02436d30 📝 Add webhook configuration tuto video 2023-10-30 15:20:53 +01:00
bed8b42a2e 🧑‍💻 Migrate to Tolgee (#976)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

### Summary by CodeRabbit

- Refactor: Transitioned to a new translation library (`@tolgee/react`)
across the application, enhancing the localization capabilities and
consistency.
- New Feature: Introduced a JSON configuration file for application
settings, improving customization and flexibility.
- Refactor: Updated SVG attribute naming convention in the
`WhatsAppLogo` component to align with React standards.
- Chore: Adjusted the `.gitignore` file and added a new line at the end.
- Documentation: Added instructions for setting up environment variables
for the Tolgee i18n contribution dev tool, improving the self-hosting
configuration guide.
- Style: Updated the `CollaborationMenuButton` to hide the
`PopoverContent` component by scaling it down to zero.
- Refactor: Simplified error handling logic for fetching and updating
typebots in `TypebotProvider.tsx`, improving code readability and
maintenance.
- Refactor: Removed the dependency on the `parseGroupTitle` function,
simplifying the code in several components.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-10-27 09:23:50 +02:00
a347a2741d ✏️ Fix manual deployment doc start script typo
Closes #969
2023-10-26 15:42:09 +02:00
885dcecd8d 🐛 (results) Lower the max limit in getResults endpoint to avoid payload size error
Closes #908
2023-10-17 14:19:09 +02:00
797751b418 (billing) Automatic usage-based billing (#924)
BREAKING CHANGE: Stripe environment variables simplified. Check out the
new configs to adapt your existing system.

Closes #906





<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

**New Features:**
- Introduced a usage-based billing system, providing more flexibility
and options for users.
- Integrated with Stripe for a smoother and more secure payment process.
- Enhanced the user interface with improvements to the billing,
workspace, and pricing pages for a more intuitive experience.

**Improvements:**
- Simplified the billing logic, removing additional chats and yearly
billing for a more streamlined user experience.
- Updated email notifications to keep users informed about their usage
and limits.
- Improved pricing and currency formatting for better clarity and
understanding.

**Testing:**
- Updated tests and specifications to ensure the reliability of new
features and improvements.

**Note:** These changes aim to provide a more flexible and user-friendly
billing system, with clearer pricing and improved notifications. Users
should find the new system more intuitive and easier to navigate.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-10-17 08:03:30 +02:00
e071c810ae 📝 (openai) Add "Multiple OpenAI blocks" video section 2023-10-12 14:10:53 +02:00
021cae3c29 📝 (s3) Add s3 configuration detailed instructions 2023-10-09 10:14:05 +02:00
15823df6bd 📝 (embed) Add note about non-embeddable websites 2023-10-07 08:29:47 +02:00
3838ac9c3f 🐛 New sendMessage version for the new parser
Make sure old client still communicate with old parser
2023-10-06 10:14:26 +02:00
d567bede6e 📝 (whatsapp) Remove private beta mention 2023-10-05 17:28:32 +02:00
a53d128fb0 🛂 (whatsapp) Set default whatsapp expiry to 4 hours 2023-10-03 10:53:37 +02:00
317a15b708 📝 (docker) Update postgres image name 2023-10-03 10:11:58 +02:00
4d475ff009 📝 (vercel) Add a note on function maxDuration for Hobby plans 2023-10-03 09:14:36 +02:00
a102d45da1 📝 (whatsapp) Re-organize whatsapp overview doc 2023-10-03 09:09:05 +02:00
876625deb8 🐳 Bump Postgres version in official docker compose file 2023-10-02 11:20:06 +02:00
1a4b8bb8fc 📝 (typebotLink) Add instructions about shared variables and merge answers 2023-09-29 11:33:39 +02:00
f9a14c0685 🐛 (whatsapp) Fix auto start input where it didn't display next bu… (#869)
…bbles
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

**Release Notes**

- New Feature: Enhanced WhatsApp integration with improved phone number
formatting and session ID generation.
- Refactor: Updated the `startWhatsAppPreview` and
`receiveMessagePreview` functions for better consistency and
readability.
- Bug Fix: Added a check for `phoneNumberId` in the `receiveMessage`
function to prevent errors when it's undefined.
- Documentation: Expanded the WhatsApp integration guide and FAQs in the
docs, providing more detailed instructions and addressing common
queries.
- Chore: Introduced a new `metadata` field in the
`whatsAppWebhookRequestBodySchema` to store the `phone_number_id`.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-09-29 09:59:38 +02:00
e10a506c96 🐛 (whatsapp) Fix preview failing to start and wait timeo… 2023-09-27 18:46:53 +02:00
ec52fdc0ad 📝 (whatsapp) Add a "Create WhatsApp app" guide 2023-09-27 08:32:18 +02:00
1ca742fc0b (setVariable) Add "Environment name" value in Set variable block (#850)
Closes #848
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

- New Feature: Added "Environment name" as a new value type in the
SetVariable function, allowing users to distinguish between 'web' and
'whatsapp' environments.
- Refactor: Simplified session state handling in `resumeWhatsAppFlow.ts`
for improved code clarity.
- Refactor: Updated `startWhatsAppSession.ts` to include an initial
session state with WhatsApp contact and expiry timeout, enhancing
session management.
- Bug Fix: Improved null handling in `executeSetVariable.ts` for
'Contact name' and 'Phone number', preventing potential issues with
falsy values.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-09-26 09:50:20 +02:00
b81fcf0167 Auto continue bot on whatsApp if starting block is input (#849)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

**New Features:**
- Added WhatsApp integration feature to the Pro plan.

**Refactor:**
- Introduced the ability to exclude specific plans from being displayed
in the Change Plan Modal.
- Renamed the function `isProPlan` to `hasProPerks`, enhancing code
readability and maintainability.
- Updated the `EmbedButton` component to handle a new `lockTagPlan`
property and use the `modal` function instead of the `Modal` component.

**Chore:**
- Removed the `whatsAppPhoneNumberId` field from the `Typebot` model
across various files, simplifying the data structure of the model.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-09-25 17:20:42 +02:00
2307231d28 (wordpress) Add query params exclusion support 2023-09-25 11:07:08 +02:00
9e0109f561 (whatsapp) Improve whatsApp management and media collection
Closes #796
2023-09-22 11:08:41 +02:00
8f4e5b5d63 👷 (vercel) Increase max execution duration for webhooks 2023-09-22 09:10:22 +02:00
bad415ae1f 📝 Add custom domain troobleshoot section 2023-09-22 08:05:51 +02:00
d7dc5fb5fb ♻️ Remove storage limit related code 2023-09-20 16:06:53 +02:00
7d57e8dd06 ♻️ Export bot-engine code into its own package 2023-09-20 15:42:34 +02:00
797685aa9d 📝 Change googleSheets date system var name 2023-09-20 10:48:24 +02:00
bb13c2bd61 🛂 (fileUpload) Improve file upload size limit enforcement
Closes #799, closes #797
2023-09-19 15:42:33 +02:00
f626c9867c (whatsapp) Improve WhatsApp preview management
Closes #800
2023-09-19 11:53:18 +02:00
0ccc2efa45 🚸 (billing) Improve feedback when subscription is "past_due" 2023-09-12 13:17:14 +02:00
6375a2425f 📝 Update support contact email 2023-09-12 09:45:45 +02:00
75e4b16af0 Add Zemantic AI Integration block (#752)
Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
2023-09-08 16:21:50 +02:00
fbb198af9d (s3) Improve storage management and type safety
Closes #756
2023-09-08 15:28:11 +02:00
43be38cf50 📝 (vercel) Add disable github workflows section 2023-09-08 12:53:10 +02:00
a2e24d08a0 (date) Add min and max options to date input block
Closes #792
2023-09-08 11:38:23 +02:00
a0df85108f 👷 Remove docker main tag building 2023-09-07 15:33:24 +02:00
605132ec3c 📝 Add user preferences doc 2023-09-06 08:10:48 +02:00
aaa208cef4 🌐 Add pt_BR and more translations (#767)
Original PR: https://github.com/baptisteArno/typebot.io/pull/694

---------

Co-authored-by: Daniel Oliveira <daniel.oliveira@kununu.com>
Co-authored-by: Daniel Oliveira <daniel@headdev.com.br>
2023-09-05 18:15:59 +02:00
9e8fa124b5 (dateInput) Add format option and improve parsing
Use date-fns for custom format and make sure dates are timezone independants

Closes #533, closes #592
2023-09-05 10:34:56 +02:00
111fb323b1 (wait) Add pause option on Wait block
Closes #751
2023-09-04 14:52:16 +02:00
a79e605285 📝 Add cancel subscription doc 2023-09-04 07:56:50 +02:00
27a5f4eb74 (openai) Add custom provider and custom models
Closes #532
2023-09-01 16:19:59 +02:00
1aa017153a 🐳 Fix docker image runtime error
Closes #719
2023-09-01 15:41:11 +02:00
baa13c3fa2 📝 Add troobleshoot section in Audio bubble doc 2023-08-31 10:15:57 +02:00
9a79bc38ee Use minio for presigned urls and remove aws sdk 2023-08-30 09:08:05 +02:00
da272f2f9c 📝 Temporarily fix docker files starter urls 2023-08-29 15:55:58 +02:00
da4005e160 🐛 (embed) Make sure env.ts is not bundled in js embed lib 2023-08-29 15:00:04 +02:00
b852b4af0b Add WhatsApp integration beta test (#722)
Related to #401
2023-08-29 10:05:24 +02:00
786e5cb582 🧑‍💻 Improve env variables type safety and management (#718)
Closes #679
2023-08-28 09:13:53 +02:00