2
0
Commit Graph

2041 Commits

Author SHA1 Message Date
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
cee1373e6a 🔧 Add disableRequestTimeout param for automation integrations 2023-12-27 07:44:54 +01:00
3bbaf670a2 🚸 (webhook) Improve header and query params parsing 2023-12-24 11:02:48 +01:00
6e076e9fb8 🚑 Revert resultId optional in startChat response 2023-12-23 10:13:27 +01:00
867e68c4d9 🚑 Add back runtimeOptions and fix popup width option nextjs-v0.2.31 react-v0.2.31 js-v0.2.31 2023-12-22 10:24:33 +01:00
1e5fa5a575 📝 Migrate from Docusaurus to Mintlify (#1115)
Closes #868
2023-12-22 09:13:53 +01:00
512bb09282 🐛 Chatwoot widget open should not unmount bot if standard or popup nextjs-v0.2.30 react-v0.2.30 js-v0.2.30 2023-12-21 18:44:59 +01:00
f4a0935c79 🔧 Add anthropic to long request whitelist 2023-12-21 07:29:52 +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
a6536461e5 (bot) Use ky for queries in bot to improve reliability nextjs-v0.2.29 react-v0.2.29 js-v0.2.29 2023-12-20 08:31:22 +01:00
f2cccbd33f 🛂 (radar) Match high risk keyword when not in urls 2023-12-20 08:02:32 +01:00
00f8bbc29b 🔒 (radar) Add cumulative keywords auto ban 2023-12-19 16:13:21 +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
06b7f40924 🐛 (chatNode) Fix default responseMapping item run 2023-12-15 16:34:57 +01:00
8c4eec4b20 add specific link for ChatNode to TypeBot (#1106) 2023-12-14 21:52:13 +01:00
bf626bb0a3 🐛 (stream) Fix target attribute being trimmed on message stream nextjs-v0.2.28 react-v0.2.28 js-v0.2.28 2023-12-13 14:47:06 +01:00
fbddddcfa0 🚑 Release new embed lib version and fix createId dep… nextjs-v0.2.27 react-v0.2.27 js-v0.2.27 2023-12-13 11:49:03 +01:00
3bd07c60da (webhook) Add Orimon in long request whitelist 2023-12-13 10:55:51 +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
619a548fba 📝 (docs): fix typo in Unsplash description (#1094)
Documentation

This PR updates the documentation to fix an incorrect description for
the Unsplash configuration.

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

## Summary by CodeRabbit

- **Documentation**
- Corrected a hyperlink and associated text in the self-hosting
configuration guide, changing "Giphy" to "Unsplash" for image search
references.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Signed-off-by: Victor Santos <vsantos.py@gmail.com>
2023-12-11 08:48:03 +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
957eaf33dd Add dynamic timeout to bot engine api nextjs-v0.2.26 react-v0.2.26 js-v0.2.26 2023-12-08 13:43:58 +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
e2abfc6bbc 🔧 Update vercel.json to reflect new api path 2023-12-06 17:59:21 +01:00
c2fc2df735 ♻️ Remove references to old s3 URLs 2023-12-06 07:30:47 +01:00
61f7f67bf3 🚸 (docs) Open community search docs results in same tab 2023-12-05 16:48:48 +01:00
b0d7039577 🛂 (billing) Past due status only for unpaid invoices with additional usage 2023-12-05 16:24:44 +01:00
f64784fefd 📝 Add node prerequisite in Contributing guide 2023-12-05 14:54:43 +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