2
0
Commit Graph

1249 Commits

Author SHA1 Message Date
7ce1a4d3d1 (radar) Remove IP ban system 2024-01-02 10:16:10 +01:00
7804ae2572 🐛 Fix crash on toast show up due to tolgee provider not defined 2023-12-29 16:47:18 +01:00
53b702e8b1 🌐 Add translation keys for input blocks (#1114)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Integrated localization support across various components using the
`useTranslate` hook for dynamic translations.

- **Enhancements**
- Replaced hardcoded text with localized strings to support multiple
languages in the user interface.

- **User Interface**
- Updated labels, placeholders, tooltips, and button texts to utilize
translated content for a multilingual experience.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
2023-12-29 12:42:50 +01:00
5fbbe9d86e 🌐 Add theme tab translation keys (#1119)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Implemented internationalization across various components, enabling
dynamic language translation for UI elements.

- **Enhancements**
	- Improved accessibility with translated `aria-label` attributes.
	- Enhanced user interface with translated button texts and labels.

- **Refactor**
	- Streamlined translation handling with the `useTranslate` hook.

- **Bug Fixes**
	- Corrected tooltip label for better clarity.

- **Style**
	- Updated visual elements to reflect changes in language settings.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
2023-12-29 12:02:14 +01:00
f26eafd26f 🌐 Improve i18n collaboration type and timeSince parsing 2023-12-29 11:31:31 +01:00
5124373071 🌐 Add templates name and description translation keys (#1120)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Templates now support multiple languages with the introduction of a
translation function for template names, descriptions, and category
tags.

- **Enhancements**
- Improved template naming consistency with capitalization adjustments
for clarity.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
2023-12-29 10:50:31 +01:00
a235a7accd Attempt to fix tolgee random crash due to provider not detected 2023-12-29 10:12:13 +01:00
81a70d3b70 Typebots page pt-BR translation (#1121)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Enhancements**
- Improved internationalization with dynamic translations for "Cancel"
and "Delete" labels across modal and button components.
- Localized the `name` property during Typebot creation for better user
experience in different languages.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
2023-12-29 08:16:00 +01:00
28b2b1a60c 🌐 Sync french translations and fix some non-sentence translations 2023-12-28 12:15:35 +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
74f5a17de0 🛂 (radar) Correctly block banned IP event when signing in with oauth providers 2023-12-27 08:11:15 +01:00
1e5fa5a575 📝 Migrate from Docusaurus to Mintlify (#1115)
Closes #868
2023-12-22 09:13:53 +01:00
3919f75a36 🩹 (radar) Only check existing risk if typebot was not manually checked 2023-12-20 10:45:12 +01:00
780b4dee18 🐛 (whatsapp) Fix WA preview not starting and accept audio and documents messages 2023-12-20 10:35:34 +01:00
64fc59bd3a 🚑 Fix invalid timeout for long running integrations 2023-12-19 14:24:36 +01:00
655b32ef75 🛂 (radar) Add isVerified field in workspace 2023-12-19 14:14:47 +01:00
deab1a12e9 (sheets) Use Google Drive picker and remove sensitive OAuth scope
BREAKING CHANGE: The Google Picker API needs to be enabled in the Google Cloud console. You also need to enable it in
your NEXT_PUBLIC_GOOGLE_API_KEY. You also need to add the drive.file OAuth scope.
2023-12-18 15:44:57 +01:00
2dec0b88c2 🐛 (results) Fix result modal answers order 2023-12-18 10:39:54 +01:00
7e3edfc0f2 🔒 (radar) Improve scam detection by analyzing the entire typebot 2023-12-18 09:12:34 +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
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
eedb7145ac 📈 Only send suspicious bot alert if risk level is below 100 2023-12-11 10:56:56 +01:00
248cee8865 Update publishTypebot.ts 2023-12-08 18:32:15 +00:00
4fdc1bfe5c Introducing Radar, fraud detection 2023-12-08 18:16:07 +00:00
0b93c2b239 🐛 Fix change language not working in the editor 2023-12-08 15:48:05 +00:00
7fcc4fb748 🐛 (sheets) Init OAuth client inside a function to avoid potential conflict 2023-12-08 15:43:56 +00:00
8819e9e567 🔧 Update main viewer domain to typebot.co 2023-12-08 08:51:58 +00:00
c339130e53 🛂 Hide workspace members list from guest 2023-12-07 15:41:58 +00:00
c2fc2df735 ♻️ Remove references to old s3 URLs 2023-12-06 07:30:47 +01:00
b0d7039577 🛂 (billing) Past due status only for unpaid invoices with additional usage 2023-12-05 16:24:44 +01:00
d89a1eb323 🧑‍💻 Automatically guess env URLs for Vercel preview deploy… (#1076)
…ments

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

- **New Features**
- Introduced new URL processing logic to enhance compatibility with
Vercel preview environments.
- Improved handling of environment-specific URLs for authentication and
viewer services.

- **Enhancements**
- Streamlined environment variable management for more reliable
deployment configurations.

- **Documentation**
- Updated documentation to reflect new environment variable processing
functions.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-12-05 10:59:19 +01:00
99c5aafec1 ✏️ Fix invalid ending comma in API instructions
Closes #1022
2023-12-05 08:30:21 +01:00
32b2bb6a94 🐛 Fix right click in bubble text editor selects the group
Closes #920
2023-12-05 08:28:16 +01:00
a43d047f60 🐛 Fix multiple item dragged issue 2023-12-05 08:22:46 +01:00
cb87a72cca 🐛 (editor) Fix old typebot flash when changing the typebot 2023-12-05 08:15:34 +01:00
eeac493387 (wordpress) Add lib_version prop in shortcode
Closes #1035
2023-11-30 17:25:37 +01:00
8ce4e4808d 🐛 (share) Fix duplicate folderId issue 2023-11-28 16:32:56 +01:00
cf8df68186 🛂 Allow app admin to read a typebot 2023-11-27 15:09:31 +01:00
4666fd8fa0 🔧 Increase builder request max size to 4MB 2023-11-26 11:12:13 +01:00
993bc7900e 📝 Add new start and continue endpoints in the API runtime instructions 2023-11-24 08:00:34 +01:00
0856c59b50 (billing) Improve past_due workspace checking webhook 2023-11-23 15:53:12 +01:00
30b09e56a4 🐛 Fix processTelemetry endpoint not reachable 2023-11-23 15:48:39 +01:00
5b0073bb61 🚑 (billing) Fix stripe webhook "invoice.paid" typo 2023-11-23 15:43:02 +01:00
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
bb41226a04 Allow user to share a flow publicly and make it duplicatable
Closes #360
2023-11-23 12:05:31 +01:00
8a07392821 🚑 (editor) Fix typebot update permission 2023-11-23 08:28:18 +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
1a44bf4935 (openai) Add create speech OpenAI action
Closes #1025
2023-11-20 14:01:50 +01:00
f6ac3891f8 🌐 Add es and ro support 2023-11-19 08:53:50 +01:00