Gabriel Luiz Freitas Almeida
a64ee239de
Add env variables to set superuser on deploy ( #943 )
2023-09-22 12:48:33 -03:00
Gabriel Luiz Freitas Almeida
6151052b18
Merge branch 'dev' into add_cli_options_superuser
2023-09-22 12:48:26 -03:00
Gabriel Luiz Freitas Almeida
43df53363d
Merge remote-tracking branch 'origin/main' into dev
2023-09-22 12:44:46 -03:00
anovazzi1
795bf73752
Filter Menu Components on Click Edge ( #932 )
...
This branch implements the edge filtering feature.
2023-09-21 21:08:47 -03:00
anovazzi1
8275a9c2c1
chore(parameterComponent): remove unnecessary ts-ignore comments
...
fix(extraSidebarComponent): remove unnecessary if condition in handleBlur function
2023-09-21 21:00:17 -03:00
anovazzi1
a12a7fd1cc
New "more" nodeToolbar button ( #952 )
...
This PR introduces a new feature to enhance the editing capabilities of
nodes in our application. We've added a "More" button to the
nodeToolbar, which, when clicked, reveals additional options for editing
nodes.
2023-09-21 20:05:41 -03:00
anovazzi1
1796e349c2
fix(nodeToolbarComponent): fix indentation and formatting issues in the code
...
feat(nodeToolbarComponent): add support for minimal mode in the toolbar
feat(nodeToolbarComponent): add functionality to show/hide advanced options in the toolbar
2023-09-21 20:03:47 -03:00
anovazzi1
b18a91deb0
code format
2023-09-21 19:23:53 -03:00
anovazzi1
187724342f
update message format to put api-key as header
2023-09-21 19:23:53 -03:00
igorrCarvalho
ac67fff000
Refactor: Make changes to api_key only show up in codetabs when authenticated
2023-09-21 19:23:53 -03:00
igorrCarvalho
b1ef10e79b
Refactor: update Code Tabs PopUp with api_key
2023-09-21 19:23:53 -03:00
igorrCarvalho
7cead25c8b
Remove console.log
2023-09-21 19:07:50 -03:00
igorrCarvalho
2c2197ecad
Refactor: Make minimize button show up in the More button popup
2023-09-21 19:06:30 -03:00
igorrCarvalho
b7b7a93cdd
formated code
2023-09-21 15:20:36 -03:00
igorrCarvalho
e4ba7364bb
merge dev into feat-more
2023-09-21 15:17:08 -03:00
Cristhian Zanforlin Lousa
610e94759a
🐛 fix(api.tsx): update Authorization header to use access_token from cookies instead of accessToken variable to fix authentication issue
2023-09-21 11:50:01 -03:00
anovazzi1
8f01f5c838
chore(example.spec.ts): remove example.spec.ts test file
...
The example.spec.ts test file was removed as it is no longer needed.
2023-09-21 11:02:37 -03:00
igorrCarvalho
3cbe046e08
Refactor: Disable signUp button when form is invalid
2023-09-21 10:54:20 -03:00
Gabriel Luiz Freitas Almeida
c10b9927e1
Release 0.4.21 ( #950 )
2023-09-21 10:05:31 -03:00
Gabriel Luiz Freitas Almeida
1bb9b1c363
Bump version to 0.4.21 ( #949 )
2023-09-21 10:02:40 -03:00
Gabriel Luiz Freitas Almeida
f6ea541477
🔧 chore(Makefile): update mypy command to exclude .venv folder and only check files in ./src/backend/langflow directory
2023-09-21 10:01:37 -03:00
Gabriel Luiz Freitas Almeida
81e8a0dcc6
📦 chore(pyproject.toml): update langchain dependency to version 0.0.271 for improved functionality
...
🐛 fix(test_llms_template.py): update description of model["description"] to match the correct format
2023-09-21 09:59:53 -03:00
Gabriel Luiz Freitas Almeida
9920bfd7e0
🔧 chore(langfuse.py): add support for configurable Langfuse host to improve flexibility and maintainability ( #948 )
...
Closes #947
2023-09-21 06:42:50 -03:00
Gabriel Luiz Freitas Almeida
1ebf4e5b24
🔧 chore(langfuse.py): add support for configurable Langfuse host to improve flexibility and maintainability
2023-09-21 06:41:23 -03:00
Gabriel Luiz Freitas Almeida
4c6cd57a1f
fix(util.py): fix IndentationError while parsing from source code. ( #944 )
2023-09-21 06:28:49 -03:00
anovazzi1
8a416c235b
Expand floatComponent Input Range ( #889 )
...
As detailed in OpenAI's documentation and GitHub issue #884 , two float
fields in OpenAI have a range of -2 to 2.
For reference, visit:
Presence Penalty:
https://platform.openai.com/docs/api-reference/chat/create#presence_penalty
Frequency Penalty:
https://platform.openai.com/docs/api-reference/chat/create#frequency_penalty
Currently, FloatComponent only accepts values within [0-1]. This pull
request expands its range to [-2 to 2].
2023-09-20 23:14:30 -03:00
anovazzi1
0fe70a8347
Front tests ( #945 )
...
finish tests for login
2023-09-20 22:59:00 -03:00
anovazzi1
55b71605ea
login tests finished
2023-09-20 22:57:37 -03:00
anovazzi1
21605d09ba
test(login.spec.ts): add test case to check if clicking on "Community Examples" button displays the community pages flows panel
2023-09-20 20:49:07 -03:00
anovazzi1
c6f6d69164
fix(login.spec.ts): update test description to be more specific and descriptive
...
feat(login.spec.ts): add test case for successful login with mocked API response
2023-09-20 20:48:14 -03:00
anovazzi1
b2f14793e3
migrate progress and install playwrite
2023-09-20 19:53:25 -03:00
Gabriel Luiz Freitas Almeida
4aaeda8aa8
🔥 refactor(main.py): remove unused import and initialize_database function call to improve code cleanliness and remove unnecessary database initialization
...
🔥 refactor(main.py): remove initialize_database function call from app startup event to improve code cleanliness and remove unnecessary database initialization
🔥 refactor(base.py): remove unused teardown method and add set_ready method to improve code cleanliness and provide a way to set service readiness
2023-09-20 18:44:39 -03:00
Gabriel Luiz Freitas Almeida
f5c20ac166
🐛 fix(manager.py): call set_ready() method on the created service to indicate it is ready
...
🐛 fix(auth.py): validate superuser and superuser_password fields if AUTO_LOGIN is true
✨ feat(utils.py): add initialize_database() function to initialize the database connection
✨ feat(utils.py): call initialize_database() before setting up the superuser if the database manager is ready
2023-09-20 18:42:52 -03:00
Gabriel Luiz Freitas Almeida
4bfbb8d3aa
🔧 fix(conftest.py): remove unused imports and commented out code to improve code readability and maintainability
...
✨ feat(conftest.py): add support for LANGFLOW_AUTO_LOGIN environment variable to enable auto login during testing
2023-09-20 18:42:18 -03:00
Gabriel Luiz Freitas Almeida
2db9fa8ce8
🔧 chore(Makefile): add install_backend target to tests target to ensure backend dependencies are installed before running tests
2023-09-20 18:41:41 -03:00
Gabriel Luiz Freitas Almeida
20e14d49b4
🐛 fix(test_database.py): remove unused imports to improve code readability
...
✨ feat(test_database.py): add support for session management using session_getter to improve code organization and maintainability
🐛 fix(test_endpoints.py): remove unused imports to improve code readability
✨ feat(test_endpoints.py): add support for session management using session_getter to improve code organization and maintainability
🐛 fix(test_login.py): remove unused imports to improve code readability
✨ feat(test_login.py): add support for session management using session_getter to improve code organization and maintainability
2023-09-20 18:40:19 -03:00
Gabriel Luiz Freitas Almeida
b441d42559
🐛 fix(test_setup_superuser.py): fix test_setup_superuser to correctly assert the number of calls to mock_create_super_user
...
✨ feat(test_setup_superuser.py): add support for testing the creation of superuser with different credentials
2023-09-20 18:36:12 -03:00
Gabriel Luiz Freitas Almeida
b4f48f1ad9
🔧 fix(test_user.py): update imports to match changes in project structure
...
🔧 fix(test_user.py): update fixtures to use session_getter and get_db_manager functions for session management
✨ feat(test_user.py): add support for creating and managing database sessions using session_getter and get_db_manager functions
🔧 fix(test_user.py): update test_user_waiting_for_approval function to use session_getter and get_db_manager functions for session management
🔧 fix(test_user.py): update test_data_consistency_after_delete function to use session_getter and get_db_manager functions for session management
🔧 fix(test_user.py): update test_inactive_user function to use session_getter and get_db_manager functions for session management
2023-09-20 18:35:38 -03:00
anovazzi1
2459833b87
Feat: Introducing Node Minimization Feature ( #906 )
...
This pull request introduces a new feature that enhances the usability
and organization of our application's flow. We've added a convenient
"Minimize Node" button, empowering users to declutter their workspace
with a single click. This feature allows users to focus on the most
relevant nodes, resulting in a more efficient and visually pleasing
workflow.
2023-09-20 18:21:37 -03:00
anovazzi1
238dbf1b5f
format code
2023-09-20 18:20:43 -03:00
anovazzi1
82a6ad8d87
set auto_login to false to keep develop with login
2023-09-20 18:20:22 -03:00
Gabriel Luiz Freitas Almeida
7733904378
Merge remote-tracking branch 'origin/dev' into add_cli_options_superuser
2023-09-20 16:16:52 -03:00
Gabriel Luiz Freitas Almeida
aa4eca7ef1
🔧 chore(utils.py): remove redundant setup_superuser() call in initialize_session_manager() function
...
🔧 chore(utils.py): move setup_superuser() call to initialize_services() function for better organization and readability
2023-09-20 14:56:09 -03:00
Tiago Santos
8a0630652f
fix(util.py): fix IndentationError while parsing from source code.
2023-09-20 18:41:45 +01:00
Gabriel Luiz Freitas Almeida
82469752f8
🔧 fix(tests/conftest.py): remove unused imports and commented out code
...
🔧 fix(tests/conftest.py): remove unused fixture 'client'
🔧 fix(tests/conftest.py): remove unused import of 'langflow.main.create_app'
🔧 fix(tests/conftest.py): remove unused fixture 'client_fixture'
🔧 fix(tests/conftest.py): remove unused import of 'langflow.services.database.manager.DatabaseManager'
🔧 fix(tests/conftest.py): remove unused import of 'typer.testing.CliRunner'
🔧 fix(tests/conftest.py): remove unused import of 'sqlmodel.SQLModel'
🔧 fix(tests/conftest.py): remove unused import of 'sqlmodel.Session'
🔧 fix(tests/conftest.py): remove unused import of 'sqlmodel.create_engine'
🔧 fix(tests/conftest.py): remove unused import of 'sqlmodel.pool.StaticPool'
🔧 fix(tests/conftest.py): remove unused import of 'tempfile'
🔧 fix(tests/conftest.py): remove unused import of 'Path'
🔧 fix(tests/conftest.py): remove unused import of 'contextmanager'
🔧 fix(tests/test_custom_component.py): remove unused argument 'session_getter' from test functions
🔧 fix(tests/test_custom_component.py): remove unused import of 'db'
🔧 fix(tests/test_custom_component.py): remove unused import of 'Flow'
🔧 fix(tests/test_setup_superuser.py): remove unused import of 'DEFAULT_SUPERUSER_PASSWORD'
🔧 fix(tests/test_setup_superuser.py): remove unused import of 'Mock'
🔧 fix(tests/test_setup_superuser.py): remove unused import of 'User'
🔧 fix(tests/test_setup_superuser.py): remove unused import of 'reset_mock_credentials'
🔧 fix(tests/test_setup_superuser.py): remove unused import of 'mock_create_super_user'
🔧 fix(tests/test_setup_superuser.py): remove unused import of 'setup_superuser'
🔧 fix(tests/test_setup_superuser.py): remove unused import of 'mock_user'
🔧 fix(tests/test_setup_superuser.py): remove unused import of 'mock_get_session'
🔧 fix(tests/test_setup_superuser.py): remove unused import of 'mock_get_settings_manager'
2023-09-20 14:32:14 -03:00
Gabriel Luiz Freitas Almeida
916dd457e9
⬆️ chore(pyproject.toml): add pytest-sugar as a development dependency to improve test reporting
2023-09-20 14:31:39 -03:00
Cristhian Zanforlin Lousa
e8524ea090
🐛 fix(extraSidebarComponent): update condition in useEffect to include search variable to properly reset filter data and edge when search is empty
2023-09-19 16:27:50 -03:00
Gabriel Luiz Freitas Almeida
f081a0079c
Merge remote-tracking branch 'origin/main' into dev
2023-09-19 16:07:39 -03:00
Gabriel Luiz Freitas Almeida
f8b4116b6d
🔖 chore(pyproject.toml): update package version from 0.5.0a0 to 0.5.0a1 for development purposes ( #937 )
2023-09-19 15:34:02 -03:00
Gabriel Luiz Freitas Almeida
2d9116b388
🔖 chore(pyproject.toml): update package version from 0.5.0a0 to 0.5.0a1 for development purposes
2023-09-19 15:33:05 -03:00