2
0
Commit Graph

1099 Commits

Author SHA1 Message Date
8d50dc9dfa 🧑‍💻 Rename User ID predefined value to Result ID whic… 2024-02-16 11:34:54 +01:00
519f3aa4f9 🐛 (setVariable) Fix timeZone variable parsing 2024-02-16 10:13:56 +01:00
3e0d3e7724 (setVariable) Add timezone option for dates
Closes #1251
2024-02-16 10:07:29 +01:00
d171aa600c (dify) Make sure Dify also works with agent assistants 2024-02-14 08:59:05 +01:00
5ecc6deab7 🧐 Better inspectUser script 2024-02-13 17:25:39 +01:00
f5bdba53b9 🐛 (dify) Fix Dify error when inputs are empty 2024-02-12 11:41:57 +01:00
5226b06fe1 🧑‍💻 Allow for custom 404 system messages 2024-02-12 09:18:54 +01:00
a0ab3b4d82 🐛 Fix default theme colors not appearing 2024-02-09 07:58:01 +01:00
f7d3d58ede 🚸 (url) Less strict URL validation on server
Closes #1222
2024-02-09 07:57:16 +01:00
1b2876daef ️(dify) Include empty files require field
Required files variable to be sent even if empty in DifyAI v5.x+

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

## Summary by CodeRabbit

- **Refactor**
	- Enhanced chat message creation to support future file attachments.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-02-08 17:20:53 +01:00
5d38b4451a 🧐 Add redeemCoupon script 2024-02-08 10:27:22 +01:00
26be94de37 🧑‍💻 (whatsapp) Set default template language to en_US 2024-02-08 10:00:14 +01:00
d91e212a75 🚸 (elevenlabs) Add set variable indication 2024-02-08 09:05:44 +01:00
2f6de8e22c Add ElevenLabs block (#1226)
Closes #853

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

## Summary by CodeRabbit

- **New Features**
- Introduced the ElevenLabs block for Typebot, enabling text to speech
conversion using ElevenLabs API.
- Added live tutorial videos for creating ElevenLabs and Telegram
blocks.
- Added a `docsUrl` for the OpenAI block to improve accessibility to
documentation.

- **Documentation**
- New guides and integration details for ElevenLabs and Telegram blocks.

- **Style**
	- Added ElevenLabs logos for light and dark themes.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-02-07 17:43:11 +01:00
066fabce06 🚸 (results) Add time filter to results table as… 2024-02-06 17:48:31 +01:00
3e2533b934 (rating) Add start number option in Rating block 2024-02-06 17:01:53 +01:00
83231e6f13 🐛 (calCom) Make sure Cal.com book event is emitted once per block 2024-02-06 16:08:08 +01:00
9a36281f50 🧐 Update add users to brevo list script 2024-02-06 15:47:19 +01:00
272adc0e24 📝 Add v2.22 newsletter 2024-02-06 15:18:02 +01:00
9fc05cb150 🚸 (fileUpload) Add success labels cutomization
Closes #515
2024-02-05 14:11:04 +01:00
27b95c1f0b 🛂 (radar) Improve radar regex 2024-02-05 12:38:28 +01:00
84b9aca40b 🧑‍💻 (folders) Add folder trpc endpoints (#1218)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Introduced folder management capabilities including creation,
deletion, update, listing, and retrieval within workspaces.
- Added telemetry tracking for client events, Typebot publish events,
and analytics page views.
	- Enhanced settings to track client events under specific conditions.
- Implemented server-side logic for analytics tracking with PostHog
integration.
- Added API documentation for folder operations (create, delete, get,
list, update).
- **Refactor**
	- Updated `onConfirm` function's return type in `ConfirmModal`.
	- Simplified folder creation process in tests.
- Refactored logic for handling file upload blocks and parsing publish
events in Typebot publishing.
	- Migrated handler functions to TRPC endpoints for folder operations.
- **Documentation**
- Introduced documentation for new folder and telemetry functionalities.
- **Chores**
- Added new schemas for folders and telemetry events, including event
tracking and folder structure.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-02-05 12:14:03 +01:00
9014c4ab09 🐛 Revert to got for user created webhook to fix function crash 2024-02-03 12:38:09 +01:00
9f0c6b3cc4 👷 Add posthog keys to github secrets 2024-02-03 11:35:04 +01:00
b9183f9a36 📈 Track custom domain and WA enabled events 2024-02-02 14:49:41 +01:00
4122d73908 💚 Fix mockedUser default props 2024-02-02 14:48:09 +01:00
fd4867f3ae 📈 Send onboarding replies to PostHog 2024-02-02 11:58:32 +01:00
ce79e897a7 🐛 Make sure variables are parsed in date and picture choice options 2024-02-02 11:15:20 +01:00
c6161179d0 🐛 (openai) Fix 400 error when tools array empty
Closes #1205
2024-02-02 11:03:17 +01:00
b660611573 🚑 Fix inline variable parsing on new line issue 2024-02-02 09:29:04 +01:00
be5482c89a 🐛 (buttons) Make sure to parse options if button has dynamic items 2024-02-01 17:40:52 +01:00
3128ebd431 🐛 Fix broken skippable file upload input 2024-02-01 16:54:47 +01:00
678e6d5c49 🐛 Fix new markdown parser on web runtime 2024-02-01 16:52:54 +01:00
3e8e8829f1 💚 Move ky package to typebot.io/lib 2024-02-01 14:25:59 +01:00
92a1d672fd ♻️ Re-organize telemetry package 2024-02-01 14:19:24 +01:00
2462e794c9 ⬆️ Upgrade next 2024-01-31 14:58:31 +01:00
3b27f16735 ⬆️ Upgrade google-spreadsheet and fix openapi docs g… 2024-01-31 09:54:09 +01:00
8ad4a0996c 🚸 Enable OneDrive video url parsing 2024-01-31 08:29:44 +01:00
ff9c4726cc 🚸 Rewrite the markdown deserializer to improve br… (#1198)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Refactor**
- Updated markdown handling and serialization libraries for improved
performance and accuracy in text formatting.
- **New Features**
- Enhanced rich text and markdown conversion capabilities, providing
users with more reliable and seamless text formatting options.
- **Documentation**
- Added detailed documentation for markdown to rich text conversion and
vice versa, ensuring easier understanding and implementation for
developers.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-01-31 08:03:13 +01:00
26872e2bac 🐛 Add max wait block timeout on WhatsApp runtime 2024-01-30 09:36:25 +01:00
6215cfbbaf (fileUpload) New visibility option: "Public", "Private" or "Auto" (#1196)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Introduced file visibility options for uploaded files, allowing users
to set files as public or private.
- Added a new API endpoint for retrieving temporary URLs for files,
enhancing file accessibility.
- Expanded file upload documentation to include information on file
visibility settings.
- Updated URL validation to support URLs with port numbers and
"http://localhost".
- **Enhancements**
- Improved media download functionality by replacing the `got` library
with a custom `downloadMedia` function.
- Enhanced bot flow continuation and session start logic to support a
wider range of reply types, including WhatsApp media messages.
- **Bug Fixes**
- Adjusted file path and URL construction in the `generateUploadUrl`
function to correctly reflect file visibility settings.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-01-30 08:02:10 +01:00
8d363c0c02 (openai) Add enum support in function tools 2024-01-29 14:45:44 +01:00
4b8b80e996 👷 Change pre-commit format fix to check only 2024-01-29 12:08:11 +01:00
0817fbaebb Add Dify.AI block (#1183)
Implemented [Dify.AI](https://dify.ai) Block
- Dify Features:
-- Can Create Multiple Chat Bots
-- Assign Knowledge base/vector database to chat bots
-- Variables send by client to be used in the prompt
-- Options of custom and cloud AI LLMs to be changed with on click

- Dify API Function/Action Implemented
-- Create Chat Message (Takes in input variables, query, conversation
id, user id and returns answer, usage metadata and conversation id)

- Future Implantations with this block
-- Streaming response 
-- File Upload for GPT Vision
-- Speech to text action

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

- **New Features**
- Introduced the ability to create chat messages within the Dify
platform.
	- Added secure authentication for Dify.AI accounts.
- Implemented a new Dify.AI block with integrated chat message creation
and logo display.
	- Enabled Dify.AI block in the repository for user access.

- **Enhancements**
- Enhanced security for API key input by changing it to a password
field.

- **Documentation**
	- Included new types to support Dify AI service responses.

- **Refactor**
- Updated schema imports and array listings to include the new Dify.AI
block.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
2024-01-29 10:52:29 +01:00
cf101d6cf6 🐛 Fix unexported Popup and Bubble from react lib 2024-01-29 09:37:19 +01:00
c23e760b39 🚸 (editor) Remove blocks pointer events only in analytics 2024-01-29 09:37:19 +01:00
b68f16f4f7 Add Mistral AI block
Closes #1179
2024-01-29 09:37:19 +01:00
d8e2b74f00 🚸 (openai) Make sure annotations are removed from assistant replies
Closes #1153
2024-01-29 09:37:19 +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
ef05b71869 🐛 (setVariable) Avoid octal number evalution 2024-01-29 09:37:19 +01:00