2
0
Commit Graph

75 Commits

Author SHA1 Message Date
618322e13e ️ Format email input to lower case (#1520)
Closes #897

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
2024-05-21 12:13:10 +02:00
304bfcf355 🚑 (httpRequests) Fix save variable parsing 2024-05-21 11:20:35 +02:00
40f21203b5 (setVariable) Add Transcription system var (#1507)
Closes #1484
2024-05-15 14:24:55 +02:00
75c44d61d5 🔒 Use vm instead of Function in Node.js (#1509) 2024-05-14 14:17:40 +02:00
2578335cc9 🐛 (payment) Fix description variable parsing 2024-05-03 10:52:47 +02:00
7d70f0243b 🐛 Fix webhook default timeout and unoptimized json parser (#1492) 2024-05-02 16:50:06 +02:00
7efb79d581 🐛 (httpReq) Properly parse big ints
Closes #1486
2024-05-01 08:46:01 +02:00
dc1929e15b 🐛 (openai) Fix ask assistant not correctly referencing uploaded f… (#1469)
…iles

Closes #1468, closes #1467, closes #1211
2024-04-24 16:11:06 +02:00
3ca1a2f0d6 Remove empty strings from variable parsing when possible 2024-04-18 10:17:25 +02:00
4982400a4f 🚑 (condition) Fix not contains condition on list variable 2024-04-15 08:02:53 +02:00
3f367800df 🐛 Fix streaming text selection (#1444) 2024-04-12 11:02:28 +02:00
cae7be423a 🐛 (condition) Improve contains/not contains on list input
Closes #1430
2024-04-11 17:01:47 +02:00
d194fbec45 🐛 (buttons) Improve buttons matching when dynamic
Closes #1432, closes #1442
2024-04-11 12:16:55 +02:00
6594c56adf 🚸 (payment) Improve payment default currency be… 2024-04-11 11:03:02 +02:00
75dd554ac2 🔊 Improve http req timeout error 2024-04-09 15:08:09 +02:00
d96f384e02 ♻️ Migrate from got to ky (#1416)
Closes #1415
2024-04-05 09:01:16 +02:00
2663ca2e18 🚑 Allow for regex without slashes for retro compat 2024-04-02 11:13:55 +02:00
a0ba8c5c2a 🐛 (conditions) Parse regex flags as well
Closes #1393
2024-03-29 08:06:16 +01:00
76e7fbd1c7 🐛 (conditions) Fix regex matching when starting and ending wi…
Closes #1393
2024-03-29 07:58:46 +01:00
c552fa7cc3 🐛 (typebotLink) Fix n+1 variable fill
Closes #1375
2024-03-26 19:25:03 +01: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
9c86c5e76f 🐛 (pictureChoice) Fix dynamic image only variable saving 2024-03-19 14:02:53 +01:00
5073be2439 ♻️ Remove @typebot.io/schemas from @typebot.io/lib 2024-03-15 16:32:29 +01:00
e9011aefd0 🐛 (wait) Parse wait seconds as float instead of int
Closes #1355
2024-03-15 15:17:07 +01:00
33cbb2b254 🚸 Rename "webhook" block to "HTTP request" 2024-02-16 12:04:25 +01:00
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
f5bdba53b9 🐛 (dify) Fix Dify error when inputs are empty 2024-02-12 11:41:57 +01:00
f7d3d58ede 🚸 (url) Less strict URL validation on server
Closes #1222
2024-02-09 07:57:16 +01:00
9fc05cb150 🚸 (fileUpload) Add success labels cutomization
Closes #515
2024-02-05 14:11:04 +01:00
ce79e897a7 🐛 Make sure variables are parsed in date and picture choice options 2024-02-02 11:15:20 +01:00
be5482c89a 🐛 (buttons) Make sure to parse options if button has dynamic items 2024-02-01 17:40:52 +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
ef05b71869 🐛 (setVariable) Avoid octal number evalution 2024-01-29 09:37:19 +01:00
42008f8c18 (openai) Enable setVariable function in tools
Closes #1178
2024-01-22 09:22:28 +01:00
69b113fc85 🧐 Add exportResults script 2024-01-12 10:16:01 +01:00
5d971f7b6f 🚸 (results) Add progress bar to export results modal 2024-01-11 10:36:48 +01:00
f73bc46208 🐛 (webhook) Fix test request execution invalid timeout 2024-01-04 14:09:06 +01:00
34917b00ef (webhook) Add custom timeout option
Closes #1128
2024-01-04 08:08:00 +01:00
d247e02cad 🐛 (webhook) Fix result parsing with same linked typebot 2024-01-03 17:01:22 +01:00
b5fbba7072 🔒 (logs) Remove some logs from API response to avoid sensit… 2024-01-02 15:18:20 +01:00
cee1373e6a 🔧 Add disableRequestTimeout param for automation integrations 2023-12-27 07:44:54 +01:00
3bbaf670a2 🚸 (webhook) Improve header and query params parsing 2023-12-24 11:02:48 +01:00
1e5fa5a575 📝 Migrate from Docusaurus to Mintlify (#1115)
Closes #868
2023-12-22 09:13:53 +01:00
f4a0935c79 🔧 Add anthropic to long request whitelist 2023-12-21 07:29:52 +01:00
780b4dee18 🐛 (whatsapp) Fix WA preview not starting and accept audio and documents messages 2023-12-20 10:35:34 +01:00
deab1a12e9 (sheets) Use Google Drive picker and remove sensitive OAuth scope
BREAKING CHANGE: The Google Picker API needs to be enabled in the Google Cloud console. You also need to enable it in
your NEXT_PUBLIC_GOOGLE_API_KEY. You also need to add the drive.file OAuth scope.
2023-12-18 15:44:57 +01:00
3bd07c60da (webhook) Add Orimon in long request whitelist 2023-12-13 10:55:51 +01:00
5e019bbb22 Introducing The Forge (#1072)
The Forge allows anyone to easily create their own Typebot Block.

Closes #380
2023-12-13 10:22:02 +01:00