2
0
Commit Graph

48 Commits

Author SHA1 Message Date
bec9cb68ca ⬆️ Upgrade chakra version 2024-06-17 14:12:14 +02:00
3e4e7531f6 🚸 (number) Avoid parsing numbers starting with 0 2024-05-27 10:36:30 +02:00
79ad1f63de 🗃️ Add createdAt to sort transcript answers 2024-05-22 15:44:49 +02:00
15b2901f8a ♻️ (mistral) Use new ai sdk Mistral core 2024-05-21 16:08:35 +02:00
41ccf24348 🗃️ Convert answerv2 content field to Text field 2024-05-15 14:40:18 +02:00
40f21203b5 (setVariable) Add Transcription system var (#1507)
Closes #1484
2024-05-15 14:24:55 +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
7bec58e745 🚸 (whatsapp) Avoid multiple replies to be sent concurently
Closes #972, closes #1453
2024-04-18 09:38:22 +02:00
6e0388c501 🔊 Add prisma metrics to prometheus endpoint (#1420) 2024-04-06 15:08:57 +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
219b2295b4 🐛 Fix return executeCommand result
Closes #1259
2024-02-19 16:32:42 +01:00
5879c89ee6 🐛 Allow DATABASE_URL starting with "postgres://"
Closes #1259
2024-02-19 16:18:12 +01:00
fd4867f3ae 📈 Send onboarding replies to PostHog 2024-02-02 11:58:32 +01:00
bf6c258edc 🚸 (editor) Add graph gesture notification 2024-01-29 09:37:19 +01:00
30d6fcc880 ✏️ Fix URL starting with postgres error message 2024-01-17 15:01:19 +01:00
5d971f7b6f 🚸 (results) Add progress bar to export results modal 2024-01-11 10:36:48 +01:00
655b32ef75 🛂 (radar) Add isVerified field in workspace 2023-12-19 14:14:47 +01:00
fcfbd63443 🛂 Auto ban IP on suspected bot publishing (#1095)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced sign-in error handling with specific messages for different
error types.
- Implemented IP-based restrictions for authentication and publishing
actions.

- **Bug Fixes**
- Updated the retrieval of user session information to improve
reliability.

- **Documentation**
- Updated usage instructions for `getServerSession` to reflect the new
authentication options.

- **Refactor**
- Replaced direct usage of `authOptions` with a new function
`getAuthOptions` to dynamically generate authentication options.
- Improved IP address extraction logic to handle various header formats.

- **Chores**
- Added a new `BannedIp` model to the database schema for managing
IP-based restrictions.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-12-11 13:40:07 +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
ca79934ef5 🛂 (billing) Add isPastDue field in workspace (#1046)
Closes #1039

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

## Summary by CodeRabbit

- **New Features**
  - Workspaces now include additional status indicator: `isPastDue`.
- New pages for handling workspaces that are past due. Meaning, an
invoice is unpaid.

- **Bug Fixes**
- Fixed issues with workspace status checks and redirections for
suspended workspaces.

- **Refactor**
- Refactored workspace-related API functions to accommodate new status
fields.
- Improved permission checks for reading and writing typebots based on
workspace status.

- **Chores**
  - Database schema updated to include `isPastDue` field for workspaces.
- Implemented new webhook event handling for subscription and invoice
updates.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-11-23 08:16:23 +01:00
35300eaf34 ♻️ Introduce typebot v6 with events (#1013)
Closes #885
2023-11-08 15:34:16 +01:00
0c22d858b7 📦 Add strict package versioning to avoid incompatibility in workspace 2023-11-06 16:22:25 +01:00
b81fcf0167 Auto continue bot on whatsApp if starting block is input (#849)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

**New Features:**
- Added WhatsApp integration feature to the Pro plan.

**Refactor:**
- Introduced the ability to exclude specific plans from being displayed
in the Change Plan Modal.
- Renamed the function `isProPlan` to `hasProPerks`, enhancing code
readability and maintainability.
- Updated the `EmbedButton` component to handle a new `lockTagPlan`
property and use the `modal` function instead of the `Modal` component.

**Chore:**
- Removed the `whatsAppPhoneNumberId` field from the `Typebot` model
across various files, simplifying the data structure of the model.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-09-25 17:20:42 +02:00
9e0109f561 (whatsapp) Improve whatsApp management and media collection
Closes #796
2023-09-22 11:08:41 +02:00
7d57e8dd06 ♻️ Export bot-engine code into its own package 2023-09-20 15:42:34 +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
0ea30bc49b 🧑‍💻 Exit prisma command if database url starts with "postgres://"
Closes #602
2023-07-18 15:09:31 +02:00
2c2952e364 🗃️ Remove extendedWhereUnique feat 2023-07-17 07:52:57 +02:00
3426d6689d Replace updates with updateManys when possible
Easy performance win to avoid triggering SELECT query after an UPDATE
2023-07-16 18:52:30 +02:00
81bc0746cf ⬆️ Upgrade dependencies 2023-07-15 10:46:36 +02:00
5a05310a9c 🛂 Add isSuspended prop on workspace 2023-07-04 14:56:36 +02:00
24126ac9b8 🚑 Fix answer upsert missing groupId 2023-06-30 12:56:50 +02:00
b0f25f301b (analytics) Improve analytics graph accuracy 2023-06-30 12:39:20 +02:00
dcda2d06ac 💚 Fix prisma schema path evaluation on windows
Closes #573
2023-06-24 09:04:54 +02:00
3b52363e11 🗃️ Convert mysql icon varchar to text 2023-06-20 14:17:53 +02:00
55bbf0e593 ⬆️ Upgrade dependencies 2023-05-25 18:36:51 +02:00
68a15f5ac1 ⬆️ Upgrade dependencies 2023-05-02 15:33:42 -04:00
458d715648 🛂 (billing) Update claimable custom plan options 2023-04-28 10:55:15 +02:00
69e1c4f20d 🛂 Add isQuarantined field in workspace 2023-04-23 20:57:51 +02:00
21b1d74b7e ⬆️ Upgrade dependencies 2023-04-03 15:28:16 +02:00
38ed5758fe (theme) Add theme templates
Allows you to save your themes and select a theme from Typebot's gallery

Closes #275
2023-03-28 15:10:06 +02:00
cbc8194f19 ♻️ Re-organize workspace folders 2023-03-15 08:35:16 +01:00
641ba3db8a 💅 Renamed prisma package to db 2021-12-08 07:08:13 +01:00
e2659b49e8 🖨️ Add prisma deploy script 2021-12-07 06:52:22 +01:00
54a641b819 Add Dashboard 2021-12-06 15:58:45 +01:00
5e14a94dea Add authentication 2021-11-29 15:19:07 +01:00