Commit Graph

43 Commits

Author SHA1 Message Date
Baptiste Arnaud
c55973fac0 🚸 (onboarding) Introduce new onboarding floating videos mechanism 2024-06-04 18:25:46 +02:00
Jeanluca
bb4bbd8f0e 🧑‍💻 Add keycloak auth provider (#1533)
#1529
2024-05-23 15:36:30 +02:00
Baptiste Arnaud
d0be29e257 🔒 Use sanitizeUrl on redirectPath auth param (#1389) 2024-03-25 19:11:39 +01:00
Baptiste Arnaud
5073be2439 ♻️ Remove @typebot.io/schemas from @typebot.io/lib 2024-03-15 16:32:29 +01:00
Baptiste Arnaud
595bffc38d 🔊 Add better error log for auth email sending 2024-03-11 11:17:42 +01:00
Baptiste Arnaud
e783bb4121 🧑‍💻 Improve sign up error message 2024-02-19 10:28:57 +01:00
Baptiste Arnaud
191aeb0214 🐛 (billing) Fix webhook calls when workspace was deleted 2024-02-13 10:23:41 +01:00
Baptiste Arnaud
9014c4ab09 🐛 Revert to got for user created webhook to fix function crash 2024-02-03 12:38:09 +01:00
Baptiste Arnaud
9222da6681 🚑 Fix user creation crashing 2024-02-03 11:51:27 +01:00
Baptiste Arnaud
fd4867f3ae 📈 Send onboarding replies to PostHog 2024-02-02 11:58:32 +01:00
Baptiste Arnaud
92a1d672fd ♻️ Re-organize telemetry package 2024-02-01 14:19:24 +01:00
Baptiste Arnaud
7ce1a4d3d1 (radar) Remove IP ban system 2024-01-02 10:16:10 +01:00
Baptiste Arnaud
74f5a17de0 🛂 (radar) Correctly block banned IP event when signing in with oauth providers 2023-12-27 08:11:15 +01:00
Baptiste Arnaud
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
Baptiste Arnaud
bb41226a04 Allow user to share a flow publicly and make it duplicatable
Closes #360
2023-11-23 12:05:31 +01:00
Baptiste Arnaud
084588a086 🧑‍💻 (chat) Introduce startChat and continueChat endpoints
Closes #1030
2023-11-13 15:27:36 +01:00
Baptiste Arnaud
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
Baptiste Arnaud
3e7b9b3afd ⬆️ Upgrade sentry and improve its reliability 2023-10-07 12:40:43 +02:00
Baptiste Arnaud
801fea860a 🛂 Improve editor authorization feedback (#856)
Closes #844, closes #839

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

- New Feature: Added a `logOut` function to the user context for
improved logout handling.
- Refactor: Updated the redirect path in the `SignInForm` component for
better user redirection after authentication.
- New Feature: Enhanced the "Add" button and "Connect new" menu item in
`CredentialsDropdown` with role-based access control.
- Refactor: Replaced the `signOut` function with the `logOut` function
from the `useUser` hook in `DashboardHeader`.
- Bug Fix: Prevented execution of certain code blocks in
`TypebotProvider` when `typebotData` is read-only.
- Refactor: Optimized the `handleObserver` function in `ResultsTable`
with a `useCallback` hook.
- Bug Fix: Improved router readiness check in `WorkspaceProvider` to
prevent premature execution of certain operations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-09-26 14:02:53 +02:00
Baptiste Arnaud
7d57e8dd06 ♻️ Export bot-engine code into its own package 2023-09-20 15:42:34 +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
a4f7f8fae7 📈 Remove user email from Sentry tracking 2023-08-18 14:18:28 +02:00
Baptiste Arnaud
43555c171e 🚸 New dedicated onboarding page 2023-07-25 16:21:40 +02:00
Baptiste Arnaud
7c2e5740dc 🔒 Add rate limiter on email signin endpoint 2023-06-20 15:49:54 +02:00
Baptiste Arnaud
75d2a95d08 More translation in FR & PT (#436)
Related to #210
2023-04-06 17:31:23 +02:00
Baptiste Arnaud
49071b73b6 🚑 (auth) Fix bad requests with getSession on server side 2023-04-03 16:42:10 +02:00
Baptiste Arnaud
44d7a0bcb8 ♻️ (builder) Remove barrel export and flatten folder arch 2023-03-15 11:52:38 +01:00
Baptiste Arnaud
cbc8194f19 ♻️ Re-organize workspace folders 2023-03-15 08:35:16 +01:00
Baptiste Arnaud
48db171c1b 🚸 Improve magic link sign in experience
New email and sign in feedback
2023-03-13 11:20:28 +01:00
Baptiste Arnaud
f8f98adc1c (editor) Improve edges responsiveness
Also fixed a ton of useEffects should make everything a bit more reactive.

Closes #307
2023-02-28 15:38:28 +01:00
Baptiste Arnaud
debdac12ff Introduce bot v2 in builder (#328)
Also, the new engine is the default for updated typebots for viewer

Closes #211
2023-02-21 15:25:14 +01:00
Baptiste Arnaud
0831dcf72a ♻️ (auth) Make sure new users have an email
Also fix after-auth redirections

Closes #323
2023-02-18 17:15:32 +01:00
Baptiste Arnaud
0dba994210 🐛 (workspace) Fix members invitation when having unlimited plan
Closes #279
2023-02-13 11:13:05 +01:00
Baptiste Arnaud
bfd85b4fd3 ♻️ (auth) Group join workspaces queries in a transaction 2023-01-28 08:32:29 +01:00
Baptiste Arnaud
eff83d6327 🚸 (auth) Disable email sign in button when email was sent
This will prevent users from spamming the email sign in form
2023-01-20 11:29:04 +01:00
Baptiste Arnaud
fe2952d407 🐛 (collaboration) Fix a database rule preventing collaborators to edit a bot
Also check if new user has invitations when signup is disabled

Closes #265
2023-01-20 09:30:25 +01:00
Baptiste Arnaud
ec7481d002 ⬆️ Upgrade dependencies
Closes #198, closes #171
2023-01-02 10:33:35 +01:00
Baptiste Arnaud
b9d38935a6 (auth) Add custom OAuth provider support
Closes #42
2023-01-02 08:29:46 +01:00
Baptiste Arnaud
3394fa5e0a Add dark mode (#191)
Closes #189
2022-12-20 16:55:43 +01:00
Baptiste Arnaud
bf0d0c2475 ⚗️ Implement chat API 2022-11-29 10:03:46 +01:00
Baptiste Arnaud
11695efb57 📝 Introduce auto generate API doc 2022-11-22 17:30:20 +01:00
Baptiste Arnaud
451ffbcacf ♻️ Add shared eslint config 2022-11-21 11:18:58 +01:00
Baptiste Arnaud
643571fe7d ♻️ (builder) Change to features-centric folder structure 2022-11-15 15:14:38 +01:00