2
0
Commit Graph

38 Commits

Author SHA1 Message Date
09277c264c Implement Pexels videos option to media popover (#1636)
Closes #1575 

Note: Need to create a new environment variable named
`NEXT_PUBLIC_PEXELS_API_KEY` to store the API Key obtained from Pexels!


https://github.com/user-attachments/assets/4250f799-0bd7-48e9-b9a8-4bc188ad7704

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
Co-authored-by: younesbenallal <younes.benallal.06@gmail.com>
2024-07-22 19:41:01 +02:00
6db0464fd7 Add attachments option to text input (#1608)
Closes #854
2024-06-26 10:13:38 +02:00
bec9cb68ca ⬆️ Upgrade chakra version 2024-06-17 14:12:14 +02:00
bb4bbd8f0e 🧑‍💻 Add keycloak auth provider (#1533)
#1529
2024-05-23 15:36:30 +02:00
6fe4e28bc3 📝 Add new blog structure 2024-04-19 13:20:58 +02:00
2fcf83c529 Introduce a new high-performing standalone chat API (#1200)
Closes #1154

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

- **New Features**
	- Added authentication functionality for user sessions in chat API.
- Introduced chat-related API endpoints for starting, previewing, and
continuing chat sessions, and streaming messages.
- Implemented WhatsApp API webhook handling for receiving and processing
messages.
- Added environment variable `NEXT_PUBLIC_CHAT_API_URL` for chat API URL
configuration.

- **Bug Fixes**
	- Adjusted file upload logic to correctly determine the API host.
	- Fixed message streaming URL in chat integration with OpenAI.

- **Documentation**
- Updated guides for creating blocks, local installation, self-hosting,
and deployment to use `bun` instead of `pnpm`.

- **Refactor**
	- Refactored chat API functionalities to use modular architecture.
- Simplified client log saving and session update functionalities by
using external functions.
	- Transitioned package management and workflow commands to use `bun`.

- **Chores**
- Switched to `bun` for package management in Dockerfiles and GitHub
workflows.
	- Added new Dockerfile for chat API service setup with Bun framework.
	- Updated `.prettierignore` and documentation with new commands.

- **Style**
	- No visible changes to end-users.

- **Tests**
	- No visible changes to end-users.

- **Revert**
	- No reverts in this release.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-03-21 10:23:23 +01:00
df209a8e9d 🧑‍💻 (whatsapp) Option to modify the default interactive split message number (#1296)
When using the whatsapp oficial api or another that use the same schema,
with env we can modify the number of groups that the interactive group
will be split.

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
2024-03-07 08:05:08 +00:00
5226b06fe1 🧑‍💻 Allow for custom 404 system messages 2024-02-12 09:18:54 +01:00
26be94de37 🧑‍💻 (whatsapp) Set default template language to en_US 2024-02-08 10:00:14 +01:00
9f0c6b3cc4 👷 Add posthog keys to github secrets 2024-02-03 11:35:04 +01:00
92a1d672fd ♻️ Re-organize telemetry package 2024-02-01 14:19:24 +01:00
47af9a9a59 📝 Add env WHATSAPP_CLOUD_API_URL to possible change https://gr… (#1170)
refs #1117 

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

- **Refactor**
- Dynamically construct API URLs for WhatsApp features using environment
variables for improved reliability and configurability.
- Updated `sendWhatsAppMessage` function to use
`env.WHATSAPP_CLOUD_API_URL` for URL construction, allowing for more
dynamic configuration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
2024-01-29 09:37:19 +01:00
0b00fa7533 (radar) Add radar cumulative keyword alternatives check 2024-01-15 10:13:55 +01:00
56e0342e86 🛂 (radar) Enable multiple RADAR_CUMULATIVE_KEYWORDS sets 2024-01-08 14:34:35 +01:00
00f8bbc29b 🔒 (radar) Add cumulative keywords auto ban 2023-12-19 16:13:21 +01:00
4fdc1bfe5c Introducing Radar, fraud detection 2023-12-08 18:16:07 +00:00
957eaf33dd Add dynamic timeout to bot engine api 2023-12-08 13:43:58 +00: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
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
eaa9b815c4 🚑 Fix weird env parsing on Firefox making it crash 2023-11-07 14:49:15 +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
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
54788a828e 💚 Fix docker build when Sentry not enabled 2023-10-10 15:04:17 +02:00
225dfed313 ⬆️ (openai) Replace openai-edge with openai and upgrade next 2023-10-06 14:38:54 +02:00
8b8a23accb 🧑‍💻 Improve invalid environment variable insight on build fail 2023-10-03 16:12:04 +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
dfcfdf2138 🚸 Skip validation if __ENV.js file does not exist 2023-08-31 09:57:54 +02:00
96ddfadaa7 🔊 Add logs to debug invalid env 2023-08-30 18:47:57 +02:00
5b20f414c8 🐛 (embed) Fix env reading in embed 2023-08-29 14:33:41 +02:00
b852b4af0b Add WhatsApp integration beta test (#722)
Related to #401
2023-08-29 10:05:24 +02:00
036b407a11 🐛 Improve parse runtime env reading function 2023-08-28 14:50:58 +02:00
efd4600b7e 🚑 Set proper env defaults 2023-08-28 11:08:15 +02:00
786e5cb582 🧑‍💻 Improve env variables type safety and management (#718)
Closes #679
2023-08-28 09:13:53 +02:00