Commit Graph

65 Commits

Author SHA1 Message Date
Baptiste Arnaud
382a13c2fa
📝 Move database recommendation in self-hosting docs (#2516)
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Workflows (Fly.io) / deploy (push) Has been cancelled
Monthly job / clean (push) Has been cancelled
- Moved the database recommendation under the "Ready to self-host?"
section.
2026-05-28 15:10:02 +00:00
Baptiste Arnaud
f170033be0
📝 Recommend Neon in self-hosting docs (#2515)
- Add Neon as the recommended production Postgres provider in
self-hosting docs, with a non-affiliate note.
- Link database recommendations to `https://typebot.com/neon`.
- Ignore `.context` files from Biome checks.
2026-05-28 17:02:54 +02:00
Baptiste Arnaud
5f01ecff64
📝 Update manual deploy docs for Nx (#2507)
- Update the manual self-hosting deploy guide for the current Nx/Bun
workflow.
- Replace stale PM2 commands with repo-root Nx start commands for
builder and viewer.
- Expand the Nginx sample to cover separate builder and viewer domains
and streaming support.
2026-05-22 13:39:21 +00:00
Baptiste Arnaud
e296c870bc
🐛 Fix WhatsApp webhook verification (#2498)
- Verify Meta WhatsApp webhooks with optional app secrets while
preserving soft compatibility for existing credentials.
- Add optional 360Dialog webhook secret validation and update flows for
existing WhatsApp credentials.
- Validate Meta WABA and phone number access, then auto-subscribe the
Meta app to the WABA during setup.
- Clear and disable WhatsApp integration when the active credentials are
removed, including published bot state.
- Preserve raw webhook request bodies, document preview app secret
configuration, and add focused webhook verification tests.
- Update related tooling, Biome ignore rules, opensrc guidance, and
small formatting/type-safety cleanup.
2026-05-21 16:45:32 +02:00
Baptiste Arnaud
091db9e06f
📝 Add auth failure troubleshooting section to self-hosting docs (#2495)
- Added an "Authentication fails or users are randomly logged out"
section to `apps/docs/self-hosting/troubleshoot.mdx` covering the common
causes (rotated `NEXTAUTH_SECRET` / `ENCRYPTION_SECRET`, builder/viewer
secret mismatch, mismatched `NEXTAUTH_URL`, unreachable or reset
database).
- Pointed users to tail the builder logs to surface the actual NextAuth
/ Prisma error behind the generic "Check server logs" message.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-21 07:46:17 +00:00
Baptiste Arnaud
67c7c86b1a
Revert Google Sheets picker fixes (#2486, #2487) (#2488)
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
Deploy Workflows (Fly.io) / deploy (push) Has been cancelled
- Revert #2487 (trigger_onepick OAuth param) and #2486 (setAppId +
NEXT_PUBLIC_GOOGLE_SHEETS_APP_ID env var) which broke the Google Sheets
picker in production.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
2026-05-12 17:12:31 +02:00
Baptiste Arnaud
8e67415766
🐛 Fix Google Sheets picker 401 by setting Cloud Project AppId (#2486)
- Call `PickerBuilder.setAppId()` with the Cloud Project number when
building the Google Sheets picker (required by Google when the OAuth
flow uses the `drive.file` scope, otherwise the picker iframe returns
401).
- Add new optional client env var `NEXT_PUBLIC_GOOGLE_SHEETS_APP_ID` in
`packages/env`.
- Document the new variable and setup step in
`apps/docs/self-hosting/configuration.mdx`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 16:30:43 +02:00
Baptiste Arnaud
cc9839f2e7
🔧 Migrate S3 uploads from presigned POST to presigned PUT (#2429)
## Changes

- **Presigned POST → PUT**: Replace `generatePresignedPostPolicy` with
`generatePresignedPutUrl` across all upload endpoints (builder + viewer
v1/v2/v3). This makes uploads compatible with Cloudflare R2 which
doesn't support the S3 POST Object API. Frontend consumers now use `PUT`
with raw file body + `Content-Type`/`Cache-Control` headers instead of
`POST` with FormData.
- **XSS mitigation**: Block dangerous content types (SVG, HTML, XML, JS)
in the builder `generateUploadUrl` endpoint. Restrict frontend `accept`
attributes from `image/*` to an explicit list of safe raster types
(`png, jpeg, gif, webp, avif, bmp, tiff`). Addresses
GHSA-jj87-c343-26vp.
- **Fix file upload URL validation**: `isURL` with `require_tld: true`
rejected `localhost` and `NEXTAUTH_URL` proxy URLs for private files.
Now uses a trusted host allowlist (`localhost`, `NEXTAUTH_URL`,
`S3_PUBLIC_CUSTOM_DOMAIN`) to skip TLD requirement.
- **Docs**: Update S3 CORS policy from `POST` to `PUT`, add Cloudflare
R2 to supported providers list.
- **Bump**: `@typebot.io/js` and `@typebot.io/react` → `0.10.0`

## Verification

- Tested avatar upload on builder with R2 bucket (PUT succeeds, image
displays)
- Verified CORS preflight passes after R2 bucket config
- Confirmed `generateUploadUrl` rejects `image/svg+xml` with 400
- All unit tests pass (`nx affected -t test`)
- Typecheck passes on all affected packages

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 15:34:35 +02:00
Baptiste Arnaud
c2b251c7e5
♻️ Migrate to NX (#2418) 2026-03-18 15:29:32 +00:00
Baptiste Arnaud
603fd903fb
🔧 Centralize runtime telemetry and Sentry reporting
Move builder, viewer, and workflows onto shared telemetry helpers so request logging, OTLP config, and workflow failures are reported consistently across runtimes.
2026-03-12 17:32:46 +01:00
Baptiste Arnaud
0109a5cadd
🔧 Rename Typebot debug env var to avoid conflict 2026-03-03 10:03:30 +01:00
Baptiste Arnaud
e9cec09cba
🔧 Use export results Effect workflow (#2363) 2026-01-22 17:11:00 +01:00
Baptiste Arnaud
27c9bf12e8
🧱 (results) Process results export in the background for big exports 2025-11-18 18:15:08 +01:00
Mohamed El Moctar
e6c7d6a4f9
📝 Update cors rules for AWS in s3 guide (#2278) 2025-09-09 11:46:38 +02:00
Baptiste Arnaud
40884d5df9
Add Gmail block (#2253)
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
2025-07-21 16:13:42 +02:00
anderson
2770ecf9c7
🔧 Adapt MinIO bucket creation script for newer mc versions (#2235)
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
Replace deprecated `mc config host add` with `mc alias set`.

## Context

Running the current **createbuckets** service logs errors similar to:

```
mc: <ERROR> `config` is not a recognized command. Get help using `--help` flag.
mc: <ERROR> Unable to set anonymous `public` for `minio/typebot/public`. Requested path `/minio/typebot/public` not found.
```

These arise because the command `mc config host` add was removed in
recent releases in favor of `mc alias set`. Without a valid alias,
subsequent commands reference a non‑existent path and fail.

`--ignore-existing` – makes bucket creation idempotent so the service
can run multiple times without failing.
2025-07-02 15:00:55 +02:00
dev-mantas
7cced2fc8a
✏️ Fix get-started docs type (#2207) 2025-06-10 11:17:11 +02:00
Baptiste Arnaud
e2ccc7c26b
📈 Add landing page view tracking 2025-06-04 09:05:17 +02:00
Baptiste Arnaud
2c1ca26877
🐛 Fix custom oauth OIDC URL discovery
Closes #2168
2025-05-13 11:16:43 +02:00
Baptiste Arnaud
af634875f7
🐛 Fix custom OAuth not working after Auth.js upgrade to v5
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
Closes #2161
2025-05-09 10:00:21 +02:00
Baptiste Arnaud
4d2d127afe
🔖 Release v3.6.0 2025-04-01 12:50:34 +02:00
Baptiste Arnaud
8d86535e42
🔥 Remove workspaceId optionnality in chat session state 2025-03-03 10:53:50 +01:00
Baptiste Arnaud
0c3ce76c6a
📝 Update self-hosting deployment docs with database migration steps
Closes #2037
2025-02-26 09:16:23 +01:00
Sebastian Goscinski
2f5798402a
📝 Improve docker-compose examples (#2004)
Just made some changes to the docker-compose file.
2025-02-20 10:50:53 +01:00
Miguel
7f3118e5c7
📝 Add troobleshooting section on portainer network issues (#2025)
This PR adds a new **Troubleshooting** section to the documentation,
specifically addressing network issues when migrating a Typebot stack in
Portainer.

It provides guidance on ensuring hostname resolution by explicitly
defining an **attachable network** in `docker-compose.yml`.
2025-02-18 16:46:49 +01:00
Baptiste Arnaud
f8f2eb2ba6
⬆️ Upgrade Sentry 2025-02-13 15:38:55 +01:00
abab-dev
ec7b2215f9
🧑‍💻 Add ignoreTLS option to SMTP configuration (#1943)
Fixes #1340
2025-01-06 10:27:38 +01:00
Baptiste Arnaud
23578ec784
🐛 Fix invalid findResult return type causing crash when existingResults was archived
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
2024-12-10 18:48:25 +01:00
lyh_rain
ab78f4ad3c
📝 Add deployment doc for Alibaba Cloud (#1901)
Co-authored-by: bupt_rain <lyh376240@alibaba-inc.com>
2024-12-09 08:31:59 +01:00
Baptiste Arnaud
ca1fb59e2c
📝 Add CHAT_API_TIMEOUT parameter to configuration documentation 2024-11-15 11:53:21 -06:00
Baptiste Arnaud
b32ecb1dd0
📝 Remove NEXTAUTH_URL_INTERNAL parameter from self-hosting configuration documentation
Closes #1875
2024-11-10 14:54:14 -06:00
Baptiste Arnaud
1f6a72ba80
📝 (webhook) Add PartyKit configuration instructions 2024-10-07 12:02:02 +02:00
Baptiste Arnaud
088678bd26
📝 Update local installation instructions 2024-10-01 12:00:58 +02:00
Baptiste Arnaud
c1aa68aeef
📝 Add FAQ about license 2024-10-01 11:21:43 +02:00
Baptiste Arnaud
a94f0f7ce7
🐛 Rename Google API keys for better clarity and granularity across auth, Sheets, and Fonts integrations.
Closes #1895
2024-09-26 09:58:30 +02:00
Baptiste Arnaud
301ffd1247
📝 Enable message streaming in Docker deployment config
Closes #1701
2024-09-25 15:33:37 +02:00
Baptiste Arnaud
10750f54d1
♻️ Use bun, biome, better ts config, new license and remove all barrel files (#1801)
Closes [#1754](https://github.com/baptisteArno/typebot.io/issues/1754)
2024-09-25 14:50:13 +02:00
Jason
53104a4a5e
📝 Add OAuth scopes URL for Sheets config (#1732)
Added help link for OAuth consent screen when people are setting up
google sheets access they are forgetting to add the scopes to the screen
itself.
2024-08-22 17:12:29 +02:00
Baptiste Arnaud
d49e006df0
📝 Remove enterprise discovery plan link for commercial license 2024-08-12 18:48:43 +02:00
Baptiste Arnaud
a79f41e3c6
📝 Add proto header in reverse proxy instructions
Closes #1680
2024-08-12 15:17:59 +02:00
Abhirup Basu
09277c264c
Implement Pexels videos option to media popover (#1636)
Closes #1575 

Note: Need to create a new environment variable named
`NEXT_PUBLIC_PEXELS_API_KEY` to store the API Key obtained from Pexels!


https://github.com/user-attachments/assets/4250f799-0bd7-48e9-b9a8-4bc188ad7704

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
Co-authored-by: younesbenallal <younes.benallal.06@gmail.com>
2024-07-22 19:41:01 +02:00
Baptiste Arnaud
5a3fd84214
⬆️ Upgrade pnpm, turbo, isolated-vm (#1609)
Closes https://github.com/baptisteArno/typebot.io/issues/1554
2024-07-11 16:09:49 +02:00
Baptiste Arnaud
6db0464fd7
Add attachments option to text input (#1608)
Closes #854
2024-06-26 10:13:38 +02:00
ctruemper
8e6cee5890
📝 Update docker.mdx (#1597)
Fixed typo in MinIO volume mapping "s3-data" in docker compose file
2024-06-24 11:57:15 +02:00
Baptiste Arnaud
10cbf4dfbc
🐛 (calCom) Fix weekly and column layouts restrained from max-width prop 2024-05-23 15:37:51 +02:00
Jeanluca
bb4bbd8f0e
🧑‍💻 Add keycloak auth provider (#1533)
#1529
2024-05-23 15:36:30 +02:00
Baptiste Arnaud
076a9503ef
📝 Add release section in self-hosting get-started page 2024-05-23 11:08:12 +02:00
Baptiste Arnaud
0eacbebbbe
📄 Add Commercial License for ee folder (#1532) 2024-05-23 10:42:23 +02:00
Eliott Hauteclair
1c84d296ca
✏️ Fix typo in self-hosting troubleshooting (#1478)
Hi Arno,

Thank you for your amazing project.

I have made the following small change in the docs:
- "signed" text should be "sign", fixed this small oversight in the
docs.
2024-04-29 09:28:38 +02:00
Baptiste Arnaud
6594723daf
📝 Add docker manual image build instructions
Closes #1285
2024-04-23 08:48:59 +02:00