Commit Graph

215 Commits

Author SHA1 Message Date
Baptiste Arnaud
7b3cbdb8e8 🚑 (fileUpload) Fix file upload in linked typebots 2023-09-26 08:07:33 +02:00
Baptiste Arnaud
4f953ac272 (whatsapp) Add custom session expiration (#842)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

- New Feature: Introduced session expiry timeout for WhatsApp
integration, allowing users to set the duration after which a session
expires.
- New Feature: Added an option to enable/disable the start bot condition
in WhatsApp integration settings.
- Refactor: Enhanced error handling by throwing specific errors when
necessary conditions are not met.
- Refactor: Improved UI components like `NumberInput` and
`SwitchWithLabel` for better usability.
- Bug Fix: Fixed issues related to session resumption and message
sending in expired sessions. Now, if a session is expired, a new one
will be started instead of attempting to resume the old one.
- Chore: Updated various schemas to reflect changes in session
management and WhatsApp settings.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-09-22 17:12:15 +02:00
Baptiste Arnaud
9e0109f561 (whatsapp) Improve whatsApp management and media collection
Closes #796
2023-09-22 11:08:41 +02:00
Baptiste Arnaud
85272af8f3 🚑 (upload) Fix upload in embed 2023-09-21 19:08:43 +02:00
Baptiste Arnaud
d7dc5fb5fb ♻️ Remove storage limit related code 2023-09-20 16:06:53 +02:00
Baptiste Arnaud
7d57e8dd06 ♻️ Export bot-engine code into its own package 2023-09-20 15:42:34 +02:00
Baptiste Arnaud
bb13c2bd61 🛂 (fileUpload) Improve file upload size limit enforcement
Closes #799, closes #797
2023-09-19 15:42:33 +02:00
Baptiste Arnaud
f626c9867c (whatsapp) Improve WhatsApp preview management
Closes #800
2023-09-19 11:53:18 +02:00
Baptiste Arnaud
21ad061f7b 🚸 (typebotLink) Make sure variables from child bots are merged if necessary 2023-09-18 10:59:56 +02:00
Ed Zynda
75e4b16af0 Add Zemantic AI Integration block (#752)
Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
2023-09-08 16:21:50 +02:00
Baptiste Arnaud
fbb198af9d (s3) Improve storage management and type safety
Closes #756
2023-09-08 15:28:11 +02:00
Baptiste Arnaud
a2e24d08a0 (date) Add min and max options to date input block
Closes #792
2023-09-08 11:38:23 +02:00
Baptiste Arnaud
bea3332c32 🚑 (typebotLink) Correctly pass back existing values from parent bot 2023-09-08 07:40:31 +02:00
Baptiste Arnaud
cdd3e19755 ♻️ (lp) Add back static images into landing page 2023-09-07 18:31:05 +02:00
Baptiste Arnaud
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
Baptiste Arnaud
111fb323b1 (wait) Add pause option on Wait block
Closes #751
2023-09-04 14:52:16 +02:00
Baptiste Arnaud
1ebacaaa5d 🚸 Make sure to add start client side action first in the list 2023-09-02 14:27:47 +02:00
Baptiste Arnaud
968c5e3c95 🚑 (fileUpload) Fix web bot file upload input skip option 2023-09-02 09:36:48 +02:00
Baptiste Arnaud
27a5f4eb74 (openai) Add custom provider and custom models
Closes #532
2023-09-01 16:19:59 +02:00
Baptiste Arnaud
37ccb5da5e 🚸 (sendEmail) Improve variable parsing in sendEmail body
Support for multi line variables as well

Closes #749
2023-09-01 11:33:45 +02:00
Baptiste Arnaud
9d29a88ed3 🐛 Fix remembered user reset hasStarted on page refresh 2023-08-30 19:28:35 +02:00
Baptiste Arnaud
96ddfadaa7 🔊 Add logs to debug invalid env 2023-08-30 18:47:57 +02:00
Baptiste Arnaud
124cb8f359 🐛 (fileUpload) Make file type optionnal 2023-08-30 15:09:41 +02:00
Baptiste Arnaud
23b629f82c ♻️ Move s3-related files to specific lib folder 2023-08-30 09:36:45 +02:00
Baptiste Arnaud
9a79bc38ee Use minio for presigned urls and remove aws sdk 2023-08-30 09:08:05 +02:00
Baptiste Arnaud
da4005e160 🐛 (embed) Make sure env.ts is not bundled in js embed lib 2023-08-29 15:00:04 +02:00
Baptiste Arnaud
013c7a6265 🐛 Fix delete session with client side actions 2023-08-29 12:19:50 +02:00
Baptiste Arnaud
b852b4af0b Add WhatsApp integration beta test (#722)
Related to #401
2023-08-29 10:05:24 +02:00
Baptiste Arnaud
efd4600b7e 🚑 Set proper env defaults 2023-08-28 11:08:15 +02:00
Baptiste Arnaud
786e5cb582 🧑‍💻 Improve env variables type safety and management (#718)
Closes #679
2023-08-28 09:13:53 +02:00
Baptiste Arnaud
055cf03703 🚑 (typebotLink) Fix incoming linked typebot variables filling 2023-08-25 14:13:34 +02:00
Baptiste Arnaud
06ecdf040e 🐛 (sendMessage) Correctly preprocess and parse fetched bot 2023-08-24 09:11:10 +02:00
Baptiste Arnaud
ee3b94c35d (typebotLink) Better typebot link with merge option
Closes #675
2023-08-24 08:19:41 +02:00
Baptiste Arnaud
ed77f5d124 🐛 (webhook) Fix variable list parsing in custom body
Closes #687
2023-08-18 15:57:52 +02:00
Baptiste Arnaud
454d320c6b (api) Add CRUD typebot endpoints
Closes #320, closes #696
2023-08-17 09:39:11 +02:00
Baptiste Arnaud
de616ea649 🔒 Expose minimum data to NEXT_DATA json 2023-08-14 16:55:47 +02:00
Baptiste Arnaud
2b4ada007d 🐛 Normalize user inputs before comparing 2023-08-08 08:24:15 +02:00
Baptiste Arnaud
a72cb5e20d 🔊 Add debug log for item matching issue 2023-08-08 07:46:16 +02:00
Baptiste Arnaud
2c4762b57f 🚑 Add missing await on executeGroup 2023-08-07 15:37:31 +02:00
Baptiste Arnaud
af1bee8756 🚸 (bot) Update reply if we get new format from backend 2023-08-07 15:24:15 +02:00
Baptiste Arnaud
4d3f67c752 🚸 (setVariable) Rename Today setVar type to Now 2023-08-07 14:32:30 +02:00
Baptiste Arnaud
fc25734689 ♻️ (webhook) Integrate webhook in typebot schema
Closes #313
2023-08-06 10:03:45 +02:00
Baptiste Arnaud
53e4bc2b75 Add API endpoint to update the typebot in ongoing chat session 2023-08-04 14:53:49 +02:00
Baptiste Arnaud
c534613087 🚸 (openai) Display OpenAI initial response error 2023-08-02 08:10:26 +02:00
Baptiste Arnaud
aa9f5bc732 (condition) Add regex comparison item 2023-08-01 08:20:16 +02:00
Baptiste Arnaud
c99298e49b (paymentInput) Handle Stripe redirection
Closes #631
2023-07-27 17:25:02 +02:00
Baptiste Arnaud
7942ae4751 🐛 (sendMessage) Return updated session in all cases 2023-07-24 09:21:55 +02:00
Baptiste Arnaud
3952ae2755 Stream bubble content if placed right after Op…
Closes #617
2023-07-19 11:20:44 +02:00
Baptiste Arnaud
13ac46975d 🐛 Fix viewer's .env.local.example inline comment 2023-07-18 14:54:11 +02:00
Baptiste Arnaud
aa4c16dad7 Regroup database queries of /sendMessage in one place
Potentially reduces the total queries to database and it will help to migrate to Edge runtime
2023-07-18 14:31:20 +02:00