Commit graph

  • e210fc316a 🐛 fix(__main__.py): import and call initialize_settings_manager() to ensure settings manager is initialized ✨ feat(manager.py): add check to prevent duplicate registration of service factories in ServiceManager class ✨ feat(manager.py): add initialize_settings_manager() function to initialize the settings manager Gabriel Luiz Freitas Almeida 2023-08-17 08:23:50 -03:00
  • 72042b315f add poetry to devcontainer hsm207 2023-08-17 11:02:42 +00:00
  • 45c7656e57 Merge remote-tracking branch 'origin/main' into celery Gabriel Luiz Freitas Almeida 2023-08-16 22:56:34 -03:00
  • e77ce91f24 Merge remote-tracking branch 'origin/release' into celery Gabriel Luiz Freitas Almeida 2023-08-16 22:56:26 -03:00
  • cf96523dc3 📦 feat(pyproject.toml): add locust package as a dependency to enable load testing capabilities Gabriel Luiz Freitas Almeida 2023-08-16 22:50:34 -03:00
  • d39dd5fc4a 🐛 fix(test_cache.py): import correct compute_dict_hash function from langflow.services.cache.utils module 🐛 fix(test_cache.py): fix clear_cache function call by passing session_id parameter 🐛 fix(test_cache_manager.py): import CacheManager from langflow.services.chat.cache module instead of langflow.services.cache.manager 🐛 fix(test_cli.py): convert temp_dir to string before checking if it is in COMPONENTS_PATH 🐛 fix(test_process.py): fix clear_cache function call by passing session_id parameter Gabriel Luiz Freitas Almeida 2023-08-16 22:38:18 -03:00
  • ce8fc2739d 🔧 chore(run.py): replace deprecated memoize_dict decorator with Memoize class to improve code maintainability and readability 🔧 chore(process.py): replace deprecated build_sorted_vertices_with_caching.hash with build_sorted_vertices_with_caching.session_id to fix incorrect session_id assignment 🔧 chore(utils.py): add get_cache_manager function to retrieve the cache manager from the service manager Gabriel Luiz Freitas Almeida 2023-08-16 22:36:34 -03:00
  • eb17233cde Merge remote-tracking branch 'origin/dev' into celery Gabriel Luiz Freitas Almeida 2023-08-16 21:49:42 -03:00
  • 500b6d533c Merge remote-tracking branch 'origin/dev' into celery Gabriel Luiz Freitas Almeida 2023-08-16 21:47:57 -03:00
  • 489075da17
    Add_session_id (#779) Gabriel Luiz Freitas Almeida 2023-08-17 00:45:43 +00:00
  • 2f95e13026 ⬆️ chore(pyproject.toml): update types-python-jose and types-passlib versions to their latest versions for compatibility and bug fixes Gabriel Luiz Freitas Almeida 2023-08-16 21:44:09 -03:00
  • 87958c255e 🐛 fix(endpoints.py): change type annotation of session_id parameter in process_flow function to Union[None, str] to allow for None value 🐛 fix(schemas.py): change type annotation of session_id field in ProcessResponse schema to Optional[str] to allow for None value 🐛 fix(run.py): change return type annotation of build_sorted_vertices_with_caching function to Tuple[Any, Dict] to specify the return types 🐛 fix(process.py): change return type annotation of load_langchain_object function to Tuple[Union[Chain, VectorStore], Dict[str, Any], str] to include the session_id value in the return tuple Gabriel Luiz Freitas Almeida 2023-08-16 21:43:35 -03:00
  • 8ff739a288 🚀 feat(test_process.py): add tests for loading langchain object with and without cached session Gabriel Luiz Freitas Almeida 2023-08-16 21:30:07 -03:00
  • 199ea3b1b8 🔧 fix(process.py): refactor process_graph_cached function for better readability and maintainability ✨ feat(process.py): add clear_caches_if_needed function to clear cache if clear_cache flag is set ✨ feat(process.py): add load_langchain_object function to load langchain_object and artifacts from data_graph ✨ feat(process.py): add process_inputs function to process inputs and add artifacts to inputs ✨ feat(process.py): add generate_result function to generate result and thought based on langchain_object and inputs Gabriel Luiz Freitas Almeida 2023-08-16 21:29:17 -03:00
  • 2f928c7d84 Merge remote-tracking branch 'origin/dev' into add_session_id Gabriel Luiz Freitas Almeida 2023-08-16 19:31:29 -03:00
  • be4f949e70 📦 chore(deploy): add .gitignore file to ignore 'pgadmin' directory in the deploy folder Gabriel Luiz Freitas Almeida 2023-08-16 19:27:26 -03:00
  • 97ad9889be Merge remote-tracking branch 'origin/dev' into celery Gabriel Luiz Freitas Almeida 2023-08-16 19:26:06 -03:00
  • 479db46fcf
    Changes default database_url to a cache folder (#771) Gabriel Luiz Freitas Almeida 2023-08-16 22:22:53 +00:00
  • 7539ba3166 Merge remote-tracking branch 'origin/dev' into fix_db_location Gabriel Luiz Freitas Almeida 2023-08-16 19:21:47 -03:00
  • c2cfcafc17 🐛 fix(Dockerfile): change order of COPY commands to improve build caching and efficiency 🐛 fix(exportModal/index.tsx): add state for invalidName to handle validation of name field Gabriel Luiz Freitas Almeida 2023-08-16 19:20:24 -03:00
  • 96330d6064 Merge branch 'login-auth' of https://github.com/logspace-ai/langflow into login-auth Cristhian Zanforlin Lousa 2023-08-16 18:41:46 -03:00
  • ad8cbddd91 📦 chore(frontend): add moment package as a dependency to handle date and time formatting Cristhian Zanforlin Lousa 2023-08-16 18:41:40 -03:00
  • 2a4668d90d
    Types refactor (#659) anovazzi1 2023-08-16 18:39:05 -03:00
  • 7c4fbffeb1 Merge remote-tracking branch 'origin/dev' into types_refactor anovazzi1 2023-08-16 18:33:39 -03:00
  • 4b64d38d68 fix(inputComponent): fix TypeScript error by adding non-null assertion to className variable fix(authContext): fix TypeScript error by setting initial value of userData to null fix(tsconfig.json): enable strict mode in TypeScript compiler for better type checking and error detection anovazzi1 2023-08-16 18:29:47 -03:00
  • 46aa816ba9 run npm install anovazzi1 2023-08-16 18:22:42 -03:00
  • 6671a6c369 Resolve merge conflict igorrCarvalho 2023-08-16 18:21:53 -03:00
  • e33e236466 Merge branch 'login' into types_refactor anovazzi1 2023-08-16 18:19:36 -03:00
  • 1ad78dca1f Feat: add user on signUp button form igorrCarvalho 2023-08-16 18:14:49 -03:00
  • 545a099339 removed strict and implicity any from tsconfig anovazzi1 2023-08-16 18:13:53 -03:00
  • c5850977a7 fix(utils.ts): add TemplateVariableType import to fix type error in checkBaseClass function chore(tsconfig.json): set strict to false and noImplicitAny to true to relax strict type checking and enforce explicit typing anovazzi1 2023-08-16 18:00:37 -03:00
  • 57f580c93d refactor(utils.ts): simplify logic for getting chat input field anovazzi1 2023-08-16 17:52:08 -03:00
  • af218867eb fix(formModal): fix nullish coalescing operator usage to handle nullable properties in tabsStateFlowId.formKeysData anovazzi1 2023-08-16 17:49:03 -03:00
  • 9b0ff166c9 fix(ApiModal): fix null assertion on tabs array fix(ApiModal): fix strict mode in tsconfig.json to enable strict type checking anovazzi1 2023-08-16 17:45:12 -03:00
  • 826c62c6fc
    update make file to prevent binding bug on make frontend (#694) anovazzi1 2023-08-16 17:40:35 -03:00
  • aa44125953
    v0.4.11 (#777) anovazzi1 2023-08-16 17:32:38 -03:00
  • 16fa3a66b8 chore(Makefile): simplify install_frontend target by removing unnecessary conditional statement feat(Makefile): add install_frontendc target to install frontend dependencies using npm ci for clean installs feat(Makefile): add frontendc target to install frontend dependencies using npm ci and run frontend chore(ApiModal/index.tsx): reformat codesArray for better readability anovazzi1 2023-08-16 17:28:35 -03:00
  • 9096fcd110 chore(Makefile): modify install_frontend target to conditionally run npm ci or npm install based on the value of the clean variable anovazzi1 2023-08-16 17:23:24 -03:00
  • 98a24d331c 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key.py): remove unnecessary empty line 🔧 fix(api_key gustavoschaedler 2023-08-16 21:00:39 +01:00
  • 37cdd41ec9 merge authentication Cristhian Zanforlin Lousa 2023-08-16 16:39:51 -03:00
  • 262ca85dbc merge conflicts Cristhian Zanforlin Lousa 2023-08-16 16:38:48 -03:00
  • ba48bbe770 🐛 fix(App.tsx): remove unnecessary code block in useEffect 🔧 chore(constants.ts): add CONTROL_NEW_API_KEY constant for consistency ✨ feat(SecretKeyModal): add SecretKeyModal component to handle secret key generation and copying 🔧 chore(UserManagementModal): rearrange buttons in UserManagementModal for better user experience Cristhian Zanforlin Lousa 2023-08-16 16:38:13 -03:00
  • a93f44d054 fix: login form submit when changing password visibility igorrCarvalho 2023-08-16 16:25:09 -03:00
  • 4eeb9449cb 🔧 fix(main.py): reformat import statements to improve readability and maintainability ✨ feat(main.py): add support for API key routes to enable API key management functionality 📝 docs(api_key.py): add API key routes for retrieving, creating, and deleting API keys gustavoschaedler 2023-08-16 20:20:18 +01:00
  • 5202e1348a feat[headerComponent]: Add api icon on header igorrCarvalho 2023-08-16 16:15:43 -03:00
  • 2be7a88687
    Release conflicts (#778) anovazzi1 2023-08-16 15:52:58 -03:00
  • 83ad6b6986 chore(pyproject.toml): update package version from 0.4.10 to 0.4.11 to reflect changes in the codebase anovazzi1 2023-08-16 15:47:20 -03:00
  • d4beb3133c Merge remote-tracking branch 'origin/release' into celery Gabriel Luiz Freitas Almeida 2023-08-16 15:44:27 -03:00
  • 9b1295942c Merge remote-tracking branch 'origin/main' into release anovazzi1 2023-08-16 15:44:26 -03:00
  • c93390c0e9 🐳 chore(docker-compose.celery.yml): add PostgreSQL and pgAdmin services to support database operations Gabriel Luiz Freitas Almeida 2023-08-16 15:42:10 -03:00
  • e1872b8213 🔒 chore(poetry.lock): update cohere package version to 4.20.1 🔒 chore(poetry.lock): update exceptiongroup package version to 1.1.3 🔒 chore(poetry.lock): update google-api-python-client package version to 2.97.0 🔒 chore(poetry.lock): update pandas-stubs package version to 2.0.3.230814 🔒 chore(poetry.lock): update setuptools package version to 68.1.0 🔒 chore(poetry.lock): update tenacity package version to 8.2.3 🔒 chore(poetry.lock): update textual package version to 0.33.0 Gabriel Luiz Freitas Almeida 2023-08-16 15:41:55 -03:00
  • 40321f4be7 🐛 fix(frontend): update Dockerfile to use node:20-alpine as base image for frontend build ✨ feat(frontend): add support for BACKEND_URL environment variable in nginx.conf to configure backend URL 📝 chore(frontend): add start-nginx.sh script to replace placeholder in nginx.conf with actual BACKEND_URL and start nginx Gabriel Luiz Freitas Almeida 2023-08-16 15:41:09 -03:00
  • c2ec95fbb7 🐛 fix(base.Dockerfile): change --with deploy to --extras deploy in poetry install command to correctly install deploy extras Gabriel Luiz Freitas Almeida 2023-08-16 15:40:54 -03:00
  • 49729263ef 🐛 fix(manager.py): fix incorrect assignment of langchain_object.result to result_dict["result"] to store the entire langchain_object instead Gabriel Luiz Freitas Almeida 2023-08-16 15:40:14 -03:00
  • 284158b33b 📦 chore(deploy_langflow_gcp.sh): add script to deploy Langflow on Google Cloud Platform Gabriel Luiz Freitas Almeida 2023-08-16 15:39:08 -03:00
  • 6b0383be50 📦 chore(deploy): add deployment files and configurations for Docker Compose setup Gabriel Luiz Freitas Almeida 2023-08-16 15:38:43 -03:00
  • 5fde616f9b
    Added spinning wheel when /all is loading (#757) anovazzi1 2023-08-16 15:34:07 -03:00
  • 0b8d91f116 Merge branch 'release' into bug/loadingIndicator anovazzi1 2023-08-16 15:26:15 -03:00
  • ed6ae4b380 Merge branch 'login-auth' of github.com:logspace-ai/langflow into login-auth igorrCarvalho 2023-08-16 15:24:01 -03:00
  • 634a5591cc feat: Add admin page button and refactor protected route /admin igorrCarvalho 2023-08-16 15:23:22 -03:00
  • 408ef81a5b chore(constants.ts): add missing newline at the end of the file feat(tabsContext.tsx): add support for skipping node updates based on node type defined in the skipNodeUpdate constant to improve performance and prevent unnecessary updates anovazzi1 2023-08-09 20:46:50 -03:00
  • ca52a61012 Merge branch 'login-auth' of https://github.com/logspace-ai/langflow into login-auth Cristhian Zanforlin Lousa 2023-08-16 08:38:56 -03:00
  • d320ddd30a 🐛 fix(App.tsx): add autoLogin function to handle automatic login on page refresh 🐛 fix(authLoginGuard/index.tsx): change condition to check autoLogin flag instead of LOCALHOST_JWT flag 🐛 fix(headerComponent/index.tsx): change condition to check autoLogin flag instead of LOCALHOST_JWT flag 🐛 fix(constants.ts): remove unused LOCALHOST_JWT variable ✨ feat(authContext.tsx): add autoLogin and setAutoLogin functions to AuthContext 🐛 fix(API/api.tsx): add auto_login endpoint to the list of excluded endpoints from Authorization header ✨ feat(API/index.ts): add autoLogin function to handle automatic login 🐛 fix(AdminPage/index.tsx): change handleDisableUser function parameter from user.is_superuser to user.is_active 🐛 fix(types/contexts/auth.ts): add autoLogin and setAutoLogin to AuthContextType Cristhian Zanforlin Lousa 2023-08-16 08:38:49 -03:00
  • 91fcf33506 🐛 fix(auth.py): import get_session from correct module to fix import error ✨ feat(auth.py): add support for creating user API key and getting user ID from token 🐛 fix(base.py): fix typo in API_KEY_SECRET_KEY variable name 🐛 fix(base.py): fix typo in FIRST_SUPERUSER and FIRST_SUPERUSER_PASSWORD variable names 🐛 fix(base.py): fix indentation in load_settings_from_yaml function gustavoschaedler 2023-08-15 23:47:50 +01:00
  • aae6223593 code format anovazzi1 2023-08-15 19:43:43 -03:00
  • ec79cc43bd Merge remote-tracking branch 'origin/dev' into types_refactor anovazzi1 2023-08-15 19:34:53 -03:00
  • 85add46761 feat(AdminPage): add support for UserInputType in handleNewUser function to improve type safety and prevent potential errors fix(UserInputType): make is_active and is_superuser optional in UserInputType to allow for flexibility in user input anovazzi1 2023-08-15 18:04:10 -03:00
  • 19c1eb6cf6 🐛 fix(auth.py): change create_user_longterm_token to use create_super_user to ensure super user exists before creating token ✨ feat(auth.py): add create_super_user function to create super user if it doesn't exist 🐛 fix(login.py): remove hardcoded user_id and use create_user_longterm_token without arguments 🐛 fix(users.py): remove redundant password hashing in add_super_user_for_testing_purposes_delete_me_before_merge_into_dev 🐛 fix(base.py): change AUTO_LOGIN default value to False and add FIRST_SUPERUSER and FIRST_SUPERUSER_PASSWORD settings gustavoschaedler 2023-08-15 20:32:53 +01:00
  • 95f7a42569 formatting and merging Cristhian Zanforlin Lousa 2023-08-15 17:07:10 -03:00
  • 0383bc18ad 🐛 fix(App.tsx): import 'useNavigate' from 'react-router-dom' to fix compilation error ✨ feat(App.tsx): add support for process.env.PORT environment variable to be able to run app on a configurable port 🐛 fix(App.tsx): change 'port' variable case from lowercase to uppercase to improve semantics 🐛 fix(App.tsx): fix typo in import statement for 'getLoggedUser' function 🐛 fix(App.tsx): add missing import statement for 'LoginType' type 🐛 fix(App.tsx): add missing import statement for 'LOCALHOST_JWT' constant 🐛 fix(App.tsx): add missing import statement for 'onLogin' function 🐛 fix(App.tsx): add missing import statement for 'setUserData' function 🐛 fix(App.tsx): add missing import statement for 'setErrorData' function 🐛 fix(App.tsx): add missing import statement for 'getUser' function ✨ feat(App.tsx): add logic to automatically log in user on localhost with predefined credentials 🐛 fix(PaginatorComponent/index.tsx): calculate 'maxIndex' based on 'totalRowsCount' and 'pageSize' to fix pagination bug 🐛 fix(PaginatorComponent/index.tsx): update 'currentPage' state when changing pages to fix display bug 🐛 fix(PaginatorComponent/index.tsx): update 'currentPage' state when changing pages to fix display bug 🐛 fix(PaginatorComponent/index.tsx): update 'currentPage' state when changing pages to fix display bug 🐛 fix(PaginatorComponent/index.tsx): update 'currentPage' state when changing pages to fix display bug 🐛 fix(PaginatorComponent/index.tsx): update 'currentPage' state when changing pages to fix display bug 🐛 fix(PaginatorComponent/index.tsx): update 'currentPage' state when changing pages to fix display bug 🐛 fix(PaginatorComponent/index.tsx): update 'currentPage' state when changing pages to fix display bug 🐛 fix(PaginatorComponent/index.tsx): update 'currentPage' state when changing pages to fix display bug 🐛 fix(PaginatorComponent/index.tsx): update 'currentPage' state when changing pages to fix display bug 🐛 fix(PaginatorComponent/index.tsx): update 'currentPage' state when changing pages to fix display bug 🐛 fix(PaginatorComponent/index.tsx): update 'currentPage' state when changing pages to fix display bug 🐛 fix(PaginatorComponent/index.tsx): update 'currentPage' state when changing pages to fix display bug 🐛 fix(PaginatorComponent/index.tsx): update 'currentPage' state when changing pages to fix display bug 🐛 fix(PaginatorComponent/index.tsx): update 'currentPage' state when changing pages to fix display bug 🐛 fix(PaginatorComponent/index.tsx): update 'currentPage' state when changing pages to fix display bug 🐛 fix(PaginatorComponent/index.tsx): update 'currentPage' state when changing pages to fix display bug 🐛 fix(PaginatorComponent/index.tsx): update 'currentPage' state when changing pages to fix display bug 🐛 fix(PaginatorComponent/index.tsx): update 'currentPage' state when changing pages to fix display bug 🐛 fix(PaginatorComponent/index.tsx): update 'currentPage' state when changing pages to fix display bug 🐛 fix(PaginatorComponent/index.tsx): update 'currentPage' state when changing pages to fix display bug 🐛 fix(PaginatorComponent/index.tsx): update 'currentPage' state when changing pages to fix display bug 🐛 fix(PaginatorComponent/index.tsx): update 'currentPage' state when changing pages to fix display bug 🐛 fix(PaginatorComponent/index.tsx): update Cristhian Zanforlin Lousa 2023-08-15 17:03:14 -03:00
  • effbddbcb0 🐛 fix(base.py): set AUTO_LOGIN to True to enable automatic login as a super user 🔧 chore(base.py): improve readability by formatting logger.debug statements gustavoschaedler 2023-08-15 20:56:10 +01:00
  • 5e715af875 🔧 fix(ApiModal/index.tsx): fix formatting of codesArray to improve readability 🔧 fix(formModal/index.tsx): fix formatting of getWebSocketUrl function to improve readability 🔧 fix(vite.config.ts): fix formatting of comment to improve readability Gabriel Luiz Freitas Almeida 2023-08-15 16:46:53 -03:00
  • 69d03f64b1 🔧 fix(base.py): remove redundant imports and nested class declaration ✨ feat(base.py): add validation logic to set the DATABASE_URL value based on environment variables and file paths Gabriel Luiz Freitas Almeida 2023-08-15 16:37:21 -03:00
  • 6e3a6ce8c3 🐛 fix(base.py): set CONFIG_DIR to default value if not provided to improve functionality ✨ feat(base.py): add support for setting CONFIG_DIR to a cache directory if not provided to improve file management 🐛 fix(base.py): set DATABASE_URL to default value if not provided to improve functionality ✨ feat(base.py): add support for setting DATABASE_URL to LANGFLOW_DATABASE_URL environment variable if not provided to improve configurability 🐛 fix(base.py): raise ValueError if CONFIG_DIR is not set when using sqlite database to improve error handling ✨ feat(base.py): add support for copying existing sqlite database to new location if CONFIG_DIR is set to improve migration process Gabriel Luiz Freitas Almeida 2023-08-15 16:33:47 -03:00
  • 3cd8aff96e 🐛 fix(auth.py): change create_user_longterm_token to use create_super_user to ensure super user exists before creating token ✨ feat(auth.py): add create_super_user function to create super user if it doesn't exist 🐛 fix(login.py): remove hardcoded user_id and use create_user_longterm_token without arguments 🐛 fix(users.py): remove redundant password hashing in add_super_user_for_testing_purposes_delete_me_before_merge_into_dev 🐛 fix(base.py): change AUTO_LOGIN default value to False and add FIRST_SUPERUSER and FIRST_SUPERUSER_PASSWORD settings gustavoschaedler 2023-08-15 20:32:53 +01:00
  • 56f8aca796 format code anovazzi1 2023-08-15 16:16:40 -03:00
  • 42c0ef8569 Merge branch 'authentication' into login-auth anovazzi1 2023-08-15 16:13:25 -03:00
  • 8f82367300 refactor(modals/UserManagementModal): move import statement for InputComponent to the top for better organization and readability anovazzi1 2023-08-15 16:05:08 -03:00
  • 015064b453 Merge branch 'authentication' into login anovazzi1 2023-08-15 16:03:42 -03:00
  • 4a7ccda51c Merge branch 'login' of personal:logspace-ai/langflow into login anovazzi1 2023-08-15 16:01:08 -03:00
  • 695a337c6c 🔧 fix(auth.py): move SECRET_KEY, ALGORITHM, ACCESS_TOKEN_EXPIRE_MINUTES, and REFRESH_TOKEN_EXPIRE_MINUTES to environment variables for better security and configurability ✨ feat(auth.py): add support for loading settings from environment variables in create_token and create_user_tokens functions 🔧 fix(auth.py): use settings_manager to access SECRET_KEY, ALGORITHM, ACCESS_TOKEN_EXPIRE_MINUTES, and REFRESH_TOKEN_EXPIRE_MINUTES in create_token and create_user_tokens functions 🔧 fix(auth.py): use settings_manager to access SECRET_KEY and ALGORITHM in get_current_user function ✨ feat(auth.py): add create_user_longterm_token function to create long-term access token for auto login ✨ feat(login.py): add auto_login endpoint to automatically log in as a super user if AUTO_LOGIN is enabled in the settings 🔧 fix(settings/base.py): add SECRET_KEY, ALGORITHM, ACCESS_TOKEN_EXPIRE_MINUTES, REFRESH_TOKEN_EXPIRE_MINUTES, and AUTO_LOGIN settings to the base settings class ✨ feat(settings/base.py): add AUTO_LOGIN setting to control whether auto login is enabled or not 🔧 fix(settings/base.py): use secrets.token_hex(32) to generate a random SECRET_KEY instead of hardcoding it 🔧 fix(settings/base.py): update comments and formatting in the base settings class ✨ feat(settings/base.py): add AUTO_LOGIN setting to control whether auto login is enabled or not 🔧 fix(settings/base.py): update comments and formatting in the base settings class 🔧 fix(settings/base.py): update comments and formatting in the base settings class 🔧 fix(settings/base.py): update comments and formatting in the base settings class 🔧 fix(settings/base.py): update comments and formatting in the base settings class 🔧 fix(settings/base.py): update comments and formatting in the base settings class 🔧 fix(settings/base.py): update comments and formatting in the base settings class 🔧 fix(settings/base.py): update comments and formatting in the base settings class 🔧 fix(settings/base.py): update comments and formatting in the base settings class 🔧 fix(settings/base.py): update comments and formatting in the base settings class 🔧 fix(settings/base.py): update comments and formatting in the base settings class 🔧 fix(settings/base.py): update comments and formatting in the base settings gustavoschaedler 2023-08-15 20:00:02 +01:00
  • a7ed611a15 Merge branch 'dev' into updateMakefile anovazzi1 2023-08-15 15:59:57 -03:00
  • 021380b6f3 format code anovazzi1 2023-08-15 15:40:50 -03:00
  • b528ae86fd chore(Makefile): change npm install command to npm ci for frontend installation to ensure reproducible builds anovazzi1 2023-08-15 15:39:33 -03:00
  • 993cea0c0b Merge branch 'dev' into updateMakefile anovazzi1 2023-08-15 15:01:45 -03:00
  • 6a974a4efd 🔧 chore(settings.py): add LANGFUSE_HOST environment variable to store the host URL for Langfuse API Gabriel Luiz Freitas Almeida 2023-08-15 14:55:34 -03:00
  • 73f02439b0 🔧 chore(base.py): add debug log messages for langfuse callback initialization and credentials check 🔧 chore(base.py): add debug log message for langfuse callback loaded Gabriel Luiz Freitas Almeida 2023-08-15 14:54:38 -03:00
  • 5756f46e81
    Added view option to LangFlow (#770) Lucas Oliveira 2023-08-15 14:07:40 -03:00
  • 1e0f4f316f
    Merge branch 'main' into release Gabriel Luiz Freitas Almeida 2023-08-15 15:50:42 +00:00
  • 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 gustavoschaedler 2023-08-15 16:50:40 +01:00
  • cef9fa4dd0 🔖 chore(pyproject.toml): update package version from 0.4.9 to 0.4.10 for maintenance purposes Gabriel Luiz Freitas Almeida 2023-08-15 12:48:50 -03:00
  • 6fe486b164 🔧 chore(base.py): refactor setup_callbacks function to improve readability and maintainability 🔧 chore(base.py): refactor get_langfuse_callback function to improve readability and maintainability 🔧 chore(base.py): refactor get_result_and_steps function to improve readability and maintainability 🔧 chore(settings.py): add LANGFUSE_SECRET_KEY and LANGFUSE_PUBLIC_KEY optional settings Gabriel Luiz Freitas Almeida 2023-08-15 12:46:54 -03:00
  • 2b21db32b5
    Feature/view mode (#769) Lucas Oliveira 2023-08-15 12:43:29 -03:00
  • 685ac70e90 disabled ZoomOnDoubleClick Lucas Oliveira 2023-08-15 12:31:17 -03:00
  • fe7239b577 Disabled Pan On Pinch Lucas Oliveira 2023-08-15 12:30:39 -03:00
  • 8529c379e1 Disabled zoom and pan when on view mode Lucas Oliveira 2023-08-15 12:29:19 -03:00
  • 2d2641c285 🔧 chore(pyproject.toml): add langfuse dependency to improve language processing capabilities Gabriel Luiz Freitas Almeida 2023-08-15 12:28:37 -03:00
  • 3667f4812e Fixed bug: flow not showing Lucas Oliveira 2023-08-15 12:21:20 -03:00
  • 81dba95720 Added view option to LangFlow Lucas Oliveira 2023-08-15 12:16:32 -03:00
  • ea3aef363c
    Fixes Duplicated CustomComponents, CTRL+Backspace and other fixes (#767) Gabriel Luiz Freitas Almeida 2023-08-15 13:16:34 +00:00