Commit Graph

92 Commits

Author SHA1 Message Date
Baptiste Arnaud
f5508701fc (wordpress) Add the lib_version attribute to wp admin panel
Closes
2024-04-11 11:48:27 +02:00
Baptiste Arnaud
5c3c7c2b64 (theme) Add container theme options: border, shadow, filter (#1436)
Closes #1332
2024-04-10 10:19:54 +02:00
Baptiste Arnaud
3b1b464890 🔊 Improve toast error when whatsapp token is not valid 2024-04-09 14:40:05 +02:00
Baptiste Arnaud
d96f384e02 ♻️ Migrate from got to ky (#1416)
Closes #1415
2024-04-05 09:01:16 +02:00
Baptiste Arnaud
5073be2439 ♻️ Remove @typebot.io/schemas from @typebot.io/lib 2024-03-15 16:32:29 +01:00
Baptiste Arnaud
4a7d10f578 🐛 Fix board menu placement when suspected typebot banner is displayed 2024-03-11 11:07:27 +01:00
Baptiste Arnaud
6d8a007f09 🛂 Disable direct support for Free users
Closes #1318
2024-03-04 17:57:32 +01:00
Baptiste Arnaud
060c49dcde 🔊 (whatsapp) Improve phone ID verification error details 2024-02-28 15:19:30 +01:00
Baptiste Arnaud
f9e0cef6fe 🐛 (share) Fix bubble button default background in embed modals
Closes #1165
2024-01-29 09:37:19 +01:00
Baptiste Arnaud
8283179ca6 📝 Add Framer embed instructions 2024-01-18 11:43:11 +01:00
Baptiste Arnaud
f26eafd26f 🌐 Improve i18n collaboration type and timeSince parsing 2023-12-29 11:31:31 +01:00
Baptiste Arnaud
28b2b1a60c 🌐 Sync french translations and fix some non-sentence translations 2023-12-28 12:15:35 +01:00
Gabriel Pavão
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
Baptiste Arnaud
1e5fa5a575 📝 Migrate from Docusaurus to Mintlify (#1115)
Closes #868
2023-12-22 09:13:53 +01:00
Baptiste Arnaud
780b4dee18 🐛 (whatsapp) Fix WA preview not starting and accept audio and documents messages 2023-12-20 10:35:34 +01:00
Baptiste Arnaud
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
Baptiste Arnaud
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
Baptiste Arnaud
4fdc1bfe5c Introducing Radar, fraud detection 2023-12-08 18:16:07 +00:00
Baptiste Arnaud
8819e9e567 🔧 Update main viewer domain to typebot.co 2023-12-08 08:51:58 +00:00
Baptiste Arnaud
99c5aafec1 ✏️ Fix invalid ending comma in API instructions
Closes #1022
2023-12-05 08:30:21 +01:00
Baptiste Arnaud
eeac493387 (wordpress) Add lib_version prop in shortcode
Closes #1035
2023-11-30 17:25:37 +01:00
Baptiste Arnaud
993bc7900e 📝 Add new start and continue endpoints in the API runtime instructions 2023-11-24 08:00:34 +01:00
Baptiste Arnaud
73d2e165bf 🔥 Remove VIEWER_URL_INTERNAL variable
BREAKING CHANGE: NEXT_PUBLIC_VIEWER_INTERNAL does not exist anymore as typebot.io now directly points to the viewer project
2023-11-23 15:34:19 +01:00
Baptiste Arnaud
bb41226a04 Allow user to share a flow publicly and make it duplicatable
Closes #360
2023-11-23 12:05:31 +01:00
Baptiste Arnaud
df578417aa 📝 Add breaking changes and OpenAI block improvements docs 2023-11-09 16:04:40 +01:00
Baptiste Arnaud
aceba0abd0 🐛 (import) Fix import typebot files that does not have name field 2023-11-08 16:42:59 +01:00
Baptiste Arnaud
35300eaf34 ♻️ Introduce typebot v6 with events (#1013)
Closes #885
2023-11-08 15:34:16 +01:00
Baptiste Arnaud
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
Baptiste Arnaud
3838ac9c3f 🐛 New sendMessage version for the new parser
Make sure old client still communicate with old parser
2023-10-06 10:14:26 +02:00
Baptiste Arnaud
f016072e3e 🚸 (whatsapp) Improve how the whatsapp preview behaves (#873)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

- New Feature: Updated WhatsApp logo with a new design and color scheme.
- New Feature: Added a help button in the UI linking to documentation,
enhancing user guidance.
- New Feature: Introduced an alert message indicating that the WhatsApp
integration is in beta testing.
- New Feature: Implemented a button to open WhatsApp Web directly from
the application, improving user convenience.
- Refactor: Adjusted the retrieval of `contactPhoneNumber` in
`receiveMessagePreview` function for better data structure
compatibility.
- Refactor: Optimized the initialization and management of the WhatsApp
session in `startWhatsAppPreview`.
- Refactor: Improved the `parseButtonsReply` function by refining
condition checks.
- Refactor: Enhanced the readability of serialized rich text in
`convertRichTextToWhatsAppText` by introducing newline characters.
- Bug Fix: Ensured preservation of `contact` information when resuming
the WhatsApp flow in `resumeWhatsAppFlow`.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-09-29 17:47:10 +02:00
Baptiste Arnaud
0e4e10c77b 🛂 (whatsapp) Remove feature flag
Closes #401
2023-09-29 15:10:39 +02:00
Baptiste Arnaud
ccc34b3028 🚸 (whatsapp) Improve upgrade plan for whatsapp notice 2023-09-27 14:22:51 +02:00
Baptiste Arnaud
ec52fdc0ad 📝 (whatsapp) Add a "Create WhatsApp app" guide 2023-09-27 08:32:18 +02:00
Baptiste Arnaud
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
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
6548752b1b 🐛 Fix bubble icon file upload 2023-09-18 17:26:05 +02:00
Baptiste Arnaud
322c48cddc (customDomain) Add configuration modal for domain verification
Closes #742
2023-09-18 17:16:30 +02:00
Baptiste Arnaud
fbb198af9d (s3) Improve storage management and type safety
Closes #756
2023-09-08 15:28:11 +02:00
Baptiste Arnaud
90c8c809de 📝 Fix iframe's style instruction invalid quotes
Closes #726
2023-08-30 13:38:20 +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
786e5cb582 🧑‍💻 Improve env variables type safety and management (#718)
Closes #679
2023-08-28 09:13:53 +02:00
Baptiste Arnaud
0acede92ef 🚸 Improve parsing preprocessing on typebots 2023-08-23 10:57:38 +02:00
Baptiste Arnaud
fe54888350 🐛 Fix legacy publicId format validation 2023-08-22 11:43:35 +02:00
Baptiste Arnaud
c08e0cdb0a (customDomains) Fix custom domain update feedback 2023-08-21 15:32:27 +02:00
Baptiste Arnaud
19fc576957 🚸 Loosen file import parsing strictness 2023-08-18 09:27:14 +02:00
Baptiste Arnaud
a4ba9a8a77 🐛 Parse valid publicId even though the prefix is empty 2023-08-17 17:59:44 +02:00
Baptiste Arnaud
454d320c6b (api) Add CRUD typebot endpoints
Closes #320, closes #696
2023-08-17 09:39:11 +02:00