2
0
Commit Graph

138 Commits

Author SHA1 Message Date
00265af0cc ⬆️ (date) Upgrade date parser package 2023-11-14 17:27:02 +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
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
31b3fc311e 🧑‍💻 Fix type resolution for @typebot.io/react and nextjs
Closes #968
2023-10-26 15:57:55 +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
3e7b9b3afd ⬆️ Upgrade sentry and improve its reliability 2023-10-07 12:40:43 +02:00
225dfed313 ⬆️ (openai) Replace openai-edge with openai and upgrade next 2023-10-06 14:38:54 +02:00
cfc5f641a6 Automatically parse markdown from variables in text bubbles
Closes #539
2023-10-05 16:50:17 +02:00
59cd79a4b8 🚑 (js) Fix dependency issue preventing user to install @typebot.io/js
Closes #871
2023-09-29 16:02:10 +02:00
7d57e8dd06 ♻️ Export bot-engine code into its own package 2023-09-20 15:42:34 +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
e4ece315ed 🌐 Add i18n-ally config and upgrade next-international 2023-09-05 16:44:44 +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
27a5f4eb74 (openai) Add custom provider and custom models
Closes #532
2023-09-01 16:19:59 +02:00
dfcfdf2138 🚸 Skip validation if __ENV.js file does not exist 2023-08-31 09:57:54 +02:00
9a79bc38ee Use minio for presigned urls and remove aws sdk 2023-08-30 09:08:05 +02:00
b852b4af0b Add WhatsApp integration beta test (#722)
Related to #401
2023-08-29 10:05:24 +02:00
6dc9b28f7d 🚑 (lp) Fix environment injection in landing page 2023-08-28 09:38:52 +02:00
786e5cb582 🧑‍💻 Improve env variables type safety and management (#718)
Closes #679
2023-08-28 09:13:53 +02:00
d700af17e9 🚸 (openai) Implement retries if openai rate limit reached 2023-08-24 15:28:44 +02:00
906845bd76 🔒 Improve workspace API role filtering 2023-08-17 15:11:50 +02:00
22cedb379d Revert "⬆️ Upgrade next packages"
This reverts commit 401efa9d0c.
2023-08-14 21:49:03 +02:00
401efa9d0c ⬆️ Upgrade next packages 2023-08-11 15:17:17 +02:00
693631e076 🔧 Add prettier dependency at root folder 2023-08-09 14:39:08 +02:00
482462f2b1 📝 (openai) Add troobleshoot guide for empty message issue 2023-08-01 17:50:29 +02:00
81c2e5022b 🐛 (embed) Fix custom close icon placement in bubble button 2023-07-31 09:39:30 +02:00
1ebd528753 (video) Add youtube shorts auto parsing 2023-07-21 08:02:15 +02:00
1095cf7f09 ⬆️ Upgrade giphy package 2023-07-18 09:25:24 +02:00
d3fb31b43a Downgrade next package version
Introduced "Invalid left-hand side in assignment"
2023-07-15 14:47:09 +02:00
e293cb0111 Add Next.js embed library 2023-07-15 12:28:10 +02:00
81bc0746cf ⬆️ Upgrade dependencies 2023-07-15 10:46:36 +02:00
5644a0c8e0 ⬆️ Upgrade OpenAI stream deps 2023-07-12 12:00:23 +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
3be39cbc78 (openai) Use Vercel's AI SDK for streaming 2023-06-20 17:33:30 +02:00
7c2e5740dc 🔒 Add rate limiter on email signin endpoint 2023-06-20 15:49:54 +02:00
524f1565d8 🚸 (openai) Parse stream on client to correctly handle errors 2023-06-16 19:26:29 +02:00
83f2a29faa (openai) Add new models and remove tiktoken
Instead of computing total tokens with tiktoken we just attempt retries after trimming the first message
2023-06-16 16:50:32 +02:00
a4cb6face8 👷 Add email alert hourly sender
Closes #549
2023-06-06 13:25:13 +02:00
b2ea8fc059 🌐 Translate workspace (#528) 2023-05-31 07:53:30 +02:00
75f9da0a4f (webhook) Add client execution option 2023-05-26 09:20:22 +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
f2d31745ca 💚 Revert rollup upgrade to make it work with turbo dev 2023-05-03 08:29:13 -04:00
68a15f5ac1 ⬆️ Upgrade dependencies 2023-05-02 15:33:42 -04:00