2
0
Commit Graph

472 Commits

Author SHA1 Message Date
42008f8c18 (openai) Enable setVariable function in tools
Closes #1178
2024-01-22 09:22:28 +01:00
b438c174c4 🛂 Enable allowed origins security to depreceated sendMessage endpoints 2024-01-19 14:41:43 +01:00
d6f94d37d8 🐛 (cors) Fix cors setting when bot is origin-restricted 2024-01-18 10:25:24 +01:00
8771def9a1 Customizable allowed origins 2024-01-17 09:04:07 +01:00
69b113fc85 🧐 Add exportResults script 2024-01-12 10:16:01 +01:00
03258e0f64 (openai) Add "Ask assistant" action
Closes #1024
2024-01-11 08:29:41 +01:00
f73bc46208 🐛 (webhook) Fix test request execution invalid timeout 2024-01-04 14:09:06 +01:00
5266be1a51 🔧 Muting Vercel bot notifications for viewer 2024-01-04 13:35:29 +01:00
34917b00ef (webhook) Add custom timeout option
Closes #1128
2024-01-04 08:08:00 +01:00
b5fbba7072 🔒 (logs) Remove some logs from API response to avoid sensit… 2024-01-02 15:18:20 +01:00
d42e4a9ce1 Add editor header translation keys (#1110)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Implemented internationalization support across various components
using the `useTranslate` function for dynamic content translation.

- **Enhancements**
- Updated UI elements such as buttons, tooltips, placeholders, and
labels to display translated text, improving accessibility and user
experience for non-English speakers.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
2023-12-28 10:50:33 +01:00
3bbaf670a2 🚸 (webhook) Improve header and query params parsing 2023-12-24 11:02:48 +01:00
6e076e9fb8 🚑 Revert resultId optional in startChat response 2023-12-23 10:13:27 +01:00
1e5fa5a575 📝 Migrate from Docusaurus to Mintlify (#1115)
Closes #868
2023-12-22 09:13:53 +01:00
3bd07c60da (webhook) Add Orimon in long request whitelist 2023-12-13 10:55:51 +01:00
5e019bbb22 Introducing The Forge (#1072)
The Forge allows anyone to easily create their own Typebot Block.

Closes #380
2023-12-13 10:22:02 +01:00
957eaf33dd Add dynamic timeout to bot engine api 2023-12-08 13:43:58 +00:00
e2abfc6bbc 🔧 Update vercel.json to reflect new api path 2023-12-06 17:59:21 +01:00
d89a1eb323 🧑‍💻 Automatically guess env URLs for Vercel preview deploy… (#1076)
…ments

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

- **New Features**
- Introduced new URL processing logic to enhance compatibility with
Vercel preview environments.
- Improved handling of environment-specific URLs for authentication and
viewer services.

- **Enhancements**
- Streamlined environment variable management for more reliable
deployment configurations.

- **Documentation**
- Updated documentation to reflect new environment variable processing
functions.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-12-05 10:59:19 +01:00
73d2e165bf 🔥 Remove VIEWER_URL_INTERNAL variable
BREAKING CHANGE: NEXT_PUBLIC_VIEWER_INTERNAL does not exist anymore as typebot.io now directly points to the viewer project
2023-11-23 15:34:19 +01:00
bb41226a04 Allow user to share a flow publicly and make it duplicatable
Closes #360
2023-11-23 12:05:31 +01:00
1a44bf4935 (openai) Add create speech OpenAI action
Closes #1025
2023-11-20 14:01:50 +01:00
27e9c1adb9 📝 Update Discord invite link 2023-11-14 18:00:23 +01:00
8f224e3293 📝 Change community URLs, introduce Discord server
Closes #866
2023-11-14 08:48:31 +01:00
06065c3e85 Revert new authentication method for preview bot 2023-11-13 15:45:11 +01:00
084588a086 🧑‍💻 (chat) Introduce startChat and continueChat endpoints
Closes #1030
2023-11-13 15:27:36 +01:00
63233eb7ee 🐛 (webhook) Fix legacy webhook {{state}} body parsing 2023-11-12 08:35:29 +01:00
bac2393b5d 🛂 Reduce sendMessage serverless function max memory 2023-11-12 08:24:34 +01:00
9eef1665f5 🚑 (zapier) Fix execute webhook endpoint too strict on block type check 2023-11-09 08:36:46 +01:00
35300eaf34 ♻️ Introduce typebot v6 with events (#1013)
Closes #885
2023-11-08 15:34:16 +01:00
b2b82c48e1 ⬆️ Upgrade Sentry to mitigate security issue
https://github.com/getsentry/sentry-javascript/security?mkt_tok=Nzc2LU1KTi01MDEAAAGPNi0ooiOxT0sphdzXd6xHU63d5z5Sc75FNR8cH-6EK-zlvUsUuUqP1YsmnxivxEyXnGZS2cN8XkpuNNGi3NIfoDnwoHci-31tbyJQB8y0Cg
2023-11-06 16:24:26 +01:00
0c22d858b7 📦 Add strict package versioning to avoid incompatibility in workspace 2023-11-06 16:22:25 +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
54788a828e 💚 Fix docker build when Sentry not enabled 2023-10-10 15:04:17 +02:00
3e7b9b3afd ⬆️ Upgrade sentry and improve its reliability 2023-10-07 12:40:43 +02:00
073654e1e0 ♻️ Remove sentry client monitoring in viewer 2023-10-07 07:58:40 +02:00
4746e38cb2 🐛 Add no cache instructions to streamer
Attempt to fix buffering issue when Cloudflare proxy is enabled
2023-10-06 18:31:42 +02:00
bf1f657642 🔥 Remove streamer Pages API endpoint 2023-10-06 17:45:12 +02:00
0ba13b4df0 🐛 Enable stream again by migrating endpoint to route handler
https://vercel.com/docs/functions/edge-functions/streaming#streaming-data-with-edge-functions
2023-10-06 15:07:26 +02:00
225dfed313 ⬆️ (openai) Replace openai-edge with openai and upgrade next 2023-10-06 14:38:54 +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
9e6a1f7dc0 ♻️ (api) Auto start bot if starting with input
Closes #877, closes #884
2023-10-04 16:47:58 +02:00
bf051bebde 🐛 (whatsapp) Fix force create session when flow is completed at first round 2023-10-03 16:06:37 +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
7b3cbdb8e8 🚑 (fileUpload) Fix file upload in linked typebots 2023-09-26 08:07:33 +02:00
4f953ac272 (whatsapp) Add custom session expiration (#842)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

- New Feature: Introduced session expiry timeout for WhatsApp
integration, allowing users to set the duration after which a session
expires.
- New Feature: Added an option to enable/disable the start bot condition
in WhatsApp integration settings.
- Refactor: Enhanced error handling by throwing specific errors when
necessary conditions are not met.
- Refactor: Improved UI components like `NumberInput` and
`SwitchWithLabel` for better usability.
- Bug Fix: Fixed issues related to session resumption and message
sending in expired sessions. Now, if a session is expired, a new one
will be started instead of attempting to resume the old one.
- Chore: Updated various schemas to reflect changes in session
management and WhatsApp settings.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-09-22 17:12:15 +02:00
4673989104 💚 Rename back viewer 2023-09-22 16:25:31 +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
85272af8f3 🚑 (upload) Fix upload in embed 2023-09-21 19:08:43 +02:00