2
0
Commit Graph

983 Commits

Author SHA1 Message Date
c2fc2df735 ♻️ Remove references to old s3 URLs 2023-12-06 07:30:47 +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
eeac493387 (wordpress) Add lib_version prop in shortcode
Closes #1035
2023-11-30 17:25:37 +01:00
8d413f0865 🚸 (fileUpload) Properly encode commas from uploaded file urls
Closes #955
2023-11-28 17:02:25 +01:00
880ded97d1 🐛 Fix default webhook body with multi inputs groups 2023-11-27 14:51:50 +01:00
b7ee800649 🚑 (pictureChoice) Fix pic choice multi select parsing 2023-11-26 11:24:01 +01:00
6ce43ed26f 🚸 (redirect) Make sure the redirection is always done on top frame 2023-11-26 10:58:00 +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
542e632472 🐛 (pictureChoice) Fix choice parsing too unrestrictive 2023-11-23 14:14:43 +01: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
94886ca58e 🐛 (chatwoot) Fix email prefill when Chatwoot contact already exist 2023-11-20 15:22:11 +01:00
1a44bf4935 (openai) Add create speech OpenAI action
Closes #1025
2023-11-20 14:01:50 +01:00
8d8b8ee26e 💚 Fix docker build missing ts target in schemas 2023-11-17 16:54:09 +01:00
5298538ecb 🔊 Add response debug log for failing requests without errors 2023-11-17 15:42:40 +01:00
e22bd7dc9b 🐛 (typebotLink) Fix variables merging with new values 2023-11-16 16:10:22 +01:00
eca6d207bf 🐛 (wordpress) Fix version mismatch for self-hosters for Standard embed as well
Closes #1038
2023-11-15 16:03:54 +01:00
8d563499f0 🐛 Fix typebot parsing for legacy columnsWidth setting 2023-11-15 15:39:20 +01:00
7cf64a1abb Show scrollbar on searchable items 2023-11-15 15:27:53 +01:00
1f19eb8763 🚸 Auto scroll once picture choice images are fully loaded 2023-11-15 14:10:41 +01:00
00265af0cc ⬆️ (date) Upgrade date parser package 2023-11-14 17:27:02 +01:00
bd198a4e0f 🐛 (fileUpload) Fix results file display if name contains comma
Closes #955
2023-11-14 17:15:21 +01:00
fd00b6fdd5 🐛 (js) Fix default theme values css variables
Closes #1031
2023-11-14 16:45:25 +01:00
a1d7415227 🐛 (billing) Set invoicing behavior to "always invoice" to fix double payment issue 2023-11-14 16:00:10 +01:00
6c0f28b3e4 (wordpress) Revert to specific non breaking version for self-hosters 2023-11-14 15:54:12 +01:00
23625ad214 🐛 (textBubble) Fix variable parsing when starting or finishing by spaces 2023-11-14 15:14:36 +01:00
74dd169b50 Add maxWidth and maxHeight bubble them props
Closes #458
2023-11-14 08:25:32 +01:00
c59df18f21 📝 Add OpenAI Dialogue option in breaking change doc 2023-11-13 17:59:01 +01:00
06065c3e85 Revert new authentication method for preview bot 2023-11-13 15:45:11 +01:00
084588a086 🧑‍💻 (chat) Introduce startChat and continueChat endpoints
Closes #1030
2023-11-13 15:27:36 +01:00
63233eb7ee 🐛 (webhook) Fix legacy webhook {{state}} body parsing 2023-11-12 08:35:29 +01:00
dd4de582a9 Add more video supports (#1023)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
	- Introduced a new layout option for the TextInput component.
- Added support for GUMLET and TIKTOK video content types in
VideoBubbleContent.
- Enhanced VideoUploadContent to handle new properties like aspectRatio
and maxWidth.
- Updated VideoBubble to include aspect-ratio and max-width styles based
on content properties.
- **Refactor**
- Changed the extension used for internationalization (i18n) in the VS
Code environment.
	- Modified how environment variables are accessed in tolgee.tsx.
- Updated parseVideoUrl function to include a new property
videoSizeSuggestion.
- **Chores**
- Updated the tolgeeEnv object in env.ts and added a new optional
parameter to the getRuntimeVariable function.
- Expanded video handling capabilities by introducing new video content
types and associated regular expressions.

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

Closes #978 #936 #926
2023-11-10 11:17:14 +01:00
60829b4d0a 💄 Fix multi choice checkbox UI on small screens 2023-11-09 15:19:38 +01:00
a38467e5b2 🐛 Sort variables to parse to fix text bubble parsing issue 2023-11-09 13:44:08 +01:00
14a37160fd 🚑 (webhook) Fix webhook execution with default method 2023-11-09 08:59:45 +01:00
9bb559174a 🐛 (typebotLink) Fix link to first group with start event 2023-11-09 08:52:00 +01:00
64418df3a1 🚸 (typebotLink) Make "current" option work like typebot links instead of jump 2023-11-08 17:05:02 +01:00
db17a0f508 🚑 Fix parsing issue with new events field on ongoing session states 2023-11-08 16:03:45 +01:00
35300eaf34 ♻️ Introduce typebot v6 with events (#1013)
Closes #885
2023-11-08 15:34:16 +01:00
027c6ffcef 🛂 Update Cache-Control header in generatePresignedPostPolicy 2023-11-07 15:16:23 +01:00
eaa9b815c4 🚑 Fix weird env parsing on Firefox making it crash 2023-11-07 14:49:15 +01:00
eed562b47a (chatwoot) Unmount Typebot embed bubble when opening chatwoot
Closes #1007
2023-11-06 16:57:05 +01:00
b2b82c48e1 ⬆️ Upgrade Sentry to mitigate security issue
https://github.com/getsentry/sentry-javascript/security?mkt_tok=Nzc2LU1KTi01MDEAAAGPNi0ooiOxT0sphdzXd6xHU63d5z5Sc75FNR8cH-6EK-zlvUsUuUqP1YsmnxivxEyXnGZS2cN8XkpuNNGi3NIfoDnwoHci-31tbyJQB8y0Cg
2023-11-06 16:24:26 +01:00
0c22d858b7 📦 Add strict package versioning to avoid incompatibility in workspace 2023-11-06 16:22:25 +01:00
a855d85d04 🚑 Move cache control header into the post policy 2023-11-02 15:09:08 +01:00
d1502f8300 Add cache-control header on newly uploaded files 2023-11-01 15:42:53 +01:00
a5641811a3 🐛 Fix formatted message in input block when input is retried 2023-11-01 14:01:32 +01:00
7586ecaf13 🐛 (number) Fix number input validation with variables 2023-10-30 16:45:32 +01:00
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
31b3fc311e 🧑‍💻 Fix type resolution for @typebot.io/react and nextjs
Closes #968
2023-10-26 15:57:55 +02:00