2
0
Commit Graph

754 Commits

Author SHA1 Message Date
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
dd4de582a9 Add more video supports (#1023)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
	- Introduced a new layout option for the TextInput component.
- Added support for GUMLET and TIKTOK video content types in
VideoBubbleContent.
- Enhanced VideoUploadContent to handle new properties like aspectRatio
and maxWidth.
- Updated VideoBubble to include aspect-ratio and max-width styles based
on content properties.
- **Refactor**
- Changed the extension used for internationalization (i18n) in the VS
Code environment.
	- Modified how environment variables are accessed in tolgee.tsx.
- Updated parseVideoUrl function to include a new property
videoSizeSuggestion.
- **Chores**
- Updated the tolgeeEnv object in env.ts and added a new optional
parameter to the getRuntimeVariable function.
- Expanded video handling capabilities by introducing new video content
types and associated regular expressions.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Closes #978 #936 #926
2023-11-10 11:17:14 +01:00
60829b4d0a 💄 Fix multi choice checkbox UI on small screens 2023-11-09 15:19:38 +01:00
a38467e5b2 🐛 Sort variables to parse to fix text bubble parsing issue 2023-11-09 13:44:08 +01:00
14a37160fd 🚑 (webhook) Fix webhook execution with default method 2023-11-09 08:59:45 +01:00
9bb559174a 🐛 (typebotLink) Fix link to first group with start event 2023-11-09 08:52:00 +01:00
64418df3a1 🚸 (typebotLink) Make "current" option work like typebot links instead of jump 2023-11-08 17:05:02 +01:00
db17a0f508 🚑 Fix parsing issue with new events field on ongoing session states 2023-11-08 16:03:45 +01:00
35300eaf34 ♻️ Introduce typebot v6 with events (#1013)
Closes #885
2023-11-08 15:34:16 +01:00
027c6ffcef 🛂 Update Cache-Control header in generatePresignedPostPolicy 2023-11-07 15:16:23 +01:00
eaa9b815c4 🚑 Fix weird env parsing on Firefox making it crash 2023-11-07 14:49:15 +01:00
eed562b47a (chatwoot) Unmount Typebot embed bubble when opening chatwoot
Closes #1007
2023-11-06 16:57:05 +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
a855d85d04 🚑 Move cache control header into the post policy 2023-11-02 15:09:08 +01:00
d1502f8300 Add cache-control header on newly uploaded files 2023-11-01 15:42:53 +01:00
a5641811a3 🐛 Fix formatted message in input block when input is retried 2023-11-01 14:01:32 +01:00
7586ecaf13 🐛 (number) Fix number input validation with variables 2023-10-30 16:45:32 +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
31b3fc311e 🧑‍💻 Fix type resolution for @typebot.io/react and nextjs
Closes #968
2023-10-26 15:57:55 +02:00
3f7f0944e1 💚 Fix checkAndReportChatsUsage script sending multiple emails at once 2023-10-26 15:42:09 +02:00
53558dc303 🚑 Fix can invite new members in workspace bool
Closes #964
2023-10-25 17:57:13 +02:00
4b248d554f 🐛 (numberInput) Fix input clearing out on dot or comma press 2023-10-25 17:37:45 +02:00
c2a08c482e 🧑‍💻 (whatsapp) Improve whatsapp start log 2023-10-25 14:26:10 +02:00
1ff58818a9 ✏️ Fix popup blocked toast typo 2023-10-25 13:57:45 +02:00
621fcd59f1 🚸 (buttons) Trim items content when parsing reply for better consistency
Closes #948
2023-10-23 15:13:43 +02:00
b301174106 🩹 Surround logs saving in a try catch block
It seems that in some particular set up the logs saving is failing.
2023-10-23 14:47:44 +02:00
11186d8d29 👷 Add convenient script for migrating Stripe prices 2023-10-23 09:57:47 +02:00
be9daee63e ♻️ Update import contact to brevo script 2023-10-23 09:57:47 +02:00
df3a17efa0 🐛 Freeze body overflow when opening a Popup embed (#937)
fix #763
/claim #763

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

- **Enhancement**: Improved the visibility management of the bot in the
popup. This update ensures a smoother and more intuitive user experience
when interacting with the bot.
- **Bug Fix**: Resolved an issue where certain styles could interfere
with the bot's visibility in the popup. The update prioritizes the
necessary style settings, ensuring the bot's visibility is maintained as
expected, regardless of other conflicting styles.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-10-17 15:16:14 +02:00
3e06d89873 💚 Fix send email in CI "React is not defined" 2023-10-17 14:39:10 +02:00
1cc4ccfcfa 👷 Improve getUsage accuracy in check cron job 2023-10-17 13:37:36 +02:00
6b0c263f88 🚑 (billing) Fix chats pricing tiers incremental flat amou… 2023-10-17 08:32:41 +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
ee7dfbf848 🐛 (videoBubble) Fix youtube parsing for IDs containing a "-" 2023-10-13 14:11:18 +02:00
9bbb30f30d 🐛 (textBubble) Fix overflow with long links
Closes #764
2023-10-12 17:33:23 +02:00
ad791789ba 🐛 Fix link parsing when using variables
Closes #764
2023-10-12 17:20:11 +02:00
ee685f14f3 (video) Allow changing video height when resolved to an iframe 2023-10-12 14:48:52 +02:00
42fd6037f7 🐛 (openai) Fix 2 openai streaming back to back 2023-10-12 13:59:03 +02:00
a48026c707 🚑 Fix empty bubble issue when plate element does not have a type attribute 2023-10-11 09:13:59 +02:00
54788a828e 💚 Fix docker build when Sentry not enabled 2023-10-10 15:04:17 +02:00
49826d1303 🚸 (openai) Improve streaming bubble sequence and visual 2023-10-09 11:30:51 +02:00
8eb9f2568b 🚑 Fix custom CSS sanitization 2023-10-09 10:39:47 +02:00
8e548248b1 🛂 Sanitize custom CSS and head code to avoid modification of lite badge 2023-10-09 09:25:53 +02:00
3e7b9b3afd ⬆️ Upgrade sentry and improve its reliability 2023-10-07 12:40:43 +02:00
877a58dac2 💄 Better parsing of lists and code in streaming bubbles 2023-10-06 19:41:31 +02:00
bf1f657642 🔥 Remove streamer Pages API endpoint 2023-10-06 17:45:12 +02:00
b232a9495e 🚸 (openai) Improve streamed message lists CSS 2023-10-06 15:37:55 +02:00
225dfed313 ⬆️ (openai) Replace openai-edge with openai and upgrade next 2023-10-06 14:38:54 +02:00