2
0
Commit Graph

32 Commits

Author SHA1 Message Date
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