Commit Graph

136 Commits

Author SHA1 Message Date
Baptiste Arnaud
53558dc303 🚑 Fix can invite new members in workspace bool
Closes #964
2023-10-25 17:57:13 +02:00
Baptiste Arnaud
797751b418 (billing) Automatic usage-based billing (#924)
BREAKING CHANGE: Stripe environment variables simplified. Check out the
new configs to adapt your existing system.

Closes #906





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

**New Features:**
- Introduced a usage-based billing system, providing more flexibility
and options for users.
- Integrated with Stripe for a smoother and more secure payment process.
- Enhanced the user interface with improvements to the billing,
workspace, and pricing pages for a more intuitive experience.

**Improvements:**
- Simplified the billing logic, removing additional chats and yearly
billing for a more streamlined user experience.
- Updated email notifications to keep users informed about their usage
and limits.
- Improved pricing and currency formatting for better clarity and
understanding.

**Testing:**
- Updated tests and specifications to ensure the reliability of new
features and improvements.

**Note:** These changes aim to provide a more flexible and user-friendly
billing system, with clearer pricing and improved notifications. Users
should find the new system more intuitive and easier to navigate.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-10-17 08:03:30 +02:00
Baptiste Arnaud
3e7b9b3afd ⬆️ Upgrade sentry and improve its reliability 2023-10-07 12:40:43 +02:00
Baptiste Arnaud
bf1f657642 🔥 Remove streamer Pages API endpoint 2023-10-06 17:45:12 +02:00
Baptiste Arnaud
ccc34b3028 🚸 (whatsapp) Improve upgrade plan for whatsapp notice 2023-09-27 14:22:51 +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
9e0109f561 (whatsapp) Improve whatsApp management and media collection
Closes #796
2023-09-22 11:08:41 +02:00
Baptiste Arnaud
d7dc5fb5fb ♻️ Remove storage limit related code 2023-09-20 16:06:53 +02:00
Baptiste Arnaud
7d57e8dd06 ♻️ Export bot-engine code into its own package 2023-09-20 15:42:34 +02:00
Baptiste Arnaud
bb13c2bd61 🛂 (fileUpload) Improve file upload size limit enforcement
Closes #799, closes #797
2023-09-19 15:42:33 +02:00
Baptiste Arnaud
6375a2425f 📝 Update support contact email 2023-09-12 09:45:45 +02:00
Baptiste Arnaud
aaa208cef4 🌐 Add pt_BR and more translations (#767)
Original PR: https://github.com/baptisteArno/typebot.io/pull/694

---------

Co-authored-by: Daniel Oliveira <daniel.oliveira@kununu.com>
Co-authored-by: Daniel Oliveira <daniel@headdev.com.br>
2023-09-05 18:15:59 +02:00
Baptiste Arnaud
e4ece315ed 🌐 Add i18n-ally config and upgrade next-international 2023-09-05 16:44:44 +02:00
Baptiste Arnaud
23b629f82c ♻️ Move s3-related files to specific lib folder 2023-08-30 09:36:45 +02:00
Baptiste Arnaud
9a79bc38ee Use minio for presigned urls and remove aws sdk 2023-08-30 09:08:05 +02:00
Baptiste Arnaud
b852b4af0b Add WhatsApp integration beta test (#722)
Related to #401
2023-08-29 10:05:24 +02:00
Baptiste Arnaud
efd4600b7e 🚑 Set proper env defaults 2023-08-28 11:08:15 +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
6240fd982b 🐛 (billing) Fix cancel webhook when publishedTypebot does not exist 2023-08-22 10:55:32 +02:00
Baptiste Arnaud
53dd7ba499 🚸 (billing) Make sure customer is not created before launching checkout page 2023-08-22 10:40:34 +02:00
Baptiste Arnaud
c08e0cdb0a (customDomains) Fix custom domain update feedback 2023-08-21 15:32:27 +02:00
Baptiste Arnaud
a4f7f8fae7 📈 Remove user email from Sentry tracking 2023-08-18 14:18:28 +02:00
Baptiste Arnaud
454d320c6b (api) Add CRUD typebot endpoints
Closes #320, closes #696
2023-08-17 09:39:11 +02:00
Baptiste Arnaud
fc25734689 ♻️ (webhook) Integrate webhook in typebot schema
Closes #313
2023-08-06 10:03:45 +02:00
Baptiste Arnaud
abc3abd86b 🔒 (auth) Block disposable emails during sign up 2023-07-27 09:29:17 +02:00
Baptiste Arnaud
43555c171e 🚸 New dedicated onboarding page 2023-07-25 16:21:40 +02:00
Johannes Zellner
48f074cdf7 Support specifying custom OAuth scope (#619)
For OpenID connect over OAuth, at least `openid profile` need to be set
there, but since the email is also used, the `email` scope will instruct
the OpenID provider to also deliver that.

---------

Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
2023-07-20 11:38:21 +02:00
Baptiste Arnaud
3426d6689d Replace updates with updateManys when possible
Easy performance win to avoid triggering SELECT query after an UPDATE
2023-07-16 18:52:30 +02:00
Baptiste Arnaud
81bc0746cf ⬆️ Upgrade dependencies 2023-07-15 10:46:36 +02:00
Baptiste Arnaud
455c3bdfd7 👷 Improve monthly clean database script
Archive results that were not properly archived
2023-07-12 12:00:23 +02:00
Baptiste Arnaud
fc0e3782b1 🐛 (workspace) Fix members list limit bug 2023-07-11 18:14:23 +02:00
Baptiste Arnaud
31b70223c8 🚸 Remove new typebot default user avatar 2023-07-07 11:44:14 +02:00
Baptiste Arnaud
5a05310a9c 🛂 Add isSuspended prop on workspace 2023-07-04 14:56:36 +02:00
Baptiste Arnaud
b0f25f301b (analytics) Improve analytics graph accuracy 2023-06-30 12:39:20 +02:00
Baptiste Arnaud
6f7ef820e2 📈 (billing) Track when workspace subscription is cancelled 2023-06-26 11:33:06 +02:00
Baptiste Arnaud
0582ca74ac 🚸 (editor) Improve editor performance by rounding paths
Related to #575
2023-06-24 11:48:46 +02:00
Baptiste Arnaud
6864667297 🛂 (billing) Enable Published bot branding when plan cancelled 2023-06-24 10:26:07 +02:00
Baptiste Arnaud
de0b105276 🛂 (billing) Display branding when subscription… 2023-06-23 11:30:26 +02:00
Baptiste Arnaud
7c2e5740dc 🔒 Add rate limiter on email signin endpoint 2023-06-20 15:49:54 +02:00
Baptiste Arnaud
eaadc59b1f Add recent section in icon and emoji picker
Closes #536
2023-06-20 14:04:33 +02:00
Baptiste Arnaud
f1b643c5be 🔒 Revert ddos lockdown 2023-06-19 18:41:00 +02:00
Baptiste Arnaud
00945bfa0c 🔒 Disable email auth 2023-06-19 15:23:21 +02:00
Baptiste Arnaud
b2ea8fc059 🌐 Translate workspace (#528) 2023-05-31 07:53:30 +02:00
Baptiste Arnaud
56364fd863 (openai) Stream chat completion to avoid serverless timeout (#526)
Closes #520
2023-05-25 10:32:35 +02:00
Baptiste Arnaud
f8ea2e1337 🐛 Restore support bubble in cloud prod 2023-05-16 09:02:33 +02:00
Baptiste Arnaud
123926f273 🚸 Improve support accessibility
Add documentation button in board menu and hide the support bubble in the editor. Makes it accessible only by clicking the "Help" button
2023-05-15 10:49:51 +02:00
Baptiste Arnaud
458d715648 🛂 (billing) Update claimable custom plan options 2023-04-28 10:55:15 +02:00
Baptiste Arnaud
c6983c952c 🛂 Reset isQuarantined when upgrading workspace 2023-04-23 21:03:14 +02:00
Baptiste Arnaud
928afd5a6c 🐛 Auto scroll X behavior outside of editor
Closes #440
2023-04-17 15:41:48 +02:00