Commit graph

4,662 commits

Author SHA1 Message Date
anovazzi1
993cea0c0b Merge branch 'dev' into updateMakefile 2023-08-15 15:01:45 -03:00
Lucas Oliveira
5756f46e81
Added view option to LangFlow (#770) 2023-08-15 14:07:40 -03:00
Gabriel Luiz Freitas Almeida
1e0f4f316f
Merge branch 'main' into release 2023-08-15 15:50:42 +00:00
gustavoschaedler
c752872fc3 🐛 fix(auth.py): add optional parameter 'update_last_login' to 'create_user_tokens' function to allow updating last login only when needed
🐛 fix(auth.py): add optional parameter 'db' to 'create_refresh_token' function to allow passing the database session
 feat(login.py): pass 'update_last_login=True' to 'create_user_tokens' function to update last login when user successfully logs in
🐛 fix(ApiModal/index.tsx): fix formatting of 'codesArray' array to improve readability
🐛 fix(formModal/index.tsx): fix formatting of 'getWebSocketUrl' function to improve readability
🐛 fix(vite.config.ts): fix typo in comment
2023-08-15 16:50:40 +01:00
Gabriel Luiz Freitas Almeida
cef9fa4dd0 🔖 chore(pyproject.toml): update package version from 0.4.9 to 0.4.10 for maintenance purposes 2023-08-15 12:48:50 -03:00
Lucas Oliveira
2b21db32b5
Feature/view mode (#769)
This feature implements a view mode to all of the flows, to embed on
sites.
2023-08-15 12:43:29 -03:00
Lucas Oliveira
685ac70e90 disabled ZoomOnDoubleClick 2023-08-15 12:31:17 -03:00
Lucas Oliveira
fe7239b577 Disabled Pan On Pinch 2023-08-15 12:30:39 -03:00
Lucas Oliveira
8529c379e1 Disabled zoom and pan when on view mode 2023-08-15 12:29:19 -03:00
Lucas Oliveira
3667f4812e Fixed bug: flow not showing 2023-08-15 12:21:20 -03:00
Lucas Oliveira
81dba95720 Added view option to LangFlow 2023-08-15 12:16:32 -03:00
Gabriel Luiz Freitas Almeida
ea3aef363c
Fixes Duplicated CustomComponents, CTRL+Backspace and other fixes (#767) 2023-08-15 13:16:34 +00:00
Gabriel Luiz Freitas Almeida
5a490154e3
Merge branch 'main' into release 2023-08-15 13:16:00 +00:00
Rodrigo Nader
4c1b342a43 feat: Add documentation for various tools
- Added documentation for BingSearchRun, Calculator, GoogleSearchResults, GoogleSearchRun, GoogleSerperRun, and InfoSQLDatabaseTool components.
2023-08-15 10:14:24 -03:00
Gabriel Luiz Freitas Almeida
5140ae605d
CtrlBackspace fixed on Macbook (#765) 2023-08-15 13:09:11 +00:00
Gabriel Luiz Freitas Almeida
73c73dbcdd
Fix Duplicated CustomComponents (#766) 2023-08-15 13:08:43 +00:00
Gabriel Luiz Freitas Almeida
e63d6aa943 🐛 fix(endpoints.py): fix comparison of path variable to string in get_all() function to prevent duplicate processing of paths 2023-08-15 10:04:40 -03:00
Gabriel Luiz Freitas Almeida
46fa1921e9 🔒 chore(poetry.lock): update anthropic package version to 0.3.9
🔒 chore(poetry.lock): update typing-extensions package version to >=4.5,<5
🔒 chore(poetry.lock): update cohere package version to 4.20.0

📦 chore(poetry.lock): update coverage package version to 7.3.0
🔀 chore(poetry.lock): update python-versions constraint to >=3.8

🚀 feat(coverage): update coverage package to version 7.3.0

The coverage package has been updated to version 7.3.0. This update includes new wheel files for various platforms and their corresponding hashes.

🔒 chore: update coverage package dependencies

The coverage package dependencies have been updated to version 7.3.0. This commit includes the updated wheel files and their corresponding hashes.

🔒 chore(poetry.lock): update ctransformers to version 0.2.22
🔒 chore(poetry.lock): update exceptiongroup to version 1.1.3
🔒 chore(poetry.lock): update google-cloud-aiplatform to version 1.30.1
🔒 chore(poetry.lock): update langsmith to version 0.0.22
🔒 chore(poetry.lock): update metaphor-python to version 0.1.14
🔒 chore(poetry.lock): update pandas-stubs to version 2.0.3.230814
🔒 chore(poetry.lock): update pypdf to version 3.15.1
🔒 chore(poetry.lock): update tenacity to version 8.2.3

🔒 chore(poetry.lock): update tornado version from 6.3.2 to 6.3.3 to fix security vulnerability
🔒 chore(poetry.lock): update types-pytz version from 2023.3.0.0 to 2023.3.0.1 to fix typing stubs
🔒 chore(poetry.lock): update validators version from 0.20.0 to 0.21.0 to improve data validation
🔒 chore(poetry.lock): update watchfiles version from 0.19.0 to 0.19.0 (no changes)
2023-08-15 09:16:06 -03:00
Gabriel Luiz Freitas Almeida
b6d063a0fd 🐛 fix(settings.py): convert Path object to string before appending to list to avoid type error
🐛 fix(settings.py): check if value is already in the list before appending to avoid duplicates
2023-08-15 09:15:28 -03:00
Lucas Oliveira
f1f958a7ae CtrlBackspace fixed on Macbook 2023-08-15 08:52:07 -03:00
Gabriel Luiz Freitas Almeida
d0cee2cc09 Formatting 2023-08-14 21:07:54 -03:00
gustavoschaedler
ab61edfbf9 Merge remote-tracking branch 'origin/dev' into authentication 2023-08-14 22:52:57 +01:00
Cristhian Zanforlin Lousa
dd80f857a9 Merge branch 'authentication' into login-auth 2023-08-14 18:48:23 -03:00
Cristhian Zanforlin Lousa
b96fcfb06c 🔧 fix(AdminPage/index.tsx): fix incorrect assignment of users and total count in getUsersPage response
🔧 fix(AdminPage/index.tsx): fix incorrect assignment of filtered user list in getUsersPage response
🔧 fix(AdminPage/index.tsx): fix incorrect assignment of total rows count in getUsersPage response
2023-08-14 18:48:01 -03:00
gustavoschaedler
e9a94d7374 🐛 fix(auth.py): remove unnecessary blank line
🐛 fix(auth.py): add validation for inactive users and users waiting for approval in authenticate_user function
 feat(login.py): remove unnecessary blank line
2023-08-14 22:46:55 +01:00
Cristhian Zanforlin Lousa
e124b216d7 🔨 refactor(headerComponent/index.tsx): simplify header component by removing unnecessary conditional rendering and adding sign out button 2023-08-14 18:45:09 -03:00
Cristhian Zanforlin Lousa
2aa33bb08b merge authentication 2023-08-14 18:28:47 -03:00
Cristhian Zanforlin Lousa
6d3d9569bd 📦 feat(authAdminGuard): add ProtectedAdminRoute component to handle authentication and authorization for admin pages
📦 feat(catchAllRoutes): add CatchAllRoute component to redirect to the root ("/") when the catch-all route is matched

🔧 refactor(api.tsx): remove console.log statement

🔧 refactor(AdminPage): remove disabled prop from Checkbox components

🔧 refactor(loginPage): change Link to="/signup" to Link to="/signup" to fix incorrect link

🔧 refactor(routes.tsx): remove import statement for ProtectedRoute component and add import statements for CatchAllRoute and ProtectedAdminRoute components
2023-08-14 18:28:04 -03:00
Gustavo Schaedler
cb47f7cf8e
Fix HumanMessagePromptTemplate bug (#763)
HumanMessagePromptTemplate and some other MessagePromptTemplates were
not built correctly.

This fixes SystemMessage Example.
2023-08-14 22:22:11 +01:00
igorrCarvalho
cb66255b84 Refactor: Refactor api modal constant 2023-08-14 18:17:12 -03:00
gustavoschaedler
501d7399a8 🔒 chore(auth.py): add support for retrieving current user and current active user
🔒 chore(auth.py): add support for creating user tokens with user id

🔒 chore(auth.py): add support for updating last_login_at when creating user tokens

🔒 chore(auth.py): add support for updating user information

🔒 chore(login.py): add support for retrieving current active user in login route

🐛 fix(users.py): fix import order and remove unused imports to improve code readability
 feat(users.py): add support for pagination in read_all_users endpoint to retrieve a list of users with pagination
🔧 refactor(users.py): rename update_user function to patch_user for better semantics and consistency
🔧 refactor(users.py): refactor update_user function to use update_user function from models module for better code organization and reusability
 feat(users.py): add support for creating a superuser for testing purposes in add_super_user_for_testing_purposes_delete_me_before_merge_into_dev endpoint
2023-08-14 21:18:47 +01:00
Gabriel Luiz Freitas Almeida
e0f625e793 🐛 fix(utils.py): add condition to check if prompt has 'partial' attribute before calling it to prevent error 2023-08-14 17:17:57 -03:00
Gabriel Luiz Freitas Almeida
2144e1ec91 🐛 fix(types.py): handle case where prompt template is not present in PromptVertex
ℹ️ The code was modified to handle a case where the `template` attribute is not present in the `PromptVertex` class. If the `template` attribute is not found, the code checks if the `prompt` attribute is present and uses its `template` attribute instead. This change ensures that the code does not break when the `template` attribute is missing.
2023-08-14 17:16:54 -03:00
Cristhian Zanforlin Lousa
d9d0513a91 🔨 refactor(UserManagementModal/index.tsx): add placeholder text to username input field for better user experience
🔨 refactor(loginPage/index.tsx): remove unnecessary link to attribute in the Sign Up button
2023-08-14 16:59:38 -03:00
Gabriel Luiz Freitas Almeida
9df5e94195
Prevent Default on Ctrl + Backspace in ReactFlow (#706) 2023-08-14 19:42:29 +00:00
Cristhian Zanforlin Lousa
754d26633a 🐛 fix(constants.ts): add backtick (`) and backtick (´) to specialCharsRegex to include them as special characters 2023-08-14 16:39:22 -03:00
Cristhian Zanforlin Lousa
4522cd383e 🐛 fix(reactflowUtils.ts): fix bug with control+backspace key combination on Windows/Linux and Mac 2023-08-14 16:28:52 -03:00
Cristhian Zanforlin Lousa
a531cc6066 🔧 chore(reactflowUtils.ts): remove console.log statement for keydown event in handleKeyDown function
🐛 fix(reactflowUtils.ts): fix handleKeyDown function to properly handle special characters and backspace key
2023-08-14 15:58:26 -03:00
anovazzi1
1f528072b9 format code 2023-08-14 12:53:08 -03:00
igorrCarvalho
e705f5bdf4 Refactor[UserManagementModal]: Refactor admin user sign to use password input component 2023-08-14 12:38:59 -03:00
igorrCarvalho
019e34190a Refactor: Remove Link in signup button 2023-08-14 12:27:50 -03:00
igorrCarvalho
610e168dbc Refactor[routes.tsx]: Remove sign up page while user cant sign up to langflow 2023-08-14 12:18:48 -03:00
Gabriel Luiz Freitas Almeida
5e47d0ff14
adding ChatVertexAI LLM component back into the config.yaml (#724) 2023-08-14 15:10:26 +00:00
Gabriel Luiz Freitas Almeida
5089480bc0
Update pyproject.toml (#754) 2023-08-14 15:07:57 +00:00
anovazzi1
60575d9f78 removed dead code 2023-08-14 11:16:15 -03:00
Cristhian Zanforlin Lousa
9acf9e39aa 🔧 fix(constants.ts): add specialCharsRegex constant to match special characters in strings
🔧 fix(reactflowUtils.ts): update handleKeyDown function to prevent deletion of block when a special character is the last character in the input value
2023-08-14 11:15:26 -03:00
Rodrigo Nader
823b140181 feat: Add documentation for various tools
- Added documentation for BingSearchRun, Calculator, GoogleSearchResults, GoogleSearchRun, GoogleSerperRun, and InfoSQLDatabaseTool components.
2023-08-13 20:14:02 -03:00
Gabriel Luiz Freitas Almeida
0c689dcc16
Fixed bug on Export Modal (#751) 2023-08-13 20:47:44 +00:00
Cristhian Zanforlin Lousa
9b5ac1b22c 🔧 fix(App.tsx): remove unused isAuthenticated variable to improve code readability
🔧 fix(App.tsx): remove unused isAuthenticated variable to improve code readability
2023-08-12 15:44:25 -03:00
Cristhian Zanforlin Lousa
dc4b757a02 🔧 fix(App.tsx): fix linting issues and add missing dependencies to useEffect hook
🔧 fix(authContext.tsx): change localStorage to cookies for storing access token
🔧 fix(api.tsx): remove console.log statement
🔧 fix(AdminPage/index.tsx): add missing import for getLoggedUser function and useContext for AuthContext
2023-08-12 15:42:41 -03:00