2
0
Commit Graph

109 Commits

Author SHA1 Message Date
084588a086 🧑‍💻 (chat) Introduce startChat and continueChat endpoints
Closes #1030
2023-11-13 15:27:36 +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
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
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
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
53558dc303 🚑 Fix can invite new members in workspace bool
Closes #964
2023-10-25 17:57:13 +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
3e7b9b3afd ⬆️ Upgrade sentry and improve its reliability 2023-10-07 12:40:43 +02:00
bf1f657642 🔥 Remove streamer Pages API endpoint 2023-10-06 17:45:12 +02:00
225dfed313 ⬆️ (openai) Replace openai-edge with openai and upgrade next 2023-10-06 14:38:54 +02:00
a7b784b446 🚸 (videoBubble) Reparse variable video URL to correctly detect provider 2023-10-03 11:44:51 +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
9e0109f561 (whatsapp) Improve whatsApp management and media collection
Closes #796
2023-09-22 11:08:41 +02:00
85272af8f3 🚑 (upload) Fix upload in embed 2023-09-21 19:08:43 +02:00
9d80a3f68b 🚑 Fix file upload expiration issue 2023-09-21 08:22:03 +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
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
fbb198af9d (s3) Improve storage management and type safety
Closes #756
2023-09-08 15:28:11 +02:00
23b629f82c ♻️ Move s3-related files to specific lib folder 2023-08-30 09:36:45 +02:00
9a79bc38ee Use minio for presigned urls and remove aws sdk 2023-08-30 09:08:05 +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
e62e71c133 🛂 Check if isQuarantined can be toggled on sub update 2023-08-24 15:38:50 +02:00
ee3b94c35d (typebotLink) Better typebot link with merge option
Closes #675
2023-08-24 08:19:41 +02:00
ed77f5d124 🐛 (webhook) Fix variable list parsing in custom body
Closes #687
2023-08-18 15:57:52 +02:00
454d320c6b (api) Add CRUD typebot endpoints
Closes #320, closes #696
2023-08-17 09:39:11 +02:00
fc25734689 ♻️ (webhook) Integrate webhook in typebot schema
Closes #313
2023-08-06 10:03:45 +02:00
482462f2b1 📝 (openai) Add troobleshoot guide for empty message issue 2023-08-01 17:50:29 +02:00
d3fb31b43a Downgrade next package version
Introduced "Invalid left-hand side in assignment"
2023-07-15 14:47:09 +02:00
81bc0746cf ⬆️ Upgrade dependencies 2023-07-15 10:46:36 +02:00
455c3bdfd7 👷 Improve monthly clean database script
Archive results that were not properly archived
2023-07-12 12:00:23 +02:00
174d50ad1b (settings) Parse custom head code to remove invalid text nodes 2023-07-11 19:17:38 +02:00
fc0e3782b1 🐛 (workspace) Fix members list limit bug 2023-07-11 18:14:23 +02:00
b71e957e7c 🚑 (bot) Fix try catch injection when opening s… 2023-07-11 11:25:50 +02:00
3421e4822f 🚑 (bot) Share inject custom head code again 2023-07-11 10:19:47 +02:00
1beb4bb1b9 🧑‍💻 (bot) Wrap custom head code scripts with try catch
To avoid having the custom head bugs reported on Sentry
2023-07-11 10:04:39 +02:00
a4cb6face8 👷 Add email alert hourly sender
Closes #549
2023-06-06 13:25:13 +02:00
55bbf0e593 ⬆️ Upgrade dependencies 2023-05-25 18:36:51 +02:00
56364fd863 (openai) Stream chat completion to avoid serverless timeout (#526)
Closes #520
2023-05-25 10:32:35 +02:00
0f91b34497 (embed) Add size and icon picker in bubble settings (#508) 2023-05-15 15:22:04 +02:00
9abc50dce5 Add icon picker (#496)
Closes #495
2023-05-11 10:32:33 -04:00