Commit graph

  • 5a490154e3
    Merge branch 'main' into release Gabriel Luiz Freitas Almeida 2023-08-15 13:16:00 +00:00
  • 4c1b342a43 feat: Add documentation for various tools Rodrigo Nader 2023-08-13 20:14:02 -03:00
  • 5140ae605d
    CtrlBackspace fixed on Macbook (#765) Gabriel Luiz Freitas Almeida 2023-08-15 13:09:11 +00:00
  • 73c73dbcdd
    Fix Duplicated CustomComponents (#766) Gabriel Luiz Freitas Almeida 2023-08-15 13:08:43 +00:00
  • e63d6aa943 🐛 fix(endpoints.py): fix comparison of path variable to string in get_all() function to prevent duplicate processing of paths Gabriel Luiz Freitas Almeida 2023-08-15 10:04:40 -03:00
  • 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 Gabriel Luiz Freitas Almeida 2023-08-15 09:16:06 -03:00
  • 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 Gabriel Luiz Freitas Almeida 2023-08-15 09:15:28 -03:00
  • f1f958a7ae CtrlBackspace fixed on Macbook Lucas Oliveira 2023-08-15 08:52:07 -03:00
  • d0cee2cc09 Formatting Gabriel Luiz Freitas Almeida 2023-08-14 21:07:54 -03:00
  • ab61edfbf9 Merge remote-tracking branch 'origin/dev' into authentication gustavoschaedler 2023-08-14 22:52:57 +01:00
  • dd80f857a9 Merge branch 'authentication' into login-auth Cristhian Zanforlin Lousa 2023-08-14 18:48:23 -03:00
  • 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 Cristhian Zanforlin Lousa 2023-08-14 18:48:01 -03:00
  • 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 gustavoschaedler 2023-08-14 22:46:55 +01:00
  • e124b216d7 🔨 refactor(headerComponent/index.tsx): simplify header component by removing unnecessary conditional rendering and adding sign out button Cristhian Zanforlin Lousa 2023-08-14 18:45:09 -03:00
  • 2aa33bb08b merge authentication Cristhian Zanforlin Lousa 2023-08-14 18:28:47 -03:00
  • 6d3d9569bd 📦 feat(authAdminGuard): add ProtectedAdminRoute component to handle authentication and authorization for admin pages Cristhian Zanforlin Lousa 2023-08-14 18:28:04 -03:00
  • cb47f7cf8e
    Fix HumanMessagePromptTemplate bug (#763) Gustavo Schaedler 2023-08-14 22:22:11 +01:00
  • cb66255b84 Refactor: Refactor api modal constant igorrCarvalho 2023-08-13 20:40:56 -03:00
  • 501d7399a8 🔒 chore(auth.py): add support for retrieving current user and current active user gustavoschaedler 2023-08-14 21:18:47 +01:00
  • e0f625e793 🐛 fix(utils.py): add condition to check if prompt has 'partial' attribute before calling it to prevent error Gabriel Luiz Freitas Almeida 2023-08-14 17:17:57 -03:00
  • 2144e1ec91 🐛 fix(types.py): handle case where prompt template is not present in PromptVertex Gabriel Luiz Freitas Almeida 2023-08-14 17:16:54 -03:00
  • 861b8d048e 🔧 chore(Makefile): update 'install_backend' target to include 'deploy' extras when installing dependencies with Poetry Gabriel Luiz Freitas Almeida 2023-08-14 17:05:52 -03:00
  • a9bb04ee24 🐛 fix(base.py): add is_task parameter to Vertex constructor to indicate if the vertex is a task ✨ feat(base.py): add get_result method to Vertex to retrieve the result of a built vertex 🐛 fix(types.py): pass is_task=True to super().__init__ in CustomComponentVertex constructor ✨ feat(worker.py): add build_vertex task to build a vertex asynchronously Gabriel Luiz Freitas Almeida 2023-08-14 17:05:40 -03:00
  • 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 Cristhian Zanforlin Lousa 2023-08-14 16:59:38 -03:00
  • 9df5e94195
    Prevent Default on Ctrl + Backspace in ReactFlow (#706) Gabriel Luiz Freitas Almeida 2023-08-14 19:42:29 +00:00
  • 754d26633a 🐛 fix(constants.ts): add backtick (`) and backtick (´) to specialCharsRegex to include them as special characters Cristhian Zanforlin Lousa 2023-08-14 16:39:22 -03:00
  • 4522cd383e 🐛 fix(reactflowUtils.ts): fix bug with control+backspace key combination on Windows/Linux and Mac Cristhian Zanforlin Lousa 2023-08-14 16:28:52 -03:00
  • 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 Cristhian Zanforlin Lousa 2023-08-14 15:58:26 -03:00
  • 00b8dd7af3 🔧 chore(manager.py): remove unused import statement for redis module 🔧 chore(manager.py): add try-except block to handle ImportError and provide clear error message when redis-py package is not installed 🔧 chore(manager.py): add import statement for redis module in the is_connected method to avoid NameError Gabriel Luiz Freitas Almeida 2023-08-14 15:53:32 -03:00
  • 1f528072b9 format code anovazzi1 2023-08-14 12:53:08 -03:00
  • e705f5bdf4 Refactor[UserManagementModal]: Refactor admin user sign to use password input component igorrCarvalho 2023-08-14 12:38:59 -03:00
  • 019e34190a Refactor: Remove Link in signup button igorrCarvalho 2023-08-14 12:27:50 -03:00
  • e8d3a5df6d 🔨 chore(base.py): add upsert method to BaseCacheManager to provide a common interface for inserting or updating cache items ✨ feat(manager.py): add upsert method to InMemoryCache and RedisCache to support inserting or updating cache items 🐛 fix(manager.py): fix client_id generation in handle_websocket method to avoid overwriting existing cache items 🔨 chore(manager.py): refactor handle_websocket method to use upsert method and improve readability Gabriel Luiz Freitas Almeida 2023-08-14 12:25:14 -03:00
  • 20afabd90a 🐛 fix(manager.py): change cache_manager.set to cache_manager.upsert to update or insert cache value ✨ feat(manager.py): add result_dict to cache instead of directly setting langchain_object to improve cache semantics 🐛 fix(manager.py): handle case when langchain_object is not found in cache and raise ValueError Gabriel Luiz Freitas Almeida 2023-08-14 12:23:54 -03:00
  • 5df7341eec 🐛 fix(chat.py): rename flow_data_store variable to cache_manager for better clarity and consistency ✨ feat(chat.py): update references to flow_data_store to cache_manager for improved semantics and readability 🐛 fix(chat.py): fix incorrect cache key in chat_manager.set_cache() method call 🐛 fix(chat.py): fix incorrect cache key in chat_manager.chat_history.empty_history() method call Gabriel Luiz Freitas Almeida 2023-08-14 12:23:21 -03:00
  • 610e168dbc Refactor[routes.tsx]: Remove sign up page while user cant sign up to langflow igorrCarvalho 2023-08-14 12:18:48 -03:00
  • 5e47d0ff14
    adding ChatVertexAI LLM component back into the config.yaml (#724) Gabriel Luiz Freitas Almeida 2023-08-14 15:10:26 +00:00
  • 5089480bc0
    Update pyproject.toml (#754) Gabriel Luiz Freitas Almeida 2023-08-14 15:07:57 +00:00
  • 60575d9f78 removed dead code anovazzi1 2023-08-14 11:16:15 -03:00
  • 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 Cristhian Zanforlin Lousa 2023-08-14 11:15:26 -03:00
  • 37773e0ca1 📝 chore(.env.example): add documentation for LANGFLOW_CACHE_TYPE environment variable and its possible values Gabriel Luiz Freitas Almeida 2023-08-13 23:46:26 -03:00
  • 4bf4768ca7 🔧 chore(base.Dockerfile): update poetry install command to exclude dev dependencies and include deploy dependencies for production deployment Gabriel Luiz Freitas Almeida 2023-08-13 23:45:59 -03:00
  • 5f0c014dcb 📦 chore(pyproject.toml): update dependencies and extras Gabriel Luiz Freitas Almeida 2023-08-13 23:45:34 -03:00
  • 0ed1165e53 🐳 chore(docker-compose.celery.yml): add dependencies and environment variables for redis cache and queue Gabriel Luiz Freitas Almeida 2023-08-13 23:43:14 -03:00
  • 561e048278 🐛 fix(manager.py): fix import statements and variable names for better organization and readability ✨ feat(manager.py): add support for chat cache and attach it to the chat manager for better chat history management 🔧 chore(manager.py): change client_id format in set_cache method to avoid conflicts with existing cache keys Gabriel Luiz Freitas Almeida 2023-08-13 23:41:08 -03:00
  • 64292aa997 ✨ feat(cache.py): add cache manager class to manage cache for different clients and notify observers on changes Gabriel Luiz Freitas Almeida 2023-08-13 23:40:42 -03:00
  • f8f99c6881 🐛 fix(utils.py): rename cache_type variable to langchain_cache_type for clarity 🐛 fix(manager.py): add test connections to cache and database managers for initialization Gabriel Luiz Freitas Almeida 2023-08-13 23:40:12 -03:00
  • 0833b00fdc 🔧 chore(celery_app.py): refactor celery_app to use a separate function make_celery for improved modularity and readability 🔧 chore(celeryconfig.py): update broker_url and result_backend to use LANGFLOW_REDIS_HOST and LANGFLOW_REDIS_PORT environment variables if available, fallback to default values if not Gabriel Luiz Freitas Almeida 2023-08-13 23:39:01 -03:00
  • 1a51e90c43 🐛 fix(chat.py): remove unused import and variable 'flow_data_store' to improve code readability ✨ feat(chat.py): add support for cache_manager to handle chat history and cache langchain_object 🆕 feat(chat/manager.py): add ChatManager class to handle websocket connections and chat history 🆕 feat(chat/manager.py): add ChatHistory class to manage chat history for each client 🆕 feat(chat/manager.py): add methods to handle websocket connections, send messages, and process chat messages 🆕 feat(chat/manager.py): add method to set cache for a client and handle websocket communication Gabriel Luiz Freitas Almeida 2023-08-13 23:38:31 -03:00
  • f65efbc43b 🔀 refactor(base.py): move cache settings to a separate section for better organization and readability 🔀 refactor(base.py): rename CACHE_TYPE variable to REDIS_CACHE_TYPE to improve clarity 🔀 refactor(base.py): rename REDIS_HOST, REDIS_PORT, REDIS_DB, and REDIS_CACHE_EXPIRE variables to improve clarity 🔀 refactor(base.py): remove unused import statements 🔀 refactor(settings.py): remove unused import statements 🔀 refactor(settings.py): remove unused code and comments 🔀 refactor(settings.py): remove unused function save_settings_to_yaml 🔀 refactor(settings.py): remove unused function update_settings 🔀 refactor(settings.py): remove unused function update_from_yaml 🔀 refactor(settings.py): remove unused constant BASE_COMPONENTS_PATH 🔀 refactor(settings.py): remove unused class attributes 🔀 refactor(settings.py): remove unused class methods 🔀 refactor(settings.py): remove unused class Settings Gabriel Luiz Freitas Almeida 2023-08-13 23:37:56 -03:00
  • 34ac959f5a 🔄 refactor(cache): reorganize imports and remove unused imports and variables in cache module 🔄 refactor(cache): rename BaseCache class to BaseCacheManager for better clarity and consistency 🔄 refactor(cache): remove cache_manager from __all__ in cache module 🔄 refactor(cache): remove unused import of Service in BaseCacheManager class 🔄 refactor(cache): rename cache_manager to BaseCacheManager in factory module 🔄 refactor(cache): remove unused import of InMemoryCache in factory module 🔄 refactor(cache): remove flow module and its related code as it is no longer used Gabriel Luiz Freitas Almeida 2023-08-13 23:37:22 -03:00
  • 823b140181 feat: Add documentation for various tools Rodrigo Nader 2023-08-13 20:14:02 -03:00
  • 017b24f744 Merge remote-tracking branch 'origin/dev' into celery Gabriel Luiz Freitas Almeida 2023-08-13 19:29:56 -03:00
  • 5954e6daa0 🔧 fix(endpoints.py): remove unused import 'process_graph_cached' and replace it with 'process_graph_cached_worker' for processing graph data asynchronously 🔧 fix(endpoints.py): add error handling for processing tweaks and log the error message ✨ feat(endpoints.py): use 'process_graph_cached_worker' to process graph data asynchronously and return the result in 'ProcessResponse' Gabriel Luiz Freitas Almeida 2023-08-13 19:26:48 -03:00
  • 304e824ef7 ✨ feat(worker.py): add worker module to handle background tasks in LangFlow backend 🔧 chore(worker.py): refactor process_graph_cached function to improve readability and maintainability Gabriel Luiz Freitas Almeida 2023-08-13 19:25:59 -03:00
  • 43ba81c2ee 📦 chore(core): add Celery configuration files Gabriel Luiz Freitas Almeida 2023-08-13 19:25:28 -03:00
  • d1a9ed45d7 📦 chore(pyproject.toml): update orjson version from 3.9.1 to 3.9.3 for bug fixes and improvements 📦 chore(pyproject.toml): add celery version 5.3.1, redis version 4.6.0, and flower version 2.0.1 to dev dependencies for task queue and monitoring Gabriel Luiz Freitas Almeida 2023-08-13 17:54:53 -03:00
  • 62ccab2cb9 📦 chore(docker-compose.celery.yml): add docker-compose file for running Celery worker and Flower Gabriel Luiz Freitas Almeida 2023-08-13 17:49:08 -03:00
  • a1df839dc1 🐛 fix(dev.Dockerfile): update uvicorn command to use --factory flag and create_app function to improve modularity and maintainability Gabriel Luiz Freitas Almeida 2023-08-13 17:48:05 -03:00
  • 0c689dcc16
    Fixed bug on Export Modal (#751) Gabriel Luiz Freitas Almeida 2023-08-13 20:47:44 +00:00
  • 9fcadcb0a5 📦 chore(base.Dockerfile): add base Dockerfile for Python project setup 🚧 feat(base.Dockerfile): create python-base stage with shared environment variables 🚧 feat(base.Dockerfile): create builder-base stage for building dependencies and creating virtual environment 🚧 feat(base.Dockerfile): create development stage for development and testing Gabriel Luiz Freitas Almeida 2023-08-13 17:46:02 -03:00
  • f8d4bb70ac 📦 chore(frontend): add .dockerignore file to exclude node_modules and build directories from Docker image Gabriel Luiz Freitas Almeida 2023-08-13 17:45:31 -03:00
  • 9b5ac1b22c 🔧 fix(App.tsx): remove unused isAuthenticated variable to improve code readability 🔧 fix(App.tsx): remove unused isAuthenticated variable to improve code readability Cristhian Zanforlin Lousa 2023-08-12 15:44:25 -03:00
  • 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 Cristhian Zanforlin Lousa 2023-08-12 15:42:41 -03:00
  • 75c1499eaa 🐛 fix(App.tsx): import missing AuthContext and getLoggedUser functions to fix compilation error 🐛 fix(authContext.tsx): change import statement for Users type to fix compilation error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): change type of userData state to Users type to fix compilation error 🐛 fix(authContext.tsx): remove unnecessary import statement for LoginType to fix unused import warning 🐛 fix(authContext.tsx): remove unnecessary import statement for api to fix unused import warning 🐛 fix(authContext.tsx): change import statement for Cookies to fix unused import warning 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext.tsx): add missing comma in AuthContext initial value object to fix syntax error 🐛 fix(authContext Cristhian Zanforlin Lousa 2023-08-12 15:19:00 -03:00
  • 2d80efb09d 🐛 fix(authGuard): remove unnecessary import statement Cristhian Zanforlin Lousa 2023-08-12 11:05:07 -03:00
  • 0ec8d43fd6 🔥 refactor(authContext.tsx): remove unused code related to localStorage and comments Cristhian Zanforlin Lousa 2023-08-12 00:36:20 -03:00
  • 3bf069565f 🔒 refactor(authContext.tsx): remove redundant localStorage.setItem calls for access_token and refresh_token Cristhian Zanforlin Lousa 2023-08-12 00:36:00 -03:00
  • 6566863542 🐛 fix(frontend): remove unnecessary NODE_ENV=development flag from build script Cristhian Zanforlin Lousa 2023-08-12 00:28:56 -03:00
  • d4b0ba9052 Merge branch 'login' into login-auth Cristhian Zanforlin Lousa 2023-08-12 00:27:13 -03:00
  • b5987318f6 🔧 chore(frontend): update build script in package.json to set NODE_ENV=development for build command 🔧 chore(frontend): add BASE_URL_API constant to constants.ts to store API base URL 🔧 chore(frontend): update API endpoints in controllers to use BASE_URL_API constant for better maintainability and flexibility Cristhian Zanforlin Lousa 2023-08-12 00:26:57 -03:00
  • ff72640e76 🐛 fix(PaginatorComponent): fix initial pageIndex value to start from 0 instead of 1 for consistency ✨ feat(PaginatorComponent): update rowsCount options to [10, 20, 50, 100] for more flexibility in choosing page size 🐛 fix(PaginatorComponent): fix maxIndex calculation to always be 100 for now, to avoid incorrect pagination 🐛 fix(PaginatorComponent): fix page index display to start from 1 instead of 0 for better user experience 🐛 fix(PaginatorComponent): fix disabled state of first and previous buttons to be disabled when index is 0 🐛 fix(PaginatorComponent): fix disabled state of next and last buttons to be disabled when index is equal to maxIndex ✨ feat(authGuard): add new ProtectedLoginRoute component to redirect authenticated users to home page 🐛 fix(genericIconComponent): fix icon size to be smaller with h-3 and w-3 classes 🐛 fix(ui/checkbox): fix checkbox icon size to be smaller with h-3 and w-3 classes ✨ feat(constants): add CONTROL_NEW_USER constant for new user form initialization 🐛 fix(authContext): fix getAuthentication function to correctly check for stored access and refresh tokens Cristhian Zanforlin Lousa 2023-08-12 00:07:47 -03:00
  • 35dcdb9e34 removing url from bearer Cristhian Zanforlin Lousa 2023-08-11 20:37:00 -03:00
  • 63df642aa5 adding community to route guard Cristhian Zanforlin Lousa 2023-08-11 20:23:10 -03:00
  • ed7723a8e4 adjusting retry on interceptor Cristhian Zanforlin Lousa 2023-08-11 20:13:30 -03:00
  • 185327fd6b refactor: Remove unnused OAuth2 igorrCarvalho 2023-08-11 16:36:28 -03:00
  • 3e83540eab refactor: Add adjusts to make confirm password error work igorrCarvalho 2023-08-11 16:21:01 -03:00
  • f1b2fea20f Merge remote-tracking branch 'origin/dev' into authentication gustavoschaedler 2023-08-11 19:40:11 +01:00
  • 0f015cadc7 Fixed password required not showing Lucas Oliveira 2023-08-11 15:25:24 -03:00
  • 312039bfd6 Fixed color of background Lucas Oliveira 2023-08-11 12:28:33 -03:00
  • c37e1223fc Fixed variable names Lucas Oliveira 2023-08-11 12:09:00 -03:00
  • 4adf9374bd Added spinning wheel when /all is loading Lucas Oliveira 2023-08-11 12:04:35 -03:00
  • f030234438 🐛 fix(authGuard): add check for getAuthentication() in ProtectedRoute component to prevent unauthorized access and logout user ✨ feat(authContext): add getAuthentication() function to check if user is authenticated using cookies 🔧 chore(index.tsx): reorganize context providers to wrap AuthProvider around other providers Cristhian Zanforlin Lousa 2023-08-11 11:56:12 -03:00
  • c0f586ad89 🔧 fix(authGuard): add missing newline at the end of the file Cristhian Zanforlin Lousa 2023-08-11 11:33:52 -03:00
  • c30cb3e002 Merge branch 'authentication' into login Cristhian Zanforlin Lousa 2023-08-11 08:22:37 -03:00
  • 580b439b80 🔧 chore(users.py): refactor and improve code readability in users.py ✨ feat(users.py): add docstrings to API endpoints for better documentation 🔥 chore(users.py): remove unnecessary code and comments 🐛 fix(users.py): fix return type hints in API endpoints gustavoschaedler 2023-08-11 03:52:02 +01:00
  • 0a5026a6ed 🔧 fix(auth.py): change refresh token expiration time from 180 minutes to 70 minutes for better security 🔧 fix(auth.py): change SECRET_KEY comment from "TODO" to "JUST FOR TEST" for clarity 🔧 fix(auth.py): change create_access_token function name to create_token for consistency 🔧 fix(auth.py): change create_refresh_token function to accept refresh_token parameter instead of data dictionary 🔧 fix(auth.py): change create_refresh_token function to decode and validate refresh_token before creating new user tokens 🔧 fix(auth.py): change authenticate_user function to use get_user_by_username instead of get_user 🔧 fix(auth.py): change get_current_user function to use get_user_by_username instead of get_user 🔧 fix(auth.py): change get_user function name to get_user_by_username for clarity 🔧 fix(users.py): change get_password_hash function to be inside the router scope for better encapsulation 🔧 fix(users.py): change add_user function to return UserListModel instead of User 🔧 fix(users.py): change update_user function to update user data based on UserPatchModel fields 🔧 fix(users.py): change update_user function to handle username conflicts and update user's updated_at field 🔧 fix(users.py): change delete_user function to delete user based on user_id ✨ feat(login.py): add refresh_token endpoint to refresh access token using refresh token ✨ feat(login.py): add refresh_token function to create new user tokens based on refresh token ✨ feat(login.py): add refresh_token endpoint to refresh access token using refresh token ✨ feat(login.py): add refresh_token function to create new user tokens based on refresh token ✨ feat(login.py): add refresh_token endpoint to refresh access token using refresh token ✨ feat(login.py): add refresh_token function to create new user tokens based on refresh token ✨ feat(login.py): add refresh_token endpoint to refresh access token using refresh token ✨ feat(login.py): add refresh_token function to create new user tokens based on refresh token ✨ feat(login.py): add refresh_token endpoint to refresh access token using refresh token ✨ feat(login.py): add refresh_token function to create new user tokens based on refresh token ✨ feat(login.py): add refresh_token endpoint to refresh access token using refresh token ✨ feat(login.py): add refresh gustavoschaedler 2023-08-11 03:13:08 +01:00
  • 7347466563
    Update pyproject.toml Melroy van den Berg 2023-08-11 01:07:33 +02:00
  • b140bbc3ff 🔖 chore(pyproject.toml): update package version from 0.4.8 to 0.4.9 for release Gabriel Luiz Freitas Almeida 2023-08-10 18:22:54 -03:00
  • 343d829c25 🐛 fix(OpenAIConversationalAgent.py): fix typo in display name of Conversational Agent class ✨ feat(OpenAIConversationalAgent.py): add support for OpenAI API key and base URL in build method to enable API function calling Gabriel Luiz Freitas Almeida 2023-08-10 18:15:41 -03:00
  • 2e0de1926e 🐛 fix(endpoints.py): handle duplicate paths in settings.COMPONENTS_PATH to avoid processing the same path multiple times 🐛 fix(settings.py): convert Path objects to strings in settings.COMPONENTS_PATH to ensure consistency and avoid potential issues Gabriel Luiz Freitas Almeida 2023-08-10 17:59:30 -03:00
  • 9bc616672c
    Fixes a bug in fix_memory_keys, Adds OpenAI ConversationalAgent (#753) Gabriel Luiz Freitas Almeida 2023-08-10 17:50:26 -03:00
  • cce3bd3305 Merge remote-tracking branch 'origin/main' into release Gabriel Luiz Freitas Almeida 2023-08-10 17:45:51 -03:00
  • cc8212b336 🔖 chore(pyproject.toml): update package version from 0.4.7 to 0.4.8 for maintenance purposes Gabriel Luiz Freitas Almeida 2023-08-10 17:44:14 -03:00
  • 337dba208e
    Adds OpenAIConversationalAgent (#746) Gabriel Luiz Freitas Almeida 2023-08-10 17:41:43 -03:00
  • 3792cbc8d7
    Merge branch 'release' into fix_memory_on_agents Gabriel Luiz Freitas Almeida 2023-08-10 17:41:31 -03:00
  • b6794c76fd Merge branch 'authentication' into login Cristhian Zanforlin Lousa 2023-08-10 15:27:33 -03:00
  • f0f061ab46 🔒 chore(auth.py): increase access token expiration time to 60 minutes for better user experience 🔒 chore(auth.py): add refresh token functionality with expiration time of 180 minutes 🔒 chore(login.py): change token endpoint URL from /token to /login for better semantics 🔒 chore(login.py): add refresh token creation to login endpoint to provide a refresh token along with the access token gustavoschaedler 2023-08-10 19:05:11 +01:00
  • 2ea814fd64 🐛 fix(select-custom.tsx): add left padding to SelectItem component to align text properly 🐛 fix(nodeToolbarComponent/index.tsx): change "Advanced" text to "Edit" in NodeToolbarComponent for better clarity Cristhian Zanforlin Lousa 2023-08-10 15:02:15 -03:00
  • 2436461f5d Fixed bug on Export Modal Lucas Oliveira 2023-08-10 14:50:15 -03:00