2
0
Commit Graph

166 Commits

Author SHA1 Message Date
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
5b9176708c 🐛 (editor) Share groups clipboard state across tabs 2024-03-20 17:29:05 +01:00
ed5096e2b6 ♻️ Include forged blocks schema in typebot schema
Closes #1364
2024-03-19 08:31:36 +01:00
5073be2439 ♻️ Remove @typebot.io/schemas from @typebot.io/lib 2024-03-15 16:32:29 +01:00
eaaa840cbf 🚑 Attempt to fix crash related to codemirror 2024-03-12 20:06:46 +01:00
c2003dab91 ⬆️ Upgrade ai and openai packages 2024-03-07 14:26:48 +01:00
2fb379b102 Add "turn into" option in block context menu
Closes #1302
2024-03-05 15:46:28 +01:00
b9e54686d5 ⬆️ Upgrade and improve plate editor
Closes #606
2024-02-27 10:03:55 +01:00
c6161179d0 🐛 (openai) Fix 400 error when tools array empty
Closes #1205
2024-02-02 11:03:17 +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
4b8b80e996 👷 Change pre-commit format fix to check only 2024-01-29 12:08:11 +01:00
00dcb135f3 (editor) Actions on multiple groups
You can now select groups, move, copy, delete them easily

Closes #830, closes #1092
2024-01-29 09:37:19 +01:00
03258e0f64 (openai) Add "Ask assistant" action
Closes #1024
2024-01-11 08:29:41 +01:00
a235a7accd Attempt to fix tolgee random crash due to provider not detected 2023-12-29 10:12:13 +01:00
d42e4a9ce1 Add editor header translation keys (#1110)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Implemented internationalization support across various components
using the `useTranslate` function for dynamic content translation.

- **Enhancements**
- Updated UI elements such as buttons, tooltips, placeholders, and
labels to display translated text, improving accessibility and user
experience for non-English speakers.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
2023-12-28 10:50:33 +01:00
1e5fa5a575 📝 Migrate from Docusaurus to Mintlify (#1115)
Closes #868
2023-12-22 09:13:53 +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
c373108b55 🐛 Fix next/image not loading in self-hosting
Closes #1083
2023-12-12 14:15:23 +01:00
4fdc1bfe5c Introducing Radar, fraud detection 2023-12-08 18:16:07 +00:00
bb41226a04 Allow user to share a flow publicly and make it duplicatable
Closes #360
2023-11-23 12:05:31 +01:00
1a44bf4935 (openai) Add create speech OpenAI action
Closes #1025
2023-11-20 14:01:50 +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
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
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
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
786e5cb582 🧑‍💻 Improve env variables type safety and management (#718)
Closes #679
2023-08-28 09:13:53 +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
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
7c2e5740dc 🔒 Add rate limiter on email signin endpoint 2023-06-20 15:49:54 +02:00
1e9c4bcb9a 📦 Add Cloudron package (#550)
Closes #30
2023-06-14 08:59:38 +02:00
b2ea8fc059 🌐 Translate workspace (#528) 2023-05-31 07:53:30 +02:00
55bbf0e593 ⬆️ Upgrade dependencies 2023-05-25 18:36:51 +02:00